Dwayne Bailey
28dc23db64
Remove blank lines between Apple strings
2024-09-18 09:52:10 +01:00
Dwayne Bailey
df14ff81a9
Don't format abstrat to break between headers
2024-09-18 09:52:10 +01:00
Dwayne Bailey
44e94015df
Don't split sections with space
2024-09-18 09:52:10 +01:00
Dwayne Bailey
22313c25aa
Remove section coments from iPhone stringdict
2024-09-18 09:52:10 +01:00
Dwayne Bailey
92b1d9ebf7
Add EOF newline for iPhone plurals
2024-09-18 09:52:10 +01:00
Dwayne Bailey
89dd0a6b35
Add magic Android newlines
2024-09-17 22:30:20 +01:00
Dwayne Bailey
ebe50c3adc
Use tab indents in iPhone plural stringdict files
...
2*sp -> \t
Remove the confusingly named tab() that indents with spaces and use \t
directly
2024-08-15 18:49:45 +01:00
Dwayne Bailey
e7215ccba2
Break serialising strings on \n for readabilty
2024-08-15 18:49:45 +01:00
Dwayne Bailey
1aeee66812
Consistent space indents for Android strings
...
Indent with 4 spaces and fix the broken plural \t\s*2 indentation
2024-08-15 18:49:45 +01:00
Dwayne Bailey
4cfda06f87
Remove Apple Twine headers
2024-08-15 11:02:45 +03:00
Dwayne Bailey
9c6143efe5
Remove Android Twine header
2024-08-15 11:02:45 +03:00
Dwayne Bailey
860c79f3a6
Sort plurals forms in CLDR order
...
Instead of alphabetical, sort these in the expect CLDR order
zero...other
Only sort when retreiving the values for formatter consumption, this
should leave Twine files in their default order.
Signed-off-by: Dwayne Bailey <dwayne@translatehouse.co.uk>
2024-08-14 21:38:52 +02:00
Alexander Borsuk
a9a97d19c5
Use custom om suffix for twine version
2024-03-05 00:41:26 +02:00
Alexander Borsuk
f724a8fe7a
Remove twine version from apple plurals file
2024-03-05 00:41:07 +02:00
Alexander Borsuk
b5d723caf5
Replace Android %s with iOS %@ in generated strings
...
Signed-off-by: Alexander Borsuk <me@alex.bio>
2023-05-19 22:58:32 +02:00
Alexander Borsuk
457c5bbda5
Do not print Twine version in generated files
...
It creates a lot of unnecessary noise after upgrading Twine
Signed-off-by: Alexander Borsuk <me@alex.bio>
2022-12-31 19:18:33 +01:00
Alexander Borsuk
c9bcdcd00b
Merge pull request #5 from organicmaps/fixes
...
Fixed jquery json language extraction and updated to the latest Twine
2022-12-22 12:59:49 +01:00
Alexander Borsuk
1a140cbdf8
Properly extract language from json files
...
Signed-off-by: Alexander Borsuk <me@alex.bio>
2022-12-22 12:14:46 +01:00
Alexander Borsuk
50e7eb95cc
Fixed generic language fallback
...
Signed-off-by: Alexander Borsuk <me@alex.bio>
2022-12-22 11:59:18 +01:00
Alexander Borsuk
6917052e54
Merged with upstream twine changes
...
Merge branch 'main' into organicmaps
2022-12-22 11:58:53 +01:00
Sebastian Celis
55a140a44c
Prepare 1.1.2 for release
2022-11-15 08:14:09 -06:00
Sebastian Celis
a3418dea9c
Update required Ruby version to 2.6
2022-11-15 08:11:36 -06:00
Sebastian Celis
7a6d18559b
Remove old Circle CI configuration.
2022-11-15 08:05:41 -06:00
Sebastian Celis
39aafe4784
Merge pull request #312 from scelis/ruby3
...
Add Ruby 3 support
2022-11-15 08:03:02 -06:00
Sebastian Celis
ca95b9ed02
Add rexml as a runtime dependency
2022-11-15 07:55:19 -06:00
Sebastian Celis
b10fe933f5
Add ruby 3.0 and 3.1 to the test matrix
2022-11-15 07:50:54 -06:00
Sebastian Celis
26c0562936
Merge pull request #310 from scelis/github-actions
...
Add Test workflow for GitHub Actions
2022-08-25 16:22:54 -05:00
Sebastian Celis
2a872b8b71
Drop support for Ruby 2.4 and 2.5
2022-08-25 16:21:03 -05:00
Sebastian Celis
6bf9a2ddde
Remove CircleCI badge
2022-08-25 16:18:44 -05:00
Sebastian Celis
f331423475
Add Test workflow for GitHub Actions
2022-08-25 16:16:16 -05:00
Sebastian Celis
d2ec00d57b
Update formatters.md
...
Add sample plugins section.
2022-08-25 15:29:18 -05:00
David Martinez
ccf5f38d6f
Add rexml dependency
...
Signed-off-by: David Martinez <47610359+dvdmrtnz@users.noreply.github.com>
2022-04-14 13:43:15 +02:00
David Martinez
6cd569fa49
Added regional dialect fallback to generic language ( #3 )
...
* Added regional dialect fallback to generic language
Signed-off-by: David Martinez <47610359+dvdmrtnz@users.noreply.github.com>
* Reorder generic_language to mantain fallback_mapping priority
Signed-off-by: David Martinez <47610359+dvdmrtnz@users.noreply.github.com>
* Update lib/twine/output_processor.rb
Signed-off-by: David Martinez <47610359+dvdmrtnz@users.noreply.github.com>
Co-authored-by: Alexander Borsuk <170263+biodranik@users.noreply.github.com>
Co-authored-by: Alexander Borsuk <170263+biodranik@users.noreply.github.com>
2022-03-23 13:00:10 +01:00
Alexander Borsuk
96e0e2c3cd
Fixed invalid stringdicts XML
...
Xcode didn't parse XML files started with a comment line
Signed-off-by: Alexander Borsuk <me@alex.bio>
2022-01-12 16:10:03 +01:00
Alexander Borsuk
13f5b7b088
Fixed Hebrew language code for Android
...
Signed-off-by: Alexander Borsuk <me@alex.bio>
2022-01-11 22:12:48 +01:00
Alexander Borsuk
649967b71e
Fixed plural escaping
2021-08-07 18:53:38 +02:00
greshilov
38f1761ac9
Add plural localizations
2021-08-07 15:03:37 +02:00
Ilya Zverev
792b2492dc
Modifications for Organic Maps
2021-08-07 14:54:50 +02:00
Sebastian Celis
304b3ec63f
Merge pull request #304 from apascual/main
...
Fixed fallback language support and included simplified Chinese
2021-07-12 09:38:00 -05:00
Abel Pascual
790e3f7b3e
Added fallback support for simplified chinese.
2021-07-09 09:33:58 +02:00
Abel Pascual
df60ce8e68
Fix fallback chain.
2021-07-09 09:33:09 +02:00
Sebastian Celis
7a77a55776
Merge pull request #303 from striezel-stash/fix-typos
...
chore: fix some typos
2021-07-06 08:42:22 -05:00
Dirk Stolle
fd326d0029
chore: fix some typos
2021-07-03 15:12:25 +02:00
Sebastian Celis
67a856d10a
Merge pull request #302 from bfreiband/patch-1
...
chore: fix typo in formatters.md
2021-06-17 17:11:09 -05:00
Ben Freiband
ad9b8d504b
chore: fix typo in formatters.md
...
s/bundeled/bundled in formatters.md
2021-06-15 16:50:52 -04:00
Sebastian Celis
b09c83229d
Prepare 1.1.1 for release
2021-01-28 15:44:51 -06:00
Sebastian Celis
7be9e4549d
Merge pull request #300 from dgmltn/android-mulitline-comments
...
Slurp Android mulitline comments as single-line
2021-01-28 15:28:29 -06:00
Doug Melton
4d0f6326fb
Slurp Android mulitline comments as single-line
2021-01-28 13:17:15 -08:00
Sebastian Celis
1662f131a9
Update version in the README to 1.1
2020-12-16 11:16:57 -06:00
Sebastian Celis
e220f9cc9e
Words matter
2020-07-20 12:49:47 -05:00