Skip to content

Commit

Permalink
adding more translation strings
Browse files Browse the repository at this point in the history
  • Loading branch information
machinekoder committed Nov 24, 2016
1 parent 5056e81 commit 5a43751
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion Machineface/AboutDialog.qml
Expand Up @@ -7,7 +7,7 @@ import QtQuick.Window 2.0
Dialog {
property string version: "0.9"
id: aboutDialog
title: "About Machineface"
title: qsTr("About Machineface")

SystemPalette { id: systemPalette }

Expand Down
2 changes: 1 addition & 1 deletion Machineface/ToggleSettingCheck.qml
Expand Up @@ -4,7 +4,7 @@ import QtQuick.Controls 1.2
CheckBox {
property string groupName: "group"
property string valueName: "value"
text: qsTr("Group Value")
text: "Group Value"
checked: applicationCore.settings.initialized && applicationCore.settings.values[groupName][valueName]
onClicked: {
applicationCore.settings.setValue(groupName + "." + valueName, !applicationCore.settings.values[groupName][valueName])
Expand Down
Binary file modified Machineface/translations/machineface_de.qm
Binary file not shown.
2 changes: 2 additions & 0 deletions main.cpp
Expand Up @@ -15,7 +15,9 @@ int main(int argc, char *argv[])
QTranslator translator;
if (translator.load(QLocale(), QLatin1String("machineface"),
QLatin1String("_"), QLibraryInfo::location(QLibraryInfo::TranslationsPath)))
{
QCoreApplication::installTranslator(&translator);
}

return app.exec();
}
Expand Down
6 changes: 5 additions & 1 deletion translations/machineface_de.ts
Expand Up @@ -7,6 +7,10 @@
<source>Close</source>
<translation>Schließen</translation>
</message>
<message>
<source>About Machineface</source>
<translation>Über Machineface</translation>
</message>
</context>
<context>
<name>ApplicationMenu</name>
Expand Down Expand Up @@ -200,7 +204,7 @@
<name>ToggleSettingCheck</name>
<message>
<source>Group Value</source>
<translation>Gruppenwert</translation>
<translation type="vanished">Gruppenwert</translation>
</message>
</context>
<context>
Expand Down
11 changes: 4 additions & 7 deletions translations/machineface_en.ts
Expand Up @@ -7,6 +7,10 @@
<source>Close</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>About Machineface</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>ApplicationMenu</name>
Expand Down Expand Up @@ -196,13 +200,6 @@
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>ToggleSettingCheck</name>
<message>
<source>Group Value</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>VelocityExtrusionControl</name>
<message>
Expand Down
11 changes: 4 additions & 7 deletions translations/machineface_ru.ts
Expand Up @@ -7,6 +7,10 @@
<source>Close</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>About Machineface</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>ApplicationMenu</name>
Expand Down Expand Up @@ -196,13 +200,6 @@
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>ToggleSettingCheck</name>
<message>
<source>Group Value</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>VelocityExtrusionControl</name>
<message>
Expand Down

0 comments on commit 5a43751

Please sign in to comment.