diff --git a/.eslintrc b/.eslintrc index fc054c3..d84274a 100644 --- a/.eslintrc +++ b/.eslintrc @@ -1,5 +1,6 @@ { "extends": ["eslint-config-airbnb-base" ], + "ignorePatterns": ["**/*.min.js"], "env": { "browser": true, "es6": true, @@ -7,7 +8,7 @@ "webextensions": true }, "parserOptions": { - "ecmaVersion": 2017 + "ecmaVersion": 2020 }, "rules": { "array-bracket-spacing": ["error", "always"], @@ -24,7 +25,9 @@ "dot-notation": "off", "eqeqeq": "error", "func-names": "off", + "function-paren-newline": "off", "guard-for-in": "off", + "implicit-arrow-linebreak": "off", "indent": ["error", 4], "linebreak-style": ["error", "unix"], "lines-around-comment": "off", @@ -35,9 +38,10 @@ "no-console": "off", "no-continue": "off", "no-control-regex": "off", - "no-global-assign": "off", "no-else-return": "off", + "no-empty-function": ["error", { "allow": ["arrowFunctions", "methods", "asyncMethods"] }], "no-extend-native": "off", + "no-global-assign": "off", "no-lonely-if": "off", "no-loop-func": "off", "no-mixed-operators": "off", @@ -50,20 +54,20 @@ "no-restricted-syntax": "off", "no-return-await": "off", "no-tabs": "warn", + "no-underscore-dangle": "off", + "no-unused-vars": ["warn", { "args": "none", "varsIgnorePattern": "[A-Z_]+|tr|[$]" }], "no-use-before-define": "off", "no-useless-escape": "off", "no-useless-return": "off", "no-var": "off", - "no-underscore-dangle": "off", - "no-unused-vars": "warn", "object-curly-spacing": ["warn", "always"], "object-shorthand": "off", - "operator-linebreak": ["error", "before"], - "quote-props": "off", - "quotes": ["error", "single"], + "operator-linebreak": "off", "prefer-arrow-callback": "off", "prefer-destructuring": "off", "prefer-template": "off", + "quote-props": "off", + "quotes": ["error", "single", { "avoidEscape": true }], "semi": ["error", "always"], "space-before-blocks": "warn", "space-before-function-paren": "off", @@ -77,33 +81,49 @@ "_called": true, "_f": true, "acceptedOTPFields": true, + "assertInputFields": true, + "assertPasswordChangeFields": true, + "assertRegex": true, + "assertSearchField": true, + "assertSearchForm": true, + "assertTOTPField": true, "AssociatedAction": true, "Autocomplete": true, + "bootstrap": true, "browser": true, "browserAction": true, + "CHECK_UPDATE_NEVER": true, + "CHECK_UPDATE_ONE_MONTH": true, + "CHECK_UPDATE_ONE_WEEK": true, + "CHECK_UPDATE_THREE_DAYS": true, + "createResult": true, "createStylesheet": true, "DatabaseState": true, + "debugLogMessage": true, "EXTENSION_NAME": true, + "getTopLevelDomainFromUrl": true, "httpAuth": true, "Icon": true, - "isEdge": true, - "isFirefox": true, "IGNORE_AUTOSUBMIT": true, "IGNORE_FULL": true, "IGNORE_NORMAL": true, "IGNORE_NOTHING": true, "initColorTheme": true, + "isEdge": true, + "isFirefox": true, "jQuery": true, "keepass": true, "keepassClient": true, - "kpxc": true, "kpActions": true, + "kpErrors": true, + "kpxc": true, + "kpxcAssert": true, "kpxcBanner": true, "kpxcCustomLoginFieldsBanner": true, + "kpxcEvent": true, "kpxcFields": true, "kpxcFill": true, "kpxcForm": true, - "kpxcEvent": true, "kpxcIcons": true, "kpxcObserverHelper": true, "kpxcPasswordDialog": true, @@ -111,12 +131,17 @@ "kpxcSites": true, "kpxcTOTPAutocomplete": true, "kpxcTOTPIcons": true, - "kpxcUserAutocomplete": true, - "kpxcUsernameIcons": true, "kpxcUI": true, + "kpxcUserAutocomplete": true, "kpxcUsernameField": true, + "kpxcUsernameIcons": true, + "logDebug": true, + "logError": true, "ManualFill": true, + "MAX_AUTOCOMPLETE_NAME_LEN": true, "MAX_OPACITY": true, + "MAX_TOTP_INPUT_LENGTH": true, + "menuContexts": true, "MIN_INPUT_FIELD_OFFSET_WIDTH": true, "MIN_INPUT_FIELD_WIDTH_PX": true, "MIN_OPACITY": true, @@ -124,13 +149,21 @@ "nacl": true, "page": true, "Pixels": true, + "PREDEFINED_SITELIST": true, + "resizePopup": true, "sendMessage": true, "showNotification": true, "siteMatch": true, "slashNeededForUrl": true, + "SORT_BY_GROUP_AND_TITLE": true, + "SORT_BY_GROUP_AND_USERNAME": true, + "SORT_BY_MATCHING_CREDENTIALS_SETTING": true, + "SORT_BY_RELEVANT_ENTRY": true, + "SORT_BY_TITLE": true, + "SORT_BY_USERNAME": true, "statusResponse": true, + "Tests": true, "tr": true, - "trimURL": true, - "PREDEFINED_SITELIST": true + "trimURL": true } } diff --git a/.prettierignore b/.prettierignore new file mode 100644 index 0000000..a1fc10d --- /dev/null +++ b/.prettierignore @@ -0,0 +1,6 @@ +# This repository does not use prettier for formatting but if you want to use it for testing then you can comment out the following line: +* + +# Should never format these files: +*.min.js +*.min.css diff --git a/.prettierrc b/.prettierrc new file mode 100644 index 0000000..a58e69a --- /dev/null +++ b/.prettierrc @@ -0,0 +1,6 @@ +{ + "singleQuote": true, + "trailingComma": "all", + "arrowParens": "avoid", + "tabWidth": 4 +} diff --git a/keepassxc-browser/_locales/bg/messages.json b/keepassxc-browser/_locales/bg/messages.json index 9719df1..4776efe 100644 --- a/keepassxc-browser/_locales/bg/messages.json +++ b/keepassxc-browser/_locales/bg/messages.json @@ -32,8 +32,8 @@ "description": "Context menu parent item for filling a custom attribute." }, "contextMenuRequestGlobalAutoType": { - "message": "", - "description": "Global Auto-Type shortcut text." + "message": "", + "description": "Global Auto-Type shortcut text." }, "multipleCredentialsDetected": { "message": "Открито е HTTP удостоверяване с множество идентификационни данни. Кликнете върху иконата на разширението, за да изберете правилните.", @@ -827,11 +827,11 @@ "message": "Комбинацията за $1 е променена успешно.", "description": "Message for successful keyboard shortcut change." }, - "optionsShortcutsInfo": { + "optionsShortcutsInfo": { "message": "Комбинацията за $1 е нулирана.", "description": "Info message for changing keyboard shortcuts." }, - "optionsShortcutsDanger": { + "optionsShortcutsDanger": { "message": "Грешка: Комбинацията за $1 не е променена!", "description": "Error message for changing keyboard shortcuts." }, @@ -891,11 +891,11 @@ "message": "Адрес на страница", "description": "Site preferences list column title." }, - "optionsColumnIgnore": { + "optionsColumnIgnore": { "message": "Игнориране", "description": "Site preferences list column title." }, - "optionsColumnUsernameOnly": { + "optionsColumnUsernameOnly": { "message": "Откриване само по потребителско име", "description": "Site preferences list column title." }, diff --git a/keepassxc-browser/_locales/cs/messages.json b/keepassxc-browser/_locales/cs/messages.json index 261126e..822716d 100644 --- a/keepassxc-browser/_locales/cs/messages.json +++ b/keepassxc-browser/_locales/cs/messages.json @@ -823,11 +823,11 @@ "message": "Klávesová zkratka $1 byla úspěšně změněna.", "description": "Message for successful keyboard shortcut change." }, - "optionsShortcutsInfo": { + "optionsShortcutsInfo": { "message": "Klávesová zkratka pro $1 byla resetována.", "description": "Info message for changing keyboard shortcuts." }, - "optionsShortcutsDanger": { + "optionsShortcutsDanger": { "message": "Chyba: Klávesová zkratka pro $1 nebyla změněna!", "description": "Error message for changing keyboard shortcuts." }, @@ -887,11 +887,11 @@ "message": "URL adresa stránky", "description": "Site preferences list column title." }, - "optionsColumnIgnore": { + "optionsColumnIgnore": { "message": "Ignorovat", "description": "Site preferences list column title." }, - "optionsColumnUsernameOnly": { + "optionsColumnUsernameOnly": { "message": "Zjišťování pouze uživatelského jména", "description": "Site preferences list column title." }, diff --git a/keepassxc-browser/_locales/de/messages.json b/keepassxc-browser/_locales/de/messages.json index 4a39a98..8d46091 100644 --- a/keepassxc-browser/_locales/de/messages.json +++ b/keepassxc-browser/_locales/de/messages.json @@ -463,7 +463,7 @@ "message": " Abbrechen", "description": "Cancel button text when removing database key or custom login fields." }, - "optionsButtonReset": { + "optionsButtonReset": { "message": "Zurücksetzen", "description": "Reset button text for keyboard shortcuts." }, @@ -639,11 +639,11 @@ "message": "Das Tastaturkürzel für $1 wurde geändert.", "description": "Message for successful keyboard shortcut change." }, - "optionsShortcutsInfo": { + "optionsShortcutsInfo": { "message": "Das Tastaturkürzel für $1 wurde auf Standard zurückgesetzt.", "description": "Info message for changing keyboard shortcuts." }, - "optionsShortcutsDanger": { + "optionsShortcutsDanger": { "message": "Fehler: Tastaturkürzel für $1 wurde nicht geändert!", "description": "Error message for changing keyboard shortcuts." }, @@ -691,11 +691,11 @@ "message": "Seiten-URL", "description": "Site preferences list column title." }, - "optionsColumnIgnore": { + "optionsColumnIgnore": { "message": "Ignorieren", "description": "Site preferences list column title." }, - "optionsColumnUsernameOnly": { + "optionsColumnUsernameOnly": { "message": "Reine Benutzernamenerkennung", "description": "Site preferences list column title." }, diff --git a/keepassxc-browser/_locales/el/messages.json b/keepassxc-browser/_locales/el/messages.json index 900b483..f326a5b 100644 --- a/keepassxc-browser/_locales/el/messages.json +++ b/keepassxc-browser/_locales/el/messages.json @@ -823,11 +823,11 @@ "message": "Η συντόμευση για $1 έχει αλλάξει με επιτυχία.", "description": "Message for successful keyboard shortcut change." }, - "optionsShortcutsInfo": { + "optionsShortcutsInfo": { "message": "Έγινε επαναφορά της συντόμευσης για $1", "description": "Info message for changing keyboard shortcuts." }, - "optionsShortcutsDanger": { + "optionsShortcutsDanger": { "message": "Σφάλμα: Η συντόμευση για το $1 δεν έχει αλλάξει!", "description": "Error message for changing keyboard shortcuts." }, @@ -887,11 +887,11 @@ "message": "Διεύθυνση URL σελίδας", "description": "Site preferences list column title." }, - "optionsColumnIgnore": { + "optionsColumnIgnore": { "message": "Αγνοήστε", "description": "Site preferences list column title." }, - "optionsColumnUsernameOnly": { + "optionsColumnUsernameOnly": { "message": "Ανίχνευση μόνο-όνομα χρήστη", "description": "Site preferences list column title." }, diff --git a/keepassxc-browser/_locales/en/messages.json b/keepassxc-browser/_locales/en/messages.json index 21e1a3d..681dcdf 100644 --- a/keepassxc-browser/_locales/en/messages.json +++ b/keepassxc-browser/_locales/en/messages.json @@ -32,8 +32,8 @@ "description": "Context menu parent item for filling a custom attribute." }, "contextMenuRequestGlobalAutoType": { - "message": "Request Global Auto-Type", - "description": "Global Auto-Type shortcut text." + "message": "Request Global Auto-Type", + "description": "Global Auto-Type shortcut text." }, "multipleCredentialsDetected": { "message": "HTTP authentication with multiple credentials detected. Click on the extension icon to choose the correct one.", @@ -252,9 +252,9 @@ "description": "Help text when choosing custom login fields." }, "defineChooseCustomLoginFieldText": { - "message": "Choose a Custom Login Field", - "description": "Help text for Custom Login Field banner." - }, + "message": "Choose a Custom Login Field", + "description": "Help text for Custom Login Field banner." + }, "username": { "message": "Username", "description": "General text for username." @@ -264,8 +264,8 @@ "description": "General text for password." }, "stringFields": { - "message": "String Fields", - "description": "General text for a String Fields." + "message": "String Fields", + "description": "General text for a String Fields." }, "credentialsNoUsername": { "message": "- no username -", @@ -364,16 +364,16 @@ "description": "Popup Getting Started Guide link text." }, "popupAlertHide": { - "message": "Hide and don't show again.", - "description": "Hide alert close button title." + "message": "Hide and don't show again.", + "description": "Hide alert close button title." }, "popupTroubleshootingText": { - "message": "Cannot connect to KeePassXC? Maybe our wiki page could help.", - "description": "Popup information message about Troubleshooting Guide." + "message": "Cannot connect to KeePassXC? Maybe our wiki page could help.", + "description": "Popup information message about Troubleshooting Guide." }, "popupTroubleshootingLinkText": { - "message": "Troubleshooting Guide", - "description": "Popup Troubleshooting Guide link text." + "message": "Troubleshooting Guide", + "description": "Popup Troubleshooting Guide link text." }, "popupCheckingStatus": { "message": "Checking status...", @@ -879,11 +879,11 @@ "message": "Shortcut for $1 has been successfully changed.", "description": "Message for successful keyboard shortcut change." }, - "optionsShortcutsInfo": { + "optionsShortcutsInfo": { "message": "Shortcut for $1 has been reset.", "description": "Info message for changing keyboard shortcuts." }, - "optionsShortcutsDanger": { + "optionsShortcutsDanger": { "message": "Error: Shortcut for $1 has not been changed!", "description": "Error message for changing keyboard shortcuts." }, @@ -943,11 +943,11 @@ "message": "Page URL", "description": "Site preferences list column title." }, - "optionsColumnIgnore": { + "optionsColumnIgnore": { "message": "Ignore", "description": "Site preferences list column title." }, - "optionsColumnUsernameOnly": { + "optionsColumnUsernameOnly": { "message": "Username-only Detection", "description": "Site preferences list column title." }, diff --git a/keepassxc-browser/_locales/es/messages.json b/keepassxc-browser/_locales/es/messages.json index 18b858f..85861ee 100644 --- a/keepassxc-browser/_locales/es/messages.json +++ b/keepassxc-browser/_locales/es/messages.json @@ -823,11 +823,11 @@ "message": "El acceso directo para $1 ha sido cambiado con éxito.", "description": "Message for successful keyboard shortcut change." }, - "optionsShortcutsInfo": { + "optionsShortcutsInfo": { "message": "Acceso directo para $1 se ha restablecido.", "description": "Info message for changing keyboard shortcuts." }, - "optionsShortcutsDanger": { + "optionsShortcutsDanger": { "message": "Error: Acceso directo para $1 no ha cambiado!", "description": "Error message for changing keyboard shortcuts." }, @@ -887,11 +887,11 @@ "message": "URL de la página", "description": "Site preferences list column title." }, - "optionsColumnIgnore": { + "optionsColumnIgnore": { "message": "Ignorar", "description": "Site preferences list column title." }, - "optionsColumnUsernameOnly": { + "optionsColumnUsernameOnly": { "message": "Detección por nombre de usuario únicamente", "description": "Site preferences list column title." }, diff --git a/keepassxc-browser/_locales/et/messages.json b/keepassxc-browser/_locales/et/messages.json index 71e2a38..70c743f 100644 --- a/keepassxc-browser/_locales/et/messages.json +++ b/keepassxc-browser/_locales/et/messages.json @@ -32,8 +32,8 @@ "description": "Context menu parent item for filling a custom attribute." }, "contextMenuRequestGlobalAutoType": { - "message": "", - "description": "Global Auto-Type shortcut text." + "message": "", + "description": "Global Auto-Type shortcut text." }, "multipleCredentialsDetected": { "message": "", @@ -827,11 +827,11 @@ "message": "Otsetee $1 jaoks on edukalt muudetud.", "description": "Message for successful keyboard shortcut change." }, - "optionsShortcutsInfo": { + "optionsShortcutsInfo": { "message": "Otsetee $1 jaoks on lähtestatud.", "description": "Info message for changing keyboard shortcuts." }, - "optionsShortcutsDanger": { + "optionsShortcutsDanger": { "message": "Tõrge: Otseteed $1 jaoks pole muudetud!", "description": "Error message for changing keyboard shortcuts." }, @@ -891,11 +891,11 @@ "message": "Lehe URL", "description": "Site preferences list column title." }, - "optionsColumnIgnore": { + "optionsColumnIgnore": { "message": "Eiramine", "description": "Site preferences list column title." }, - "optionsColumnUsernameOnly": { + "optionsColumnUsernameOnly": { "message": "Ainult kasutajanime tuvastus", "description": "Site preferences list column title." }, diff --git a/keepassxc-browser/_locales/fi/messages.json b/keepassxc-browser/_locales/fi/messages.json index f7552e1..485c649 100644 --- a/keepassxc-browser/_locales/fi/messages.json +++ b/keepassxc-browser/_locales/fi/messages.json @@ -463,7 +463,7 @@ "message": "Peruuta", "description": "Cancel button text when removing database key or custom login fields." }, - "optionsButtonReset": { + "optionsButtonReset": { "message": "Palauta oletus", "description": "Reset button text for keyboard shortcuts." }, @@ -639,11 +639,11 @@ "message": "Näppäinoikotie toiminnolle $1 on muutettu.", "description": "Message for successful keyboard shortcut change." }, - "optionsShortcutsInfo": { + "optionsShortcutsInfo": { "message": "Näppäinoikotie toiminnolle $1 on palautettu oletusasetukseen.", "description": "Info message for changing keyboard shortcuts." }, - "optionsShortcutsDanger": { + "optionsShortcutsDanger": { "message": "Virhe: Näppäinoikotietä toiminnolle $1 ei pystytty muuttamaan!", "description": "Error message for changing keyboard shortcuts." }, @@ -691,11 +691,11 @@ "message": "Sivun URL", "description": "Site preferences list column title." }, - "optionsColumnIgnore": { + "optionsColumnIgnore": { "message": "Älä huomioi", "description": "Site preferences list column title." }, - "optionsColumnUsernameOnly": { + "optionsColumnUsernameOnly": { "message": "Pelkän käyttäjänimikentän tunnistus", "description": "Site preferences list column title." }, diff --git a/keepassxc-browser/_locales/fr/messages.json b/keepassxc-browser/_locales/fr/messages.json index 6c8c103..22f3397 100644 --- a/keepassxc-browser/_locales/fr/messages.json +++ b/keepassxc-browser/_locales/fr/messages.json @@ -463,7 +463,7 @@ "message": " Annuler", "description": "Cancel button text when removing database key or custom login fields." }, - "optionsButtonReset": { + "optionsButtonReset": { "message": "Réinitialiser", "description": "Reset button text for keyboard shortcuts." }, @@ -639,11 +639,11 @@ "message": "Le raccourci pour $1 à été modifié avec succès.", "description": "Message for successful keyboard shortcut change." }, - "optionsShortcutsInfo": { + "optionsShortcutsInfo": { "message": "Le raccourci pour $1 à été réinitialisé.", "description": "Info message for changing keyboard shortcuts." }, - "optionsShortcutsDanger": { + "optionsShortcutsDanger": { "message": "Erreur : Le raccourci pour $1 n'a pas été modifié!", "description": "Error message for changing keyboard shortcuts." }, @@ -691,11 +691,11 @@ "message": "URL de la page", "description": "Site preferences list column title." }, - "optionsColumnIgnore": { + "optionsColumnIgnore": { "message": "Ignorer", "description": "Site preferences list column title." }, - "optionsColumnUsernameOnly": { + "optionsColumnUsernameOnly": { "message": "Détection des noms d'utilisateurs uniquement", "description": "Site preferences list column title." }, diff --git a/keepassxc-browser/_locales/he/messages.json b/keepassxc-browser/_locales/he/messages.json index fd5cc60..ec0bf51 100644 --- a/keepassxc-browser/_locales/he/messages.json +++ b/keepassxc-browser/_locales/he/messages.json @@ -32,8 +32,8 @@ "description": "Context menu parent item for filling a custom attribute." }, "contextMenuRequestGlobalAutoType": { - "message": "בקשת הקלדה־אוטומטית כללית", - "description": "Global Auto-Type shortcut text." + "message": "בקשת הקלדה־אוטומטית כללית", + "description": "Global Auto-Type shortcut text." }, "multipleCredentialsDetected": { "message": "זוהה אימות HTTP עם אישורים מרובים. נא להקיש על סמל ההרחבה כדי לבחור את הסמל הנכון.", @@ -843,11 +843,11 @@ "message": "קיצור הדרך ל־$1 השתנה בהצלחה.", "description": "Message for successful keyboard shortcut change." }, - "optionsShortcutsInfo": { + "optionsShortcutsInfo": { "message": "קיצור הדרך ל־$1 אופס.", "description": "Info message for changing keyboard shortcuts." }, - "optionsShortcutsDanger": { + "optionsShortcutsDanger": { "message": "שגיאה: קיצור הדרך ל־$1 לא השתנה!", "description": "Error message for changing keyboard shortcuts." }, @@ -907,11 +907,11 @@ "message": "מען URL עמוד", "description": "Site preferences list column title." }, - "optionsColumnIgnore": { + "optionsColumnIgnore": { "message": "להתעלם", "description": "Site preferences list column title." }, - "optionsColumnUsernameOnly": { + "optionsColumnUsernameOnly": { "message": "זיהוי שמות משתמשים בלבד", "description": "Site preferences list column title." }, diff --git a/keepassxc-browser/_locales/hu/messages.json b/keepassxc-browser/_locales/hu/messages.json index 1945071..f930776 100644 --- a/keepassxc-browser/_locales/hu/messages.json +++ b/keepassxc-browser/_locales/hu/messages.json @@ -463,7 +463,7 @@ "message": "Mégse", "description": "Cancel button text when removing database key or custom login fields." }, - "optionsButtonReset": { + "optionsButtonReset": { "message": "Alapállapot", "description": "Reset button text for keyboard shortcuts." }, @@ -639,11 +639,11 @@ "message": "A funkcióhoz tartozó gyorsbillentyű sikeresen megváltozott: $1.", "description": "Message for successful keyboard shortcut change." }, - "optionsShortcutsInfo": { + "optionsShortcutsInfo": { "message": "A funkcióhoz tartozó gyorsbillentyű alapállapotba lett hozva:$1.", "description": "Info message for changing keyboard shortcuts." }, - "optionsShortcutsDanger": { + "optionsShortcutsDanger": { "message": "Hiba: A funkcióhoz tartozó gyorsbillentyű nem változott: $1.", "description": "Error message for changing keyboard shortcuts." }, @@ -691,11 +691,11 @@ "message": "Oldal URL", "description": "Site preferences list column title." }, - "optionsColumnIgnore": { + "optionsColumnIgnore": { "message": "Mellőzés", "description": "Site preferences list column title." }, - "optionsColumnUsernameOnly": { + "optionsColumnUsernameOnly": { "message": "Csak felhasználónév felismerés", "description": "Site preferences list column title." }, diff --git a/keepassxc-browser/_locales/it/messages.json b/keepassxc-browser/_locales/it/messages.json index 218dea0..a5cf3ed 100644 --- a/keepassxc-browser/_locales/it/messages.json +++ b/keepassxc-browser/_locales/it/messages.json @@ -823,11 +823,11 @@ "message": "La scorciatoia per $1 è stata modificata con successo.", "description": "Message for successful keyboard shortcut change." }, - "optionsShortcutsInfo": { + "optionsShortcutsInfo": { "message": "La scorciatoia per $1 è stata reimpostata.", "description": "Info message for changing keyboard shortcuts." }, - "optionsShortcutsDanger": { + "optionsShortcutsDanger": { "message": "Errore: la scorciatoia per $1 non è stata modificata!", "description": "Error message for changing keyboard shortcuts." }, @@ -887,11 +887,11 @@ "message": "URL della pagina", "description": "Site preferences list column title." }, - "optionsColumnIgnore": { + "optionsColumnIgnore": { "message": "Ignora", "description": "Site preferences list column title." }, - "optionsColumnUsernameOnly": { + "optionsColumnUsernameOnly": { "message": "Rilevamento solo del nome utente", "description": "Site preferences list column title." }, diff --git a/keepassxc-browser/_locales/ja/messages.json b/keepassxc-browser/_locales/ja/messages.json index 133d3f3..343482e 100644 --- a/keepassxc-browser/_locales/ja/messages.json +++ b/keepassxc-browser/_locales/ja/messages.json @@ -463,7 +463,7 @@ "message": "キャンセル", "description": "Cancel button text when removing database key or custom login fields." }, - "optionsButtonReset": { + "optionsButtonReset": { "message": "元に戻す", "description": "Reset button text for keyboard shortcuts." }, @@ -639,11 +639,11 @@ "message": "ショートカット ($1) が正常に変更されました。", "description": "Message for successful keyboard shortcut change." }, - "optionsShortcutsInfo": { + "optionsShortcutsInfo": { "message": "ショートカット ($1) がリセットされました。", "description": "Info message for changing keyboard shortcuts." }, - "optionsShortcutsDanger": { + "optionsShortcutsDanger": { "message": "エラー: ショートカット ($1) は変更されていません。", "description": "Error message for changing keyboard shortcuts." }, @@ -691,11 +691,11 @@ "message": "ページの URL", "description": "Site preferences list column title." }, - "optionsColumnIgnore": { + "optionsColumnIgnore": { "message": "無視", "description": "Site preferences list column title." }, - "optionsColumnUsernameOnly": { + "optionsColumnUsernameOnly": { "message": "ユーザー名のみ検出", "description": "Site preferences list column title." }, diff --git a/keepassxc-browser/_locales/ko/messages.json b/keepassxc-browser/_locales/ko/messages.json index ec76826..3db187e 100644 --- a/keepassxc-browser/_locales/ko/messages.json +++ b/keepassxc-browser/_locales/ko/messages.json @@ -463,7 +463,7 @@ "message": "취소", "description": "Cancel button text when removing database key or custom login fields." }, - "optionsButtonReset": { + "optionsButtonReset": { "message": "초기화", "description": "Reset button text for keyboard shortcuts." }, @@ -639,11 +639,11 @@ "message": "$1의 단축키가 변경되었습니다.", "description": "Message for successful keyboard shortcut change." }, - "optionsShortcutsInfo": { + "optionsShortcutsInfo": { "message": "$1의 단축키를 초기화했습니다.", "description": "Info message for changing keyboard shortcuts." }, - "optionsShortcutsDanger": { + "optionsShortcutsDanger": { "message": "오류: $1의 단축키가 변경되지 않았습니다!", "description": "Error message for changing keyboard shortcuts." }, @@ -691,11 +691,11 @@ "message": "페이지 URL", "description": "Site preferences list column title." }, - "optionsColumnIgnore": { + "optionsColumnIgnore": { "message": "무시", "description": "Site preferences list column title." }, - "optionsColumnUsernameOnly": { + "optionsColumnUsernameOnly": { "message": "사용자 이름만 감지", "description": "Site preferences list column title." }, diff --git a/keepassxc-browser/_locales/la/messages.json b/keepassxc-browser/_locales/la/messages.json index fc86f3d..6619f9e 100644 --- a/keepassxc-browser/_locales/la/messages.json +++ b/keepassxc-browser/_locales/la/messages.json @@ -463,7 +463,7 @@ "message": "Cancella", "description": "Cancel button text when removing database key or custom login fields." }, - "optionsButtonReset": { + "optionsButtonReset": { "message": "Reimpone", "description": "Reset button text for keyboard shortcuts." }, @@ -639,11 +639,11 @@ "message": "Excurtiatus pro $1 sine errore mutatus est.", "description": "Message for successful keyboard shortcut change." }, - "optionsShortcutsInfo": { + "optionsShortcutsInfo": { "message": "Excurtiatus for $1 reimpositus est.", "description": "Info message for changing keyboard shortcuts." }, - "optionsShortcutsDanger": { + "optionsShortcutsDanger": { "message": "Error: Excurtiatus pro $1 mutatus non est!", "description": "Error message for changing keyboard shortcuts." }, @@ -691,11 +691,11 @@ "message": "Paginae URL", "description": "Site preferences list column title." }, - "optionsColumnIgnore": { + "optionsColumnIgnore": { "message": "Praetere", "description": "Site preferences list column title." }, - "optionsColumnUsernameOnly": { + "optionsColumnUsernameOnly": { "message": "Detectio nominis usorii tantum", "description": "Site preferences list column title." }, diff --git a/keepassxc-browser/_locales/my/messages.json b/keepassxc-browser/_locales/my/messages.json index 08882a9..db48619 100644 --- a/keepassxc-browser/_locales/my/messages.json +++ b/keepassxc-browser/_locales/my/messages.json @@ -32,8 +32,8 @@ "description": "Context menu parent item for filling a custom attribute." }, "contextMenuRequestGlobalAutoType": { - "message": "ကမ္ဘာသုံး အလိုအလျောက်စာရိုက်ခြင်းကို တောင်းဆိုရန်", - "description": "Global Auto-Type shortcut text." + "message": "ကမ္ဘာသုံး အလိုအလျောက်စာရိုက်ခြင်းကို တောင်းဆိုရန်", + "description": "Global Auto-Type shortcut text." }, "multipleCredentialsDetected": { "message": "အထောက်အထားများစွာဖြင့် HTTP စစ်မှန်ကြောင်းအတည်ပြုခြင်းကို တွေ့ရှိထားသည်။ မှန်ကန်သော အထောက်အထားကိုရွေးရန် အဆက်အိုင်ကွန်ပေါ်တွင် နှိပ်ပါ။", @@ -827,11 +827,11 @@ "message": "$1 အတွက် ရှော့(တ်)ကတ်ကို အောင်မြင်စွာ ပြောင်းပြီးပါပြီ။", "description": "Message for successful keyboard shortcut change." }, - "optionsShortcutsInfo": { + "optionsShortcutsInfo": { "message": "$1 အတွက် ရှော့(တ်)ကတ်ကို ပြန်လည် သတ်မှတ်ပြီးပါပြီ။", "description": "Info message for changing keyboard shortcuts." }, - "optionsShortcutsDanger": { + "optionsShortcutsDanger": { "message": "ပြဿနာ - $1 အတွက် ရှော့(တ်)ကတ်ကို မပြောင်းရသေးပါ။", "description": "Error message for changing keyboard shortcuts." }, @@ -891,11 +891,11 @@ "message": "စာမျက်နှာ URL", "description": "Site preferences list column title." }, - "optionsColumnIgnore": { + "optionsColumnIgnore": { "message": "လျစ်လျူရှုရန်", "description": "Site preferences list column title." }, - "optionsColumnUsernameOnly": { + "optionsColumnUsernameOnly": { "message": "အသုံးပြုသူအမည် သီးသန့် ရှာတွေ့ခြင်း", "description": "Site preferences list column title." }, diff --git a/keepassxc-browser/_locales/nl/messages.json b/keepassxc-browser/_locales/nl/messages.json index bf24718..f28c0e7 100644 --- a/keepassxc-browser/_locales/nl/messages.json +++ b/keepassxc-browser/_locales/nl/messages.json @@ -32,8 +32,8 @@ "description": "Context menu parent item for filling a custom attribute." }, "contextMenuRequestGlobalAutoType": { - "message": "", - "description": "Global Auto-Type shortcut text." + "message": "", + "description": "Global Auto-Type shortcut text." }, "multipleCredentialsDetected": { "message": "HTTP-authenticatie met meerdere inloggegevens gedetecteerd. Klik op het extensiepictogram om de juiste te kiezen.", @@ -827,11 +827,11 @@ "message": "Sneltoets voor $1 is veranderd.", "description": "Message for successful keyboard shortcut change." }, - "optionsShortcutsInfo": { + "optionsShortcutsInfo": { "message": "Sneltoets voor $1 is hersteld.", "description": "Info message for changing keyboard shortcuts." }, - "optionsShortcutsDanger": { + "optionsShortcutsDanger": { "message": "Fout: Sneltoets voor $1 is niet veranderd!", "description": "Error message for changing keyboard shortcuts." }, @@ -891,11 +891,11 @@ "message": "Pagina-URL", "description": "Site preferences list column title." }, - "optionsColumnIgnore": { + "optionsColumnIgnore": { "message": "Negeren", "description": "Site preferences list column title." }, - "optionsColumnUsernameOnly": { + "optionsColumnUsernameOnly": { "message": "Alleen-gebruikersnaam-detectie", "description": "Site preferences list column title." }, diff --git a/keepassxc-browser/_locales/nl_NL/messages.json b/keepassxc-browser/_locales/nl_NL/messages.json index c6127ff..a885c24 100644 --- a/keepassxc-browser/_locales/nl_NL/messages.json +++ b/keepassxc-browser/_locales/nl_NL/messages.json @@ -463,7 +463,7 @@ "message": "Annuleren", "description": "Cancel button text when removing database key or custom login fields." }, - "optionsButtonReset": { + "optionsButtonReset": { "message": "Terugzetten", "description": "Reset button text for keyboard shortcuts." }, @@ -639,11 +639,11 @@ "message": "Sneltoets voor $1 is veranderd.", "description": "Message for successful keyboard shortcut change." }, - "optionsShortcutsInfo": { + "optionsShortcutsInfo": { "message": "Sneltoets voor $1 is hersteld.", "description": "Info message for changing keyboard shortcuts." }, - "optionsShortcutsDanger": { + "optionsShortcutsDanger": { "message": "Fout: Sneltoets voor $1 is niet veranderd!", "description": "Error message for changing keyboard shortcuts." }, @@ -691,11 +691,11 @@ "message": "Pagina-URL", "description": "Site preferences list column title." }, - "optionsColumnIgnore": { + "optionsColumnIgnore": { "message": "Negeren", "description": "Site preferences list column title." }, - "optionsColumnUsernameOnly": { + "optionsColumnUsernameOnly": { "message": "Alleen gebruikersnamen detecteren", "description": "Site preferences list column title." }, diff --git a/keepassxc-browser/_locales/pl/messages.json b/keepassxc-browser/_locales/pl/messages.json index 9c22a0f..901fa78 100644 --- a/keepassxc-browser/_locales/pl/messages.json +++ b/keepassxc-browser/_locales/pl/messages.json @@ -823,11 +823,11 @@ "message": "Skrót do $1 został pomyślnie zmieniony.", "description": "Message for successful keyboard shortcut change." }, - "optionsShortcutsInfo": { + "optionsShortcutsInfo": { "message": "Skrót dla $1 został zresetowany.", "description": "Info message for changing keyboard shortcuts." }, - "optionsShortcutsDanger": { + "optionsShortcutsDanger": { "message": "Błąd: Skrót dla $1 nie został zmieniony!", "description": "Error message for changing keyboard shortcuts." }, @@ -887,11 +887,11 @@ "message": "Adres URL strony", "description": "Site preferences list column title." }, - "optionsColumnIgnore": { + "optionsColumnIgnore": { "message": "Ignorowanie", "description": "Site preferences list column title." }, - "optionsColumnUsernameOnly": { + "optionsColumnUsernameOnly": { "message": "Wykrywanie tylko nazwy użytkownika", "description": "Site preferences list column title." }, diff --git a/keepassxc-browser/_locales/pt/messages.json b/keepassxc-browser/_locales/pt/messages.json index 93f910c..abe81c4 100644 --- a/keepassxc-browser/_locales/pt/messages.json +++ b/keepassxc-browser/_locales/pt/messages.json @@ -463,7 +463,7 @@ "message": " Cancelar", "description": "Cancel button text when removing database key or custom login fields." }, - "optionsButtonReset": { + "optionsButtonReset": { "message": "Repôr", "description": "Reset button text for keyboard shortcuts." }, @@ -639,11 +639,11 @@ "message": "O atalho para $1foi mudado com successo", "description": "Message for successful keyboard shortcut change." }, - "optionsShortcutsInfo": { + "optionsShortcutsInfo": { "message": "O atalho para $1foi reposto", "description": "Info message for changing keyboard shortcuts." }, - "optionsShortcutsDanger": { + "optionsShortcutsDanger": { "message": "Erro: O atalho para $1não foi mudado!", "description": "Error message for changing keyboard shortcuts." }, @@ -691,11 +691,11 @@ "message": "URL da página", "description": "Site preferences list column title." }, - "optionsColumnIgnore": { + "optionsColumnIgnore": { "message": "Ignorar", "description": "Site preferences list column title." }, - "optionsColumnUsernameOnly": { + "optionsColumnUsernameOnly": { "message": "Deteção apenas de nome de utilizador", "description": "Site preferences list column title." }, diff --git a/keepassxc-browser/_locales/pt_BR/messages.json b/keepassxc-browser/_locales/pt_BR/messages.json index 778ffb5..86ad352 100644 --- a/keepassxc-browser/_locales/pt_BR/messages.json +++ b/keepassxc-browser/_locales/pt_BR/messages.json @@ -463,7 +463,7 @@ "message": "Cancelar", "description": "Cancel button text when removing database key or custom login fields." }, - "optionsButtonReset": { + "optionsButtonReset": { "message": "Restaurar", "description": "Reset button text for keyboard shortcuts." }, @@ -639,11 +639,11 @@ "message": "Atalho para $1 foi alterado com sucesso.", "description": "Message for successful keyboard shortcut change." }, - "optionsShortcutsInfo": { + "optionsShortcutsInfo": { "message": "Atalho para $1 foi restaurado.", "description": "Info message for changing keyboard shortcuts." }, - "optionsShortcutsDanger": { + "optionsShortcutsDanger": { "message": "Erro: Atalho para $1 não foi alterado!", "description": "Error message for changing keyboard shortcuts." }, @@ -691,11 +691,11 @@ "message": "URL da página", "description": "Site preferences list column title." }, - "optionsColumnIgnore": { + "optionsColumnIgnore": { "message": "Ignorar", "description": "Site preferences list column title." }, - "optionsColumnUsernameOnly": { + "optionsColumnUsernameOnly": { "message": "Detecção apenas de nome de usuário", "description": "Site preferences list column title." }, diff --git a/keepassxc-browser/_locales/pt_PT/messages.json b/keepassxc-browser/_locales/pt_PT/messages.json index 0cee33f..4e080be 100644 --- a/keepassxc-browser/_locales/pt_PT/messages.json +++ b/keepassxc-browser/_locales/pt_PT/messages.json @@ -823,11 +823,11 @@ "message": "O atalho para $1foi mudado com successo", "description": "Message for successful keyboard shortcut change." }, - "optionsShortcutsInfo": { + "optionsShortcutsInfo": { "message": "O atalho para $1foi reposto", "description": "Info message for changing keyboard shortcuts." }, - "optionsShortcutsDanger": { + "optionsShortcutsDanger": { "message": "Erro: O atalho para $1não foi mudado!", "description": "Error message for changing keyboard shortcuts." }, @@ -887,11 +887,11 @@ "message": "URL da página", "description": "Site preferences list column title." }, - "optionsColumnIgnore": { + "optionsColumnIgnore": { "message": "Ignorar", "description": "Site preferences list column title." }, - "optionsColumnUsernameOnly": { + "optionsColumnUsernameOnly": { "message": "Deteção apenas de nome de utilizador", "description": "Site preferences list column title." }, diff --git a/keepassxc-browser/_locales/ro/messages.json b/keepassxc-browser/_locales/ro/messages.json index 79db38a..ce3b3f5 100644 --- a/keepassxc-browser/_locales/ro/messages.json +++ b/keepassxc-browser/_locales/ro/messages.json @@ -32,8 +32,8 @@ "description": "Context menu parent item for filling a custom attribute." }, "contextMenuRequestGlobalAutoType": { - "message": "", - "description": "Global Auto-Type shortcut text." + "message": "", + "description": "Global Auto-Type shortcut text." }, "multipleCredentialsDetected": { "message": "Autentificare HTTP cu mai multe acreditări detectate. Faceți clic pe pictograma de prelungire pentru a alege una corectă.", @@ -827,11 +827,11 @@ "message": "Comanda rapidă pentru $1 s-a modificat cu succes.", "description": "Message for successful keyboard shortcut change." }, - "optionsShortcutsInfo": { + "optionsShortcutsInfo": { "message": "Comandă rapidă pentru $1 a fost resetat.", "description": "Info message for changing keyboard shortcuts." }, - "optionsShortcutsDanger": { + "optionsShortcutsDanger": { "message": "Eroare: shortcut pentru $1 nu a fost schimbat!", "description": "Error message for changing keyboard shortcuts." }, @@ -891,11 +891,11 @@ "message": "URL pagină", "description": "Site preferences list column title." }, - "optionsColumnIgnore": { + "optionsColumnIgnore": { "message": "Ignora", "description": "Site preferences list column title." }, - "optionsColumnUsernameOnly": { + "optionsColumnUsernameOnly": { "message": "Detectarea numai a numelui de utilizator", "description": "Site preferences list column title." }, diff --git a/keepassxc-browser/_locales/ru/messages.json b/keepassxc-browser/_locales/ru/messages.json index 506430a..a32e8a5 100644 --- a/keepassxc-browser/_locales/ru/messages.json +++ b/keepassxc-browser/_locales/ru/messages.json @@ -463,7 +463,7 @@ "message": "Отмена", "description": "Cancel button text when removing database key or custom login fields." }, - "optionsButtonReset": { + "optionsButtonReset": { "message": "Сброс", "description": "Reset button text for keyboard shortcuts." }, @@ -639,11 +639,11 @@ "message": "Ярлык для $1 был успешно изменен.", "description": "Message for successful keyboard shortcut change." }, - "optionsShortcutsInfo": { + "optionsShortcutsInfo": { "message": "Ярлык для $1 был сброшен.", "description": "Info message for changing keyboard shortcuts." }, - "optionsShortcutsDanger": { + "optionsShortcutsDanger": { "message": "Ошибка: Ярлык для $1 изменен не был!", "description": "Error message for changing keyboard shortcuts." }, @@ -691,11 +691,11 @@ "message": "URL страницы", "description": "Site preferences list column title." }, - "optionsColumnIgnore": { + "optionsColumnIgnore": { "message": "Пропустить", "description": "Site preferences list column title." }, - "optionsColumnUsernameOnly": { + "optionsColumnUsernameOnly": { "message": "Определение только по логину", "description": "Site preferences list column title." }, diff --git a/keepassxc-browser/_locales/sl/messages.json b/keepassxc-browser/_locales/sl/messages.json index a24e408..faa3aae 100644 --- a/keepassxc-browser/_locales/sl/messages.json +++ b/keepassxc-browser/_locales/sl/messages.json @@ -32,8 +32,8 @@ "description": "Context menu parent item for filling a custom attribute." }, "contextMenuRequestGlobalAutoType": { - "message": "", - "description": "Global Auto-Type shortcut text." + "message": "", + "description": "Global Auto-Type shortcut text." }, "multipleCredentialsDetected": { "message": "Zaznana je HTTP avtentikacija z več povernicami. Kliknite na ikono razširitve, da izberete želeno povernico.", @@ -827,11 +827,11 @@ "message": "Bližnjica za $1 je bila uspešno spremenjena.", "description": "Message for successful keyboard shortcut change." }, - "optionsShortcutsInfo": { + "optionsShortcutsInfo": { "message": "Bližnjica za $1 je bila ponastavjena.", "description": "Info message for changing keyboard shortcuts." }, - "optionsShortcutsDanger": { + "optionsShortcutsDanger": { "message": "Napaka: Bližnjica za $1 ni bila spremenjena!", "description": "Error message for changing keyboard shortcuts." }, @@ -891,11 +891,11 @@ "message": "URL spletna mesta", "description": "Site preferences list column title." }, - "optionsColumnIgnore": { + "optionsColumnIgnore": { "message": "Prezri", "description": "Site preferences list column title." }, - "optionsColumnUsernameOnly": { + "optionsColumnUsernameOnly": { "message": "Zaznavanje samo uporabniškega imena", "description": "Site preferences list column title." }, diff --git a/keepassxc-browser/_locales/sv/messages.json b/keepassxc-browser/_locales/sv/messages.json index f444af5..d0adaf8 100644 --- a/keepassxc-browser/_locales/sv/messages.json +++ b/keepassxc-browser/_locales/sv/messages.json @@ -463,7 +463,7 @@ "message": "Avbryt", "description": "Cancel button text when removing database key or custom login fields." }, - "optionsButtonReset": { + "optionsButtonReset": { "message": "Återställ", "description": "Reset button text for keyboard shortcuts." }, @@ -639,11 +639,11 @@ "message": "Genväg för $1 har ändrats framgångsrikt.", "description": "Message for successful keyboard shortcut change." }, - "optionsShortcutsInfo": { + "optionsShortcutsInfo": { "message": "Genväg för $1 har återställts.", "description": "Info message for changing keyboard shortcuts." }, - "optionsShortcutsDanger": { + "optionsShortcutsDanger": { "message": "Fel: Genväg för $1 har inte ändrats!", "description": "Error message for changing keyboard shortcuts." }, @@ -691,11 +691,11 @@ "message": "Sid-URL", "description": "Site preferences list column title." }, - "optionsColumnIgnore": { + "optionsColumnIgnore": { "message": "Ignorera", "description": "Site preferences list column title." }, - "optionsColumnUsernameOnly": { + "optionsColumnUsernameOnly": { "message": "Identifiera endast användarnamn", "description": "Site preferences list column title." }, diff --git a/keepassxc-browser/_locales/tr/messages.json b/keepassxc-browser/_locales/tr/messages.json index 442f1ab..f37998f 100644 --- a/keepassxc-browser/_locales/tr/messages.json +++ b/keepassxc-browser/_locales/tr/messages.json @@ -32,8 +32,8 @@ "description": "Context menu parent item for filling a custom attribute." }, "contextMenuRequestGlobalAutoType": { - "message": "Genel otomatik yazma isteği", - "description": "Global Auto-Type shortcut text." + "message": "Genel otomatik yazma isteği", + "description": "Global Auto-Type shortcut text." }, "multipleCredentialsDetected": { "message": "HTTP kimlik doğrulaması için kullanılabilecek birden çok kimlik doğrulama bilgisi bulundu. Doğru bilgileri seçmek için uzantı simgesine tıklayın.", @@ -843,11 +843,11 @@ "message": "$1 kısayolu değiştirildi.", "description": "Message for successful keyboard shortcut change." }, - "optionsShortcutsInfo": { + "optionsShortcutsInfo": { "message": "$1 kısayolu sıfırlandı.", "description": "Info message for changing keyboard shortcuts." }, - "optionsShortcutsDanger": { + "optionsShortcutsDanger": { "message": "Hata: $1 kısayolu değiştirilmedi!", "description": "Error message for changing keyboard shortcuts." }, @@ -907,11 +907,11 @@ "message": "Sayfa adresi", "description": "Site preferences list column title." }, - "optionsColumnIgnore": { + "optionsColumnIgnore": { "message": "Yok say", "description": "Site preferences list column title." }, - "optionsColumnUsernameOnly": { + "optionsColumnUsernameOnly": { "message": "Yalnız kullanıcı adı algılaması", "description": "Site preferences list column title." }, diff --git a/keepassxc-browser/_locales/uk/messages.json b/keepassxc-browser/_locales/uk/messages.json index 39021f2..834f10a 100644 --- a/keepassxc-browser/_locales/uk/messages.json +++ b/keepassxc-browser/_locales/uk/messages.json @@ -463,7 +463,7 @@ "message": "Скасувати", "description": "Cancel button text when removing database key or custom login fields." }, - "optionsButtonReset": { + "optionsButtonReset": { "message": "Reset", "description": "Reset button text for keyboard shortcuts." }, @@ -639,11 +639,11 @@ "message": "Shortcut for $1 has been successfully changed.", "description": "Message for successful keyboard shortcut change." }, - "optionsShortcutsInfo": { + "optionsShortcutsInfo": { "message": "Shortcut for $1 has been reset.", "description": "Info message for changing keyboard shortcuts." }, - "optionsShortcutsDanger": { + "optionsShortcutsDanger": { "message": "Error: Shortcut for $1 has not been changed!", "description": "Error message for changing keyboard shortcuts." }, @@ -691,11 +691,11 @@ "message": "URL сторінки", "description": "Site preferences list column title." }, - "optionsColumnIgnore": { + "optionsColumnIgnore": { "message": "Нехтувати", "description": "Site preferences list column title." }, - "optionsColumnUsernameOnly": { + "optionsColumnUsernameOnly": { "message": "Визначення виключно за іменем користувача", "description": "Site preferences list column title." }, diff --git a/keepassxc-browser/_locales/zh_CN/messages.json b/keepassxc-browser/_locales/zh_CN/messages.json index 785ce00..d06ac23 100644 --- a/keepassxc-browser/_locales/zh_CN/messages.json +++ b/keepassxc-browser/_locales/zh_CN/messages.json @@ -823,11 +823,11 @@ "message": "$1 的快捷方式已成功更改。", "description": "Message for successful keyboard shortcut change." }, - "optionsShortcutsInfo": { + "optionsShortcutsInfo": { "message": "$1 的快捷方式已重置。", "description": "Info message for changing keyboard shortcuts." }, - "optionsShortcutsDanger": { + "optionsShortcutsDanger": { "message": "错误: $1 的快捷方式未更改!", "description": "Error message for changing keyboard shortcuts." }, @@ -887,11 +887,11 @@ "message": "页面网址", "description": "Site preferences list column title." }, - "optionsColumnIgnore": { + "optionsColumnIgnore": { "message": "忽略", "description": "Site preferences list column title." }, - "optionsColumnUsernameOnly": { + "optionsColumnUsernameOnly": { "message": "仅用户名检测", "description": "Site preferences list column title." }, diff --git a/keepassxc-browser/_locales/zh_TW/messages.json b/keepassxc-browser/_locales/zh_TW/messages.json index 4605e04..2e993da 100644 --- a/keepassxc-browser/_locales/zh_TW/messages.json +++ b/keepassxc-browser/_locales/zh_TW/messages.json @@ -463,7 +463,7 @@ "message": "取消", "description": "Cancel button text when removing database key or custom login fields." }, - "optionsButtonReset": { + "optionsButtonReset": { "message": "重設", "description": "Reset button text for keyboard shortcuts." }, @@ -639,11 +639,11 @@ "message": "$1 的快速鍵已成功更改。", "description": "Message for successful keyboard shortcut change." }, - "optionsShortcutsInfo": { + "optionsShortcutsInfo": { "message": "$1 的快速鍵已重設。", "description": "Info message for changing keyboard shortcuts." }, - "optionsShortcutsDanger": { + "optionsShortcutsDanger": { "message": "Error: Shortcut for $1 has not been changed!", "description": "Error message for changing keyboard shortcuts." }, @@ -691,11 +691,11 @@ "message": "網頁 URL", "description": "Site preferences list column title." }, - "optionsColumnIgnore": { + "optionsColumnIgnore": { "message": "忽略", "description": "Site preferences list column title." }, - "optionsColumnUsernameOnly": { + "optionsColumnUsernameOnly": { "message": "Username-only Detection", "description": "Site preferences list column title." }, diff --git a/keepassxc-browser/background/keepass.js b/keepassxc-browser/background/keepass.js index ec3c257..8a5bbda 100755 --- a/keepassxc-browser/background/keepass.js +++ b/keepassxc-browser/background/keepass.js @@ -555,7 +555,7 @@ keepass.createNewGroup = async function(tab, args = []) { keepass.updateLastUsed(keepass.databaseHash); return response; } else { - logError(`getDatabaseGroups rejected`); + logError('getDatabaseGroups rejected'); } browserAction.showDefault(tab); @@ -750,9 +750,7 @@ keepass.disableAutomaticReconnect = function() { keepass.reconnect = async function(tab, connectionTimeout) { keepassClient.connectToNative(); keepass.generateNewKeyPair(); - const keyChangeResult = await keepass.changePublicKeys(tab, true, connectionTimeout).catch((e) => { - return false; - }); + const keyChangeResult = await keepass.changePublicKeys(tab, true, connectionTimeout).catch(() => false); // Change public keys timeout if (!keyChangeResult) { @@ -802,7 +800,7 @@ keepass.setcurrentKeePassXCVersion = function(version) { }; keepass.keePassXCUpdateAvailable = function() { - if (page.settings.checkUpdateKeePassXC && page.settings.checkUpdateKeePassXC != CHECK_UPDATE_NEVER) { + if (page.settings.checkUpdateKeePassXC && page.settings.checkUpdateKeePassXC !== CHECK_UPDATE_NEVER) { const lastChecked = (keepass.latestKeePassXC.lastChecked) ? new Date(keepass.latestKeePassXC.lastChecked) : new Date(1986, 11, 21); const daysSinceLastCheck = Math.floor(((new Date()).getTime() - lastChecked.getTime()) / 86400000); if (daysSinceLastCheck >= page.settings.checkUpdateKeePassXC) { @@ -886,7 +884,7 @@ keepass.updateDatabaseHashToContent = async function() { hash: { old: keepass.previousDatabaseHash, new: keepass.databaseHash }, connected: keepass.isKeePassXCAvailable }).catch((err) => { - logError(`No content script available for this tab.`); + logError('No content script available for this tab.'); }); keepass.previousDatabaseHash = keepass.databaseHash; } diff --git a/keepassxc-browser/background/page.js b/keepassxc-browser/background/page.js index 6e2b020..3102e72 100755 --- a/keepassxc-browser/background/page.js +++ b/keepassxc-browser/background/page.js @@ -404,7 +404,7 @@ page.updateContextMenu = async function(tab, credentials) { } }; -const createContextMenuItem = function({action, args, ...options}) { +const createContextMenuItem = function({ action, args, ...options }) { return browser.contextMenus.create({ contexts: menuContexts, onclick: (info, tab) => { diff --git a/keepassxc-browser/common/global.js b/keepassxc-browser/common/global.js index cbd874a..58e48dd 100755 --- a/keepassxc-browser/common/global.js +++ b/keepassxc-browser/common/global.js @@ -77,8 +77,7 @@ const matchPatternToRegExp = function(pattern) { pattern = pattern.replace(/\./g, '\\.'); if (pattern.endsWith('*')) { regex += pattern.slice(0, -1); - } - else { + } else { regex += `${pattern}$`; } return new RegExp(regex); diff --git a/keepassxc-browser/common/translate.js b/keepassxc-browser/common/translate.js index 601b92b..36089b6 100644 --- a/keepassxc-browser/common/translate.js +++ b/keepassxc-browser/common/translate.js @@ -7,7 +7,7 @@ for (const item of items) { let attr = ''; [ attr, key ] = trAttribute(key); - const placeholder = item.getAttribute('i18n-placeholder'); + const placeholder = item.getAttribute('data-i18n-placeholder'); const translation = placeholder ? browser.i18n.getMessage(key, placeholder) : browser.i18n.getMessage(key); if (attr) { item.setAttribute(attr, translation); diff --git a/keepassxc-browser/content/autocomplete.js b/keepassxc-browser/content/autocomplete.js index 37ec470..9a901bf 100644 --- a/keepassxc-browser/content/autocomplete.js +++ b/keepassxc-browser/content/autocomplete.js @@ -153,7 +153,7 @@ class Autocomplete { deselectItem() { const items = this.list.querySelectorAll('div.kpxcAutocomplete-active'); - items.forEach(item => item.classList.remove('kpxcAutocomplete-active')); + items.forEach(item => item.classList.remove('kpxcAutocomplete-active')); } closeList() { diff --git a/keepassxc-browser/content/banner.js b/keepassxc-browser/content/banner.js index cfb1f66..9c3f995 100644 --- a/keepassxc-browser/content/banner.js +++ b/keepassxc-browser/content/banner.js @@ -188,7 +188,7 @@ kpxcBanner.saveNewCredentials = async function(credentials = {}) { } } - const addChildren = function(group, parentElement, depth) { + const addChildren = function(group, parentElement, depth = 0) { ++depth; const padding = depth * 20; @@ -227,13 +227,12 @@ kpxcBanner.saveNewCredentials = async function(credentials = {}) { kpxcBanner.createGroupDialog(); // Create the link list for group selection - let depth = 0; for (const g of result.groups) { const a = createLink(g.name, g.uuid, g.children.length > 0); a.setAttribute('id', 'root'); kpxcBanner.shadowSelector('ul#list').appendChild(a); - addChildren(g, a, depth); + addChildren(g, a); } kpxcBanner.shadowSelector('.kpxc-banner-dialog').style.display = 'block'; @@ -325,7 +324,7 @@ kpxcBanner.verifyResult = async function(code) { // Traverse the groups and ensure all paths are found kpxcBanner.getDefaultGroup = function(groups, defaultGroup) { - const getGroup = function(group, splitted, depth) { + const getGroup = function(group, splitted, depth = -1) { ++depth; for (const g of group) { if (g.name === splitted[depth]) { @@ -338,9 +337,8 @@ kpxcBanner.getDefaultGroup = function(groups, defaultGroup) { return [ '', '' ]; }; - let depth = -1; const splitted = defaultGroup.split('/'); - return getGroup(groups, splitted, depth); + return getGroup(groups, splitted); }; kpxcBanner.createCredentialDialog = async function() { diff --git a/keepassxc-browser/content/custom-fields-banner.js b/keepassxc-browser/content/custom-fields-banner.js index 71fbad5..6e32378 100644 --- a/keepassxc-browser/content/custom-fields-banner.js +++ b/keepassxc-browser/content/custom-fields-banner.js @@ -669,7 +669,7 @@ const dataStepToString = function() { } else if (kpxcCustomLoginFieldsBanner.dataStep === STEP_SELECT_STRING_FIELDS) { return tr('defineStringField'); } -} +}; //-------------------------------------------------------------------------- // IFrame support @@ -764,4 +764,4 @@ const sendMessageToParent = function(message, selection) { if (window.self !== window.top) { window.top.postMessage({ message, selection }, '*'); } -} +}; diff --git a/keepassxc-browser/content/fill.js b/keepassxc-browser/content/fill.js index e2e4ed5..50fc4a3 100644 --- a/keepassxc-browser/content/fill.js +++ b/keepassxc-browser/content/fill.js @@ -104,13 +104,6 @@ kpxcFill.fillFromPopup = async function(id, uuid) { return; } - // For Google password field we need to do some special handling. The password field is actually in the - // second combination that was just detected after a username fill. - let combination = kpxc.combinations[0]; - if (kpxcSites.popupExceptionFound(kpxc.combinations)) { - combination = kpxc.combinations[1]; - } - const foundCombination = kpxcFields.getCombinationFromAllInputs(); kpxcFill.fillInCredentials(foundCombination, selectedCredentials.login, uuid); kpxcUserAutocomplete.closeList(); @@ -326,4 +319,4 @@ kpxcFill.performAutoSubmit = async function(combination, skipAutoSubmit) { } else { (combination.username || combination.password).focus(); } -} +}; diff --git a/keepassxc-browser/content/form.js b/keepassxc-browser/content/form.js index 7bd25ea..c1c3cca 100644 --- a/keepassxc-browser/content/form.js +++ b/keepassxc-browser/content/form.js @@ -69,7 +69,7 @@ kpxcForm.getFormSubmitButton = function(form) { // Retrieve new password from a form with three elements: Current, New, Repeat New kpxcForm.getNewPassword = function(passwordInputs = []) { if (passwordInputs.length < 2) { - logDebug('Error: Not enough input fields to detect possible new password.') + logDebug('Error: Not enough input fields to detect possible new password.'); return ''; } diff --git a/keepassxc-browser/content/observer-helper.js b/keepassxc-browser/content/observer-helper.js index 11ed070..dd4aa17 100644 --- a/keepassxc-browser/content/observer-helper.js +++ b/keepassxc-browser/content/observer-helper.js @@ -151,8 +151,7 @@ kpxcObserverHelper.getInputs = function(target, ignoreVisibility = false) { } // Traverse children, only if Improved Field Detection is enabled for the site - if (kpxc.improvedFieldDetectionEnabledForPage) - { + if (kpxc.improvedFieldDetectionEnabledForPage) { const traversedChildren = kpxcObserverHelper.findInputsFromChildren(target); for (const child of traversedChildren) { if (!inputFields.includes(child)) { diff --git a/keepassxc-browser/manifest.json b/keepassxc-browser/manifest.json index ba56f1f..0955a11 100755 --- a/keepassxc-browser/manifest.json +++ b/keepassxc-browser/manifest.json @@ -43,8 +43,8 @@ "background/page.js", "background/event.js", "background/init.js" - ] - }, + ] + }, "content_scripts": [ { "matches": [ @@ -154,13 +154,12 @@ "http://*/*", "https://api.github.com/" ], - "content_security_policy": "script-src 'self' 'sha256-UD5WN2QEhRDEZ6vkLdHKFlkHwzbemzW2ppJiOLooI8o='; object-src 'none'", - "content_security_policy": "script-src 'self' 'sha256-4nJ8uLezzRE3SiBFdkVN/uNwV9YTOGCqRXg6AvB5rCY='; object-src 'none'", + "content_security_policy": "script-src 'self' 'sha256-UD5WN2QEhRDEZ6vkLdHKFlkHwzbemzW2ppJiOLooI8o=' 'sha256-4nJ8uLezzRE3SiBFdkVN/uNwV9YTOGCqRXg6AvB5rCY='; object-src 'none'", "applications": { - "gecko": { - "id": "keepassxc-browser@keepassxc.org", - "strict_min_version": "67.0" - } - }, - "default_locale": "en" + "gecko": { + "id": "keepassxc-browser@keepassxc.org", + "strict_min_version": "67.0" + } + }, + "default_locale": "en" } diff --git a/keepassxc-browser/options/options.css b/keepassxc-browser/options/options.css index d7c5bd9..05c059e 100644 --- a/keepassxc-browser/options/options.css +++ b/keepassxc-browser/options/options.css @@ -129,6 +129,7 @@ table td:last-of-type { .card { background-color: var(--kpxc-card-background-color); border-color: var(--kpxc-card-border-color); + overflow: hidden; /* fix border radius looking fuzzy */ } .card-header { diff --git a/keepassxc-browser/options/options.html b/keepassxc-browser/options/options.html index 27a505f..5fe0ced 100644 --- a/keepassxc-browser/options/options.html +++ b/keepassxc-browser/options/options.html @@ -4,10 +4,10 @@ - - - - + + + + @@ -100,7 +100,7 @@
- +
@@ -109,7 +109,7 @@
- +
@@ -119,7 +119,7 @@
- +
@@ -128,7 +128,7 @@
- +
@@ -144,9 +144,9 @@

- : error
- : error
- : error
+ : error
+ : error
+ : error
: error

@@ -168,7 +168,7 @@

- +
@@ -177,7 +177,7 @@
- +
@@ -221,7 +221,7 @@
- +
@@ -230,7 +230,7 @@
- +
@@ -324,16 +324,16 @@
-

+

-
- +
+

- +

- +

@@ -370,7 +370,7 @@
- +
@@ -379,12 +379,12 @@
- +
@@ -392,7 +392,7 @@