Translation fixes (#2228)

Translation fixes
This commit is contained in:
Sami Vänttinen 2024-06-09 20:29:05 +03:00 committed by GitHub
parent 232cb5bd1c
commit 25a8f64d87
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 28 additions and 28 deletions

View file

@ -204,26 +204,30 @@
"description": "A warning text shown in the password generator."
},
"passwordGeneratorGenerateText": {
"message": "Generate password",
"message": "Generate password.",
"description": "Password icon title text."
},
"passwordGeneratorNotSupported": {
"message": "Launching the password generator is not supported in this KeePassXC version. Please update KeePassXC to a newer version."
},
"usernameFieldText": {
"message": "Fill credentials from KeePassXC",
"message": "Fill credentials from KeePassXC.",
"description": "Username field icon hover text."
},
"usernameFieldTextNoCredentials": {
"message": "No credentials to fill.",
"description": "Username field icon hover text when no credentials are."
},
"usernameLockedFieldText": {
"message": "Database is locked",
"message": "Database is locked.",
"description": "Username field icon hover text when database is locked."
},
"usernameDisconnectedFieldText": {
"message": "KeePassXC is disconnected",
"message": "KeePassXC is disconnected.",
"description": "Username field icon hover text when KeePassXC is disconnected."
},
"usernameFieldIcon": {
"message": "Username field icon",
"message": "Username field icon.",
"description": "Username field icon text."
},
"totp": {
@ -542,12 +546,8 @@
"message": "More than one password field found on this page. Right-click one of the password fields, and choose one of:",
"description": "A popup message shown when web page has multiple password fields."
},
"popupURL": {
"message": "URL: ",
"description": "URL. Might not need any translation."
},
"popupUsername": {
"message": "Username: ",
"message": "Username:",
"description": "A username field name shown on credential update."
},
"popupButtonNew": {
@ -683,15 +683,15 @@
"description": "Default checkbox explanation help text."
},
"optionsCheckboxUsePasswordGenerator": {
"message": "Activate password generator icons.",
"message": "Activate password generator icons",
"description": "Activate password generator icons checkbox text."
},
"optionsCheckboxUsernameIcons": {
"message": "Activate username field icons.",
"message": "Activate username field icons",
"description": "Activate username field icons textbox text."
},
"optionsUseObserver": {
"message": "Use dynamic input field detection.",
"message": "Use dynamic input field detection",
"description": "Use dynamic input field detection checkbox text."
},
"optionsUseObserverHelpText": {
@ -699,15 +699,15 @@
"description": "Use dynamic input field detection help text."
},
"optionsCheckboxOTPIcons": {
"message": "Activate 2FA/OTP field icons.",
"message": "Activate 2FA/OTP field icons",
"description": "Activate OTP field icons textbox text."
},
"optionsCheckboxAutoRetrieveCredentials": {
"message": "Automatically retrieve credentials.",
"message": "Automatically retrieve credentials",
"description": "Automatically retrieve credentials checkbox text."
},
"optionsCheckboxAutomaticReconnect": {
"message": "Automatically reconnect to KeePassXC.",
"message": "Automatically reconnect to KeePassXC",
"description": "Auto-reconnect checkbox text."
},
"optionsAutomaticReconnectWarning": {
@ -715,19 +715,19 @@
"description": "Auto-reconnect warning message."
},
"optionsCheckboxAutoFillSingleEntry": {
"message": "Automatically fill in single-credential entries.",
"message": "Automatically fill in single-credential entries",
"description": "Automatically fill-in single credential entry checkbox text."
},
"optionsCheckboxAutoFillSingleTotp": {
"message": "Automatically fill in single TOTP entries.",
"message": "Automatically fill in single TOTP entries",
"description": "Automatically fill-in single TOTP entries checkbox text."
},
"optionsCheckboxAutoCompleteUsernames": {
"message": "Activate autocomplete for username fields.",
"message": "Activate autocomplete for username fields",
"description": "Activate autocomplete for username fields checkbox text."
},
"optionsCheckboxShowGroupNameInAutocomplete": {
"message": "Display the group name in autocomplete list when credentials are from different groups.",
"message": "Display the group name in autocomplete list when credentials are from different groups",
"description": "Show group name in autocomplete checkbox text."
},
"optionsCheckboxAutoSubmit": {
@ -739,19 +739,19 @@
"description": "Auto-submit help text."
},
"optionsCheckboxShowNotifications": {
"message": "Show notifications.",
"message": "Show notifications",
"description": "Show notifications checkbox text."
},
"optionsCheckboxUseMonochromeToolbarIcon": {
"message": "Use monochrome toolbar icon.",
"message": "Use monochrome toolbar icon",
"description": "Use monochrome toolbar icon checkbox text."
},
"optionsSaveDomainOnly": {
"message": "Save domain only.",
"message": "Save domain only",
"description": "Save domain only checkbox text."
},
"optionsCheckboxShowLoginNotifications": {
"message": "Show a banner on the page when new credentials can be saved to the database.",
"message": "Show a banner on the page when new credentials can be saved to the database",
"description": "Show login notifications checkbox text."
},
"optionsRedirectAllowance": {
@ -763,7 +763,7 @@
"description": "Redirect allowance help text."
},
"optionsCheckboxAutoFillAndSend": {
"message": "Allow filling HTTP Basic Auth credentials.",
"message": "Allow filling HTTP Basic Auth credentials",
"description": "Allow filling HTTP Basic Auth credentials checkbox text."
},
"optionsDebugLogging": {
@ -835,7 +835,7 @@
"description": "Predefined site list details button text."
},
"optionsUsePredefinedSites": {
"message": "Use predefined sites for compatibility.",
"message": "Use predefined sites for compatibility",
"description": "Use predefined sites checkbox text."
},
"optionsUsePredefinedSitesHelpText": {
@ -1219,7 +1219,7 @@
"description": "About page text of reporting bugs."
},
"optionsAboutCreateNewIssue": {
"message": "Create new issue on GitHub",
"message": "Create new issue on GitHub.",
"description": "Link text for creating a new issue."
},
"optionsAboutDebugInfo": {

View file

@ -160,7 +160,7 @@ const getIconText = function(state) {
return tr('usernameDisconnectedFieldText');
}
return tr('usernameFieldText');
return kpxc.credentials.length === 0 ? tr('usernameFieldTextNoCredentials') : tr('usernameFieldText');
};
const fillCredentials = async function(field) {