Commit graph

369 commits

Author SHA1 Message Date
Juan Pablo Orsay
e1984e06c0 Fix indentation 2017-08-03 17:20:49 -03:00
Juan Pablo Orsay
c6a9424f5a Android folder should have the region code preceded by lowercase "r" 2017-08-03 17:19:07 -03:00
Sebastian Celis
cd28717f92 Merge pull request #200 from scelis/fix-po-language-detection
Fix language detection for .po formatters
2017-07-31 10:19:24 -05:00
Sebastian Celis
1270ef2767 Fix language detection for .po formatters
The old regular expressions were only supporting two character language
identifiers. This commit allows languages to scale to things like
"en-GB".

Fixes #199
2017-07-31 10:17:16 -05:00
Sebastian Ludwig
f7e74392fa Fix typos. 2017-07-31 12:55:37 +02:00
Sebastian Celis
a165b98e1e Add .ruby-version to .gitignore 2017-07-27 09:14:51 -05:00
Sebastian Celis
6686a64743 Remove twine_ui link
The project is old and no longer maintained.
2017-06-28 09:13:42 -05:00
Sebastian Celis
a4f4e4fbb7 Merge pull request #195 from Zverik/q
Add 'q' placeholder modifier for android strings
2017-06-23 08:47:47 -05:00
Ilya Zverev
8a92e73971 Add 'q' placeholder modifier for android strings 2017-06-20 11:59:13 +03:00
Sebastian Celis
b7405f9b3c Merge pull request #193 from sebastianludwig/fix-boolean-cli-options
Fix #191 - `--no` variation for boolean options
2017-05-24 09:36:49 -05:00
Sebastian Ludwig
7b599e5f92 Fix #191 by using the parsed boolean value for CLI options, not always true. 2017-05-22 14:40:45 +02:00
Sebastian Celis
19b53343c6 Update readme 2017-05-20 16:35:37 -05:00
Sebastian Celis
e863aa6081 Add Circle CI badge 2017-04-26 10:42:58 -05:00
Sebastian Celis
efd637fb1b Merge pull request #189 from teespring/bogdan/continuous-integration
Setup continuous integration with Circle CI
2017-04-24 11:04:44 -05:00
Bogdan Vitoc
fc18caa77e "Setup continuous integration with Circle CI."
Test on multiple rubies: system (2.0.0), 2.1.*, 2.2.*, 2.3.*
Runs builds on macOS in preperation for Xcode integration testing.
2017-03-23 15:22:33 -07:00
Sebastian Celis
fe7e1a7d92 Update version to 0.10.1 2017-01-19 08:54:07 -06:00
Sebastian Celis
76bcd5becd Merge pull request #185 from sebastianludwig/184-fix-xcode-console
Fixed #184 by checking if IO.console is defined
2017-01-19 08:53:29 -06:00
Sebastian Ludwig
ae190eb8bd Fixed #184 by checking if IO.console is defined. 2017-01-19 14:56:53 +01:00
Sebastian Celis
ff17d05e14 Update version to 0.10.0 2017-01-17 09:07:25 -06:00
Sebastian Celis
35991b077a Merge pull request #183 from sebastianludwig/182-rename-drop-commands
Renamed loc-drop commands
2017-01-17 09:05:43 -06:00
Sebastian Ludwig
2f81399a7c Fixed #182: Renamed command generate-loc-drop to generate-localization-archive and consume-loc-drop to consume-localization-archive. 2017-01-16 23:32:02 +01:00
Sebastian Celis
c473ff6b9e Merge pull request #181 from sebastianludwig/cli
Improved CLI
2017-01-11 10:00:56 -06:00
Sebastian Ludwig
c619dd61e4 Improved CLI and only showing applicable options per command. 2016-12-20 00:47:14 +01:00
Sebastian Celis
b33d8425f8 Merge pull request #177 from sebastianludwig/fix-169-153
Implements #169 and resolves #153
2016-12-19 12:34:03 -06:00
Sebastian Celis
fdda09ca3c Merge pull request #178 from sebastianludwig/can-handle-directory-default-and-formatting
Minor improvements and a little cleanup
2016-12-14 17:13:25 -06:00
Sebastian Celis
9fc741c261 Merge pull request #180 from sebastianludwig/fix-179-android-string-placeholder
Fixed #179 by converting placeholders before escaping @ signs.
2016-12-14 17:12:37 -06:00
Sebastian Ludwig
e2c400ea6d Fixed #179 by converting placeholders before escaping @ signs. 2016-12-14 23:13:05 +01:00
Sebastian Ludwig
47e95e6db7 Added can_handle_directory? default implementation to Abstract. 2016-12-08 10:21:37 +01:00
Sebastian Ludwig
9dcc909335 Corrected source code formatting. 2016-12-08 10:21:37 +01:00
Sebastian Ludwig
ecefba0511 Fixed #153 by removing command deprecation warning. 2016-12-08 10:20:01 +01:00
Sebastian Ludwig
f9720a67d7 Implemented determine_language_given_path for Flash formatter. 2016-12-08 10:19:47 +01:00
Sebastian Ludwig
280914bdc5 Fixed #169 by adding proper placeholder handling to Flash formatter. 2016-12-08 10:18:15 +01:00
Sebastian Ludwig
9034da11e2 Removed unnecessary return statements. 2016-12-08 09:50:37 +01:00
Sebastian Celis
74d7cb1d85 Merge pull request #174 from sebastianludwig/fix-164-printf-space
Fixed #165 by disallowing single spaces as valid printf flags.
2016-11-21 15:16:46 -06:00
Sebastian Celis
8de511a099 Merge pull request #173 from sebastianludwig/fix-172-language-mappings
Fixed #172 by removing language mappings
2016-11-21 15:15:44 -06:00
Sebastian Ludwig
43b83cc8e6 Fixed #165 by disallowing single spaces as valid printf flags. 2016-11-21 22:05:25 +01:00
Sebastian Ludwig
37f1d11859 Fixed #172 by removing language mappings. 2016-11-21 21:44:56 +01:00
Sebastian Celis
c19b88d429 Merge pull request #170 from barinali/master
Update broken links in documentation
2016-08-19 15:18:16 -05:00
Ali Barın
f601b2c259 Update broken links in documentation 2016-08-19 21:10:18 +03:00
Sebastian Celis
b34a5d0357 Merge pull request #168 from sebastianludwig/advanced_tags
Added AND and NOT logic for tags.
2016-06-21 08:38:16 -05:00
Sebastian Ludwig
7c84dbb418 Added AND and NOT logic for tags. 2016-06-21 15:28:04 +02:00
Sebastian Celis
762196050e Merge pull request #161 from sebastianludwig/fix_117_xliff_tags
Fix 117 xliff tags
2016-05-16 11:19:58 -05:00
Sebastian Celis
a45bfba0ba Merge pull request #162 from sebastianludwig/empty-jquery-sections
Empty jquery sections
2016-05-04 09:50:09 -05:00
Sebastian Ludwig
d8387e55f4 Added unit test to verify empty sections don't contribute to jQuery formatter output. 2016-05-03 23:25:44 +02:00
Matthew Abbott
06cd167f2b Remote empty sections before joining them together
Previously, a comma was being printed on the last line of every section, even if
that section did not contribute any rows to the formatted output (e.g., no rows
within that section had the tags needed to be output during this run). When such
a zero-row section happens, it results in an line with only a comma on it, which
is not valid json. This can make incremental adjustment of the jquery files
rather tedious, even when using gui tools to quickly reject changes.
2016-05-03 23:11:47 +02:00
Sebastian Ludwig
a53384c5d7 Added test to verify the android formatter unescapes values properly. 2016-05-03 22:59:22 +02:00
Sebastian Ludwig
60b0eb2adf Allowing xliff tags in android values and escaping special characters as recommended by Android docs. 2016-05-03 22:59:22 +02:00
Sebastian Celis
50b1e90f8f Merge pull request #158 from sebastianludwig/test_improvements
Test improvements
2016-05-03 15:54:14 -05:00
Sebastian Ludwig
2e283d7057 Got rid of the Case in test class names. 2016-05-03 22:44:22 +02:00
Sebastian Celis
b779e112ff Merge pull request #160 from PaulWagener/django-utf8
Add UTF-8 Content-Type to the Django formatter
2016-05-03 15:09:54 -05:00