hammer-editor/crowdin.yml
Adam Brown f043cc4c0b
Sync translations from Crowdin, and fix the glob that skipped strings.xml (#777)
* Fix the crowdin.yml glob that was skipping strings.xml

Crowdin's * requires at least one character, so strings*.xml matched the
16 strings_*.xml files but never strings.xml itself. That file had been
silently absent from every sync. The composeResources values directory
only holds value resources, so *.xml is the safe form.

The android pattern is left alone: that directory also contains theme.xml
and ic_launcher_background.xml, which must not be uploaded.

* Sync translations from Crowdin

First download since the string cleanup and the export-processor fix.

- Removes the 98 retired keys from all six locales, so every values-* now
  carries the same 984 keys as values/.
- Drops Crowdin's spurious \' and \" from the Compose resources. Compose
  never unescaped those, so they were rendering on screen.
- Picks up 38 newly added server strings, which arrive as English until
  they are translated.
2026-07-27 12:30:51 -07:00

19 lines
981 B
YAML

project_id_env: CROWDIN_PROJECT_ID
api_token_env: CROWDIN_PERSONAL_TOKEN
files:
# Not strings*.xml: Crowdin's * requires at least one character, so that
# pattern silently skips strings.xml itself. This directory only ever holds
# value resources, so *.xml is the safe form.
- source: /common/src/commonMain/composeResources/values/*.xml
translation: /common/src/commonMain/composeResources/values-%android_code%/%original_file_name%
translate_attributes: 0
content_segmentation: 0
- source: /android/src/main/res/values/strings*.xml
translation: /android/src/main/res/values-%android_code%/%original_file_name%
translate_attributes: 0
content_segmentation: 0
- source: /fastlane/metadata/android/en-US/*.txt
translation: /fastlane/metadata/android/%locale%/%original_file_name%
- source: /server/src/main/resources/i18n/Messages_en.properties
translation: /server/src/main/resources/i18n/Messages_%locale_with_underscore%.properties