-
Notifications
You must be signed in to change notification settings - Fork 4
Adjust Twine format to OrganicsMaps usages #13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: organicmaps
Are you sure you want to change the base?
Conversation
Signed-off-by: Alexander Borsuk <[email protected]>
Xcode didn't parse XML files started with a comment line Signed-off-by: Alexander Borsuk <[email protected]>
* Added regional dialect fallback to generic language Signed-off-by: David Martinez <[email protected]> * Reorder generic_language to mantain fallback_mapping priority Signed-off-by: David Martinez <[email protected]> * Update lib/twine/output_processor.rb Signed-off-by: David Martinez <[email protected]> Co-authored-by: Alexander Borsuk <[email protected]> Co-authored-by: Alexander Borsuk <[email protected]>
Signed-off-by: David Martinez <[email protected]>
Merge branch 'main' into organicmaps
Signed-off-by: Alexander Borsuk <[email protected]>
Signed-off-by: Alexander Borsuk <[email protected]>
Fixed jquery json language extraction and updated to the latest Twine
It creates a lot of unnecessary noise after upgrading Twine Signed-off-by: Alexander Borsuk <[email protected]>
Signed-off-by: Alexander Borsuk <[email protected]>
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 <[email protected]>
Indent with 4 spaces and fix the broken plural \t\s*2 indentation
2*sp -> \t Remove the confusingly named tab() that indents with spaces and use \t directly
This aligns with current OrganicMaps structure of: comment = tag = en =
allows: en = en-GB = before alphabetical sorting Aligns with existing and is more logical
OrganicMaps: comment = tags = ref = dev-LANG = other-LANG = Twine original: dev-LANG = ref = tags = comment = other-LANG = fix
|
Do I understand it right that this change is needed to generate Twine/OM strings files from existing android or ios localization files (or other twine-supported formats)? ATM we don't use this conversion at all, only the opposite (from Twine/OM to native platform localizations). Is there some idea to use e.g. Android -> Twine conversion? |
Yes |
This adjust the Twine output format to align with the existing Twine strings.txt in OM
Changes:
Problems: