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

184 commits

Author SHA1 Message Date
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
opusforlife2
c317a9e93a
Reworded notification permission description (#1991)
The wording of the description was a little strange.
2023-11-04 11:31:36 +01:00
Ashutosh soni
2ff421a166
Add notification permission for api level >=33 (fixes #1976) (#1983)
Added notification permission.

---------

Co-authored-by: Ashutosh Soni <ashutoshsoni@bitcot.com>
2023-10-11 18:53:29 +02: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
Bnyro
a088701d51
Fix status bar text and icons color in light mode (fixes #1963) (#1965)
closes #1963

PS: This one has been kinda ugly to spot, ngl. I didn't expect that we
were modifying the welcome activity status bar color programmatically
instead of just with an XML theme ...
2023-08-18 21:34:07 +02:00
Pr0pHesyer
c708f31ac4
fix #1947 Auto icon color change (#1949) 2023-07-21 08:18:25 +02:00
Bnyro
4950e628ad
Fix appearance of buttons in share activity (#1920) 2023-06-16 20:01:03 +02:00
Bnyro
ebd31829b8
Fix contrast of top app bar (#1916) 2023-06-13 21:32:15 +02:00
Bnyro
e46ec1cfee
Migration to Material Design 3 (fixes #1833, fixes #1418) (#1895) 2023-05-10 22:21:03 +02:00
Simon Frei
a34239dc4d
Imported translations 2023-02-08 22:44:13 +01:00
Simon Frei
1ea20e5f27
Imported translations 2023-01-14 11:34:48 +01:00
Simon Frei
c187b4998b
Imported translations 2022-12-17 21:53:49 +01:00
fps.io
892fdea2ea
Add preference for enabling run conditions (workaround for #1822) (#1823) 2022-08-23 21:46:38 +02:00
Simon Frei
ff7532b1ae
Imported translations 2022-08-11 22:04:43 +02:00
Simon Frei
172caa9107
Imported translations 2022-07-12 13:24:30 +02:00
Simon Frei
7697698772
Imported translations 2022-06-29 11:02:07 +02:00
Simon Frei
9124123c82
Imported translations 2022-05-27 11:24:22 +02:00
Simon Frei
8e12c24b61
Imported translations 2022-04-17 07:58:15 +02:00
Simon Frei
fffc07571d
Imported translations 2022-03-12 11:26:42 +01:00
Simon Frei
14d8e257b0
Imported translations 2022-02-23 21:05:32 +01:00
Simon Frei
284a11ded9
Rename si_LK translation to general si 2022-02-13 11:30:51 +01:00
Simon Frei
86859819a8
Imported translations 2022-02-11 23:56:07 +01:00
Simon Frei
2abf0d06f5
Imported translations 2022-01-27 22:09:46 +01:00
Simon Frei
48e2e58ff9
Imported translations 2021-12-23 19:27:37 +01:00
Simon Frei
81698e1acc
Bump android api level to 30 (ref #1721) (#1724) 2021-12-23 18:32:28 +01:00
ziem
7639babd14
Simplify welcome wizard layouts (fixes #1626, fixes #1723) (#1727) 2021-11-18 20:17:31 +01:00
Simon Frei
0bbb724cba
Imported translations 2021-10-12 21:16:36 +02:00
Simon Frei
29837be1d0
Imported translations 2021-07-18 13:09:51 +02:00
Simon Frei
492c1a7de5
Imported translations 2021-06-09 14:59:04 +02:00
Simon Frei
e934ef164a
Imported translations 2021-06-01 16:40:13 +02:00
Simon Frei
d043ff4a71
Imported translations 2021-03-08 12:32:15 +01:00
Simon Frei
6b3740ba6c
Imported translations 2021-03-05 09:56:20 +01:00
Simon Frei
fc822cfd68
Imported translations 2021-02-23 12:41:55 +01:00
Simon Frei
5275879498
Imported translations 2021-02-23 11:38:49 +01:00
Simon Frei
706d465274
Improve privacy policy (#1610) 2021-02-23 11:37:01 +01:00
Simon Frei
087a6080a2
Follow gplay directions regarding privacy policy and location disclosure (#1607) 2021-02-11 20:19:37 +01:00
Simon Frei
23052cc6db
Imported translations 2021-02-09 16:27:48 +01:00
Simon Frei
7d3770ec3f
Imported translations 2020-12-12 16:37:54 +01:00
Simon Frei
b03d2465dc
Target android sdk 29 (#1575) 2020-12-12 16:20:06 +01:00
Simon Frei
4299b1a097 Imported translations 2020-10-17 09:29:17 +02:00
Sumit Anantwar
e12663f321
Add Internal Activity for QR Code Scanner (#1556)
* add internal QR Scanner Activity

* add CAMERA permission to Manifest

* add dimension for Button Height

* remove non-existent RestartActivity from Manifest

* accept licenses for Android SDK 29

* rollback gradle to 3.6.3

* add dependency for zxing:core:3.3.0 to support Android API 14+
2020-10-09 07:52:38 +01:00
Praveen Rajput
cdf6a69d1f
Theme: follow system default #1515 (#1555)
- Now app by default follows system theme for api level 28 and higher, for api level below 28, it fall backs to light theme.
2020-09-28 12:32:34 +01:00
Simon Frei
400dbd94ee Imported translations 2020-09-10 12:07:48 +02:00
Simon Frei
e0e4f92b1d Imported translations 2020-08-11 11:27:22 +02:00
agent-redd
2bb54b65a1
Correction of the Donation Link (#1529)
Changed it from an slightly wrong url to the official https://syncthing.net/donations
2020-07-14 08:07:22 +01:00
Simon Frei
796d8a4896 Imported translations 2020-06-09 14:37:52 +02:00
dependabot-preview[bot]
d657bfdc09
Bump dependencies (AndroidX, com.github.triplet.play 2.7.5, gradle 3.6.3) (#1491)
* Bump com.github.triplet.play from 2.5.0 to 2.7.5

Bumps com.github.triplet.play from 2.5.0 to 2.7.5.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Fix com.github.triplet.play dependency setup

* gradle-wrapper.properties: Update gradle 6.0.1 > 6.2.2

from: 5ad55348b8

* build.gradle: Update "com.android.tools.build:gradle" from 3.5.3 to 3.6.3

* gradle.properties: + android.useAndroidX=true

* Migrate to AndroidX: import androidx.databinding.DataBindingUtil

* Create setenv.cmd

* Fix lint error: RtlCompat

Right-to-left text compatibility issues
../../src/main/res/layout/activity_firststart_slide1.xml:46: To support older versions than API 17 (project specifies 16) you must also specify gravity or layout_gravity="center_horizontal"
 43             android:paddingLeft="@dimen/desc_padding"
 44             android:paddingRight="@dimen/desc_padding"
 45             android:text="@string/welcome_text"
 46             android:textAlignment="center"

 47             android:textColor="@android:color/white"
 48             android:textSize="@dimen/slide_desc" />
 49
../../src/main/res/layout/activity_firststart_slide2.xml:61: To support older versions than API 17 (project specifies 16) you must also specify gravity or layout_gravity="center_horizontal"
 58             android:paddingLeft="@dimen/desc_padding"
 59             android:paddingRight="@dimen/desc_padding"
 60             android:text="@string/storage_permission_desc"
 61             android:textAlignment="center"

 62             android:textColor="@android:color/white"
 63             android:textSize="@dimen/slide_desc" />
 64
../../src/main/res/layout/activity_firststart_slide3.xml:61: To support older versions than API 17 (project specifies 16) you must also specify gravity or layout_gravity="center_horizontal"
 58             android:paddingLeft="@dimen/desc_padding"
 59             android:paddingRight="@dimen/desc_padding"
 60             android:text="@string/location_permission_desc"
 61             android:textAlignment="center"

 62             android:textColor="@android:color/white"
 63             android:textSize="@dimen/slide_desc" />
 64
../../src/main/res/layout/fragment_external_versioning.xml:11: To support older versions than API 17 (project specifies 16) you must also specify gravity or layout_gravity="center_horizontal"
  8         android:layout_height="wrap_content"
  9         android:layout_margin="10dp"
 10         android:text="@string/command"
 11         android:textAlignment="center"

 12         android:textColor="@android:color/black"
 13         android:textSize="18sp"
 14         android:textStyle="bold" />
../../src/main/res/layout/fragment_simple_versioning.xml:23: To support older versions than API 17 (project specifies 16) you must also specify gravity or layout_gravity="center_horizontal"
 20             android:layout_height="wrap_content"
 21             android:layout_margin="10dp"
 22             android:text="@string/keep_versions"
 23             android:textAlignment="center"

 24             android:textColor="@android:color/black"
 25             android:textSize="18sp"
 26             android:textStyle="bold" />
../../src/main/res/layout/fragment_staggered_versioning.xml:17: To support older versions than API 17 (project specifies 16) you must also specify gravity or layout_gravity="center_horizontal"
 14             android:layout_width="match_parent"
 15             android:layout_height="wrap_content"
 16             android:text="@string/maximum_age"
 17             android:textAlignment="center"

 18             android:textColor="@android:color/black"
 19             android:textSize="18sp"
 20             android:textStyle="bold"
../../src/main/res/layout/fragment_staggered_versioning.xml:44: To support older versions than API 17 (project specifies 16) you must also specify gravity or layout_gravity="center_horizontal"
 41             android:layout_height="wrap_content"
 42             android:layout_margin="10dp"
 43             android:text="@string/versions_path"
 44             android:textAlignment="center"

 45             android:textColor="@android:color/black"
 46             android:textSize="18sp"
 47             android:textStyle="bold"
../../src/main/res/layout/fragment_trashcan_versioning.xml:23: To support older versions than API 17 (project specifies 16) you must also specify gravity or layout_gravity="center_horizontal"

* AndroidManifest: Add permission ACCESS_FINE_LOCATION

Ref.: 5755ed45ad

* Migrate to AndroidX, solves lint error "IncompatibleGradle"

according to:
- b04489e062

* Fix lint error: MissingPermission, catch SecurityException

* Revert "Create setenv.cmd"

This reverts commit e39c460837.

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: Catfriend1 <Catfriend1@users.noreply.github.com>
2020-05-17 15:04:32 +01:00
Simon Frei
257cd78b35 Imported translations 2020-05-12 10:16:04 +02:00
Simon Frei
aae0b17dac Imported translations 2020-03-17 13:17:34 +01:00
Simon Frei
081f2969d4
Imported translations 2020-02-11 12:23:03 +01:00
Simon Frei
ba0d8fad45
Imported translations 2020-02-04 08:30:02 +01:00
Simon Frei
d7d17b29a5
Imported translations 2020-01-15 09:08:52 +01:00
Simon Frei
0b4760d7db
Imported translations 2019-12-03 09:07:21 +01:00
Simon Frei
4414dcc8a4
Bump gradle from 3.1.3 to 3.4.2 (#1381)
* Bump gradle from 3.1.3 to 3.4.2

Bumps gradle from 3.1.3 to 3.4.2.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Fix mistakes resulting in build errors after gradle upgrade
2019-08-15 11:48:23 +02:00
Simon Frei
d0510be9fa
Imported translations 2019-08-10 20:10:48 +02:00
Simon Frei
2de21eb35e
Imported translations 2019-07-16 10:02:53 +02:00
Simon Frei
6c3f2b3ed8
Update play language mappins and cleanup 2019-06-13 21:10:17 +02:00
Simon Frei
df7bda5f89
Imported translations 2019-06-13 17:51:14 +02:00
Cody Mingus
3e0e983868 Adding dark theme (closes #653) (#1301) 2019-06-13 16:48:32 +02:00
Simon Frei
f69bce15ef
Imported translations 2019-06-12 23:01:57 +02:00
Audrius Butkevicius
90272c4ece Revert "Support Variable Size Blocks (VSB)" (#1344) 2019-06-12 23:00:54 +02:00
Simon Frei
4e788efda7 Revert "Imported translations" to remove unsupported hi locale
This reverts commit ffc6239a26.
2019-05-14 09:20:30 +02:00
Simon Frei
ffc6239a26 Imported translations 2019-05-13 20:41:26 +02:00
Simon Frei
379324aca1 Imported translations 2019-04-18 22:45:46 +02:00
Simon Frei
8dda80c2ac
Bumped version to 1.1.1-rc.2 (#1295) 2019-03-25 13:22:47 +01:00
Simon Frei
9a386131a1 Imported translations 2019-03-12 20:51:33 +01:00
Audrius Butkevicius
656697128e
0.10.17 release (#1278)
* Imported translations

* Bumped version to 0.10.17
2019-02-22 22:55:22 +00:00
Catfriend1
a7e6fb9118 Support Variable Size Blocks (VSB) (#1270)
* Support Variable Size Blocks (VSB) (fixes #153) (#156)

* ConfigXml/Folder - Add "useLargeBlocks"

* Update folder model defaults

* UI for Variable Size Blocks (VBS) (fixes #153)

* Prepare model/Folder for Syncthing 1.0.1
2019-02-12 22:21:39 +00:00
Audrius Butkevicius
160e2bd66e
Imported translations 2019-02-11 20:08:56 +00:00
Martin Carpella
700c55e9d3 Show reasons for disabled service in notification dialog (#1264) 2019-01-21 21:05:45 +00:00
Catfriend1
346cc35237 Fix Syncthing getting killed by ActivityManager when started using Intent (fixes #1247) 2019-01-09 21:49:58 +00:00
Simon Frei
b27c19c838 Imported translations 2018-11-20 08:53:06 +01:00
Audrius Butkevicius
81ba1fd9f6 Imported translations 2018-10-03 19:45:56 +01:00
Catfriend1
54daf43d6f Fix phone plugged to charger detection (#27) 2018-10-03 19:41:15 +01:00
Audrius Butkevicius
544e8c11d7
0.10.14 release (#1233)
* Updated Syncthing to v0.14.50

* Allow forcing a version in a release

* Imported translations

* Bumped version to 0.10.14
2018-10-03 19:40:22 +01:00
Licaon_Kter
4428ac869f Keep Wi-Fi naming consistent (#1213) 2018-08-09 07:47:52 +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
Catfriend1
cdaf8e69c5
Add welcome wizard slides on first start requesting permissions (#1176)
* Prepare welcome wizard related to issues
https://github.com/syncthing/syncthing-android/issues/1129
https://github.com/syncthing/syncthing-android/issues/622

* Add drawables and texts

* Disable scrolling the ViewPager, we have buttons for that

* Add welcome wizard code
Ask for storage and location permission
Location permission is required to run the app
Recheck storage permission on each app start, if revoked the
welcome slides show again.

* Review

* Review - Do not quit the app when storage permission is not granted

* Review - Minor string improvements
2018-08-01 20:10:31 +02:00
Audrius Butkevicius
f5bec66232 Imported translations 2018-07-27 20:34:59 +01:00
Audrius Butkevicius
ecb6200503 Imported translations 2018-07-24 21:47:51 +01:00
Catfriend1
6ead66b359 Add options button "undo ingoring devices and folders" (fixes #938) (#1185) 2018-07-18 18:11:11 +01:00
Catfriend1
b8511cfd41 Add "Override changes" UI button (fixes #396) (#1183) 2018-07-18 07:20:26 +01:00
Catfriend1
40b16cb065 Implement proper permission handling using SAF (fixes #1160) 2018-07-15 22:34:25 +01:00
Catfriend1
23f407ed74 Add pull order to folder create and edit UI (fixes #677) (#1178) 2018-07-08 11:32:03 +01:00
Catfriend1
53aec6a313 Fix recurring device, folder accept notifications, add ignore action (fixes #679) (#1177) 2018-07-07 19:35:18 +01:00
Catfriend1
1a6db23281 Show meaningful error message if config file is missing (fixes #1156) (#1157) 2018-06-18 00:06:44 +01:00
Catfriend1
691edabaf6 Rename sttrace pref to debug_facilities_enabled (fixes #1133) 2018-06-17 11:04:09 +01:00