Sebastian Ludwig
bcb6dd928e
Added unit tests for Django and Flash formatters.
2015-11-28 13:31:39 +01:00
Sebastian Ludwig
1153d8c247
Using set_translation_for_key in JQuery formatter to transform the value instead of read_file.
2015-11-27 15:45:45 +01:00
Sebastian Ludwig
d3128cdbd9
Replaced unit tests with more targeted tests aimed to test the functionality thoroghly. Closes #91 .
2015-11-27 15:04:45 +01:00
Sebastian Ludwig
e8312d0f95
Added unit tests for --create-folders option.
2015-10-22 19:53:59 +02:00
Sebastian Ludwig
6f5f666175
#94 Added missing require statement to references test.
2015-10-13 17:21:13 +02:00
Sebastian Ludwig
c28c820266
#94 cleaned up and shortened tests
2015-10-11 15:19:36 +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
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 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 Celis
47c8619afe
Remove generate-report command in favor of validate-strings-file.
2015-08-08 07:22:26 -05:00
Paul Wagener
574708dae9
Fixed hardcoded version number in unit test file
2014-10-24 13:35:29 +02: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
0dd57c04fc
Tizen unit test fix
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
5953d020b7
Add Tizen test (test-output-12.txt).
2014-05-16 15:56:28 +03:00
Sebastian Celis
0b52d8a346
Fix leading and trailing spaces in android xml files.
2014-03-26 14:06:56 -05:00
Sebastian Celis
a0a8496664
Fix unit tests.
2014-03-17 08:39:50 -05:00
Joseph Earl
c23e1c2cae
Fixed gettext test
2013-07-05 22:03:19 +01:00
Kevin Everets
51161194ed
Add test for multiline strings in .po files
2013-06-16 21:45:24 -05:00
Kevin Everets
2a90a4ce5c
Update test-output-7.txt to be compliant with the actual comment specification
...
The proper comment structure for gettext is not ".#" but "#." as seend in:
https://www.gnu.org/software/gettext/manual/gettext.html#PO-Files
The code was updated, but the test case was not. This commit addresses that
oversight.
2013-03-21 16:40:24 -05:00
Sebastian Celis
d87e00307a
Add unit test for parameterized strings.
2013-03-06 15:18:00 -06:00
Kevin Everets
8c56b59474
Add tests for gettext conversion
2013-01-15 14:46:43 -05:00
Kevin Everets
0d87dc38ce
Fix "require 'erb'" to work on case sensitive file systems
...
Tests were failing when running "rake" before this was done
2013-01-15 14:26:33 -05:00
Sebastian Celis
0b2bba9a31
Fix broken test due to section comment changes.
2012-09-13 10:17:02 -05:00
Sebastian Celis
4958a0bff0
Do not strip whitespace from sections and string keys.
...
Fixes Issue #14
2012-07-18 09:28:01 -05:00
Sebastian Celis
c0b49745fe
Fix comment parsing in Android XML files.
...
Ensure only comments within the resources block are parsed.
2012-07-17 10:01:53 -05:00
Robert Guo
9642e69389
make Android formatter use Regex instead of REXML, add comments support for Android, modify test files to support comments
2012-07-05 08:31:41 -05:00
Sebastian Celis
5604965618
Move rubygems require into the actual test file.
2012-05-10 14:51:58 -05:00
ISHITOYA Kentaro
213c9bdd00
Added formatter for jquery-localize https://github.com/coderifous/jquery-localize .
2012-05-10 12:16:45 -05:00
Sebastian Celis
b886d78198
Update test cases to work with recent formatter changes.
2012-03-21 11:27:14 -05:00
Sebastian Celis
78c52a6d73
Split --all into --consume-all and --include-untranslated.
...
Overloading --all was a little confusing. It is better to be explicit.
2012-03-01 09:41:47 -06:00
Sebastian Celis
7af9048cf4
Do not match untagged strings when tags are specified.
...
In addition, add a --untagged option for force-selecting all untagged
strings.
2012-03-01 09:35:10 -06:00
Sebastian Celis
1840f1fb20
Fix broken testcase for generated Android files.
...
Now that Android files by default do not fallback to English text, we
need a way to still generate files the old way for translation drops.
So, use the --all flag to generate Android files that include strings
that have not yet been translated.
2012-02-27 15:51:17 -06:00
Sebastian Celis
1152447929
Add unit tests.
2012-02-10 18:53:38 -06:00