diff --git a/element.io/nightly/config.json b/element.io/nightly/config.json index a6c3beb26..2ae0aaadd 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 ed96ed134..bf233e5a7 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" } diff --git a/src/webcontents-handler.ts b/src/webcontents-handler.ts index ee7e6bbad..f8c7ddc3c 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); diff --git a/yarn.lock b/yarn.lock index 600ad37f8..1881c34e8 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"