1
0
Fork 0
mirror of https://github.com/syncthing/syncthing-android.git synced 2024-11-26 06:11:19 +00:00
Commit graph

31 commits

Author SHA1 Message Date
winver
8a0ef9df30
Translated using Weblate (Ukrainian)
Currently translated at 97.5% (360 of 369 strings)

Translation: Syncthing/Android app strings
Translate-URL: https://hosted.weblate.org/projects/syncthing/android/stringsxml/uk/
2024-02-08 22:01:45 +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
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
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
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
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
e70b6664a8
Remove non-functional restartOnWakeup from app settings (fixes #1961) (#1968)
The option "restartOnWakeup" was removed in Syncthing v1.21.0 [1]. Thus,
remove it from the Android app as well, since the option does not
perform any function anymore. In addition, update the Docs also [2].

[1] https://github.com/syncthing/syncthing/issues/8448
[2] https://github.com/syncthing/docs/pull/815

Signed-off-by: Tomasz Wilczyński <twilczynski@naver.com>
Co-authored-by: Tomasz Wilczyński <twilczynski@naver.com>
2023-09-03 14:36:23 +02:00
Simon Frei
ff7532b1ae
Imported translations 2022-08-11 22:04:43 +02:00
Simon Frei
5275879498
Imported translations 2021-02-23 11:38:49 +01:00
Simon Frei
d0510be9fa
Imported translations 2019-08-10 20:10:48 +02:00
Audrius Butkevicius
90272c4ece Revert "Support Variable Size Blocks (VSB)" (#1344) 2019-06-12 23:00:54 +02:00
Simon Frei
379324aca1 Imported translations 2019-04-18 22:45:46 +02:00
Simon Frei
9a386131a1 Imported translations 2019-03-12 20:51:33 +01:00
Audrius Butkevicius
160e2bd66e
Imported translations 2019-02-11 20:08:56 +00:00
Audrius Butkevicius
81ba1fd9f6 Imported translations 2018-10-03 19:45:56 +01:00
Audrius Butkevicius
cd2df3b117 Imported translations 2018-08-07 19:18:16 +01:00
Catfriend1
4b7024bf8a Add "receiveonly" folder type to UI and model (fixes #1210) (#1211) 2018-08-07 13:14:21 +01:00
Catfriend1
6a04d640bd
Improve run conditions and run conditions UI (#1189)
* WIP - Extend run condition monitor functions

* WIP - Better run conditions UI

* WIP - Allow applying run conditions to foreground and background
execution of the syncthing app

* WIP - Add mobile data run condition

* WIP - Fix RunConditionMonitor#onSharedPreferenceChanged

* WIP - Directly go to SettingsActivity#Run_Conditions screen
after the "change run condition" button has been clicked in
StateDialogActivity during STATE_DISABLED

* Disable Syncthing in flight mode (fixes #1173)
... and allow to enable it on phone that have problems
detecting wifi connection if the user manually enables
one during flight mode.

* Add run condition "Run on metered wifi" (fixes #937)

* Improve string

* Add run condition "Respect Android Auto-sync data quick toggle" (fixes #588)

* Remove SharedPreferences.OnSharedPreferenceChangeListener

* Added SyncthingService#reEvaluateRunConditions

* Implement mPendingRunConditions in SettingsActivity
to queue run condition changes until the user leaves
the preferences screen after making changes. (fixes #1196)

* Rename reEvaluateRunConditions to evaluateRunConditions
according to review

* Fix implementation of ContentResolver.removeStatusChangeListener

* Reordered run conditions
wifi, metered wifi, wifi whitelist, mobile data

* Review 1/2

* Fix logic for metered/non-metered wifi run condition

* Remove PreferenceScreen dividers on API level > 21

* Revert "Remove PreferenceScreen dividers on API level > 21"

This reverts commit ec037b02e4.

* Detect changes made to wifi connections in android's data usage dialog
related to the metered wifi flag.

* Review - Minor string improvements
Removed unused variable from RunConditionMonitor
Move always_run_in_background pref to pref category
"Behaviour".

* Review - "Start service automatically on boot" string

* Remove unused strings
2018-08-02 10:50:21 +02:00
Audrius Butkevicius
ecb6200503 Imported translations 2018-07-24 21:47:51 +01:00
Audrius Butkevicius
8284c015c7 Imported translations 2018-06-10 00:08:16 +01:00
Catfriend1
53fc6fdd3c Reduce syncthing restart requests (#1099) 2018-05-29 20:35:49 +01:00
Audrius Butkevicius
b8d9326cc7 Imported translations 2018-05-09 18:57:37 +01:00
Audrius Butkevicius
5d5bbd4653 Imported translations 2018-04-29 23:23:38 +01:00
Catfriend1
b7f0c02238 Add pause support for folders and devices (fixes #856) 2018-04-29 23:17:27 +01:00
Catfriend1
203dfc753f Add UI support for delta index resets (fixes #1060) 2018-04-27 20:57:15 +01:00
8f324a866d Imported translations 2018-03-09 20:04:22 +09:00