From 2e364a2172f111cfe8a4ffc3c4cb59ca2796e781 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20D=C4=9Bdi=C4=8D?= Date: Wed, 23 Dec 2020 00:02:49 +0100 Subject: [PATCH] Added i18n for error reporting --- src/frontend/I18n.ts | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/src/frontend/I18n.ts b/src/frontend/I18n.ts index d5eef45b..98870824 100644 --- a/src/frontend/I18n.ts +++ b/src/frontend/I18n.ts @@ -51,6 +51,13 @@ export default new VueI18n({ done: { description: "Successfully moved. You can delete the original files from your Google Drive - some of them may have been left behind as they cannot be removed automatically.", + errorHeader: { + text: + "While moving the files, some errors were encountered and the following files couldn't be moved. Please move these files manually and report these failures in {link} if you think they are caused by bugs in this tool.", + github: "GitHub", + }, + file: "File", + message: "Error message", }, folderSelector: { myDrive: "My Drive", @@ -103,6 +110,13 @@ export default new VueI18n({ done: { description: "Úspěšně přesunuto. Můžete smazat původní soubory ze svého Google Disku - některé soubory mohly být zanechány protože nemohly být smazány automaticky.", + errorHeader: { + text: + "Při přesunu některých souborů se stala chyba a soubory nemohly být přesunuty. Přesuňte prosím následující soubory ručně a problémy nahlašte na {link} pokud si myslíte, že jsou chybou tohoto nástroje.", + github: "GitHubu", + }, + file: "Soubor", + message: "Chybová hláška", }, folderSelector: { myDrive: "Můj Disk",