mirror of
https://github.com/ankidroid/Anki-Android.git
synced 2024-09-20 12:02:16 +02:00
remove method name from translatable string "import_error_copy_file_to_cache" (#12109)
This commit is contained in:
parent
ec80ecde46
commit
f8b029a8c9
@ -185,7 +185,7 @@ object ImportUtils {
|
||||
// Copy to temporary file
|
||||
filename = ensureValidLength(filename)
|
||||
val tempOutDir = Uri.fromFile(File(context.cacheDir, filename)).encodedPath!!
|
||||
val errorMessage = if (copyFileToCache(context, data, tempOutDir)) null else context.getString(R.string.import_error_copy_file_to_cache)
|
||||
val errorMessage = if (copyFileToCache(context, data, tempOutDir)) null else context.getString(R.string.import_error_copy_to_cache)
|
||||
// Show import dialog
|
||||
if (errorMessage != null) {
|
||||
CrashReportService.sendExceptionReport(RuntimeException("Error importing apkg file"), "IntentHandler.java", "apkg import failed")
|
||||
|
@ -166,7 +166,7 @@
|
||||
<string name="import_error_not_apkg_extension">Filename “%s” doesn’t have .apkg or .colpkg extension</string>
|
||||
<string name="import_error_load_imported_database">Anki Database (.anki2) replacements are not yet supported. Please see the manual for replacement instructions.</string>
|
||||
<string name="import_error_content_provider">The selected file couldn’t be imported automatically by AnkiDroid. Please see the user manual for how to manually import anki files: \n%s</string>
|
||||
<string name="import_error_copy_file_to_cache">copyFileToCache() failed (possibly out of storage space)</string>
|
||||
<string name="import_error_copy_to_cache">Failed to cache file (possibly out of storage space)</string>
|
||||
<string name="import_error_multiple_colpkg">Multiple colpkg files were selected.</string>
|
||||
<string name="import_error_colpkg_apkg">Both apkg & colpkg files were selected at once.</string>
|
||||
<string name="import_stats_error">Some errors occurred while importing the following files:\n%s</string>>
|
||||
|
Loading…
Reference in New Issue
Block a user