Skip to content

Commit 5ccf112

Browse files
committed
Fix format string in de, cs and zh locales causing startup crash
1 parent 80e08bf commit 5ccf112

File tree

6 files changed

+13
-7
lines changed

6 files changed

+13
-7
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Changelog
22

3+
## Version 2.4.6
4+
5+
### Bug fixes
6+
7+
* Fix format string bug in some locale resource files that caused a hard crash on startup in those locales. Oops. Sorry everyone.
8+
39
## Verison 2.4.5
410

511
### Bug fixes

project/app/build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ android {
2727
minSdkVersion(21)
2828
targetSdkVersion(30)
2929

30-
versionCode = 24500
31-
versionName = "2.4.5"
30+
versionCode = 24600
31+
versionName = "2.4.6"
3232

3333
javaCompileOptions {
3434
annotationProcessorOptions {
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
Release 2.4.5
2-
All changes can be found at https://github.com/owntracks/android/releases/tag/v2.4.5/CHANGELOG.md
1+
Release 2.4.6
2+
All changes can be found at https://github.com/owntracks/android/releases/tag/v2.4.6/CHANGELOG.md
33
Please report any issues to https://github.com/owntracks/android/issues

project/app/src/main/res/values-cs/strings.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ Aby aplikace mohla běžet na pozadí, bude zobrazeno trvalé oznámení. Lze to
196196
<string name="refresh_log">"Obnovit"</string>
197197
<string name="preferencesTheme">"Téma"</string>
198198
<string name="contactDetailsAccuracyValue">"%d m"</string>
199-
<string name="contactDetailsDistanceValue">"%,.2f %s"</string>
199+
<string name="contactDetailsDistanceValue">"%1$,.2f %2$s"</string>
200200
<string name="contactDetailsAltitude">"Výška"</string>
201201
<string name="contactDetailsBearing">"Směr"</string>
202202
<string name="contactDetailsDistance">"Vzdálenost"</string>

project/app/src/main/res/values-de/strings.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@
192192
<string name="refresh_log">"Neu laden"</string>
193193
<string name="preferencesTheme">"Aussehen"</string>
194194
<string name="contactDetailsAccuracyValue">"%d m"</string>
195-
<string name="contactDetailsDistanceValue">"%,.21$f %2$s"</string>
195+
<string name="contactDetailsDistanceValue">"%1$,.2f %2$s"</string>
196196
<string name="contactDetailsAltitude">"Höhe"</string>
197197
<string name="contactDetailsBearing">"Richtung"</string>
198198
<string name="contactDetailsDistance">"Distanz"</string>

project/app/src/main/res/values-zh/strings.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@
146146
<string name="geocoderIPAddressRejected">"您的客户端 IP 地址已被拒绝"</string>
147147
<string name="preferencesTheme">"主题"</string>
148148
<string name="contactDetailsAccuracyValue">"%d m"</string>
149-
<string name="contactDetailsDistanceValue">"%,.2f %s"</string>
149+
<string name="contactDetailsDistanceValue">"%1$,.2f %2$s"</string>
150150
<string name="contactDetailsDistance">"距离"</string>
151151
<string name="contactDetailsBattery">"电池"</string>
152152
<string name="contactDetailsSpeed">"速度"</string>

0 commit comments

Comments
 (0)