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
Sebastian Celis
22482c3587
Update version to 0.5.0.
2014-02-28 13:40:00 -06:00
Sebastian Celis
05854553a1
Make the resources regular expression more forgiving.
2014-02-24 16:16:58 -06:00
Sebastian Celis
d91a727e00
Merge remote-tracking branch 'pichirichi/patch-2'
2014-02-20 16:26:05 -06:00
Shai Shamir
4e7c0a9590
add Django formatter
2014-02-20 15:41:45 +02:00
pichirichi
9c546be6c9
Adding Django formatter
...
This will enable the creation of Django formated translation files as described here: https://docs.djangoproject.com/en/dev/topics/i18n/translation/
2014-02-20 14:18:56 +02:00
Sebastian Celis
2b6e9fc1b8
Clean up write_all_files.
...
We now ignore the current directory and its parent as neither of these
are meant to be checked in write_all_files. This could cause extra files
to be written unexpectedly.
2013-10-01 10:37:06 -05:00
Blake Watters
367b275b3e
Fix incorrect handling of nested paths when generating string files
2013-10-01 11:05:29 -04:00
Sebastian Celis
bb6f2b656f
Merge remote-tracking branch 'GateGuru/bugfix/do-not-strip-positionals'
2013-10-01 09:06:56 -05:00
Blake Watters
fdbff215cd
Drop code that strips positionals from iOS strings
2013-09-27 17:50:49 -04:00
Blake Watters
fbdb9b1fe7
Add encoding comment to ensure file is parsed as utf-8
2013-09-27 17:34:27 -04:00
Sebastian Celis
50e5d23f0a
When writing a set of files, only write to valid directories.
...
This fixes issue #40
2013-09-16 08:11:57 -05:00
Joseph Earl
bbc8e42602
Modified gettext formatter to print out sections as .po comments
2013-07-03 15:42:07 +01:00