Format and translations

This commit is contained in:
Jonathan White 2024-06-16 10:18:11 -04:00
parent 4bae9a40c9
commit b779712d0f
No known key found for this signature in database
GPG Key ID: 440FC65F2E0C6E01
2 changed files with 5 additions and 13 deletions

View File

@ -1186,18 +1186,6 @@ Do you want to overwrite the passkey in %1 - %2?</source>
<source>Custom extension ID</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Due to Snap sandboxing, you must run a script to enable browser integration.&lt;br /&gt;You can obtain this script from %1</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>KeePassXC-Browser is needed for the browser integration to work. &lt;br /&gt;Download it for %1 and %2 and %3. %4</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Please see special instructions for browser extension use below</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Executable Files</source>
<translation type="unfinished"></translation>
@ -1246,6 +1234,10 @@ Do you want to overwrite the passkey in %1 - %2?</source>
<source>Allow using localhost with passkeys</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>KeePassXC-Browser is needed for the browser integration to work. &lt;br /&gt;Download it for %1 and %2 and %3.</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>CloneDialog</name>

View File

@ -230,7 +230,7 @@ QString NativeMessageInstaller::getNativeMessagePath(SupportedBrowsers browser)
// Same as Flatpak above, with the exception that Snap also redefines $HOME
// Therefore we must explicitly reference $SNAP_REAL_HOME
if (browser == SupportedBrowsers::TOR_BROWSER) {
basePath = qEnvironmentVariable("SNAP_REAL_HOME") + "/.local/share";
basePath = qEnvironmentVariable("SNAP_REAL_HOME") + "/.local/share";
} else if (browser == SupportedBrowsers::FIREFOX) {
basePath = qEnvironmentVariable("SNAP_REAL_HOME");
} else {