diff --git a/.tx/config b/.tx/config new file mode 100644 index 0000000..da01a97 --- /dev/null +++ b/.tx/config @@ -0,0 +1,9 @@ +[main] +host = https://www.transifex.com + +[keepassxc-browser.messagesjson] +file_filter = keepassxc-browser/_locales//messages.json +minimum_perc = 60 +source_file = keepassxc-browser/_locales/en/messages.json +source_lang = en +type = CHROME diff --git a/build.js b/build.js index f654cbb..e9134f2 100644 --- a/build.js +++ b/build.js @@ -2,6 +2,8 @@ const fs = require('fs'); const extra = require('fs-extra'); +const util = require('util'); +const exec = util.promisify(require('child_process').exec); const zaf = require('zip-a-folder'); const DEST = 'keepassxc-browser'; @@ -31,7 +33,14 @@ function adjustManifest(manifest) { return `keepassxc-browser_${data['version']}_${browser}.zip`; } +async function updateTranslations() { + console.log('Pulling translations from Transifex, please wait...'); + const { stdout } = await exec('tx pull -af'); + console.log(stdout); +} + (async() => { + await updateTranslations(); fs.copyFileSync(`${DEST}/manifest.json`, `./${DEFAULT}`); for (const browser in BROWSERS) { @@ -45,4 +54,4 @@ function adjustManifest(manifest) { } fs.renameSync(DEFAULT, `${DEST}/manifest.json`); -})() +})(); diff --git a/keepassxc-browser/icons/keepassxc-dark.svg b/keepassxc-browser/icons/keepassxc-dark.svg new file mode 100644 index 0000000..a000706 --- /dev/null +++ b/keepassxc-browser/icons/keepassxc-dark.svg @@ -0,0 +1,154 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + diff --git a/keepassxc-browser/icons/keepassxc.svg b/keepassxc-browser/icons/keepassxc.svg new file mode 100644 index 0000000..d93dee4 --- /dev/null +++ b/keepassxc-browser/icons/keepassxc.svg @@ -0,0 +1,113 @@ + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + diff --git a/keepassxc-browser/icons/keepassxc_18x18.png b/keepassxc-browser/icons/keepassxc_18x18.png new file mode 100644 index 0000000..bd6cf12 Binary files /dev/null and b/keepassxc-browser/icons/keepassxc_18x18.png differ diff --git a/keepassxc-browser/icons/keepassxc_36x36.png b/keepassxc-browser/icons/keepassxc_36x36.png new file mode 100644 index 0000000..5da4518 Binary files /dev/null and b/keepassxc-browser/icons/keepassxc_36x36.png differ diff --git a/keepassxc-browser/icons/keepassxc_96x96.png b/keepassxc-browser/icons/keepassxc_96x96.png new file mode 100644 index 0000000..874a98c Binary files /dev/null and b/keepassxc-browser/icons/keepassxc_96x96.png differ diff --git a/keepassxc-browser/manifest.json b/keepassxc-browser/manifest.json index a9431d9..943d111 100755 --- a/keepassxc-browser/manifest.json +++ b/keepassxc-browser/manifest.json @@ -1,21 +1,24 @@ { "manifest_version": 2, "name": "KeePassXC-Browser", - "version": "1.3.3", - "version_name": "1.3.3", + "version": "1.4.0", + "version_name": "1.4.0", "description": "__MSG_extensionDescription__", "author": "KeePassXC Team", "icons": { "16": "icons/keepassxc_16x16.png", "48": "icons/keepassxc_48x48.png", - "64": "icons/keepassxc_48x48.png", + "64": "icons/keepassxc_64x64.png", + "96": "icons/keepassxc_96x96.png", "128": "icons/keepassxc_128x128.png" }, "browser_action": { "default_icon": { "16": "icons/keepassxc_16x16.png", + "18": "icons/keepassxc_18x18.png", "19": "icons/keepassxc_19x19.png", "32": "icons/keepassxc_32x32.png", + "36": "icons/keepassxc_36x36.png", "38": "icons/keepassxc_38x38.png", "64": "icons/keepassxc_64x64.png" }, diff --git a/package-lock.json b/package-lock.json index c0a988d..d6de9eb 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { - "name": "keepassxc-browser", - "version": "1.3.2", + "name": "KeePassXC-Browser", + "version": "1.3.3", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 6505eb2..f31273c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "KeePassXC-Browser", - "version": "1.3.2", + "version": "1.3.3", "description": "KeePassXC-Browser", "main": "build.js", "dependencies": {},