Skip to content

Commit

Permalink
Merge pull request #860 from pano9000/i18n_fix-backed_up_to
Browse files Browse the repository at this point in the history
i18n: improve translatability of database_backed_up_to string
  • Loading branch information
eliandoran authored Dec 29, 2024
2 parents 3c37d5d + 4d63ae4 commit 2daa14b
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/public/app/widgets/type_widgets/options/backup.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export default class BackupOptions extends OptionsWidget {
this.$backupDatabaseButton.on('click', async () => {
const {backupFile} = await server.post('database/backup-database');

toastService.showMessage(`${t('backup.database_backed_up_to')} ${backupFile}`, 10000);
toastService.showMessage(t('backup.database_backed_up_to', { backupFilePath: backupFile}), 10000);

this.refresh();
});
Expand Down
2 changes: 1 addition & 1 deletion src/public/translations/cn/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -1195,7 +1195,7 @@
"existing_backups": "现有备份",
"date-and-time": "日期和时间",
"path": "路径",
"database_backed_up_to": "数据库已备份到",
"database_backed_up_to": "数据库已备份到 {{backupFilePath}}",
"no_backup_yet": "尚无备份"
},
"etapi": {
Expand Down
2 changes: 1 addition & 1 deletion src/public/translations/de/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -1183,7 +1183,7 @@
"backup_now": "Jetzt sichern",
"backup_database_now": "Jetzt Datenbank sichern",
"existing_backups": "Vorhandene Backups",
"database_backed_up_to": "Die Datenbank wurde gesichert",
"database_backed_up_to": "Die Datenbank wurde gesichert unter {{backupFilePath}}",
"no_backup_yet": "noch kein Backup"
},
"etapi": {
Expand Down
2 changes: 1 addition & 1 deletion src/public/translations/en/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -1225,7 +1225,7 @@
"existing_backups": "Existing backups",
"date-and-time": "Date & time",
"path": "Path",
"database_backed_up_to": "Database has been backed up to",
"database_backed_up_to": "Database has been backed up to {{backupFilePath}}",
"no_backup_yet": "no backup yet"
},
"etapi": {
Expand Down
2 changes: 1 addition & 1 deletion src/public/translations/es/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -1225,7 +1225,7 @@
"existing_backups": "Copias de seguridad existentes",
"date-and-time": "Fecha y hora",
"path": "Ruta",
"database_backed_up_to": "Se ha realizado una copia de seguridad de la base de datos en",
"database_backed_up_to": "Se ha realizado una copia de seguridad de la base de datos en {{backupFilePath}}",
"no_backup_yet": "no hay copia de seguridad todavía"
},
"etapi": {
Expand Down
2 changes: 1 addition & 1 deletion src/public/translations/fr/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -1184,7 +1184,7 @@
"backup_now": "Sauvegarder maintenant",
"backup_database_now": "Sauvegarder la base de données maintenant",
"existing_backups": "Sauvegardes existantes",
"database_backed_up_to": "La base de données a été sauvegardée sur",
"database_backed_up_to": "La base de données a été sauvegardée sur {{backupFilePath}}",
"no_backup_yet": "pas encore de sauvegarde"
},
"etapi": {
Expand Down
2 changes: 1 addition & 1 deletion src/public/translations/ro/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@
"backup_database_now": "Crează o copie a bazei de date acum",
"backup_now": "Crează o copie de siguranță acum",
"backup_recommendation": "Se recomandă a se păstra activată funcția de copii de siguranță, dar acest lucru poate face pornirea aplicației mai lentă pentru baze de date mai mari sau pentru dispozitive de stocare lente.",
"database_backed_up_to": "S-a creat o copie de siguranță a bazei de dată la",
"database_backed_up_to": "S-a creat o copie de siguranță a bazei de dată la {{backupFilePath}}",
"enable_daily_backup": "Activează copia de siguranță zilnică",
"enable_monthly_backup": "Activează copia de siguranță lunară",
"enable_weekly_backup": "Activează copia de siguranță săptămânală",
Expand Down
2 changes: 1 addition & 1 deletion src/public/translations/tw/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -1195,7 +1195,7 @@
"existing_backups": "現有備份",
"date-and-time": "日期和時間",
"path": "路徑",
"database_backed_up_to": "資料庫已備份到",
"database_backed_up_to": "資料庫已備份到 {{backupFilePath}}",
"no_backup_yet": "尚無備份"
},
"etapi": {
Expand Down

0 comments on commit 2daa14b

Please sign in to comment.