1
0
mirror of https://github.com/bitwarden/browser.git synced 2025-03-13 13:49:37 +01:00

PM-18471-migrated all messages to catalog (#13618)

* PM-18471-migrated all messages to catalog

* updated error message
This commit is contained in:
Daniel Riera 2025-03-03 11:36:31 -05:00 committed by GitHub
parent 5b215cf193
commit b5b791f414
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 47 additions and 17 deletions

View File

@ -1088,6 +1088,38 @@
},
"description": "Shown to user after login is updated."
},
"saveAsNewLoginAction": {
"message": "Save as new login",
"description": "Button text for saving login details as a new entry."
},
"updateLoginAction": {
"message": "Update login",
"description": "Button text for updating an existing login entry."
},
"saveLoginPrompt": {
"message": "Save login?",
"description": "Prompt asking the user if they want to save their login details."
},
"updateLoginPrompt": {
"message": "Update existing login?",
"description": "Prompt asking the user if they want to update an existing login entry."
},
"loginSaveSuccess": {
"message": "Login saved",
"description": "Message displayed when login details are successfully saved."
},
"loginUpdateSuccess": {
"message": "Login updated",
"description": "Message displayed when login details are successfully updated."
},
"saveFailure": {
"message": "Error saving",
"description": "Error message shown when the system fails to save login details."
},
"saveFailureDetails": {
"message": "Oh no! We couldn't save this. Try entering the details manually.",
"description": "Detailed error message shown when saving login details fails."
},
"enableChangedPasswordNotification": {
"message": "Ask to update existing login"
},

View File

@ -53,30 +53,28 @@ function getI18n() {
return {
appName: chrome.i18n.getMessage("appName"),
close: chrome.i18n.getMessage("close"),
never: chrome.i18n.getMessage("never"),
folder: chrome.i18n.getMessage("folder"),
loginSaveSuccess: chrome.i18n.getMessage("loginSaveSuccess"),
loginSaveSuccessDetails: chrome.i18n.getMessage("loginSaveSuccessDetails"),
loginUpdateSuccess: chrome.i18n.getMessage("loginUpdateSuccess"),
loginUpdateSuccessDetails: chrome.i18n.getMessage("loginUpdatedSuccessDetails"),
notificationAddSave: chrome.i18n.getMessage("notificationAddSave"),
newItem: chrome.i18n.getMessage("newItem"),
never: chrome.i18n.getMessage("never"),
notificationAddDesc: chrome.i18n.getMessage("notificationAddDesc"),
notificationEdit: chrome.i18n.getMessage("edit"),
notificationChangeSave: chrome.i18n.getMessage("notificationChangeSave"),
notificationAddSave: chrome.i18n.getMessage("notificationAddSave"),
notificationChangeDesc: chrome.i18n.getMessage("notificationChangeDesc"),
notificationChangeSave: chrome.i18n.getMessage("notificationChangeSave"),
notificationEdit: chrome.i18n.getMessage("edit"),
notificationUnlock: chrome.i18n.getMessage("notificationUnlock"),
notificationUnlockDesc: chrome.i18n.getMessage("notificationUnlockDesc"),
// @TODO move values to message catalog
saveAction: "Save",
saveAsNewLoginAction: "Save as new login",
updateLoginAction: "Update login",
saveLoginPrompt: "Save login?",
updateLoginPrompt: "Update existing login?",
loginSaveSuccess: "Login saved",
loginUpdateSuccess: "Login updated",
saveFailure: "Error saving",
saveFailureDetails: "Oh no! We couldn't save this. Try entering the details as a New item",
newItem: "New item",
view: "View",
saveAction: chrome.i18n.getMessage("notificationAddSave"),
saveAsNewLoginAction: chrome.i18n.getMessage("saveAsNewLoginAction"),
saveFailure: chrome.i18n.getMessage("saveFailure"),
saveFailureDetails: chrome.i18n.getMessage("saveFailureDetails"),
saveLoginPrompt: chrome.i18n.getMessage("saveLoginPrompt"),
updateLoginAction: chrome.i18n.getMessage("updateLoginAction"),
updateLoginPrompt: chrome.i18n.getMessage("updateLoginPrompt"),
view: chrome.i18n.getMessage("view"),
};
}