1
0
Fork 0
mirror of https://github.com/syncthing/syncthing-android.git synced 2024-11-25 22:01:16 +00:00
Commit graph

2399 commits

Author SHA1 Message Date
Simon Frei
179a45ce65 Bumped version to 1.27.0 2023-12-05 22:30:00 +01:00
André Colomb
ae27e7bb4d
Translated using Weblate (German)
Currently translated at 100.0% (369 of 369 strings)

Translation: Syncthing/Android app strings
Translate-URL: https://hosted.weblate.org/projects/syncthing/android/stringsxml/de/
2023-12-05 22:23:11 +01:00
Eric
6dd53e0a4b Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (369 of 369 strings)

Translation: Syncthing/Android app strings
Translate-URL: https://hosted.weblate.org/projects/syncthing/android/stringsxml/zh_Hans/
2023-12-05 18:37:17 +01:00
gallegonovato
c2947aec8f Translated using Weblate (Spanish)
Currently translated at 100.0% (369 of 369 strings)

Translation: Syncthing/Android app strings
Translate-URL: https://hosted.weblate.org/projects/syncthing/android/stringsxml/es/
2023-12-05 18:37:17 +01:00
Burak Yavuz
f071fa7c32 Translated using Weblate (Turkish)
Currently translated at 100.0% (369 of 369 strings)

Translation: Syncthing/Android app strings
Translate-URL: https://hosted.weblate.org/projects/syncthing/android/stringsxml/tr/
2023-12-05 10:21:38 +01:00
Matthaiks
5726680a1b Translated using Weblate (Polish)
Currently translated at 100.0% (369 of 369 strings)

Translation: Syncthing/Android app strings
Translate-URL: https://hosted.weblate.org/projects/syncthing/android/stringsxml/pl/
2023-12-05 10:21:38 +01:00
Michal Čihař
74d67babf1 Translated using Weblate (Czech)
Currently translated at 97.2% (359 of 369 strings)

Translation: Syncthing/Android app strings
Translate-URL: https://hosted.weblate.org/projects/syncthing/android/stringsxml/cs/
2023-12-05 10:21:25 +01:00
Matthaiks
7ad7569e60 Translated using Weblate (Polish)
Currently translated at 100.0% (369 of 369 strings)

Translation: Syncthing/Android app strings
Translate-URL: https://hosted.weblate.org/projects/syncthing/android/stringsxml/pl/
2023-12-05 10:21:25 +01:00
Matthaiks
acfc3f570a Translated using Weblate (Polish)
Currently translated at 100.0% (369 of 369 strings)

Translation: Syncthing/Android app strings
Translate-URL: https://hosted.weblate.org/projects/syncthing/android/stringsxml/pl/
2023-12-05 10:21:25 +01:00
André Colomb
623a0fc9de Translated using Weblate (German)
Currently translated at 100.0% (369 of 369 strings)

