1
0
Fork 0
mirror of https://github.com/syncthing/syncthing-android.git synced 2025-02-04 00:01:37 +00:00
Commit graph

9 commits

Author SHA1 Message Date
André Colomb
6d8805b69f Consistently indent and line-wrap multiline translations.
For strings containing escaped newlines (\n), always start a new line
right before that sequence and remove any other whitespace in between.
Let the closing </string> tag follow immediately on the last line.
Keep one-line translations on one line, without arbitrary wrapping.

Actually fix some line-break inconsistencies within the translations
along the way.  Some had questionable \n\ sequences, capitalized \N or
the n actually forgotten after an escaping backslash, which lead to
parsing errors.  Others simply used two line breaks (which are
collapsed to one space during parsing) instead of the needed \n escape
sequence.

This gets the format much closer to what Weblate generates when
dumping the parsed strings into fresh XML files.  Also harmonizes the
formatting in the "source" (English) values/strings.xml though.
2023-11-08 01:36:20 +01:00
André Colomb
c53e38fbbf Normalize XML indentation to four spaces per level. 2023-11-07 23:14:49 +01:00
André Colomb
e7385ea60d Normalize XML header attribute syntax.
Use double-quotes for the attribute values, as in the rest of each
file.  Lowercase the utf-8 encoding value.

Matches the Weblate normalized output.
2023-11-07 22:21:50 +01:00
André Colomb
6b677b3e29
Fix Transifex config to make pull script work again. (#1993)
* Migrate to new tx config file format.
* Remove obsolete CLI flag specifying the resource ID.
* Imported translations
2023-11-07 22:20:26 +01:00
Simon Frei
172caa9107
Imported translations 2022-07-12 13:24:30 +02:00
Simon Frei
5275879498
Imported translations 2021-02-23 11:38:49 +01:00
Simon Frei
2de21eb35e
Imported translations 2019-07-16 10:02:53 +02:00
Simon Frei
df7bda5f89
Imported translations 2019-06-13 17:51:14 +02:00
Simon Frei
f69bce15ef
Imported translations 2019-06-12 23:01:57 +02:00