From 0a070ac6ed55ed69cd2e7f5e6dedd10a21f6fdef Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Wed, 9 Mar 2022 11:22:29 +0000 Subject: [PATCH 1/5] Add copy variant for image-specific "copy link address" (#328) --- src/i18n/strings/en_EN.json | 1 + src/webcontents-handler.ts | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/i18n/strings/en_EN.json b/src/i18n/strings/en_EN.json index b5a97fc225..0f193de4b7 100644 --- a/src/i18n/strings/en_EN.json +++ b/src/i18n/strings/en_EN.json @@ -38,6 +38,7 @@ "File": "File", "Copy image": "Copy image", "Copy email address": "Copy email address", + "Copy image address": "Copy image address", "Copy link address": "Copy link address", "Save image as...": "Save image as...", "Failed to save image": "Failed to save image", diff --git a/src/webcontents-handler.ts b/src/webcontents-handler.ts index ee7e6bbad3..f8c7ddc3c4 100644 --- a/src/webcontents-handler.ts +++ b/src/webcontents-handler.ts @@ -125,7 +125,9 @@ function onLinkContextMenu(ev: Event, params: ContextMenuParams, webContents: We })); } else { popupMenu.append(new MenuItem({ - label: _t('Copy link address'), + label: params.hasImageContents + ? _t('Copy image address') + : _t('Copy link address'), accelerator: 'a', click() { clipboard.writeText(url); From cf6140ac40d2c0a476bbcddf2ffa01d2f69cbe92 Mon Sep 17 00:00:00 2001 From: Element Translate Bot Date: Tue, 22 Mar 2022 16:36:36 +0100 Subject: [PATCH 2/5] Translations update from Weblate (#329) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Dinh Quang Tuyen Co-authored-by: Travis Ralston Co-authored-by: James Salter Co-authored-by: Weblate Co-authored-by: Fjoerfoks Co-authored-by: m1chj <8hm0nutuhsa9@opayq.com> Co-authored-by: SiderealArt Co-authored-by: Tomas Co-authored-by: Erkin Alp Güney Co-authored-by: Vulcan Co-authored-by: Linerly Co-authored-by: Bjørn I.Svindseth Co-authored-by: Jozef Gaal Co-authored-by: Bui Minh Duc Co-authored-by: Sveinn í Felli Co-authored-by: Eshagh Co-authored-by: Ben Parsons Co-authored-by: lvre <7uu3qrbvm@relay.firefox.com> Co-authored-by: Priit Jõerüüt Co-authored-by: random Co-authored-by: Szimszon Co-authored-by: libexus Co-authored-by: Nikita Epifanov Co-authored-by: iaiz --- src/i18n/strings/de.json | 5 ++-- src/i18n/strings/es.json | 3 ++- src/i18n/strings/et.json | 3 ++- src/i18n/strings/fa.json | 47 +++++++++++++++++++++++++++++++++++++ src/i18n/strings/hu.json | 3 ++- src/i18n/strings/id.json | 3 ++- src/i18n/strings/it.json | 3 ++- src/i18n/strings/pt_BR.json | 3 ++- src/i18n/strings/ru.json | 3 ++- src/i18n/strings/sk.json | 3 ++- 10 files changed, 66 insertions(+), 10 deletions(-) create mode 100644 src/i18n/strings/fa.json diff --git a/src/i18n/strings/de.json b/src/i18n/strings/de.json index b229ea761d..b2a4a49d2b 100644 --- a/src/i18n/strings/de.json +++ b/src/i18n/strings/de.json @@ -26,7 +26,7 @@ "Window": "Fenster", "Toggle Developer Tools": "Developer-Tools an/aus", "Toggle Full Screen": "Vollbildschirm an/aus", - "Preferences": "Einstellungen", + "Preferences": "Präferenzen", "Zoom Out": "Verkleinern", "Zoom In": "Vergrößern", "Actual Size": "Tatsächliche Größe", @@ -42,5 +42,6 @@ "Quit": "Beenden", "Show/Hide": "Anzeigen/Ausblenden", "Close Element": "Element schließen", - "Cancel": "Abbrechen" + "Cancel": "Abbrechen", + "Copy image address": "Bild-Adresse kopieren" } diff --git a/src/i18n/strings/es.json b/src/i18n/strings/es.json index 14a09f9be4..e6c23eab1f 100644 --- a/src/i18n/strings/es.json +++ b/src/i18n/strings/es.json @@ -42,5 +42,6 @@ "Show/Hide": "Ver/Ocultar", "Are you sure you want to quit?": "¿Quieres salir?", "Close Element": "Cerrar Element", - "Cancel": "Cancelar" + "Cancel": "Cancelar", + "Copy image address": "Copiar dirección de la imagen" } diff --git a/src/i18n/strings/et.json b/src/i18n/strings/et.json index 9d4c811cc6..2d2b8f62d4 100644 --- a/src/i18n/strings/et.json +++ b/src/i18n/strings/et.json @@ -42,5 +42,6 @@ "Show/Hide": "Näita/peida", "Are you sure you want to quit?": "Kas sa kindlasti soovid rakendusest väljuda?", "Close Element": "Sulge Element", - "Cancel": "Tühista" + "Cancel": "Tühista", + "Copy image address": "Kopeeri pildi aadress" } diff --git a/src/i18n/strings/fa.json b/src/i18n/strings/fa.json new file mode 100644 index 0000000000..51ebe156f7 --- /dev/null +++ b/src/i18n/strings/fa.json @@ -0,0 +1,47 @@ +{ + "Paste and Match Style": "جای‌گذاری و تطبیق سَبک", + "Add to dictionary": "افزودن به لغت‌نامه", + "The image failed to save": "تصویر ذخیره نشد", + "Failed to save image": "ذخیرهٔ تصویر شکست خورد", + "Save image as...": "ذخیرهٔ تصویر به عنوان...", + "Copy link address": "رونوشت نشانی پیوند", + "Copy image address": "رونوشت نشانی تصویر", + "Copy email address": "رونوشت نشانی رایانامه", + "Copy image": "رونوشت تصویر", + "File": "پرونده", + "Bring All to Front": "همه را به جلو بیاورید", + "Zoom": "بزرگنمایی", + "Speech": "صحبت کردن", + "Stop Speaking": "صحبت کردن را تمام کنید", + "Start Speaking": "صحبت کردن را شروع کنید", + "Unhide": "آشکار", + "Hide Others": "پنهان کردن دیگران", + "Hide": "پنهان", + "Services": "خدمات", + "About": "درباره", + "Element Help": "راهنمای المنت", + "Help": "راهنما", + "Close": "بستن", + "Minimize": "کمینه", + "Window": "پنجره", + "Toggle Developer Tools": "تغییر وضعیت ابزارهای توسعه‌دهنده", + "Toggle Full Screen": "تغییر وضعیت تمام‌صفحه", + "Preferences": "ترجیحات", + "Zoom Out": "بزرگنمایی به خارج", + "Zoom In": "بزرگنمایی به داخل", + "Actual Size": "اندازهٔ واقعی", + "View": "دیدن", + "Select All": "گزینش همه", + "Delete": "حذف", + "Paste": "جای‌گذاری", + "Copy": "رونوشت", + "Cut": "برش", + "Redo": "انجام دوباره", + "Undo": "بازگردانی", + "Edit": "ویرایش", + "Quit": "خروج", + "Show/Hide": "نمایش/پنهان", + "Are you sure you want to quit?": "آیا مطمئنید که می‌خواهید خارج شوید؟", + "Close Element": "بستن المنت", + "Cancel": "لغو" +} diff --git a/src/i18n/strings/hu.json b/src/i18n/strings/hu.json index 4510ab7b9b..e28bbc58f0 100644 --- a/src/i18n/strings/hu.json +++ b/src/i18n/strings/hu.json @@ -42,5 +42,6 @@ "Show/Hide": "Megmutat/Elrejt", "Are you sure you want to quit?": "Biztos, hogy kilép?", "Close Element": "Element bezárása", - "Cancel": "Mégsem" + "Cancel": "Mégsem", + "Copy image address": "Kép címének másolása" } diff --git a/src/i18n/strings/id.json b/src/i18n/strings/id.json index 9335b8b9f0..371ca137d3 100644 --- a/src/i18n/strings/id.json +++ b/src/i18n/strings/id.json @@ -42,5 +42,6 @@ "Show/Hide": "Tampilkan/Sembunyikan", "Are you sure you want to quit?": "Apakah Anda yakin ingin keluar?", "Close Element": "Tutup Element", - "Cancel": "Batal" + "Cancel": "Batal", + "Copy image address": "Salin alamat gambar" } diff --git a/src/i18n/strings/it.json b/src/i18n/strings/it.json index aee865e6ec..9f23254ff7 100644 --- a/src/i18n/strings/it.json +++ b/src/i18n/strings/it.json @@ -42,5 +42,6 @@ "Close Element": "Chiudi Element", "Cancel": "Annulla", "Stop Speaking": "Smetti di parlare", - "Speech": "Dettatura" + "Speech": "Dettatura", + "Copy image address": "Copia indirizzo immagine" } diff --git a/src/i18n/strings/pt_BR.json b/src/i18n/strings/pt_BR.json index c3d087fd70..ca50216bc9 100644 --- a/src/i18n/strings/pt_BR.json +++ b/src/i18n/strings/pt_BR.json @@ -42,5 +42,6 @@ "Close Element": "Fechar Element", "Cancel": "Cancelar", "Bring All to Front": "Trazer Todas Para Frente", - "Hide Others": "Esconder Outras(os)" + "Hide Others": "Esconder Outras(os)", + "Copy image address": "Copiar endereço de imagem" } diff --git a/src/i18n/strings/ru.json b/src/i18n/strings/ru.json index fa8548f77d..c3200b5ed9 100644 --- a/src/i18n/strings/ru.json +++ b/src/i18n/strings/ru.json @@ -42,5 +42,6 @@ "Start Speaking": "Говорите", "Speech": "Голос", "Hide Others": "Скрыть прочие", - "Paste and Match Style": "Вставить с тем же стилем" + "Paste and Match Style": "Вставить с тем же стилем", + "Copy image address": "Копировать адрес изображения" } diff --git a/src/i18n/strings/sk.json b/src/i18n/strings/sk.json index 36e1f19891..73e66907be 100644 --- a/src/i18n/strings/sk.json +++ b/src/i18n/strings/sk.json @@ -42,5 +42,6 @@ "Quit": "Ukončiť", "Show/Hide": "Zobraziť/Skryť", "Are you sure you want to quit?": "Naozaj chcete zavrieť aplikáciu?", - "Cancel": "Zrušiť" + "Cancel": "Zrušiť", + "Copy image address": "Kopírovať adresu obrázka" } From d8de60e17b21f8f5a522a7b0f9123b6a75cb984f Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Fri, 25 Mar 2022 10:34:27 +0000 Subject: [PATCH 3/5] Update Posthog URLs (#330) --- element.io/nightly/config.json | 2 +- element.io/release/config.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/element.io/nightly/config.json b/element.io/nightly/config.json index a6c3beb26e..2ae0aaaddc 100644 --- a/element.io/nightly/config.json +++ b/element.io/nightly/config.json @@ -47,7 +47,7 @@ }, "posthog": { "projectApiKey": "phc_Jzsm6DTm6V2705zeU5dcNvQDlonOR68XvX2sh1sEOHO", - "apiHost": "https://posthog.hss.element.io" + "apiHost": "https://posthog.element.io" }, "features": { "feature_spotlight": true diff --git a/element.io/release/config.json b/element.io/release/config.json index b76e2b1472..3135620981 100644 --- a/element.io/release/config.json +++ b/element.io/release/config.json @@ -43,7 +43,7 @@ ], "posthog": { "projectApiKey": "phc_Jzsm6DTm6V2705zeU5dcNvQDlonOR68XvX2sh1sEOHO", - "apiHost": "https://posthog.hss.element.io" + "apiHost": "https://posthog.element.io" }, "map_style_url": "https://api.maptiler.com/maps/streets/style.json?key=fU3vlMsMn4Jb6dnEIFsx" } From 281ecc066295651fc8e537a41cdae6bb36446f44 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 25 Mar 2022 17:26:22 -0600 Subject: [PATCH 4/5] Bump minimist from 1.2.5 to 1.2.6 (#331) Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6. - [Release notes](https://github.com/substack/minimist/releases) - [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6) --- updated-dependencies: - dependency-name: minimist dependency-type: direct:production ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package.json | 2 +- yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 984a9cb501..c176fc3540 100644 --- a/package.json +++ b/package.json @@ -44,7 +44,7 @@ "counterpart": "^0.18.6", "electron-store": "^6.0.1", "electron-window-state": "^5.0.3", - "minimist": "^1.2.3", + "minimist": "^1.2.6", "png-to-ico": "^2.1.1", "request": "^2.88.2" }, diff --git a/yarn.lock b/yarn.lock index b133742df3..afc56627b5 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3855,10 +3855,10 @@ minimatch@^3.0.4: dependencies: brace-expansion "^1.1.7" -minimist@^1.2.0, minimist@^1.2.3, minimist@^1.2.5: - version "1.2.5" - resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.5.tgz#67d66014b66a6a8aaa0c083c5fd58df4e4e97602" - integrity sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw== +minimist@^1.2.0, minimist@^1.2.5, minimist@^1.2.6: + version "1.2.6" + resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.6.tgz#8637a5b759ea0d6e98702cfb3a9283323c93af44" + integrity sha512-Jsjnk4bw3YJqYzbdyBiNsPWHPfO++UGG749Cxs6peCu5Xg4nrena6OVxOYxrQTqww0Jmwt+Ref8rggumkTLz9Q== minipass-collect@^1.0.2: version "1.0.2" From 31b0bc1d064eb1e7df628ff66ca38576ff53928b Mon Sep 17 00:00:00 2001 From: RiotRobot Date: Mon, 28 Mar 2022 16:32:55 +0100 Subject: [PATCH 5/5] v1.10.8 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index c176fc3540..46ee444c37 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "element-desktop", "productName": "Element", "main": "lib/electron-main.js", - "version": "1.10.7", + "version": "1.10.8", "description": "A feature-rich client for Matrix.org", "author": "Element", "repository": {