Translation: Syncthing/Android app strings
Translate-URL: https://hosted.weblate.org/projects/syncthing/android/stringsxml/de/
2023-12-05 10:21:25 +01:00
LBF38
5af44fe8bb
Add export/import support for HTTPS files (fixes #1986) (#2013)
Add support for exporting and importing HTTPS related files
(`https-cert.pem` and `https-key.pem`). It can be used to export/import
a self-signed certificate/custom HTTPS certificate to the Syncthing
instance on Android.

I couldn't launch the app in my IDE so I didn't test the changes. 

Closes #1986
2023-12-03 23:20:08 +01:00
Adam Szewera
856495ab0d
Add JitPack repo and update libsuperuser dependency (#2001)
## Description
Back in 2021 [JFrog
announced](https://jfrog.com/blog/into-the-sunset-bintray-jcenter-gocenter-and-chartcenter/)
that they are deprecating the JCenter repository. It's still read-only
but it shouldn't be depended upon.

I was trying to remove it in the other PR:
https://github.com/syncthing/syncthing-android/pull/2000, but then I
found out a single dependency still needs it:
[libsuperuser](https://github.com/Chainfire/libsuperuser).
The most "up to date" version [can be found in
JitPack](https://jitpack.io/#Chainfire/libsuperuser).
I had to update the version manually as dependabot would never pick it
up until JitPack is added to the list of repositories.

## Changes
* add the JitPack as a new repository to the project
* update the `libsuperuser` dependency to version `1.1.1`
2023-11-30 21:44:35 +01:00
André Colomb
52bd276ca9
i18n: Indirect string-array declarations through arrays.xml (#2012)
This fixes missing strings in Weblate translation, although they are
supposedly in the strings.xml files.

Introduce string-array elements matching those from the source
strings.xml, but instead pointing to a `@string` reference. The latter
is to be translated based on the assigned sub item's key.

Weblate does not handle string-arrays, but needs this indirection, see
https://docs.weblate.org/en/latest/formats/android.html

All existing translations are pulled in by migrating the `<string-array
name="..."><item>...` elements to `<string name="...">` elements
instead. This was done using an XSLT stylesheet, so can be easily
reproduced.

**IMPORTANT, MERGING ORDER:**
1. [x] The automated Weblate PR should be merged first, after committing
any outstanding translation changes on Weblate.
2. [x] Then rebase this branch, best re-applying the XSLT in case of
conflicts.
3. [ ] Then merge this PR.
2023-11-30 21:43:57 +01:00
Simon Frei
91366312db Bumped version to 1.27.0-rc.2 2023-11-28 22:37:57 +01:00
Simon Frei
2cb6ba3874 Updated Syncthing to v1.27.0-rc.2 2023-11-28 22:35:40 +01:00
Weblate (bot)
5fc87d6a87
Translations update from Hosted Weblate (#2010)
Translations update from [Hosted Weblate](https://hosted.weblate.org)
for [Syncthing/Android app
strings](https://hosted.weblate.org/projects/syncthing/android/stringsxml/).


It also includes following components:

* [Syncthing/Google Play
listings](https://hosted.weblate.org/projects/syncthing/android/play-listings/)



Current translation status:

![Weblate translation
status](https://hosted.weblate.org/widget/syncthing/android/stringsxml/horizontal-auto.svg)

---------

Co-authored-by: Masowick <Demian@gmx.co.uk>
Co-authored-by: Thomas De Rocker <thomasderocker@outlook.com>
Co-authored-by: Catfriend1 <16361913+Catfriend1@users.noreply.github.com>
Co-authored-by: Tomasz Wilczyński <twilczynski@naver.com>
Co-authored-by: Giorgos Skafidas <giorgos@skafidas.online>
Co-authored-by: Burak Yavuz <hitowerdigit@hotmail.com>
Co-authored-by: Emanuel Angelo <emanuel.angelo@gmail.com>
Co-authored-by: innesi <cheungh.kevin@gmail.com>
2023-11-28 22:21:27 +01:00
Simon Frei
e18bff3b95 Bumped version to 1.26.1 2023-11-15 19:32:47 +01:00
Simon Frei
b7658b759a Updated Syncthing to v1.26.1 2023-11-15 19:31:31 +01:00
André Colomb
d3fe7fe4fe
i18n: Use proper Unicode ellipsis, other clean-ups (#2005)
Update all `strings.xml` translation files to replace triple full-stop
with proper Unicode ellipsis. Fix other syntax problems and cosmetics in
translation source `strings.xml`.
2023-11-15 18:24:42 +01:00
Weblate (bot)
2e06e0f525
Translations update from Hosted Weblate (#2007)
Translations update from [Hosted Weblate](https://hosted.weblate.org)
for [Syncthing/Android app
strings](https://hosted.weblate.org/projects/syncthing/android/stringsxml/).


It also includes following components:

* [Syncthing/Google Play
listings](https://hosted.weblate.org/projects/syncthing/android/play-listings/)



Current translation status:

![Weblate translation
status](https://hosted.weblate.org/widget/syncthing/android/stringsxml/horizontal-auto.svg)

---------

Co-authored-by: André Colomb <src@andre.colomb.de>
Co-authored-by: Masowick <Demian@gmx.co.uk>
Co-authored-by: Ettore Atalan <atalanttore@googlemail.com>
Co-authored-by: Eric <zxmegaxqug@hldrive.com>
Co-authored-by: Burak Yavuz <hitowerdigit@hotmail.com>
Co-authored-by: Erik van Oosten <e.vanoosten@grons.nl>
Co-authored-by: Tomasz Wilczyński <twilczynski@naver.com>
Co-authored-by: Matthaiks <kitynska@gmail.com>
Co-authored-by: gallegonovato <fran-carro@hotmail.es>
2023-11-14 23:43:36 +01:00
Simon Frei
fb50ba1d6e Bumped version to 1.27.0-rc.1.1 2023-11-14 23:26:17 +01:00
Weblate (bot)
3b41a64317
Translations update from Hosted Weblate (#1999)
Translations update from [Hosted Weblate](https://hosted.weblate.org)
for [Syncthing/Android app
strings](https://hosted.weblate.org/projects/syncthing/android/stringsxml/).


It also includes following components:

* [Syncthing/Google Play
listings](https://hosted.weblate.org/projects/syncthing/android/play-listings/)



Current translation status:

![Weblate translation
status](https://hosted.weblate.org/widget/syncthing/android/stringsxml/horizontal-auto.svg)

---------

Co-authored-by: André Colomb <src@andre.colomb.de>
Co-authored-by: Masowick <Demian@gmx.co.uk>
Co-authored-by: Ettore Atalan <atalanttore@googlemail.com>
Co-authored-by: Eric <zxmegaxqug@hldrive.com>
Co-authored-by: Burak Yavuz <hitowerdigit@hotmail.com>
Co-authored-by: Erik van Oosten <e.vanoosten@grons.nl>
Co-authored-by: Tomasz Wilczyński <twilczynski@naver.com>
Co-authored-by: Matthaiks <kitynska@gmail.com>
Co-authored-by: gallegonovato <fran-carro@hotmail.es>
2023-11-14 23:24:40 +01:00
Simon Frei
55fa4ba4c3 Bumped version to 1.27.0-rc.1 2023-11-14 23:14:00 +01:00
Simon Frei
39085dbdba Updated Syncthing to v1.27.0-rc.1 2023-11-14 23:12:52 +01:00
André Colomb
24fa7c3620
Remove outdated drawer entry for CPU usage (#2004)
The code to calculate this metric has long been removed from the backend upstream, in commit c7d6a6d780.

Thus the GUI element should go away as well, currently always displaying 0 percent anyways.

Ref https://github.com/syncthing/syncthing/pull/6393
2023-11-13 20:51:36 +01:00
zanovis
57c79257d1
Clarified error message for restricted location permissions (#1974)
This error message is slightly misleading (related to #1778) currently,
the user will get this error even if they have whitelisted the SSID.

Co-authored-by: Simon Frei <freisim93@gmail.com>
2023-11-13 19:34:32 +01:00
André Colomb
705a4d7364
Add translation comment referring to "all files access" docs (#2003) 2023-11-13 10:27:35 +01:00
André Colomb
840e656af4 Adjust README and other documentation for Weblate. 2023-11-08 18:54:44 +01:00
André Colomb
3ad13be6ab Import last minute Basque additions from Transifex. 2023-11-08 13:13:47 +01:00
André Colomb
8717ab7b7a Delete untranslated Play listings.
These languages simply copy the existing English strings verbatim.
Remove them in hope of someone actually re-translating them later.
2023-11-08 01:36:25 +01:00
André Colomb
06c584c478 Rename Play listings directory zh-HK.
Wrongfully used an underscore before.
2023-11-08 01:36:25 +01:00
André Colomb
2db3e2407b Remove other empty translations.
These languages currently contains no translations at all.  Drop them
completely until someone shows up to start working on it.
2023-11-08 01:36:25 +01:00
André Colomb
3d299410aa Remove eo - Esperanto empty translation.
This language code is not even officially found in the Android sources
as a valid locale code [1] and currently contains no translations at
all.  Drop it completely to avoid someone putting work into an unused
language translation.

[1]:
https://android.googlesource.com/platform/frameworks/base/+/refs/tags/android-14.0.0_r11/core/res/res/
2023-11-08 01:36:25 +01:00
André Colomb
92259ec340 Remove de_DE - German (Germany) duplicate and empty translation.
There is a basic variant "de" which is recognized by Weblate and
actually has translated strings in contrast to the specialized de_DE
variant.  Seems obvious to keep the former.
2023-11-08 01:36:25 +01:00
André Colomb
b18ef52aab Remove si_LK - Sinhala (Sri Lanka) duplicate translation.
There is a basic variant "si" which is recognized by Weblate and much
more complete than the specialized si_LK variant.  Seems obvious to
keep the former.
2023-11-08 01:36:25 +01:00
André Colomb
e4a6e18428 Remove bogus <br data-mce-bogus="1"> tag.
Seems to be related to the TinyMCE editor component.  This is one more
tiny detail being mangled by Weblate during export.
2023-11-08 01:36:25 +01:00
André Colomb
6ae80b0274 Remove unnecessary Unicode entity in source translation.
Since the XML files are explicitly marked as UTF-8 encoded, no need to
escaped that UTF-8 character.
2023-11-08 01:36:25 +01:00
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
5e687b155b Trim leading and trailing spaces which are not quoted.
Assuming that these are just input errors, as they don't exist in the
English strings and are not explicitly quoted.

Weblate will remove when outputting translated strings anyway.
2023-11-08 01:35:58 +01:00
André Colomb
d18a3181d4 Collapse whitespace on XML level.
Spans of whitespace are collapsed to a single space during XML
parsing, so these instances will not survive anyway.
2023-11-08 01:35:55 +01:00
André Colomb
0fa4f400c2 Quote strings to preserve spaces instead of Unicode escaping. 2023-11-08 01:01:41 +01:00
André Colomb
7baa04810b Escape question marks as per Android syntax description.
https://developer.android.com/guide/topics/resources/string-resource#FormattingAndStyling
2023-11-08 01:01:41 +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
74d3c6661a Bumped version to 1.26.0 2023-11-07 12:38:44 +01:00
opusforlife2
c317a9e93a
Reworded notification permission description (#1991)
The wording of the description was a little strange.
2023-11-04 11:31:36 +01:00
Simon Frei
66399af586 Bumped version to 1.26.0-rc.2 2023-10-28 07:00:24 +02:00
Simon Frei
cc2e3654e5 Updated Syncthing to v1.26.0-rc.2 2023-10-28 06:58:49 +02:00
Simon Frei
3801c13a8e Bumped version to 1.26.0-rc.1 2023-10-14 13:17:35 +02:00