aboutsummaryrefslogtreecommitdiff
path: root/android/app/src/main/res/values
diff options
context:
space:
mode:
authorrubenwardy <rw@rubenwardy.com>2021-10-15 17:14:48 +0100
committerGitHub <noreply@github.com>2021-10-15 18:14:48 +0200
commit6901c5fae54eafb05494823b60d4e26c14b342f1 (patch)
tree84cfeee77d5917d554a8eb3feca166083cbfdc9b /android/app/src/main/res/values
parentfe7195badb2801f4957d6dea2c961a3ffcf7debf (diff)
downloadminetest-6901c5fae54eafb05494823b60d4e26c14b342f1.tar.gz
minetest-6901c5fae54eafb05494823b60d4e26c14b342f1.tar.bz2
minetest-6901c5fae54eafb05494823b60d4e26c14b342f1.zip
Use scoped app storage on Android (#11466)
From November 2021, the Play Store will no longer be accepting apps which use the deprecated getExternalStorageDirectory() API. Therefore, this commit replaces uses of deprecated API with the new scoped API (`getExternalFilesDir()` and `getExternalCacheDir()`). It also provides a temporary migration to move user data from the shared external directory to new storage. Fixes #2097, #11417 and #11118
Diffstat (limited to 'android/app/src/main/res/values')
-rw-r--r--android/app/src/main/res/values/strings.xml2
1 files changed, 2 insertions, 0 deletions
diff --git a/android/app/src/main/res/values/strings.xml b/android/app/src/main/res/values/strings.xml
index 85238117f..99f948c99 100644
--- a/android/app/src/main/res/values/strings.xml
+++ b/android/app/src/main/res/values/strings.xml
@@ -3,9 +3,11 @@
<string name="label">Minetest</string>
<string name="loading">Loading&#8230;</string>
+ <string name="migrating">Migrating save data from old install&#8230; (this may take a while)</string>
<string name="not_granted">Required permission wasn\'t granted, Minetest can\'t run without it</string>
<string name="notification_title">Loading Minetest</string>
<string name="notification_description">Less than 1 minute&#8230;</string>
<string name="ime_dialog_done">Done</string>
+ <string name="no_external_storage">External storage isn\'t available. If you use an SDCard, please reinsert it. Otherwise, try restarting your phone or contacting the Minetest developers</string>
</resources>