summaryrefslogtreecommitdiffstats
path: root/src/android/app
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2023-06-01 03:16:54 +0200
committerbunnei <bunneidev@gmail.com>2023-06-03 09:06:06 +0200
commit17ae85e7248ba1a9dbbbc04a29ddc7f586930de9 (patch)
tree28f2f8da4641d39a615b57602b68be3708e4a65e /src/android/app
parentUpdate src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/ImportExportSavesFragment.kt (diff)
downloadyuzu-17ae85e7248ba1a9dbbbc04a29ddc7f586930de9.tar
yuzu-17ae85e7248ba1a9dbbbc04a29ddc7f586930de9.tar.gz
yuzu-17ae85e7248ba1a9dbbbc04a29ddc7f586930de9.tar.bz2
yuzu-17ae85e7248ba1a9dbbbc04a29ddc7f586930de9.tar.lz
yuzu-17ae85e7248ba1a9dbbbc04a29ddc7f586930de9.tar.xz
yuzu-17ae85e7248ba1a9dbbbc04a29ddc7f586930de9.tar.zst
yuzu-17ae85e7248ba1a9dbbbc04a29ddc7f586930de9.zip
Diffstat (limited to 'src/android/app')
-rw-r--r--src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/ImportExportSavesFragment.kt8
-rw-r--r--src/android/app/src/main/res/values/strings.xml9
2 files changed, 10 insertions, 7 deletions
diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/ImportExportSavesFragment.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/ImportExportSavesFragment.kt
index 2d21e20d8..6f5068bb5 100644
--- a/src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/ImportExportSavesFragment.kt
+++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/ImportExportSavesFragment.kt
@@ -69,16 +69,16 @@ class ImportExportSavesFragment : DialogFragment() {
return if (savesFolderRoot == "") {
MaterialAlertDialogBuilder(requireContext())
.setTitle(R.string.import_export_saves)
- .setMessage("No profileID found. Launch a game first and then come back.")
+ .setMessage(R.string.import_export_saves_no_profile)
.setPositiveButton(android.R.string.ok, null)
.show()
} else {
MaterialAlertDialogBuilder(requireContext())
- .setTitle("Import/Export Saves")
- .setPositiveButton("Export") { _, _ ->
+ .setTitle(R.string.import_export_saves)
+ .setPositiveButton(R.string.export_saves) { _, _ ->
exportSave()
}
- .setNeutralButton("Import") { _, _ ->
+ .setNeutralButton(R.string.import_saves) { _, _ ->
documentPicker.launch(arrayOf("application/zip"))
}
.show()
diff --git a/src/android/app/src/main/res/values/strings.xml b/src/android/app/src/main/res/values/strings.xml
index 9754dccd7..d3340fe99 100644
--- a/src/android/app/src/main/res/values/strings.xml
+++ b/src/android/app/src/main/res/values/strings.xml
@@ -80,10 +80,13 @@
<string name="no_file_manager">No file manager found</string>
<string name="notification_no_directory_link">Could not open yuzu directory</string>
<string name="notification_no_directory_link_description">Please locate the user folder with the file manager\'s side panel manually.</string>
- <string name="import_export_saves">Import/Export Saves</string>
+ <string name="import_export_saves">Import/export saves</string>
<string name="import_export_saves_description">Import or export save files</string>
- <string name="save_file_imported_success">The save files were imported successfully</string>
- <string name="save_file_invalid_zip_structure">Invalid Zip directory structure: the first subfolder name must be the Title ID of the game.</string>
+ <string name="import_export_saves_no_profile">No user profile found. Please launch a game first and retry.</string>
+ <string name="save_file_imported_success">Save files were imported successfully</string>
+ <string name="save_file_invalid_zip_structure">Invalid save directory structure: The first subfolder name must be the title ID of the game.</string>
+ <string name="import_saves">Import</string>
+ <string name="export_saves">Export</string>
<!-- About screen strings -->
<string name="gaia_is_not_real">Gaia isn\'t real</string>