mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-03-01 03:33:52 +08:00
ParamControl dialog: more explicit confirmation text (#26431)
* Use enable * vanish * fill in missing translation * Update selfdrive/ui/translations/main_pt-BR.ts
This commit is contained in:
@@ -144,7 +144,7 @@ public:
|
||||
QObject::connect(this, &ParamControl::toggleFlipped, [=](bool state) {
|
||||
QString content("<body><h2 style=\"text-align: center;\">" + title + "</h2><br>"
|
||||
"<p style=\"text-align: center; margin: 0 128px; font-size: 50px;\">" + getDescription() + "</p></body>");
|
||||
ConfirmationDialog dialog(content, tr("Ok"), tr("Cancel"), true, this);
|
||||
ConfirmationDialog dialog(content, tr("Enable"), tr("Cancel"), true, this);
|
||||
if (!confirm || !state || dialog.exec()) {
|
||||
params.putBool(key, state);
|
||||
} else {
|
||||
|
||||
@@ -473,14 +473,14 @@ location set</source>
|
||||
</context>
|
||||
<context>
|
||||
<name>ParamControl</name>
|
||||
<message>
|
||||
<source>Ok</source>
|
||||
<translation>OK</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Cancel</source>
|
||||
<translation>キャンセル</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Enable</source>
|
||||
<translation>を有効化</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>PrimeAdWidget</name>
|
||||
|
||||
@@ -473,14 +473,14 @@ location set</source>
|
||||
</context>
|
||||
<context>
|
||||
<name>ParamControl</name>
|
||||
<message>
|
||||
<source>Ok</source>
|
||||
<translation>확인</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Cancel</source>
|
||||
<translation>취소</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Enable</source>
|
||||
<translation>사용</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>PrimeAdWidget</name>
|
||||
|
||||
@@ -474,14 +474,14 @@ trabalho definido</translation>
|
||||
</context>
|
||||
<context>
|
||||
<name>ParamControl</name>
|
||||
<message>
|
||||
<source>Ok</source>
|
||||
<translation>OK</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Cancel</source>
|
||||
<translation>Cancelar</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Enable</source>
|
||||
<translation>Ativar</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>PrimeAdWidget</name>
|
||||
|
||||
@@ -471,14 +471,14 @@ location set</source>
|
||||
</context>
|
||||
<context>
|
||||
<name>ParamControl</name>
|
||||
<message>
|
||||
<source>Ok</source>
|
||||
<translation>好的</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Cancel</source>
|
||||
<translation>取消</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Enable</source>
|
||||
<translation>启用</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>PrimeAdWidget</name>
|
||||
|
||||
@@ -473,14 +473,14 @@ location set</source>
|
||||
</context>
|
||||
<context>
|
||||
<name>ParamControl</name>
|
||||
<message>
|
||||
<source>Ok</source>
|
||||
<translation>確定</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Cancel</source>
|
||||
<translation>取消</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Enable</source>
|
||||
<translation>啟用</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>PrimeAdWidget</name>
|
||||
|
||||
Reference in New Issue
Block a user