mirror of
https://git.suyu.dev/suyu/suyu
synced 2024-11-01 12:57:52 +00:00
android: ImportExportSavesFragment: Cleanup strings.
This commit is contained in:
parent
b325ad16bc
commit
17ae85e724
2 changed files with 10 additions and 7 deletions
|
@ -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()
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue