Skip to content

Commit

Permalink
[Backup] Fix the “cache” “no cache” confusion
Browse files Browse the repository at this point in the history
The “No cache” flag was replaced by the “cache” flag, but the translations still
use the former. So, the string ID is altered to invalidate the translations.

Signed-off-by: Muntashir Al-Islam <[email protected]>
  • Loading branch information
MuntashirAkon committed Sep 2, 2024
1 parent 05e0962 commit 1c9ce7d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public final class BackupFlags {
put(BACKUP_INT_DATA, new Pair<>(R.string.internal_data, R.string.backup_internal_data_description));
put(BACKUP_EXT_DATA, new Pair<>(R.string.external_data, R.string.backup_external_data_description));
put(BACKUP_EXT_OBB_MEDIA, new Pair<>(R.string.backup_obb_media, R.string.backup_obb_media_description));
put(BACKUP_CACHE, new Pair<>(R.string.cache, R.string.backup_cache_description));
put(BACKUP_CACHE, new Pair<>(R.string.backup_cache, R.string.backup_cache_description));
put(BACKUP_EXTRAS, new Pair<>(R.string.backup_extras, R.string.backup_extras_description));
put(BACKUP_RULES, new Pair<>(R.string.rules, R.string.backup_rules_description));
put(BACKUP_MULTIPLE, new Pair<>(R.string.backup_multiple, R.string.backup_multiple_description));
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,6 @@
<string name="features">Features</string>
<string name="whats_new">What\'s New</string>
<string name="blocking_rules">Blocking rules</string>
<string name="cache">Cache</string>
<string name="external_data">External data</string>
<string name="internal_data">Internal data</string>
<string name="data">Data</string>
Expand Down Expand Up @@ -1492,4 +1491,5 @@
<string name="pref_use_system_font_msg">Use the system-default font instead of the material font. <font fgcolor="#ff0000">This is an experimental feature.</font></string>
<string name="actual_installer">Actual Installer</string>
<string name="apk_source">APK Source</string>
<string name="backup_cache">Cache</string>
</resources>

0 comments on commit 1c9ce7d

Please sign in to comment.