refactor: use system color for hyperlinks

This commit is contained in:
sithlord48 2025-12-23 09:29:03 -05:00 committed by Nick Bolton
parent 0c440843b0
commit fdb5405e2c
7 changed files with 67 additions and 72 deletions

View file

@ -7,7 +7,6 @@
#include "Messages.h"
#include "Logger.h"
#include "Styles.h"
#include "VersionInfo.h"
#include "common/Enums.h"
@ -42,10 +41,10 @@ void showErrorDialog(const QString &message, const QString &fileLine, QtMsgType
auto errorType = QtFatalMsg ? QObject::tr("fatal error") : QObject::tr("error");
auto title = QStringLiteral("%1 %2").arg(kAppName, errorType);
auto text = QObject::tr(
R"(<p>Please <a href="%1" style="color: %2">report a bug</a>)"
" and copy/paste the following error:</p><pre>v%3\n%4\n%5</pre>"
R"(<p>Please <a href="%1">report a bug</a>)"
" and copy/paste the following error:</p><pre>v%2\n%3\n%4</pre>"
)
.arg(kUrlHelp, kColorSecondary, kVersion, message, fileLine);
.arg(kUrlHelp, kVersion, message, fileLine);
if (type == QtFatalMsg) {
text.prepend(QObject::tr("<p>Sorry, a fatal error has occurred and the application must now exit.</p>\n"));
@ -122,9 +121,9 @@ void showCloseReminder(QWidget *parent)
message.append(
QObject::tr(
"<p>On Linux systems using GNOME 3, the notification area might be disabled. "
R"(You may need to <a href="%1" %2>enable an extension</a> to see the %3 tray icon.</p>)"
R"(You may need to <a href="%1">enable an extension</a> to see the %2 tray icon.</p>)"
)
.arg(kUrlGnomeTrayFix, kStyleLink, kAppName)
.arg(kUrlGnomeTrayFix, kAppName)
);
#endif
@ -292,10 +291,10 @@ void showWaylandLibraryError(QWidget *parent)
"<p>Please either switch to X from your login screen or use a build "
"that uses the correct libraries.</p>"
"<p>If you think this is incorrect, please "
R"(<a href="%2" style="color: %3">report a bug</a>.</p>)"
R"(<a href="%2">report a bug</a>.</p>)"
"<p>Please check the logs for more information.</p>"
)
.arg(kAppName, kUrlHelp, kColorSecondary)
.arg(kAppName, kUrlHelp)
);
}

View file

