Rename localized string

This commit is contained in:
Ming Ming 2022-05-03 13:27:20 +08:00
parent 86eceb4e43
commit 7eff5639bf
14 changed files with 51 additions and 52 deletions

View file

@ -105,8 +105,7 @@ class _DownlaodHandlerAndroid extends _DownloadHandlerBase {
} on PermissionException catch (_) {
_log.warning("[downloadFiles] Permission not granted");
SnackBarManager().showSnackBar(SnackBar(
content:
Text(L10n.global().downloadFailureNoPermissionNotification),
content: Text(L10n.global().errorNoStoragePermission),
duration: k.snackBarDurationNormal,
));
break;
@ -177,7 +176,7 @@ class _DownloadHandlerWeb extends _DownloadHandlerBase {
_log.warning("[downloadFiles] Permission not granted");
controller?.close();
SnackBarManager().showSnackBar(SnackBar(
content: Text(L10n.global().downloadFailureNoPermissionNotification),
content: Text(L10n.global().errorNoStoragePermission),
duration: k.snackBarDurationNormal,
));
break;

View file

@ -453,10 +453,6 @@
"@downloadFailureNotification": {
"description": "Inform user that the file cannot be downloaded"
},
"downloadFailureNoPermissionNotification": "Je vyžadováno oprávnění k přístupu do úložiště",
"@downloadFailureNoPermissionNotification": {
"description": "Inform user that the file cannot be downloaded due to missing storage permission"
},
"nextTooltip": "Další",
"@nextTooltip": {
"description": "Tooltip of the next button"
@ -864,5 +860,9 @@
"errorServerError": "Chyba serveru. Zkontrolujte, zda je server správně nastaven",
"@errorServerError": {
"description": "HTTP 500"
},
"errorNoStoragePermission": "Je vyžadováno oprávnění k přístupu do úložiště",
"@errorNoStoragePermission": {
"description": "Missing permission on Android"
}
}

View file

@ -453,10 +453,6 @@
"@downloadFailureNotification": {
"description": "Inform user that the file cannot be downloaded"
},
"downloadFailureNoPermissionNotification": "Speicherzugriffsberechtigung erforderlich",
"@downloadFailureNoPermissionNotification": {
"description": "Inform user that the file cannot be downloaded due to missing storage permission"
},
"nextTooltip": "Nächste",
"@nextTooltip": {
"description": "Tooltip of the next button"
@ -819,5 +815,9 @@
"errorServerError": "Serverfehler. Bitte stellen Sie sicher, dass der Server richtig eingerichtet ist",
"@errorServerError": {
"description": "HTTP 500"
},
"errorNoStoragePermission": "Speicherzugriffsberechtigung erforderlich",
"@errorNoStoragePermission": {
"description": "Missing permission on Android"
}
}

View file

@ -408,10 +408,6 @@
"@downloadFailureNotification": {
"description": "Inform user that the file cannot be downloaded"
},
"downloadFailureNoPermissionNotification": "Απαιτείται άδεια πρόσβασης στο χώρο αποθήκευσης",
"@downloadFailureNoPermissionNotification": {
"description": "Inform user that the file cannot be downloaded due to missing storage permission"
},
"nextTooltip": "Επόμενο",
"@nextTooltip": {
"description": "Tooltip of the next button"
@ -625,5 +621,9 @@
"errorServerError": "Σφάλμα διακομιστή. Βεβαιωθείτε ότι ο διακομιστής έχει ρυθμιστεί σωστά",
"@errorServerError": {
"description": "HTTP 500"
},
"errorNoStoragePermission": "Απαιτείται άδεια πρόσβασης στο χώρο αποθήκευσης",
"@errorNoStoragePermission": {
"description": "Missing permission on Android"
}
}

View file

@ -502,10 +502,6 @@
"@downloadFailureNotification": {
"description": "Inform user that the file cannot be downloaded"
},
"downloadFailureNoPermissionNotification": "Require storage access permission",
"@downloadFailureNoPermissionNotification": {
"description": "Inform user that the file cannot be downloaded due to missing storage permission"
},
"nextTooltip": "Next",
"@nextTooltip": {
"description": "Tooltip of the next button"
@ -1203,5 +1199,9 @@
"errorAlbumDowngrade": "Can't modify this album as it was created by a later version of this app. Please update the app and try again",
"@errorAlbumDowngrade": {
"description": "Album files are versioned. Overwriting a newer version is disallowed as it will lead to unexpected data loss"
},
"errorNoStoragePermission": "Require storage access permission",
"@errorNoStoragePermission": {
"description": "Missing permission on Android"
}
}

View file

@ -502,10 +502,6 @@
"@downloadFailureNotification": {
"description": "Inform user that the file cannot be downloaded"
},
"downloadFailureNoPermissionNotification": "Se requiere permiso de acceso al almacenamiento",
"@downloadFailureNoPermissionNotification": {
"description": "Inform user that the file cannot be downloaded due to missing storage permission"
},
"nextTooltip": "Siguiente",
"@nextTooltip": {
"description": "Tooltip of the next button"
@ -1194,5 +1190,9 @@
"errorAlbumDowngrade": "No puede modificarse este álbum ya que fue creado por una versión más reciente de esta app. Por favor, actualiza la app e inténtalo de nuevo.",
"@errorAlbumDowngrade": {
"description": "Album files are versioned. Overwriting a newer version is disallowed as it will lead to unexpected data loss"
},
"errorNoStoragePermission": "Se requiere permiso de acceso al almacenamiento",
"@errorNoStoragePermission": {
"description": "Missing permission on Android"
}
}

View file

@ -502,10 +502,6 @@
"@downloadFailureNotification": {
"description": "Inform user that the file cannot be downloaded"
},
"downloadFailureNoPermissionNotification": "Tallennustilan käyttölupa vaaditaan",
"@downloadFailureNoPermissionNotification": {
"description": "Inform user that the file cannot be downloaded due to missing storage permission"
},
"nextTooltip": "Seuraava",
"@nextTooltip": {
"description": "Tooltip of the next button"
@ -1203,5 +1199,9 @@
"errorAlbumDowngrade": "Albumia ei voitu muokata, koska albumi on luotu sovelluksen uudemmalla versiolla. Päivitä sovellus viimeisimpään versioon ja yritä uudelleen",
"@errorAlbumDowngrade": {
"description": "Album files are versioned. Overwriting a newer version is disallowed as it will lead to unexpected data loss"
},
"errorNoStoragePermission": "Tallennustilan käyttölupa vaaditaan",
"@errorNoStoragePermission": {
"description": "Missing permission on Android"
}
}

View file

@ -502,10 +502,6 @@
"@downloadFailureNotification": {
"description": "Inform user that the file cannot be downloaded"
},
"downloadFailureNoPermissionNotification": "Exiger une autorisation d'accès au stockage",
"@downloadFailureNoPermissionNotification": {
"description": "Inform user that the file cannot be downloaded due to missing storage permission"
},
"nextTooltip": "Suivant",
"@nextTooltip": {
"description": "Tooltip of the next button"
@ -1197,5 +1193,9 @@
"errorAlbumDowngrade": "Impossible de modifier cet album car il a été créé par une version ultérieure de cette application. Veuillez mettre à jour l'application et réessayer",
"@errorAlbumDowngrade": {
"description": "Album files are versioned. Overwriting a newer version is disallowed as it will lead to unexpected data loss"
},
"errorNoStoragePermission": "Exiger une autorisation d'accès au stockage",
"@errorNoStoragePermission": {
"description": "Missing permission on Android"
}
}

View file

@ -502,10 +502,6 @@
"@downloadFailureNotification": {
"description": "Inform user that the file cannot be downloaded"
},
"downloadFailureNoPermissionNotification": "Wymagany dostęp do pamięci",
"@downloadFailureNoPermissionNotification": {
"description": "Inform user that the file cannot be downloaded due to missing storage permission"
},
"nextTooltip": "Dalej",
"@nextTooltip": {
"description": "Tooltip of the next button"
@ -1151,5 +1147,9 @@
"errorAlbumDowngrade": "Nie można zmodyfikować tego albumu, ponieważ został on utworzony przez inną wersję tej aplikacji. Proszę zaktualizować aplikację i spróbować ponownie.",
"@errorAlbumDowngrade": {
"description": "Album files are versioned. Overwriting a newer version is disallowed as it will lead to unexpected data loss"
},
"errorNoStoragePermission": "Wymagany dostęp do pamięci",
"@errorNoStoragePermission": {
"description": "Missing permission on Android"
}
}

View file

@ -502,10 +502,6 @@
"@downloadFailureNotification": {
"description": "Inform user that the file cannot be downloaded"
},
"downloadFailureNoPermissionNotification": "Requer permissão para acessar o armazenamento",
"@downloadFailureNoPermissionNotification": {
"description": "Inform user that the file cannot be downloaded due to missing storage permission"
},
"nextTooltip": "Próximo",
"@nextTooltip": {
"description": "Tooltip of the next button"
@ -1203,5 +1199,9 @@
"errorAlbumDowngrade": "Não foi possível modificar o álbum, pois ele foi criado por um versão posterior desse app. Por favor atualize o app e tente novamente",
"@errorAlbumDowngrade": {
"description": "Album files are versioned. Overwriting a newer version is disallowed as it will lead to unexpected data loss"
},
"errorNoStoragePermission": "Requer permissão para acessar o armazenamento",
"@errorNoStoragePermission": {
"description": "Missing permission on Android"
}
}

View file

@ -446,10 +446,6 @@
"@downloadFailureNotification": {
"description": "Inform user that the file cannot be downloaded"
},
"downloadFailureNoPermissionNotification": "Необходимо разрешение на доступ к хранилищу",
"@downloadFailureNoPermissionNotification": {
"description": "Inform user that the file cannot be downloaded due to missing storage permission"
},
"nextTooltip": "Далее",
"@nextTooltip": {
"description": "Tooltip of the next button"
@ -1233,5 +1229,9 @@
"errorAlbumDowngrade": "Невозможно изменить этот альбом, так как он был создан более поздней версией этого приложения. Обновите приложение и повторите попытку",
"@errorAlbumDowngrade": {
"description": "Album files are versioned. Overwriting a newer version is disallowed as it will lead to unexpected data loss"
},
"errorNoStoragePermission": "Необходимо разрешение на доступ к хранилищу",
"@errorNoStoragePermission": {
"description": "Missing permission on Android"
}
}

View file

@ -502,10 +502,6 @@
"@downloadFailureNotification": {
"description": "Inform user that the file cannot be downloaded"
},
"downloadFailureNoPermissionNotification": "需要存取装置文件的权限",
"@downloadFailureNoPermissionNotification": {
"description": "Inform user that the file cannot be downloaded due to missing storage permission"
},
"nextTooltip": "下一项",
"@nextTooltip": {
"description": "Tooltip of the next button"
@ -1203,5 +1199,9 @@
"errorAlbumDowngrade": "无法修改新版本 App 所储存的相册,请更新 App 后重试",
"@errorAlbumDowngrade": {
"description": "Album files are versioned. Overwriting a newer version is disallowed as it will lead to unexpected data loss"
},
"errorNoStoragePermission": "需要存取装置文件的权限",
"@errorNoStoragePermission": {
"description": "Missing permission on Android"
}
}

View file

@ -502,10 +502,6 @@
"@downloadFailureNotification": {
"description": "Inform user that the file cannot be downloaded"
},
"downloadFailureNoPermissionNotification": "需要存取裝置檔案的權限",
"@downloadFailureNoPermissionNotification": {
"description": "Inform user that the file cannot be downloaded due to missing storage permission"
},
"nextTooltip": "下一項",
"@nextTooltip": {
"description": "Tooltip of the next button"
@ -1203,5 +1199,9 @@
"errorAlbumDowngrade": "無法修改新版本 App 所儲存的相簿,請更新 App 後重試",
"@errorAlbumDowngrade": {
"description": "Album files are versioned. Overwriting a newer version is disallowed as it will lead to unexpected data loss"
},
"errorNoStoragePermission": "需要存取裝置檔案的權限",
"@errorNoStoragePermission": {
"description": "Missing permission on Android"
}
}

View file

@ -95,7 +95,7 @@ class ShareHandler {
} on PermissionException catch (_) {
_log.warning("[_shareAsFile] Permission not granted");
SnackBarManager().showSnackBar(SnackBar(
content: Text(L10n.global().downloadFailureNoPermissionNotification),
content: Text(L10n.global().errorNoStoragePermission),
duration: k.snackBarDurationNormal,
));
// dismiss the dialog