Skip to content

Commit

Permalink
Make date format values non-translatable (rel. to cgeo#16286)
Browse files Browse the repository at this point in the history
  • Loading branch information
moving-bits committed Nov 3, 2024
1 parent 95f424d commit 58a76c5
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 11 deletions.
12 changes: 1 addition & 11 deletions main/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1014,17 +1014,7 @@
<string name="init_use_default_language">Use default language</string>
<string name="init_date_format">Date format</string>
<string name="init_date_format_description">Format to use for short dates, e.g. in log view</string>
<string-array name="init_date_format_values">
<item>System Default</item>
<item>17.02.2024</item>
<item>17.02.24</item>
<item>02/17/2024</item>
<item>02/17/24</item>
<item>17/02/2024</item>
<item>17/02/24</item>
<item>2024-02-17</item>
<item>24-02-17</item>
</string-array>
<string name="system_default">System Default</string>
<string name="init_showwaypoints">Show waypoints</string>
<string name="init_showwaypoint_description">If less than the given amount of caches are displayed on the map, their waypoints are shown additionally.</string>
<string name="init_zoomincludingwaypoints">Zoom includes waypoints</string>
Expand Down
12 changes: 12 additions & 0 deletions main/src/main/res/values/strings_not_translatable.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,18 @@
<item>DDD°MM\'SS.SSS\"</item>
</string-array>

<string-array translatable="false" name="init_date_format_values">
<item>@string/system_default</item>
<item>17.02.2024</item>
<item>17.02.24</item>
<item>02/17/2024</item>
<item>02/17/24</item>
<item>17/02/2024</item>
<item>17/02/24</item>
<item>2024-02-17</item>
<item>24-02-17</item>
</string-array>

<!-- distance units -->
<string-array translatable="false" name="distance_units">
<item>@string/unit_m</item>
Expand Down

0 comments on commit 58a76c5

Please sign in to comment.