@ -10,12 +10,8 @@
namespace deskflow::gui {
const auto kColorSecondary = "#4285f4";
const auto kColorError = "#ec4c47";
const auto kStyleLink = //
QStringLiteral("color: %1").arg(kColorSecondary);
const auto kStyleLineEditErrorBorder =
QStringLiteral("border: 1px solid %1; border-radius: 2px; padding: 2px;").arg(kColorError);

View file

@ -559,14 +559,6 @@ Nombres válidos:
<source>error</source>
<translation type="unfinished">error</translation>
</message>
<message>
<source>&lt;p&gt;Please &lt;a href=&quot;%1&quot; style=&quot;color: %2&quot;&gt;report a bug&lt;/a&gt; and copy/paste the following error:&lt;/p&gt;&lt;pre&gt;v%3
%4
%5&lt;/pre&gt;</source>
<translation type="unfinished">&lt;p&gt;Por favor, &lt;a href=&quot;%1&quot; style=&quot;color: %2&quot;&gt;informa de un error&lt;/a&gt; y copia y pega el siguiente error:&lt;/p&gt;&lt;pre&gt;v%3
%4
%5&lt;/pre&gt;</translation>
</message>
<message>
<source>&lt;p&gt;Sorry, a fatal error has occurred and the application must now exit.&lt;/p&gt;
</source>
@ -584,8 +576,16 @@ Nombres válidos:
<translation type="unfinished">&lt;p&gt;%1 seguirá ejecutándose en segundo plano y se podrá acceder a él mediante el icono %1 en el área de notificaciones del sistema. Esta configuración se puede desactivar.&lt;/p&gt;</translation>
</message>
<message>
<source>&lt;p&gt;On Linux systems using GNOME 3, the notification area might be disabled. You may need to &lt;a href=&quot;%1&quot; %2&gt;enable an extension&lt;/a&gt; to see the %3 tray icon.&lt;/p&gt;</source>
<translation type="unfinished">&lt;p&gt;En sistemas Linux que usan GNOME 3, el área de notificaciones podría estar deshabilitada. Quizás necesite &lt;a href=&quot;%1&quot; %2&gt;habilitar una extensión&lt;/a&gt; para ver el icono de la bandeja %3.&lt;/p&gt;</translation>
<source>&lt;p&gt;Please &lt;a href=&quot;%1&quot;&gt;report a bug&lt;/a&gt; and copy/paste the following error:&lt;/p&gt;&lt;pre&gt;v%2
%3
%4&lt;/pre&gt;</source>
<translation>&lt;p&gt;Por favor, &lt;a href=&quot;%1&quot;&gt;informa de un error&lt;/a&gt; y copia y pega el siguiente error:&lt;/p&gt;&lt;pre&gt;v%2
%3
%4&lt;/pre&gt;</translation>
</message>
<message>
<source>&lt;p&gt;On Linux systems using GNOME 3, the notification area might be disabled. You may need to &lt;a href=&quot;%1&quot;&gt;enable an extension&lt;/a&gt; to see the %2 tray icon.&lt;/p&gt;</source>
<translation>&lt;p&gt;En sistemas Linux que usan GNOME 3, el área de notificaciones podría estar deshabilitada. Quizás necesite &lt;a href=&quot;%1&quot;&gt;habilitar una extensión&lt;/a&gt; para ver el icono de la bandeja %2.&lt;/p&gt;</translation>
</message>
<message>
<source>%1 Server</source>
@ -680,8 +680,8 @@ Nombres válidos:
<translation type="unfinished">&lt;p&gt;Las configuraciones son de solo lectura porque solo tiene acceso de lectura al archivo:&lt;/p&gt;&lt;p&gt;%1&lt;/p&gt;</translation>
</message>
<message>
<source>&lt;p&gt;Sorry, while this version of %1 does support Wayland, this build was not linked with one or more of the required libraries.&lt;/p&gt;&lt;p&gt;Please either switch to X from your login screen or use a build that uses the correct libraries.&lt;/p&gt;&lt;p&gt;If you think this is incorrect, please &lt;a href=&quot;%2&quot; style=&quot;color: %3&quot;&gt;report a bug&lt;/a&gt;.&lt;/p&gt;&lt;p&gt;Please check the logs for more information.&lt;/p&gt;</source>
<translation type="unfinished">&lt;p&gt;Lo sentimos, aunque esta versión de %1 es compatible con Wayland, esta compilación no se vinculó con una o más de las bibliotecas requeridas.&lt;/p&gt;&lt;p&gt;Cambie a X desde su pantalla de inicio de sesión o use una compilación que use las bibliotecas correctas.&lt;/p&gt;&lt;p&gt;Si cree que esto es incorrecto, &lt;a href=&quot;%2&quot; style=&quot;color: %3&quot;&gt;informe un error&lt;/a&gt;.&lt;/p&gt;&lt;p&gt;Consulte los registros para obtener más información.&lt;/p&gt;</translation>
<source>&lt;p&gt;Sorry, while this version of %1 does support Wayland, this build was not linked with one or more of the required libraries.&lt;/p&gt;&lt;p&gt;Please either switch to X from your login screen or use a build that uses the correct libraries.&lt;/p&gt;&lt;p&gt;If you think this is incorrect, please &lt;a href=&quot;%2&quot;&gt;report a bug&lt;/a&gt;.&lt;/p&gt;&lt;p&gt;Please check the logs for more information.&lt;/p&gt;</source>
<translation>&lt;p&gt;Lo sentimos, aunque esta versión de %1 es compatible con Wayland, esta compilación no se vinculó con una o más de las bibliotecas requeridas.&lt;/p&gt;&lt;p&gt;Cambie a X desde su pantalla de inicio de sesión o use una compilación que use las bibliotecas correctas.&lt;/p&gt;&lt;p&gt;Si cree que esto es incorrecto, &lt;a href=&quot;%2&quot;&gt;informe un error&lt;/a&gt;.&lt;/p&gt;&lt;p&gt;Consulte los registros para obtener más información.&lt;/p&gt;</translation>
</message>
<message>
<source>No thanks</source>

View file

@ -559,14 +559,6 @@ Nomi validi:
<source>error</source>
<translation>errore</translation>
</message>
<message>
<source>&lt;p&gt;Please &lt;a href=&quot;%1&quot; style=&quot;color: %2&quot;&gt;report a bug&lt;/a&gt; and copy/paste the following error:&lt;/p&gt;&lt;pre&gt;v%3
%4
%5&lt;/pre&gt;</source>
<translation>&lt;p&gt;Per favore &lt;a href=&quot;%1&quot; style=&quot;color: %2&quot;&gt;segnala un bug&lt;/a&gt; e copia/incolla il seguente errore:&lt;/p&gt;&lt;pre&gt;v%3
%4
%5&lt;/pre&gt;</translation>
</message>
<message>
<source>&lt;p&gt;Sorry, a fatal error has occurred and the application must now exit.&lt;/p&gt;
</source>
@ -584,8 +576,16 @@ Nomi validi:
<translation>&lt;p&gt;%1 continuerà a essere eseguito in background e sarà accessibile tramite l&apos;icona %1 nell&apos;area di notifica del sistema. Questa impostazione può essere disabilitata.&lt;/p&gt;</translation>
</message>
<message>
<source>&lt;p&gt;On Linux systems using GNOME 3, the notification area might be disabled. You may need to &lt;a href=&quot;%1&quot; %2&gt;enable an extension&lt;/a&gt; to see the %3 tray icon.&lt;/p&gt;</source>
<translation>&lt;p&gt;Sui sistemi Linux che utilizzano GNOME 3, l&apos;area di notifica potrebbe essere disabilitata. Potrebbe essere necessario &lt;a href=&quot;%1&quot; %2&gt;abilitare un&apos;estensione&lt;/a&gt; per visualizzare l&apos;icona del vassoio %3.&lt;/p&gt;</translation>
<source>&lt;p&gt;Please &lt;a href=&quot;%1&quot;&gt;report a bug&lt;/a&gt; and copy/paste the following error:&lt;/p&gt;&lt;pre&gt;v%2
%3
%4&lt;/pre&gt;</source>
<translation>&lt;p&gt;Per favore &lt;a href=&quot;%1&quot;&gt;segnala un bug&lt;/a&gt; e copia/incolla il seguente errore:&lt;/p&gt;&lt;pre&gt;v%2
%3
%4&lt;/pre&gt;</translation>
</message>
<message>
<source>&lt;p&gt;On Linux systems using GNOME 3, the notification area might be disabled. You may need to &lt;a href=&quot;%1&quot;&gt;enable an extension&lt;/a&gt; to see the %2 tray icon.&lt;/p&gt;</source>
<translation>&lt;p&gt;Sui sistemi Linux che utilizzano GNOME 3, l&apos;area di notifica potrebbe essere disabilitata. Potrebbe essere necessario &lt;a href=&quot;%1&quot;&gt;abilitare un&apos;estensione&lt;/a&gt; per visualizzare l&apos;icona del vassoio %2.&lt;/p&gt;</translation>
</message>
<message>
<source>%1 Server</source>
@ -680,8 +680,8 @@ Nomi validi:
<translation>&lt;p&gt;Le impostazioni sono di sola lettura perché hai solo accesso in lettura al file:&lt;/p&gt;&lt;p&gt;%1&lt;/p&gt;</translation>
</message>
<message>
<source>&lt;p&gt;Sorry, while this version of %1 does support Wayland, this build was not linked with one or more of the required libraries.&lt;/p&gt;&lt;p&gt;Please either switch to X from your login screen or use a build that uses the correct libraries.&lt;/p&gt;&lt;p&gt;If you think this is incorrect, please &lt;a href=&quot;%2&quot; style=&quot;color: %3&quot;&gt;report a bug&lt;/a&gt;.&lt;/p&gt;&lt;p&gt;Please check the logs for more information.&lt;/p&gt;</source>
<translation>&lt;p&gt;Siamo spiacenti, sebbene questa versione di %1 supporti Wayland, questa build non è stata collegata a una o più librerie richieste.&lt;/p&gt;&lt;p&gt;Passa a X dalla schermata di accesso o usa una build che utilizzi le librerie corrette.&lt;/p&gt;&lt;p&gt;Se ritieni che ciò sia errato, &lt;a href=&quot;%2&quot; style=&quot;color: %3&quot;&gt;segnala un bug&lt;/a&gt;.&lt;/p&gt;&lt;p&gt;Controlla i log per maggiori informazioni.&lt;/p&gt;</translation>
<source>&lt;p&gt;Sorry, while this version of %1 does support Wayland, this build was not linked with one or more of the required libraries.&lt;/p&gt;&lt;p&gt;Please either switch to X from your login screen or use a build that uses the correct libraries.&lt;/p&gt;&lt;p&gt;If you think this is incorrect, please &lt;a href=&quot;%2&quot;&gt;report a bug&lt;/a&gt;.&lt;/p&gt;&lt;p&gt;Please check the logs for more information.&lt;/p&gt;</source>
<translation>&lt;p&gt;Siamo spiacenti, sebbene questa versione di %1 supporti Wayland, questa build non è stata collegata a una o più librerie richieste.&lt;/p&gt;&lt;p&gt;Passa a X dalla schermata di accesso o usa una build che utilizzi le librerie corrette.&lt;/p&gt;&lt;p&gt;Se ritieni che ciò sia errato, &lt;a href=&quot;%2&quot;&gt;segnala un bug&lt;/a&gt;.&lt;/p&gt;&lt;p&gt;Controlla i log per maggiori informazioni.&lt;/p&gt;</translation>
</message>
<message>
<source>No thanks</source>

View file

@ -558,14 +558,6 @@ Valid names:
<source>error</source>
<translation>エラー</translation>
</message>
<message>
<source>&lt;p&gt;Please &lt;a href=&quot;%1&quot; style=&quot;color: %2&quot;&gt;report a bug&lt;/a&gt; and copy/paste the following error:&lt;/p&gt;&lt;pre&gt;v%3
%4
%5&lt;/pre&gt;</source>
<translation>&lt;p&gt;&lt;a href=&quot;%1&quot; style=&quot;color: %2&quot;&gt;バグレポート&lt;/a&gt;して以下のエラーをコピー&ペーストしてください:&lt;/p&gt;&lt;pre&gt;v%3
%4
%5&lt;/pre&gt;</translation>
</message>
<message>
<source>&lt;p&gt;Sorry, a fatal error has occurred and the application must now exit.&lt;/p&gt;
</source>
@ -585,8 +577,16 @@ Valid names:
<translation>&lt;p&gt;%1 はバックグラウンドで引き続き実行され、システム通知領域の %1 アイコンからアクセスできます。この設定は無効にできます。&lt;/p&gt;</translation>
</message>
<message>
<source>&lt;p&gt;On Linux systems using GNOME 3, the notification area might be disabled. You may need to &lt;a href=&quot;%1&quot; %2&gt;enable an extension&lt;/a&gt; to see the %3 tray icon.&lt;/p&gt;</source>
<translation>&lt;p&gt;GNOME 3 を使用している Linux システムでは、通知領域が無効化されていることがあります。その場合は %3 トレイアイコンを表示するために&lt;a href=&quot;%1&quot; %2&gt;拡張機能の有効化&lt;/a&gt;が必要かもしれません。&lt;/p&gt;</translation>
<source>&lt;p&gt;Please &lt;a href=&quot;%1&quot;&gt;report a bug&lt;/a&gt; and copy/paste the following error:&lt;/p&gt;&lt;pre&gt;v%2
%3
%4&lt;/pre&gt;</source>
<translation>&lt;p&gt;&lt;a href=&quot;%1&quot;&gt;バグレポート&lt;/a&gt;して以下のエラーをコピー&ペーストしてください:&lt;/p&gt;&lt;pre&gt;v%2
%3
%4&lt;/pre&gt;</translation>
</message>
<message>
<source>&lt;p&gt;On Linux systems using GNOME 3, the notification area might be disabled. You may need to &lt;a href=&quot;%1&quot;&gt;enable an extension&lt;/a&gt; to see the %2 tray icon.&lt;/p&gt;</source>
<translation>&lt;p&gt;GNOME 3 を使用している Linux システムでは、通知領域が無効化されていることがあります。その場合は %2 トレイアイコンを表示するために&lt;a href=&quot;%1&quot;&gt;拡張機能の有効化&lt;/a&gt;が必要かもしれません。&lt;/p&gt;</translation>
</message>
<message>
<source>%1 Server</source>
@ -681,8 +681,8 @@ Valid names:
<translation>&lt;p&gt;以下のファイルへの書き込み権限がないため、設定は読み取り専用です:&lt;/p&gt;&lt;p&gt;%1&lt;/p&gt;</translation>
</message>
<message>
<source>&lt;p&gt;Sorry, while this version of %1 does support Wayland, this build was not linked with one or more of the required libraries.&lt;/p&gt;&lt;p&gt;Please either switch to X from your login screen or use a build that uses the correct libraries.&lt;/p&gt;&lt;p&gt;If you think this is incorrect, please &lt;a href=&quot;%2&quot; style=&quot;color: %3&quot;&gt;report a bug&lt;/a&gt;.&lt;/p&gt;&lt;p&gt;Please check the logs for more information.&lt;/p&gt;</source>
<translation>&lt;p&gt;申し訳ありません、このバージョンの %1 は Wayland に対応していますが、このビルドには必要なライブラリがリンクされていません。&lt;/p&gt;&lt;p&gt;ログイン画面から X に切り替えるか、正しいライブラリをリンクしたビルドを使用してください。&lt;/p&gt;&lt;p&gt;もしこの説明が正しくないと思われる場合は、&lt;a href=&quot;%2&quot; style=&quot;color: %3&quot;&gt;バグレポート&lt;/a&gt;してください。&lt;/p&gt;&lt;p&gt;詳細はログを確認してください。&lt;/p&gt;</translation>
<source>&lt;p&gt;Sorry, while this version of %1 does support Wayland, this build was not linked with one or more of the required libraries.&lt;/p&gt;&lt;p&gt;Please either switch to X from your login screen or use a build that uses the correct libraries.&lt;/p&gt;&lt;p&gt;If you think this is incorrect, please &lt;a href=&quot;%2&quot;&gt;report a bug&lt;/a&gt;.&lt;/p&gt;&lt;p&gt;Please check the logs for more information.&lt;/p&gt;</source>
<translation>&lt;p&gt;申し訳ありません、このバージョンの %1 は Wayland に対応していますが、このビルドには必要なライブラリがリンクされていません。&lt;/p&gt;&lt;p&gt;ログイン画面から X に切り替えるか、正しいライブラリをリンクしたビルドを使用してください。&lt;/p&gt;&lt;p&gt;もしこの説明が正しくないと思われる場合は、&lt;a href=&quot;%2&quot;&gt;バグレポート&lt;/a&gt;してください。&lt;/p&gt;&lt;p&gt;詳細はログを確認してください。&lt;/p&gt;</translation>
</message>
<message>
<source>No thanks</source>

View file

@ -562,14 +562,6 @@ Valid names:
<source>error</source>
<translation>ошибка</translation>
</message>
<message>
<source>&lt;p&gt;Please &lt;a href=&quot;%1&quot; style=&quot;color: %2&quot;&gt;report a bug&lt;/a&gt; and copy/paste the following error:&lt;/p&gt;&lt;pre&gt;v%3
%4
%5&lt;/pre&gt;</source>
<translation>&lt;p&gt;Пожалуйста &lt;a href=&quot;%1&quot; style=&quot;color: %2&quot;&gt;сообщите об ошибке&lt;/a&gt;и скопируйте/вставьте следующее сообщение об ошибке:&lt;/p&gt;&lt;pre&gt;v%3
%4
%5&lt;/pre&gt;</translation>
</message>
<message>
<source>&lt;p&gt;Sorry, a fatal error has occurred and the application must now exit.&lt;/p&gt;
</source>
@ -587,8 +579,16 @@ Valid names:
<translation>&lt;p&gt;%1 продолжит работу в фоновом режиме и может быть развернуто через %1 иконку на вашей панели уведомлений. Эту настройку можно отключить.&lt;/p&gt;</translation>
</message>
<message>
<source>&lt;p&gt;On Linux systems using GNOME 3, the notification area might be disabled. You may need to &lt;a href=&quot;%1&quot; %2&gt;enable an extension&lt;/a&gt; to see the %3 tray icon.&lt;/p&gt;</source>
<translation>&lt;p&gt;На Linux (пингвинчики) системах, использующих GNOME 3, панель уведомлений может быть отключена. Вам может понадобиться &lt;a href=&quot;%1&quot; %2&gt;подключить расширение&lt;/a&gt;, чтобы увидеть %3 иконку.&lt;/p&gt;</translation>
<source>&lt;p&gt;Please &lt;a href=&quot;%1&quot;&gt;report a bug&lt;/a&gt; and copy/paste the following error:&lt;/p&gt;&lt;pre&gt;v%2
%3
%4&lt;/pre&gt;</source>
<translation>&lt;p&gt;Пожалуйста &lt;a href=&quot;%1&quot;&gt;сообщите об ошибке&lt;/a&gt;и скопируйте/вставьте следующее сообщение об ошибке:&lt;/p&gt;&lt;pre&gt;v%2
%3
%4&lt;/pre&gt;</translation>
</message>
<message>
<source>&lt;p&gt;On Linux systems using GNOME 3, the notification area might be disabled. You may need to &lt;a href=&quot;%1&quot;&gt;enable an extension&lt;/a&gt; to see the %2 tray icon.&lt;/p&gt;</source>
<translation>&lt;p&gt;На Linux (пингвинчики) системах, использующих GNOME 3, панель уведомлений может быть отключена. Вам может понадобиться &lt;a href=&quot;%1&quot;&gt;подключить расширение&lt;/a&gt;, чтобы увидеть %2 иконку.&lt;/p&gt;</translation>
</message>
<message>
<source>%1 Server</source>
@ -683,8 +683,8 @@ Valid names:
<translation>&lt;p&gt;Вам разрешено только чтение настроек из-за ограничения доступа к файлу:&lt;/p&gt;&lt;p&gt;%1&lt;/p&gt;</translation>
</message>
<message>
<source>&lt;p&gt;Sorry, while this version of %1 does support Wayland, this build was not linked with one or more of the required libraries.&lt;/p&gt;&lt;p&gt;Please either switch to X from your login screen or use a build that uses the correct libraries.&lt;/p&gt;&lt;p&gt;If you think this is incorrect, please &lt;a href=&quot;%2&quot; style=&quot;color: %3&quot;&gt;report a bug&lt;/a&gt;.&lt;/p&gt;&lt;p&gt;Please check the logs for more information.&lt;/p&gt;</source>
<translation>&lt;p&gt;Извините, пока эта версия %1 поддерживает Wayland, эта сборка не связана с одной или несколькими необходимыми библиотеками.&lt;/p&gt;&lt;p&gt;Пожалуйста, либо перейдите в X, либо используйте сборку, которая поддерживает необходимые библиотеки.&lt;/p&gt;&lt;p&gt;Если Вы считаете, что это не работает, пожалуйста &lt;a href=&quot;%2&quot; style=&quot;color: %3&quot;&gt;сообщите о баге&lt;/a&gt;.&lt;/p&gt;&lt;p&gt;Проверьте лог для большей информации.&lt;/p&gt;</translation>
<source>&lt;p&gt;Sorry, while this version of %1 does support Wayland, this build was not linked with one or more of the required libraries.&lt;/p&gt;&lt;p&gt;Please either switch to X from your login screen or use a build that uses the correct libraries.&lt;/p&gt;&lt;p&gt;If you think this is incorrect, please &lt;a href=&quot;%2&quot;&gt;report a bug&lt;/a&gt;.&lt;/p&gt;&lt;p&gt;Please check the logs for more information.&lt;/p&gt;</source>
<translation>&lt;p&gt;Извините, пока эта версия %1 поддерживает Wayland, эта сборка не связана с одной или несколькими необходимыми библиотеками.&lt;/p&gt;&lt;p&gt;Пожалуйста, либо перейдите в X, либо используйте сборку, которая поддерживает необходимые библиотеки.&lt;/p&gt;&lt;p&gt;Если Вы считаете, что это не работает, пожалуйста &lt;a href=&quot;%2&quot;&gt;сообщите о баге&lt;/a&gt;.&lt;/p&gt;&lt;p&gt;Проверьте лог для большей информации.&lt;/p&gt;</translation>
</message>
<message>
<source>No thanks</source>

View file

@ -558,14 +558,6 @@ Valid names:
<source>error</source>
<translation>错误</translation>
</message>
<message>
<source>&lt;p&gt;Please &lt;a href=&quot;%1&quot; style=&quot;color: %2&quot;&gt;report a bug&lt;/a&gt; and copy/paste the following error:&lt;/p&gt;&lt;pre&gt;v%3
%4
%5&lt;/pre&gt;</source>
<translation>&lt;p&gt;请 &lt;a href=&quot;%1&quot; style=&quot;color: %2&quot;&gt;报告 Bug&lt;/a&gt; 并复制/粘贴以下错误:&lt;/p&gt;&lt;pre&gt;v%3
%4
%5&lt;/pre&gt;</translation>
</message>
<message>
<source>&lt;p&gt;Sorry, a fatal error has occurred and the application must now exit.&lt;/p&gt;
</source>
@ -585,8 +577,16 @@ Valid names:
<translation>&lt;p&gt;%1 将在后台继续运行,可通过系统通知区域的 %1 图标访问。此设置可以禁用。&lt;/p&gt;</translation>
</message>
<message>
<source>&lt;p&gt;On Linux systems using GNOME 3, the notification area might be disabled. You may need to &lt;a href=&quot;%1&quot; %2&gt;enable an extension&lt;/a&gt; to see the %3 tray icon.&lt;/p&gt;</source>
<translation>&lt;p&gt;在使用 GNOME 3 的 Linux 系统上,通知区域可能被禁用。您可能需要 &lt;a href=&quot;%1&quot; %2&gt;启用扩展&lt;/a&gt; 才能看到 %3 托盘图标。&lt;/p&gt;</translation>
<source>&lt;p&gt;Please &lt;a href=&quot;%1&quot;&gt;report a bug&lt;/a&gt; and copy/paste the following error:&lt;/p&gt;&lt;pre&gt;v%2
%3
%4&lt;/pre&gt;</source>
<translation>&lt;p&gt;请 &lt;a href=&quot;%1&quot;&gt;报告 Bug&lt;/a&gt; 并复制/粘贴以下错误:&lt;/p&gt;&lt;pre&gt;v%2
%3
%4&lt;/pre&gt;</translation>
</message>
<message>
<source>&lt;p&gt;On Linux systems using GNOME 3, the notification area might be disabled. You may need to &lt;a href=&quot;%1&quot;&gt;enable an extension&lt;/a&gt; to see the %2 tray icon.&lt;/p&gt;</source>
<translation>&lt;p&gt;在使用 GNOME 3 的 Linux 系统上,通知区域可能被禁用。您可能需要 &lt;a href=&quot;%1&quot;&gt;启用扩展&lt;/a&gt; 才能看到 %2 托盘图标。&lt;/p&gt;</translation>
</message>
<message>
<source>%1 Server</source>
@ -681,8 +681,8 @@ Valid names:
<translation>&lt;p&gt;设置是只读的,因为您对该文件只有读取权限:&lt;/p&gt;&lt;p&gt;%1&lt;/p&gt;</translation>
</message>
<message>
<source>&lt;p&gt;Sorry, while this version of %1 does support Wayland, this build was not linked with one or more of the required libraries.&lt;/p&gt;&lt;p&gt;Please either switch to X from your login screen or use a build that uses the correct libraries.&lt;/p&gt;&lt;p&gt;If you think this is incorrect, please &lt;a href=&quot;%2&quot; style=&quot;color: %3&quot;&gt;report a bug&lt;/a&gt;.&lt;/p&gt;&lt;p&gt;Please check the logs for more information.&lt;/p&gt;</source>
<translation type="unfinished">&lt;p&gt;抱歉,虽然此版本的 %1 支持 Wayland,但此构建版本未链接一个或多个所需的库。&lt;/p&gt;&lt;p&gt;请从登录屏幕切换到 X,或者使用链接了正确库的构建版本。&lt;/p&gt;&lt;p&gt;如果您认为存在问题,请 &lt;a href=&quot;%2&quot; style=&quot;color: %3&quot;&gt;报告 Bug&lt;/a&gt;。&lt;/p&gt;&lt;p&gt;请查看日志以获取更多信息。&lt;/p&gt;</translation>
<source>&lt;p&gt;Sorry, while this version of %1 does support Wayland, this build was not linked with one or more of the required libraries.&lt;/p&gt;&lt;p&gt;Please either switch to X from your login screen or use a build that uses the correct libraries.&lt;/p&gt;&lt;p&gt;If you think this is incorrect, please &lt;a href=&quot;%2&quot;&gt;report a bug&lt;/a&gt;.&lt;/p&gt;&lt;p&gt;Please check the logs for more information.&lt;/p&gt;</source>
<translation>&lt;p&gt;抱歉,虽然此版本的 %1 支持 Wayland,但此构建版本未链接一个或多个所需的库。&lt;/p&gt;&lt;p&gt;请从登录屏幕切换到 X,或者使用链接了正确库的构建版本。&lt;/p&gt;&lt;p&gt;如果您认为存在问题,请 &lt;a href=&quot;%2&quot;&gt;报告 Bug&lt;/a&gt;。&lt;/p&gt;&lt;p&gt;请查看日志以获取更多信息。&lt;/p&gt;</translation>
</message>
<message>
<source>No thanks</source>