Commit graph

137 commits

Author SHA1 Message Date
Sebastian Ludwig
77acb33773 Corrected indentation in Abstract.set_translation_for_key. 2015-11-27 15:55:59 +01:00
Sebastian Ludwig
36a1321b9b Shortened expression to check if a StringsRow matches a given set of tags. 2015-11-27 15:55:59 +01:00
Sebastian Ludwig
e09b366a53 Removed setter methods for Abstract formatter attributes. 2015-11-27 15:14:52 +01:00
Sebastian Ludwig
31b4dc3862 Removed unncessary check. 2015-11-27 15:13:23 +01:00
Sebastian Ludwig
397ced200e Moved reference lookups from StringsFile to Abstract formatter. 2015-11-21 00:28:56 +01:00
Sebastian Ludwig
fc57ce0019 Extracted processing of StringsFile from formatters into OutputProcessor. 2015-11-20 20:04:43 +01:00
Sebastian Ludwig
e8312d0f95 Added unit tests for --create-folders option. 2015-10-22 19:53:59 +02:00
Sebastian Ludwig
1eba535b38 Implemented --create-folders option. Closes #39. 2015-10-22 18:53:03 +02:00
Sebastian Ludwig
4f6f65fdf8 #94 got rid of unnecessary second copy of existing twine strings file when writing a strings file 2015-10-10 23:02:58 +02:00
Sebastian Ludwig
d1258985fc #94 ensured that consuming a strings file preserves referenced comments. 2015-10-10 14:21:57 +02:00
Sebastian Ludwig
86571f68ae #94 Removed TODO comment 2015-10-10 14:15:51 +02:00
Sebastian Ludwig
327c37c358 #94 Removed option to wrap referenced keys in square brackets. 2015-10-10 14:15:30 +02:00
Sebastian Ludwig
239676802b #94 keeping references when updating a twine strings file. 2015-10-09 11:49:49 +02:00
Sebastian Ludwig
c51ab1a784 #94 Changed default for references values to only the referenced key (without square brackets). 2015-10-07 18:42:09 +02:00
Sebastian Ludwig
f597bf863c Implemented references for keys. Closes #82. 2015-10-01 17:29:48 +02:00
Sebastian Celis
d7e3145417 Replace STDERR calls with raised errors. 2015-10-01 08:26:26 -05:00
Sebastian Ludwig
e7703507cb #92 merged --only-untranslated and --exclude-untranslated options into --include option. 2015-09-25 09:54:07 +02:00
Sebastian Ludwig
d761eaa6c5 Implemented #24 by adding option --only-untranslated to all formatters (that adopt the modular style). 2015-09-24 12:02:32 +02:00
Sebastian Ludwig
5a394d2c19 Changed --include-untranslated to be the default and added --exclude-untranslated instead (see #89). 2015-09-23 13:18:41 +02:00
Sebastian Ludwig
ef1e684824 Fixed --include-untranslated handling. Before even untranslated keys were included if a formatter didn't return nil als fallback language (which would have caused a crash). 2015-08-24 09:07:22 +02:00
Sebastian Ludwig
13a28890cf Corrected documentation. Encoding option is now available for all formatters. 2015-08-24 09:07:15 +02:00
Sebastian Ludwig
a5dff1d711 Made androids concept of a fallback language available to all formatters. 2015-08-24 09:06:56 +02:00
Sebastian Ludwig
4a40e5d09e Modified documentation since options apply to all formats (once converted) now. 2015-08-24 09:05:49 +02:00
Sebastian Ludwig
3ebd9f35fd Completely migrated android formatter to modularized approach. 2015-08-24 09:05:33 +02:00
Sebastian Ludwig
b06b4f6f6b Half way there of moving android formatter the the modularized version 2015-08-24 09:05:26 +02:00
Sebastian Ludwig
eab588735f Moved formatting sceleton code to Abstract. 2015-08-24 09:05:18 +02:00
Sebastian Ludwig
46d71accbc Finished modularizing apple formatter. 2015-08-24 09:05:10 +02:00
Sebastian Ludwig
d7150521f8 First refactoring towards modularized formatters. 2015-08-24 09:04:50 +02:00
Sebastian Celis
cf166bd901 Update version to 0.7.0. 2015-08-08 07:23:05 -05:00
Sebastian Celis
47c8619afe Remove generate-report command in favor of validate-strings-file. 2015-08-08 07:22:26 -05:00
Sebastian Celis
8f96ef3231 Ignore Base.lproj directory for strings files. 2015-08-08 07:12:17 -05:00
Sebastian Celis
03ae4602e3 Add extra arg checking to validate-strings-file. 2015-03-26 16:03:16 -05:00
Ben Cochran
2bdf42f399 Report all errors, not just the first 2015-03-17 02:26:42 -07:00
Ben Cochran
ee2e679c4a Remove validity checks from generate-report 2015-03-17 02:26:30 -07:00
Ben Cochran
3c07e90c1f Add validate-strings-file command 2015-03-16 10:48:44 -07:00
Sebastian Celis
feee83c283 Update version to 0.6.0 2014-09-20 14:40:04 -05:00
Sebastian Celis
a3a0f6d38a Remove Bundler code. 2014-09-20 14:32:45 -05:00
bootstraponline
fae3c97efd Add plugin support 2014-09-05 12:56:57 -04:00
Greg Combs
e78795b0a9 Allow consume-all-string-files to apply --tags to newly added translations. Addresses issue #60. 2014-07-02 11:23:30 -05:00
Sebastian Celis
2c27941059 Merge remote-tracking branch 'SergeyPisarchik/tizen' 2014-06-10 10:25:41 -05:00
Sebastian Celis
f015bd2084 Fix issue importing JSON strings containing line breaks.
Fixes #59
2014-06-10 10:22:30 -05:00
Sergey Pisarchik
2bfc6ef5fb Add IDS_key.upcase 2014-05-16 15:56:29 +03:00
Sergey Pisarchik
b0e9d362c8 Add write_all_files for Tizen.
Add languages Hash
2014-05-16 15:56:29 +03:00
Sergey Pisarchik
70d04143fe Output "text id" instead of "string name" 2014-05-16 15:56:29 +03:00
Sergey Pisarchik
9ca167a447 Output <string_table> instead of <resources>. 2014-05-16 15:56:29 +03:00
Sergey Pisarchik
1fbe56ddd6 Added Tizen formatter as a copy of the Android formatter. 2014-05-16 11:38:46 +03:00
Sebastian Celis
0b52d8a346 Fix leading and trailing spaces in android xml files. 2014-03-26 14:06:56 -05:00
Sebastian Celis
14036f293f Clean up jquery output. 2014-03-17 08:39:37 -05:00
Simon Friis Vindum
7e311c7b11 Remove section titles and comments from JSON output
The comment syntax is not proper JSON.
2014-03-17 14:22:57 +01:00
Simon Friis Vindum
4e308175b6 Remove illegal comments
Comments aren't supported in JSON
2014-03-17 09:39:03 +01:00