abouttreesummaryrefslogcommitdiff
path: root/sync_translations.py
AgeCommit message (Collapse)AuthorFilesLines
7 daysreleases: Update languages supported by Google Play (#1257)Jules Aguillon1-7/+12
Remove languages from fastlane metadata that are not supported by Google Play and prevented the release from continuing.
7 daysMerge changes from Weblate (#1256)Jules Aguillon1-0/+9
Co-authored-by: Anonymous <noreply@weblate.org> Co-authored-by: Hosted Weblate <hosted@weblate.org> Co-authored-by: solokot <solokot@gmail.com> Co-authored-by: โ„‚๐• ๐• ๐• ๐• (๐•˜๐•š๐•ฅ๐•™๐•ฆ๐•“.๐•”๐• ๐•ž/โ„‚๐• ๐• ๐• ๐•) <coool@mail.lv> Co-authored-by: Packss <enzoana@hotmail.com> Co-authored-by: A <meow98317@gmail.com> Co-authored-by: Joppla <joppla@gmx.com> Co-authored-by: Validbit <validbit@outlook.com> Co-authored-by: Chasm Solacer <chasmsolacer@users.noreply.hosted.weblate.org> Co-authored-by: Akal! <ihsani.akmal.0@gmail.com> Co-authored-by: Edgars Andersons <Edgars+Weblate@gaitenis.id.lv> Co-authored-by: Mehmet Ali Cuma <v6lhost@proton.me> Co-authored-by: ๆ˜ฏๆžœๅฎๅ‘ <shiguobaona@163.com> Co-authored-by: Giuseppe Barichello <beppuz@gmx.com> Co-authored-by: marciozomb13 <marciozomb13@outlook.com> Co-authored-by: Bora Atฤฑcฤฑ <boratici.acc@gmail.com> Co-authored-by: Pรฉter Czeglรฉdy <czegledyp2@gmail.com> Co-authored-by: Jonatas P <jonatasp5592@gmail.com> Co-authored-by: Rasel Molla <msg4mrm@gmail.com> Co-authored-by: Bi Bi Le <lebibibioihandsomeboy.ghost@gmail.com> Co-authored-by: Juan M Sevilla <jumase@disroot.org> Co-authored-by: Shine WaiLinn <shinelinn1897@users.noreply.hosted.weblate.org> Co-authored-by: Sai Hak Moe Htike <pekhejdj@gmail.com> Co-authored-by: Matteo Borella <borella.matteo@gmail.com> Co-authored-by: Ulpi Antor <weblate.residual441@passmail.net> Co-authored-by: Nataniel Dika Kurniawan <hikawaart2@gmail.com> Co-authored-by: Yusif Omran <yusifrad20@gmail.com> Co-authored-by: Samuel Jabez P <jrbros2346@gmail.com> Co-authored-by: Regu_Miabyss <cyanogenmod.cid@gmail.com> Co-authored-by: Tannaz M <tannaz.monajemi@gmail.com> Co-authored-by: winver <kirillstuzhuk@gmail.com> Co-authored-by: Summer-Box1228 <tingrong1228@gmail.com> Co-authored-by: E. Ta. <eta00823@gmail.com> Co-authored-by: Abo Moayd <aboeanas0y2014@gmail.com> Co-authored-by: meQ Qentlh <brynnhold@gmail.com> Co-authored-by: Adriร  Vilanova Martรญnez <me@avm99963.com> Co-authored-by: QonDonion <dolchanat.a@gmail.com> Co-authored-by: Leonardo Taglialegne <leonardo@taglialegne.it> Co-authored-by: Mikael Kujanpรครค <mikael.pajunen@gmail.com> Co-authored-by: Vaisakh K M <vaisakhkm2625@gmail.com> Co-authored-by: Debojit Mozumder <debojitmozumder38@gmail.com> Co-authored-by: Rifat <rifatstudent463@gmail.com> Co-authored-by: Guzleon <guzleon@yahoo.es>
2025-08-16gradle: Disable sync_translations (#1076)Jules Aguillon1-1/+5
The diffs created by sync_translations.py creates conflicts with the changes made on Weblate. It is disable to make merging translations from Weblate easier.
2025-07-02Fix fastlane metadataJules Aguillon1-2/+2
2025-07-02Pull translations from Weblate (#1025)Jules Aguillon1-0/+3
Translated using Weblate Co-authored-by: Anonymous <noreply@weblate.org> Co-authored-by: Hosted Weblate <hosted@weblate.org> Co-authored-by: solokot <solokot@gmail.com> Co-authored-by: โ„‚๐• ๐• ๐• ๐• (๐•˜๐•š๐•ฅ๐•™๐•ฆ๐•“.๐•”๐• ๐•ž/โ„‚๐• ๐• ๐• ๐•) <coool@mail.lv> Co-authored-by: Packss <enzoana@hotmail.com> Co-authored-by: A <meow98317@gmail.com> Co-authored-by: Joppla <joppla@gmx.com> Co-authored-by: Validbit <validbit@outlook.com> Co-authored-by: Chasm Solacer <chasmsolacer@users.noreply.hosted.weblate.org> Co-authored-by: Akal! <ihsani.akmal.0@gmail.com> Co-authored-by: Edgars Andersons <Edgars+Weblate@gaitenis.id.lv> Co-authored-by: Mehmet Ali Cuma <v6lhost@proton.me> Co-authored-by: ๆ˜ฏๆžœๅฎๅ‘ <shiguobaona@163.com> Co-authored-by: Giuseppe Barichello <beppuz@gmx.com> Co-authored-by: marciozomb13 <marciozomb13@outlook.com> Co-authored-by: Bora Atฤฑcฤฑ <boratici.acc@gmail.com> Co-authored-by: Pรฉter Czeglรฉdy <czegledyp2@gmail.com> Co-authored-by: Jonatas P <jonatasp5592@gmail.com>
2025-03-08sync_translations.py: Handle '\n' in store descriptionsJules Aguillon1-1/+5
These are added by Weblate.
2025-03-08Change indentation of strings.xml files to match WeblateJules Aguillon1-1/+1
This runs sync_translations.py, which also remove uneeded comments.
2024-09-08Add Japanese translation and layout (#743)cknight8281-0/+1
2024-03-24sync_translations: Fix store descrs not updatedJules Aguillon1-1/+1
2024-03-16Move fastlane metadata into fastlane/metadata/androidJules Aguillon1-2/+2
2024-03-04metadata: Remove metedata without a short_descriptionJules Aguillon1-0/+2
It is mandatory for Google Play.
2024-03-04Revert renaming metadata locale directoriesJules Aguillon1-4/+27
Metadata directories were renamed while adding store descriptions into strings files for simplicity. This interferes with releases so is released. An hardcoded lookup table is used instead.
2024-02-06Move store descriptions into strings filesJules Aguillon1-6/+28
This makes translation easier as there's a single file to edit at. Existing short and full descriptions are conserved. sync_translations.py takes care of updating the metadata files. The metadata directories are renamed to match the language codes used in `res/`. Contributing guidelines are updated accordingly.
2023-08-05sync_translations.py: Report number of missing stringsJules Aguillon1-16/+26
2023-06-25Generate layouts arrays used in settingsJules Aguillon1-1/+0
`gen_layouts.py` lists the layouts in `res/xml` and generate the `pref_layout_values` and `pref_layout_entries` arrays into `res/values/layouts.xml`. These arrays are hard to maintain as the order has to match, which is fragile. This relies on every layouts having a `name` attribute.
2023-06-07Use utf-8 encoding while formatting translations on Windows. (#376)six-61-1/+1
When running sync_translations.py on Windows, an error will show because it use gbk encoding by default. Using utf-8 encoding explicitly can fix it.
2023-03-28sync_translations.py: Output sub-elementsJules Aguillon1-15/+12
2022-11-26Make sure translation are in syncJules Aguillon1-0/+41
The new script makes sure that strings files don't contain obsolete strings but also ease the job of contributors by adding missing translations as comments. A Github Action ensures that translations stay in sync over time.