mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-09 07:56:22 -06:00
Remove indirection in the translation
CURA-6005
This commit is contained in:
parent
ed9a51791b
commit
e36b3e37d1
2 changed files with 9 additions and 27 deletions
|
@ -16,24 +16,6 @@ class Settings:
|
|||
AUTO_BACKUP_ENABLED_PREFERENCE_KEY = "cura_drive/auto_backup_enabled"
|
||||
AUTO_BACKUP_LAST_DATE_PREFERENCE_KEY = "cura_drive/auto_backup_date"
|
||||
|
||||
I18N_CATALOG_ID = "cura"
|
||||
I18N_CATALOG = i18nCatalog(I18N_CATALOG_ID)
|
||||
I18N_CATALOG = i18nCatalog("cura")
|
||||
|
||||
MESSAGE_TITLE = I18N_CATALOG.i18nc("@info:title", "Backups")
|
||||
|
||||
# Translatable messages for the entire plugin.
|
||||
translatable_messages = {
|
||||
|
||||
# Menu items.
|
||||
"extension_menu_entry": I18N_CATALOG.i18nc("@item:inmenu", "Manage backups"),
|
||||
|
||||
# Notification messages.
|
||||
"backup_failed": I18N_CATALOG.i18nc("@info:backup_status", "There was an error while creating your backup."),
|
||||
"uploading_backup": I18N_CATALOG.i18nc("@info:backup_status", "Uploading your backup..."),
|
||||
"uploading_backup_success": I18N_CATALOG.i18nc("@info:backup_status", "Your backup has finished uploading."),
|
||||
"uploading_backup_error": I18N_CATALOG.i18nc("@info:backup_status",
|
||||
"There was an error while uploading your backup."),
|
||||
"get_backups_error": I18N_CATALOG.i18nc("@info:backup_status", "There was an error listing your backups."),
|
||||
"backup_restore_error_message": I18N_CATALOG.i18nc("@info:backup_status",
|
||||
"There was an error trying to restore your backup.")
|
||||
}
|
||||
MESSAGE_TITLE = I18N_CATALOG.i18nc("@info:title", "Backups")
|
Loading…
Add table
Add a link
Reference in a new issue