Currently translated at 19.0% (4 of 21 strings) Translation: F-Droid/F-Droid metadata Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid-metadata/zh_Hans/ Translated using Weblate: Chinese (Simplified) (zh-rCN) by kak mi <wavelake@outlook.com> Currently translated at 100.0% (429 of 429 strings) Translation: F-Droid/F-Droid Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid/zh_Hans/ Translated using Weblate: Chinese (Simplified) (zh-CN) by Allan Nordhøy <epost@anotheragency.no> Currently translated at 4.8% (1 of 21 strings) Translation: F-Droid/F-Droid metadata Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid-metadata/zh_Hans/
```python import glob for f in glob.glob('metadata/*/*.txt'): with open(f) as fp: data = fp.read() with open(f, 'w') as fp: fp.write(data.rstrip()) fp.write('\n') ``` for f in metadata/*/short_description.txt; do data=`cat $f`; echo $data > $f; done
This is required to make Weblate find these files.