Improve appearance settings
This commit is contained in:
parent
0a0aa9742c
commit
2b3a1137bc
|
@ -11,6 +11,7 @@
|
||||||
#include <QSslCertificate>
|
#include <QSslCertificate>
|
||||||
#include <QSslError>
|
#include <QSslError>
|
||||||
#include <QMessageBox>
|
#include <QMessageBox>
|
||||||
|
#include <QTabWidget>
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
using namespace Data;
|
using namespace Data;
|
||||||
|
@ -74,6 +75,11 @@ int &frameStyle()
|
||||||
static int v = QFrame::StyledPanel | QFrame::Sunken;
|
static int v = QFrame::StyledPanel | QFrame::Sunken;
|
||||||
return v;
|
return v;
|
||||||
}
|
}
|
||||||
|
int &tabPosition()
|
||||||
|
{
|
||||||
|
static int v = QTabWidget::South;
|
||||||
|
return v;
|
||||||
|
}
|
||||||
|
|
||||||
// autostart/launcher
|
// autostart/launcher
|
||||||
bool &launchSynchting()
|
bool &launchSynchting()
|
||||||
|
@ -179,6 +185,7 @@ void restore()
|
||||||
showTraffic() = settings.value(QStringLiteral("showTraffic"), showTraffic()).toBool();
|
showTraffic() = settings.value(QStringLiteral("showTraffic"), showTraffic()).toBool();
|
||||||
trayMenuSize() = settings.value(QStringLiteral("trayMenuSize"), trayMenuSize()).toSize();
|
trayMenuSize() = settings.value(QStringLiteral("trayMenuSize"), trayMenuSize()).toSize();
|
||||||
frameStyle() = settings.value(QStringLiteral("frameStyle"), frameStyle()).toInt();
|
frameStyle() = settings.value(QStringLiteral("frameStyle"), frameStyle()).toInt();
|
||||||
|
tabPosition() = settings.value(QStringLiteral("tabPos"), tabPosition()).toInt();
|
||||||
settings.endGroup();
|
settings.endGroup();
|
||||||
|
|
||||||
settings.beginGroup(QStringLiteral("startup"));
|
settings.beginGroup(QStringLiteral("startup"));
|
||||||
|
@ -228,6 +235,7 @@ void save()
|
||||||
settings.setValue(QStringLiteral("showTraffic"), showTraffic());
|
settings.setValue(QStringLiteral("showTraffic"), showTraffic());
|
||||||
settings.setValue(QStringLiteral("trayMenuSize"), trayMenuSize());
|
settings.setValue(QStringLiteral("trayMenuSize"), trayMenuSize());
|
||||||
settings.setValue(QStringLiteral("frameStyle"), frameStyle());
|
settings.setValue(QStringLiteral("frameStyle"), frameStyle());
|
||||||
|
settings.setValue(QStringLiteral("tabPos"), tabPosition());
|
||||||
settings.endGroup();
|
settings.endGroup();
|
||||||
|
|
||||||
settings.beginGroup(QStringLiteral("startup"));
|
settings.beginGroup(QStringLiteral("startup"));
|
||||||
|
|
|
@ -39,6 +39,7 @@ bool &showSyncthingNotifications();
|
||||||
bool &showTraffic();
|
bool &showTraffic();
|
||||||
QSize &trayMenuSize();
|
QSize &trayMenuSize();
|
||||||
int &frameStyle();
|
int &frameStyle();
|
||||||
|
int &tabPosition();
|
||||||
|
|
||||||
// autostart/launcher
|
// autostart/launcher
|
||||||
bool &launchSynchting();
|
bool &launchSynchting();
|
||||||
|
|
|
@ -2,14 +2,6 @@
|
||||||
<ui version="4.0">
|
<ui version="4.0">
|
||||||
<class>QtGui::AppearanceOptionPage</class>
|
<class>QtGui::AppearanceOptionPage</class>
|
||||||
<widget class="QWidget" name="QtGui::AppearanceOptionPage">
|
<widget class="QWidget" name="QtGui::AppearanceOptionPage">
|
||||||
<property name="geometry">
|
|
||||||
<rect>
|
|
||||||
<x>0</x>
|
|
||||||
<y>0</y>
|
|
||||||
<width>422</width>
|
|
||||||
<height>149</height>
|
|
||||||
</rect>
|
|
||||||
</property>
|
|
||||||
<property name="windowTitle">
|
<property name="windowTitle">
|
||||||
<string>Appearance</string>
|
<string>Appearance</string>
|
||||||
</property>
|
</property>
|
||||||
|
@ -155,6 +147,37 @@
|
||||||
</item>
|
</item>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
|
<item row="5" column="0">
|
||||||
|
<widget class="QLabel" name="tabPosLabel">
|
||||||
|
<property name="text">
|
||||||
|
<string>Tab position</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item row="5" column="1">
|
||||||
|
<widget class="QComboBox" name="tabPosComboBox">
|
||||||
|
<item>
|
||||||
|
<property name="text">
|
||||||
|
<string>Top</string>
|
||||||
|
</property>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<property name="text">
|
||||||
|
<string>Bottom</string>
|
||||||
|
</property>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<property name="text">
|
||||||
|
<string>Left</string>
|
||||||
|
</property>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<property name="text">
|
||||||
|
<string>Right</string>
|
||||||
|
</property>
|
||||||
|
</item>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
</layout>
|
</layout>
|
||||||
</widget>
|
</widget>
|
||||||
<resources/>
|
<resources/>
|
||||||
|
|
|
@ -275,6 +275,7 @@ bool AppearanceOptionPage::apply()
|
||||||
default: style |= QFrame::Sunken;
|
default: style |= QFrame::Sunken;
|
||||||
}
|
}
|
||||||
frameStyle() = style;
|
frameStyle() = style;
|
||||||
|
tabPosition() = ui()->tabPosComboBox->currentIndex();
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
@ -299,6 +300,7 @@ void AppearanceOptionPage::reset()
|
||||||
default: index = 2;
|
default: index = 2;
|
||||||
}
|
}
|
||||||
ui()->frameShadowComboBox->setCurrentIndex(index);
|
ui()->frameShadowComboBox->setCurrentIndex(index);
|
||||||
|
ui()->tabPosComboBox->setCurrentIndex(tabPosition());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -333,6 +333,7 @@ void TrayWidget::applySettings()
|
||||||
|
|
||||||
// update visual appearance
|
// update visual appearance
|
||||||
instance->m_ui->trafficFormWidget->setVisible(Settings::showTraffic());
|
instance->m_ui->trafficFormWidget->setVisible(Settings::showTraffic());
|
||||||
|
instance->m_ui->trafficIconLabel->setVisible(Settings::showTraffic());
|
||||||
if(Settings::showTraffic()) {
|
if(Settings::showTraffic()) {
|
||||||
instance->updateTraffic();
|
instance->updateTraffic();
|
||||||
}
|
}
|
||||||
|
@ -343,6 +344,9 @@ void TrayWidget::applySettings()
|
||||||
} else {
|
} else {
|
||||||
instance->m_cornerFrame->setFrameStyle(Settings::frameStyle());
|
instance->m_cornerFrame->setFrameStyle(Settings::frameStyle());
|
||||||
}
|
}
|
||||||
|
if(Settings::tabPosition() >= QTabWidget::North && Settings::tabPosition() <= QTabWidget::East) {
|
||||||
|
instance->m_ui->tabWidget->setTabPosition(static_cast<QTabWidget::TabPosition>(Settings::tabPosition()));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -4,80 +4,105 @@
|
||||||
<context>
|
<context>
|
||||||
<name>QtGui::AppearanceOptionPage</name>
|
<name>QtGui::AppearanceOptionPage</name>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../gui/appearanceoptionpage.ui" line="14"/>
|
<location filename="../gui/appearanceoptionpage.ui" line="6"/>
|
||||||
<source>Appearance</source>
|
<source>Appearance</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../gui/appearanceoptionpage.ui" line="27"/>
|
<location filename="../gui/appearanceoptionpage.ui" line="19"/>
|
||||||
<source>Menu size</source>
|
<source>Menu size</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../gui/appearanceoptionpage.ui" line="34"/>
|
<location filename="../gui/appearanceoptionpage.ui" line="26"/>
|
||||||
<source>Optional GUI elements</source>
|
<source>Optional GUI elements</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../gui/appearanceoptionpage.ui" line="41"/>
|
<location filename="../gui/appearanceoptionpage.ui" line="33"/>
|
||||||
<source>Traffic statistics</source>
|
<source>Traffic statistics</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../gui/appearanceoptionpage.ui" line="69"/>
|
<location filename="../gui/appearanceoptionpage.ui" line="61"/>
|
||||||
<source> x </source>
|
<source> x </source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../gui/appearanceoptionpage.ui" line="92"/>
|
<location filename="../gui/appearanceoptionpage.ui" line="84"/>
|
||||||
<source> px</source>
|
<source> px</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../gui/appearanceoptionpage.ui" line="104"/>
|
<location filename="../gui/appearanceoptionpage.ui" line="96"/>
|
||||||
<source>Frame shape</source>
|
<source>Frame shape</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../gui/appearanceoptionpage.ui" line="111"/>
|
<location filename="../gui/appearanceoptionpage.ui" line="103"/>
|
||||||
<source>Frame shadow</source>
|
<source>Frame shadow</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../gui/appearanceoptionpage.ui" line="119"/>
|
<location filename="../gui/appearanceoptionpage.ui" line="111"/>
|
||||||
<source>No frame</source>
|
<source>No frame</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../gui/appearanceoptionpage.ui" line="124"/>
|
<location filename="../gui/appearanceoptionpage.ui" line="116"/>
|
||||||
<source>Box</source>
|
<source>Box</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../gui/appearanceoptionpage.ui" line="129"/>
|
<location filename="../gui/appearanceoptionpage.ui" line="121"/>
|
||||||
<source>Panel</source>
|
<source>Panel</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../gui/appearanceoptionpage.ui" line="134"/>
|
<location filename="../gui/appearanceoptionpage.ui" line="126"/>
|
||||||
<source>Styled panel</source>
|
<source>Styled panel</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../gui/appearanceoptionpage.ui" line="143"/>
|
<location filename="../gui/appearanceoptionpage.ui" line="135"/>
|
||||||
<source>Plain</source>
|
<source>Plain</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../gui/appearanceoptionpage.ui" line="148"/>
|
<location filename="../gui/appearanceoptionpage.ui" line="140"/>
|
||||||
<source>Raised</source>
|
<source>Raised</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../gui/appearanceoptionpage.ui" line="153"/>
|
<location filename="../gui/appearanceoptionpage.ui" line="145"/>
|
||||||
<source>Sunken</source>
|
<source>Sunken</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../gui/appearanceoptionpage.ui" line="153"/>
|
||||||
|
<source>Tab position</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../gui/appearanceoptionpage.ui" line="161"/>
|
||||||
|
<source>Top</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../gui/appearanceoptionpage.ui" line="166"/>
|
||||||
|
<source>Bottom</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../gui/appearanceoptionpage.ui" line="171"/>
|
||||||
|
<source>Left</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../gui/appearanceoptionpage.ui" line="176"/>
|
||||||
|
<source>Right</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>QtGui::AutostartOptionPage</name>
|
<name>QtGui::AutostartOptionPage</name>
|
||||||
|
@ -92,22 +117,22 @@
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../gui/settingsdialog.cpp" line="318"/>
|
<location filename="../gui/settingsdialog.cpp" line="320"/>
|
||||||
<source>This is achieved by adding a *.desktop file under <i>~/.config/autostart</i> so the setting only affects the current user.</source>
|
<source>This is achieved by adding a *.desktop file under <i>~/.config/autostart</i> so the setting only affects the current user.</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../gui/settingsdialog.cpp" line="320"/>
|
<location filename="../gui/settingsdialog.cpp" line="322"/>
|
||||||
<source>This is achieved by adding a registry key under <i>HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Run</i> so the setting only affects the current user. Note that the startup entry is invalidated when moving <i>syncthingtray.exe</i>.</source>
|
<source>This is achieved by adding a registry key under <i>HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Run</i> so the setting only affects the current user. Note that the startup entry is invalidated when moving <i>syncthingtray.exe</i>.</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../gui/settingsdialog.cpp" line="322"/>
|
<location filename="../gui/settingsdialog.cpp" line="324"/>
|
||||||
<source>This feature has not been implemented for your platform (yet).</source>
|
<source>This feature has not been implemented for your platform (yet).</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../gui/settingsdialog.cpp" line="409"/>
|
<location filename="../gui/settingsdialog.cpp" line="411"/>
|
||||||
<source>unable to modify startup entry</source>
|
<source>unable to modify startup entry</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
|
@ -333,13 +358,13 @@
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../gui/settingsdialog.cpp" line="489"/>
|
<location filename="../gui/settingsdialog.cpp" line="491"/>
|
||||||
<source>Syncthing existed with exit code %1
|
<source>Syncthing existed with exit code %1
|
||||||
</source>
|
</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../gui/settingsdialog.cpp" line="492"/>
|
<location filename="../gui/settingsdialog.cpp" line="494"/>
|
||||||
<source>Syncthing crashed with exit code %1
|
<source>Syncthing crashed with exit code %1
|
||||||
</source>
|
</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
|
@ -381,22 +406,22 @@
|
||||||
<context>
|
<context>
|
||||||
<name>QtGui::SettingsDialog</name>
|
<name>QtGui::SettingsDialog</name>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../gui/settingsdialog.cpp" line="577"/>
|
<location filename="../gui/settingsdialog.cpp" line="579"/>
|
||||||
<source>Tray</source>
|
<source>Tray</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../gui/settingsdialog.cpp" line="589"/>
|
<location filename="../gui/settingsdialog.cpp" line="591"/>
|
||||||
<source>Startup</source>
|
<source>Startup</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../gui/settingsdialog.cpp" line="599"/>
|
<location filename="../gui/settingsdialog.cpp" line="601"/>
|
||||||
<source>Settings</source>
|
<source>Settings</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../gui/settingsdialog.cpp" line="583"/>
|
<location filename="../gui/settingsdialog.cpp" line="585"/>
|
||||||
<source>Web view</source>
|
<source>Web view</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
|
@ -531,7 +556,7 @@ For <i>all</i> notifications, checkout the log</source>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../gui/traywidget.ui" line="230"/>
|
<location filename="../gui/traywidget.ui" line="230"/>
|
||||||
<location filename="../gui/traywidget.ui" line="250"/>
|
<location filename="../gui/traywidget.ui" line="250"/>
|
||||||
<location filename="../gui/traywidget.cpp" line="406"/>
|
<location filename="../gui/traywidget.cpp" line="410"/>
|
||||||
<source>unknown</source>
|
<source>unknown</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
|
@ -633,12 +658,12 @@ For <i>all</i> notifications, checkout the log</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../gui/traywidget.cpp" line="354"/>
|
<location filename="../gui/traywidget.cpp" line="358"/>
|
||||||
<source>The directory <i>%1</i> does not exist on the local machine.</source>
|
<source>The directory <i>%1</i> does not exist on the local machine.</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../gui/traywidget.cpp" line="363"/>
|
<location filename="../gui/traywidget.cpp" line="367"/>
|
||||||
<source>The file <i>%1</i> does not exist on the local machine.</source>
|
<source>The file <i>%1</i> does not exist on the local machine.</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
|
@ -670,7 +695,7 @@ For <i>all</i> notifications, checkout the log</source>
|
||||||
<name>QtGui::WebViewOptionPage</name>
|
<name>QtGui::WebViewOptionPage</name>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../gui/webviewoptionpage.ui" line="14"/>
|
<location filename="../gui/webviewoptionpage.ui" line="14"/>
|
||||||
<location filename="../gui/settingsdialog.cpp" line="539"/>
|
<location filename="../gui/settingsdialog.cpp" line="541"/>
|
||||||
<source>General</source>
|
<source>General</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
|
@ -700,7 +725,7 @@ For <i>all</i> notifications, checkout the log</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../gui/settingsdialog.cpp" line="541"/>
|
<location filename="../gui/settingsdialog.cpp" line="543"/>
|
||||||
<source>Syncthing Tray has not been built with vieb view support utilizing either Qt WebKit or Qt WebEngine.
|
<source>Syncthing Tray has not been built with vieb view support utilizing either Qt WebKit or Qt WebEngine.
|
||||||
The Web UI will be opened in the default web browser instead.</source>
|
The Web UI will be opened in the default web browser instead.</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
|
@ -709,7 +734,7 @@ The Web UI will be opened in the default web browser instead.</source>
|
||||||
<context>
|
<context>
|
||||||
<name>Settings::restore</name>
|
<name>Settings::restore</name>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../application/settings.cpp" line="166"/>
|
<location filename="../application/settings.cpp" line="172"/>
|
||||||
<source>Unable to load certificate "%1" when restoring settings.</source>
|
<source>Unable to load certificate "%1" when restoring settings.</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
|
@ -717,22 +742,22 @@ The Web UI will be opened in the default web browser instead.</source>
|
||||||
<context>
|
<context>
|
||||||
<name>main</name>
|
<name>main</name>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../application/main.cpp" line="50"/>
|
<location filename="../application/main.cpp" line="51"/>
|
||||||
<source>You must configure how to connect to Syncthing when using Syncthing Tray the first time.</source>
|
<source>You must configure how to connect to Syncthing when using Syncthing Tray the first time.</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../application/main.cpp" line="51"/>
|
<location filename="../application/main.cpp" line="52"/>
|
||||||
<source>Note that the settings dialog allows importing URL, credentials and API-key from the local Syncthing configuration.</source>
|
<source>Note that the settings dialog allows importing URL, credentials and API-key from the local Syncthing configuration.</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../application/main.cpp" line="56"/>
|
<location filename="../application/main.cpp" line="57"/>
|
||||||
<source>The system tray is (currently) not available. You could open the tray menu as a regular window using the -w flag, though.</source>
|
<source>The system tray is (currently) not available. You could open the tray menu as a regular window using the -w flag, though.</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../application/main.cpp" line="60"/>
|
<location filename="../application/main.cpp" line="61"/>
|
||||||
<source>The Qt libraries have not been built with tray icon support. You could open the tray menu as a regular window using the -w flag, though.</source>
|
<source>The Qt libraries have not been built with tray icon support. You could open the tray menu as a regular window using the -w flag, though.</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
|
|
|
@ -4,80 +4,105 @@
|
||||||
<context>
|
<context>
|
||||||
<name>QtGui::AppearanceOptionPage</name>
|
<name>QtGui::AppearanceOptionPage</name>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../gui/appearanceoptionpage.ui" line="14"/>
|
<location filename="../gui/appearanceoptionpage.ui" line="6"/>
|
||||||
<source>Appearance</source>
|
<source>Appearance</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../gui/appearanceoptionpage.ui" line="27"/>
|
<location filename="../gui/appearanceoptionpage.ui" line="19"/>
|
||||||
<source>Menu size</source>
|
<source>Menu size</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../gui/appearanceoptionpage.ui" line="34"/>
|
<location filename="../gui/appearanceoptionpage.ui" line="26"/>
|
||||||
<source>Optional GUI elements</source>
|
<source>Optional GUI elements</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../gui/appearanceoptionpage.ui" line="41"/>
|
<location filename="../gui/appearanceoptionpage.ui" line="33"/>
|
||||||
<source>Traffic statistics</source>
|
<source>Traffic statistics</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../gui/appearanceoptionpage.ui" line="69"/>
|
<location filename="../gui/appearanceoptionpage.ui" line="61"/>
|
||||||
<source> x </source>
|
<source> x </source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../gui/appearanceoptionpage.ui" line="92"/>
|
<location filename="../gui/appearanceoptionpage.ui" line="84"/>
|
||||||
<source> px</source>
|
<source> px</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../gui/appearanceoptionpage.ui" line="104"/>
|
<location filename="../gui/appearanceoptionpage.ui" line="96"/>
|
||||||
<source>Frame shape</source>
|
<source>Frame shape</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../gui/appearanceoptionpage.ui" line="111"/>
|
<location filename="../gui/appearanceoptionpage.ui" line="103"/>
|
||||||
<source>Frame shadow</source>
|
<source>Frame shadow</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../gui/appearanceoptionpage.ui" line="119"/>
|
<location filename="../gui/appearanceoptionpage.ui" line="111"/>
|
||||||
<source>No frame</source>
|
<source>No frame</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../gui/appearanceoptionpage.ui" line="124"/>
|
<location filename="../gui/appearanceoptionpage.ui" line="116"/>
|
||||||
<source>Box</source>
|
<source>Box</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../gui/appearanceoptionpage.ui" line="129"/>
|
<location filename="../gui/appearanceoptionpage.ui" line="121"/>
|
||||||
<source>Panel</source>
|
<source>Panel</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../gui/appearanceoptionpage.ui" line="134"/>
|
<location filename="../gui/appearanceoptionpage.ui" line="126"/>
|
||||||
<source>Styled panel</source>
|
<source>Styled panel</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../gui/appearanceoptionpage.ui" line="143"/>
|
<location filename="../gui/appearanceoptionpage.ui" line="135"/>
|
||||||
<source>Plain</source>
|
<source>Plain</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../gui/appearanceoptionpage.ui" line="148"/>
|
<location filename="../gui/appearanceoptionpage.ui" line="140"/>
|
||||||
<source>Raised</source>
|
<source>Raised</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../gui/appearanceoptionpage.ui" line="153"/>
|
<location filename="../gui/appearanceoptionpage.ui" line="145"/>
|
||||||
<source>Sunken</source>
|
<source>Sunken</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../gui/appearanceoptionpage.ui" line="153"/>
|
||||||
|
<source>Tab position</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../gui/appearanceoptionpage.ui" line="161"/>
|
||||||
|
<source>Top</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../gui/appearanceoptionpage.ui" line="166"/>
|
||||||
|
<source>Bottom</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../gui/appearanceoptionpage.ui" line="171"/>
|
||||||
|
<source>Left</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../gui/appearanceoptionpage.ui" line="176"/>
|
||||||
|
<source>Right</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>QtGui::AutostartOptionPage</name>
|
<name>QtGui::AutostartOptionPage</name>
|
||||||
|
@ -92,22 +117,22 @@
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../gui/settingsdialog.cpp" line="318"/>
|
<location filename="../gui/settingsdialog.cpp" line="320"/>
|
||||||
<source>This is achieved by adding a *.desktop file under <i>~/.config/autostart</i> so the setting only affects the current user.</source>
|
<source>This is achieved by adding a *.desktop file under <i>~/.config/autostart</i> so the setting only affects the current user.</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../gui/settingsdialog.cpp" line="320"/>
|
<location filename="../gui/settingsdialog.cpp" line="322"/>
|
||||||
<source>This is achieved by adding a registry key under <i>HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Run</i> so the setting only affects the current user. Note that the startup entry is invalidated when moving <i>syncthingtray.exe</i>.</source>
|
<source>This is achieved by adding a registry key under <i>HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Run</i> so the setting only affects the current user. Note that the startup entry is invalidated when moving <i>syncthingtray.exe</i>.</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../gui/settingsdialog.cpp" line="322"/>
|
<location filename="../gui/settingsdialog.cpp" line="324"/>
|
||||||
<source>This feature has not been implemented for your platform (yet).</source>
|
<source>This feature has not been implemented for your platform (yet).</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../gui/settingsdialog.cpp" line="409"/>
|
<location filename="../gui/settingsdialog.cpp" line="411"/>
|
||||||
<source>unable to modify startup entry</source>
|
<source>unable to modify startup entry</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
|
@ -333,13 +358,13 @@
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../gui/settingsdialog.cpp" line="489"/>
|
<location filename="../gui/settingsdialog.cpp" line="491"/>
|
||||||
<source>Syncthing existed with exit code %1
|
<source>Syncthing existed with exit code %1
|
||||||
</source>
|
</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../gui/settingsdialog.cpp" line="492"/>
|
<location filename="../gui/settingsdialog.cpp" line="494"/>
|
||||||
<source>Syncthing crashed with exit code %1
|
<source>Syncthing crashed with exit code %1
|
||||||
</source>
|
</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
|
@ -381,22 +406,22 @@
|
||||||
<context>
|
<context>
|
||||||
<name>QtGui::SettingsDialog</name>
|
<name>QtGui::SettingsDialog</name>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../gui/settingsdialog.cpp" line="577"/>
|
<location filename="../gui/settingsdialog.cpp" line="579"/>
|
||||||
<source>Tray</source>
|
<source>Tray</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../gui/settingsdialog.cpp" line="589"/>
|
<location filename="../gui/settingsdialog.cpp" line="591"/>
|
||||||
<source>Startup</source>
|
<source>Startup</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../gui/settingsdialog.cpp" line="599"/>
|
<location filename="../gui/settingsdialog.cpp" line="601"/>
|
||||||
<source>Settings</source>
|
<source>Settings</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../gui/settingsdialog.cpp" line="583"/>
|
<location filename="../gui/settingsdialog.cpp" line="585"/>
|
||||||
<source>Web view</source>
|
<source>Web view</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
|
@ -531,7 +556,7 @@ For <i>all</i> notifications, checkout the log</source>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../gui/traywidget.ui" line="230"/>
|
<location filename="../gui/traywidget.ui" line="230"/>
|
||||||
<location filename="../gui/traywidget.ui" line="250"/>
|
<location filename="../gui/traywidget.ui" line="250"/>
|
||||||
<location filename="../gui/traywidget.cpp" line="406"/>
|
<location filename="../gui/traywidget.cpp" line="410"/>
|
||||||
<source>unknown</source>
|
<source>unknown</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
|
@ -633,12 +658,12 @@ For <i>all</i> notifications, checkout the log</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../gui/traywidget.cpp" line="354"/>
|
<location filename="../gui/traywidget.cpp" line="358"/>
|
||||||
<source>The directory <i>%1</i> does not exist on the local machine.</source>
|
<source>The directory <i>%1</i> does not exist on the local machine.</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../gui/traywidget.cpp" line="363"/>
|
<location filename="../gui/traywidget.cpp" line="367"/>
|
||||||
<source>The file <i>%1</i> does not exist on the local machine.</source>
|
<source>The file <i>%1</i> does not exist on the local machine.</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
|
@ -670,7 +695,7 @@ For <i>all</i> notifications, checkout the log</source>
|
||||||
<name>QtGui::WebViewOptionPage</name>
|
<name>QtGui::WebViewOptionPage</name>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../gui/webviewoptionpage.ui" line="14"/>
|
<location filename="../gui/webviewoptionpage.ui" line="14"/>
|
||||||
<location filename="../gui/settingsdialog.cpp" line="539"/>
|
<location filename="../gui/settingsdialog.cpp" line="541"/>
|
||||||
<source>General</source>
|
<source>General</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
|
@ -700,7 +725,7 @@ For <i>all</i> notifications, checkout the log</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../gui/settingsdialog.cpp" line="541"/>
|
<location filename="../gui/settingsdialog.cpp" line="543"/>
|
||||||
<source>Syncthing Tray has not been built with vieb view support utilizing either Qt WebKit or Qt WebEngine.
|
<source>Syncthing Tray has not been built with vieb view support utilizing either Qt WebKit or Qt WebEngine.
|
||||||
The Web UI will be opened in the default web browser instead.</source>
|
The Web UI will be opened in the default web browser instead.</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
|
@ -709,7 +734,7 @@ The Web UI will be opened in the default web browser instead.</source>
|
||||||
<context>
|
<context>
|
||||||
<name>Settings::restore</name>
|
<name>Settings::restore</name>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../application/settings.cpp" line="166"/>
|
<location filename="../application/settings.cpp" line="172"/>
|
||||||
<source>Unable to load certificate "%1" when restoring settings.</source>
|
<source>Unable to load certificate "%1" when restoring settings.</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
|
@ -717,22 +742,22 @@ The Web UI will be opened in the default web browser instead.</source>
|
||||||
<context>
|
<context>
|
||||||
<name>main</name>
|
<name>main</name>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../application/main.cpp" line="50"/>
|
<location filename="../application/main.cpp" line="51"/>
|
||||||
<source>You must configure how to connect to Syncthing when using Syncthing Tray the first time.</source>
|
<source>You must configure how to connect to Syncthing when using Syncthing Tray the first time.</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../application/main.cpp" line="51"/>
|
<location filename="../application/main.cpp" line="52"/>
|
||||||
<source>Note that the settings dialog allows importing URL, credentials and API-key from the local Syncthing configuration.</source>
|
<source>Note that the settings dialog allows importing URL, credentials and API-key from the local Syncthing configuration.</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../application/main.cpp" line="56"/>
|
<location filename="../application/main.cpp" line="57"/>
|
||||||
<source>The system tray is (currently) not available. You could open the tray menu as a regular window using the -w flag, though.</source>
|
<source>The system tray is (currently) not available. You could open the tray menu as a regular window using the -w flag, though.</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../application/main.cpp" line="60"/>
|
<location filename="../application/main.cpp" line="61"/>
|
||||||
<source>The Qt libraries have not been built with tray icon support. You could open the tray menu as a regular window using the -w flag, though.</source>
|
<source>The Qt libraries have not been built with tray icon support. You could open the tray menu as a regular window using the -w flag, though.</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
|
|
Loading…
Reference in New Issue