mirror of
https://github.com/tnodir/fort
synced 2024-11-15 07:25:18 +00:00
UI: Update translations
This commit is contained in:
parent
306cfe78d6
commit
e6d31ce2d8
@ -158,27 +158,27 @@ void OptionsController::initConfManagerToEdit()
|
|||||||
|
|
||||||
void OptionsController::exportBackup()
|
void OptionsController::exportBackup()
|
||||||
{
|
{
|
||||||
const auto path = DialogUtil::getExistingDir(tr("Export Options"));
|
const auto path = DialogUtil::getExistingDir(tr("Export Backup"));
|
||||||
if (path.isEmpty())
|
if (path.isEmpty())
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (confManager()->exportBackup(path)) {
|
if (confManager()->exportBackup(path)) {
|
||||||
windowManager()->showInfoDialog(tr("Options Exported Successfully"));
|
windowManager()->showInfoDialog(tr("Backup Exported Successfully"));
|
||||||
} else {
|
} else {
|
||||||
windowManager()->showErrorBox(tr("Cannot Export Options"));
|
windowManager()->showErrorBox(tr("Cannot Export Backup"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void OptionsController::importBackup()
|
void OptionsController::importBackup()
|
||||||
{
|
{
|
||||||
const auto path = DialogUtil::getExistingDir(tr("Import Options"));
|
const auto path = DialogUtil::getExistingDir(tr("Import Backup"));
|
||||||
if (path.isEmpty())
|
if (path.isEmpty())
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (confManager()->importBackup(path)) {
|
if (confManager()->importBackup(path)) {
|
||||||
windowManager()->showInfoDialog(tr("Options Imported Successfully"));
|
windowManager()->showInfoDialog(tr("Backup Imported Successfully"));
|
||||||
} else {
|
} else {
|
||||||
windowManager()->showErrorBox(tr("Cannot Import Options"));
|
windowManager()->showErrorBox(tr("Cannot Import Backup"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -715,6 +715,45 @@
|
|||||||
<source>Traffic Graph</source>
|
<source>Traffic Graph</source>
|
||||||
<translation>Datenverkehrsdiagramm</translation>
|
<translation>Datenverkehrsdiagramm</translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Backup</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Export</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Import</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
</context>
|
||||||
|
<context>
|
||||||
|
<name>OptionsController</name>
|
||||||
|
<message>
|
||||||
|
<source>Export Backup</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Backup Exported Successfully</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Cannot Export Backup</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Import Backup</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Backup Imported Successfully</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Cannot Import Backup</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>OptionsPage</name>
|
<name>OptionsPage</name>
|
||||||
|
@ -715,6 +715,45 @@
|
|||||||
<source>Traffic Graph</source>
|
<source>Traffic Graph</source>
|
||||||
<translation></translation>
|
<translation></translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Backup</source>
|
||||||
|
<translation></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Export</source>
|
||||||
|
<translation></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Import</source>
|
||||||
|
<translation></translation>
|
||||||
|
</message>
|
||||||
|
</context>
|
||||||
|
<context>
|
||||||
|
<name>OptionsController</name>
|
||||||
|
<message>
|
||||||
|
<source>Export Backup</source>
|
||||||
|
<translation></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Backup Exported Successfully</source>
|
||||||
|
<translation></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Cannot Export Backup</source>
|
||||||
|
<translation></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Import Backup</source>
|
||||||
|
<translation></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Backup Imported Successfully</source>
|
||||||
|
<translation></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Cannot Import Backup</source>
|
||||||
|
<translation></translation>
|
||||||
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>OptionsPage</name>
|
<name>OptionsPage</name>
|
||||||
|
@ -715,6 +715,45 @@
|
|||||||
<source>Traffic Graph</source>
|
<source>Traffic Graph</source>
|
||||||
<translation>Graphique du trafic</translation>
|
<translation>Graphique du trafic</translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Backup</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Export</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Import</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
</context>
|
||||||
|
<context>
|
||||||
|
<name>OptionsController</name>
|
||||||
|
<message>
|
||||||
|
<source>Export Backup</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Backup Exported Successfully</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Cannot Export Backup</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Import Backup</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Backup Imported Successfully</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Cannot Import Backup</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>OptionsPage</name>
|
<name>OptionsPage</name>
|
||||||
|
@ -715,6 +715,45 @@
|
|||||||
<source>Traffic Graph</source>
|
<source>Traffic Graph</source>
|
||||||
<translation>Grafico del traffico</translation>
|
<translation>Grafico del traffico</translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Backup</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Export</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Import</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
</context>
|
||||||
|
<context>
|
||||||
|
<name>OptionsController</name>
|
||||||
|
<message>
|
||||||
|
<source>Export Backup</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Backup Exported Successfully</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Cannot Export Backup</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Import Backup</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Backup Imported Successfully</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Cannot Import Backup</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>OptionsPage</name>
|
<name>OptionsPage</name>
|
||||||
|
@ -715,6 +715,45 @@
|
|||||||
<source>Traffic Graph</source>
|
<source>Traffic Graph</source>
|
||||||
<translation>트래픽 그래프</translation>
|
<translation>트래픽 그래프</translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Backup</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Export</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Import</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
</context>
|
||||||
|
<context>
|
||||||
|
<name>OptionsController</name>
|
||||||
|
<message>
|
||||||
|
<source>Export Backup</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Backup Exported Successfully</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Cannot Export Backup</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Import Backup</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Backup Imported Successfully</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Cannot Import Backup</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>OptionsPage</name>
|
<name>OptionsPage</name>
|
||||||
|
@ -715,6 +715,45 @@
|
|||||||
<source>Traffic Graph</source>
|
<source>Traffic Graph</source>
|
||||||
<translation>Gráfico de Tráfico</translation>
|
<translation>Gráfico de Tráfico</translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Backup</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Export</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Import</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
</context>
|
||||||
|
<context>
|
||||||
|
<name>OptionsController</name>
|
||||||
|
<message>
|
||||||
|
<source>Export Backup</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Backup Exported Successfully</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Cannot Export Backup</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Import Backup</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Backup Imported Successfully</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Cannot Import Backup</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>OptionsPage</name>
|
<name>OptionsPage</name>
|
||||||
|
Binary file not shown.
@ -715,6 +715,45 @@
|
|||||||
<source>Traffic Graph</source>
|
<source>Traffic Graph</source>
|
||||||
<translation>График трафика</translation>
|
<translation>График трафика</translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Backup</source>
|
||||||
|
<translation>Резервная копия</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Export</source>
|
||||||
|
<translation>Экспорт</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Import</source>
|
||||||
|
<translation>Импорт</translation>
|
||||||
|
</message>
|
||||||
|
</context>
|
||||||
|
<context>
|
||||||
|
<name>OptionsController</name>
|
||||||
|
<message>
|
||||||
|
<source>Export Backup</source>
|
||||||
|
<translation>Экспорт резервной копии</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Backup Exported Successfully</source>
|
||||||
|
<translation>Резервная копия успешно экспортирована</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Cannot Export Backup</source>
|
||||||
|
<translation>Невозможно экспортировать резервную копию</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Import Backup</source>
|
||||||
|
<translation>Импорт резервной копии</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Backup Imported Successfully</source>
|
||||||
|
<translation>Резервная копия успешно импортирована</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Cannot Import Backup</source>
|
||||||
|
<translation>Невозможно импортировать резервную копию</translation>
|
||||||
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>OptionsPage</name>
|
<name>OptionsPage</name>
|
||||||
|
@ -715,6 +715,45 @@
|
|||||||
<source>Traffic Graph</source>
|
<source>Traffic Graph</source>
|
||||||
<translation>Graf prometa</translation>
|
<translation>Graf prometa</translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Backup</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Export</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Import</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
</context>
|
||||||
|
<context>
|
||||||
|
<name>OptionsController</name>
|
||||||
|
<message>
|
||||||
|
<source>Export Backup</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Backup Exported Successfully</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Cannot Export Backup</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Import Backup</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Backup Imported Successfully</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Cannot Import Backup</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>OptionsPage</name>
|
<name>OptionsPage</name>
|
||||||
|
@ -715,6 +715,45 @@
|
|||||||
<source>Traffic Graph</source>
|
<source>Traffic Graph</source>
|
||||||
<translation>流量图</translation>
|
<translation>流量图</translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Backup</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Export</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Import</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
</context>
|
||||||
|
<context>
|
||||||
|
<name>OptionsController</name>
|
||||||
|
<message>
|
||||||
|
<source>Export Backup</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Backup Exported Successfully</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Cannot Export Backup</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Import Backup</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Backup Imported Successfully</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Cannot Import Backup</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>OptionsPage</name>
|
<name>OptionsPage</name>
|
||||||
|
Loading…
Reference in New Issue
Block a user