Add missing translation markers

This commit is contained in:
Arjen Hiemstra 2015-05-07 16:33:37 +02:00
parent ef62725cc1
commit acf5120cff
13 changed files with 76 additions and 40 deletions

View file

@ -33,15 +33,17 @@ UM.Dialog {
Label {
Layout.alignment: Qt.AlignHCenter;
text: "Cura 15.06";
text: "Cura 15.06 Beta";
font: UM.Theme.fonts.large;
}
Label {
//: About dialog application description
text: qsTr("End-to-end solution for fused filament 3D printing.")
}
Label {
//: About dialog application author note
text: qsTr("Cura has been developed by Ultimaker B.V. in cooperation with the community.")
}

View file

@ -34,7 +34,7 @@ Item {
Action {
id: undoAction;
//: Undo action
text: qsTr("Undo");
text: qsTr("&Undo");
iconName: "edit-undo";
shortcut: StandardKey.Undo;
}
@ -42,7 +42,7 @@ Item {
Action {
id: redoAction;
//: Redo action
text: qsTr("Redo");
text: qsTr("&Redo");
iconName: "edit-redo";
shortcut: StandardKey.Redo;
}
@ -50,7 +50,7 @@ Item {
Action {
id: quitAction;
//: Quit action
text: qsTr("Quit");
text: qsTr("&Quit");
iconName: "application-exit";
shortcut: StandardKey.Quit;
}
@ -58,27 +58,27 @@ Item {
Action {
id: preferencesAction;
//: Preferences action
text: qsTr("Preferences");
text: qsTr("&Preferences...");
iconName: "configure";
}
Action {
id: addMachineAction;
//: Add a Machine action
text: qsTr("Add Printer...");
//: Add Printer action
text: qsTr("&Add Printer...");
}
Action {
id: settingsAction;
//: Manage Printers action
text: qsTr("Configure Printers");
//: Configure Printers action
text: qsTr("&Configure Printers");
iconName: "configure";
}
Action {
id: documentationAction;
//: Show Online Documentation action
text: qsTr("Show Online Documentation");
text: qsTr("Show Online &Documentation");
iconName: "help-contents";
shortcut: StandardKey.Help;
}
@ -86,14 +86,14 @@ Item {
Action {
id: reportBugAction;
//: Report a Bug Action
text: qsTr("Report a Bug");
text: qsTr("Report a &Bug");
iconName: "tools-report-bug";
}
Action {
id: aboutAction;
//: About action
text: qsTr("About...");
text: qsTr("&About...");
iconName: "help-about";
}
@ -159,7 +159,7 @@ Item {
Action {
id: openAction;
//: Open file action
text: qsTr("Open...");
text: qsTr("&Open...");
iconName: "document-open";
shortcut: StandardKey.Open;
}
@ -167,7 +167,7 @@ Item {
Action {
id: saveAction;
//: Save file action
text: qsTr("Save...");
text: qsTr("&Save...");
iconName: "document-save";
shortcut: StandardKey.Save;
}
@ -175,7 +175,7 @@ Item {
Action {
id: showEngineLogAction;
//: Show engine log action
text: qsTr("Show engine log...");
text: qsTr("Show engine &log...");
iconName: "view-list-text";
}
}

View file

@ -15,11 +15,13 @@ UM.Dialog {
anchors.fill: parent;
Label {
//: Add Printer wizard page title
text: qsTr("Add Printer");
font.pointSize: 18;
}
Label {
//: Add Printer wizard page description
text: qsTr("Please select the type of printer:");
}
@ -34,6 +36,7 @@ UM.Dialog {
}
Label {
//: Add Printer wizard field label
text: qsTr("Printer Name:");
}
@ -46,6 +49,7 @@ UM.Dialog {
rightButtons: [
Button {
//: Add Printer wizarad button
text: qsTr("Next");
onClicked: {
if(machineList.currentIndex != -1) {
@ -55,6 +59,7 @@ UM.Dialog {
}
},
Button {
//: Add Printer wizarad button
text: qsTr("Cancel");
onClicked: base.visible = false;
}

View file

@ -10,9 +10,7 @@ UM.MainWindow {
id: base
visible: true
//width: 1280
//height: 720
//: Cura application window title
title: qsTr("Cura");
Item {
@ -271,6 +269,7 @@ UM.MainWindow {
id: preferences
Component.onCompleted: {
//: View preferences page title
insertPage(1, qsTr("View"), "view-preview", Qt.resolvedUrl("./ViewPage.qml"));
}
}
@ -322,7 +321,7 @@ UM.MainWindow {
configureMachines.onTriggered: { preferences.visible = true; preferences.setPage(2); }
documentation.onTriggered: Qt.openUrlExternally("https://ultimaker.com/en/support");
reportBug.onTriggered: Qt.openUrlExternally("https://github.com/Ultimaker/PluggableCura/issues");
reportBug.onTriggered: Qt.openUrlExternally("https://github.com/Ultimaker/Cura/issues");
showEngineLog.onTriggered: engineLog.visible = true;
about.onTriggered: aboutDialog.visible = true;
}

View file

@ -26,6 +26,7 @@ UM.Dialog {
}
rightButtons: Button {
//: Close engine log button
text: qsTr("Close");
onClicked: dialog.visible = false;
}

View file

@ -145,6 +145,7 @@ Button {
color: UM.Theme.colors.save_button_text;
font: UM.Theme.fonts.default;
//: Print material amount save button label
text: control.printMaterialAmount < 0 ? "" : qsTr("%1m material").arg(control.printMaterialAmount);
}
}
@ -186,10 +187,13 @@ Button {
text: {
if(base.progress < 0) {
//: Save button label
return qsTr("Please load a 3D model");
} else if (base.progress < 0.95) {
//: Save button label
return qsTr("Calculating Print-time");
} else {
//: Save button label
return qsTr("Estimated Print-time");
}
}

View file

@ -101,7 +101,9 @@ UM.AngledCornerRectangle {
ListModel {
id: modesListModel;
//: Simple configuration mode option
ListElement { text: QT_TR_NOOP("Simple"); file: "SidebarSimple.qml" }
//: Advanced configuration mode option
ListElement { text: QT_TR_NOOP("Advanced"); file: "SidebarAdvanced.qml" }
}
}

View file

@ -22,6 +22,7 @@ Column {
height: UM.Theme.sizes.line.height;
Label {
//: Configuration mode label
text: qsTr("Mode:");
font: UM.Theme.fonts.sidebar_header;
@ -65,6 +66,7 @@ Column {
}
Label {
//: Machine selection label
text: qsTr("Machine:");
font: UM.Theme.fonts.sidebar_header;
@ -110,6 +112,8 @@ Column {
height: UM.Theme.sizes.section.height;
iconSource: UM.Theme.icons.printsetup;
//: Sidebar header label
text: qsTr("Print Setup");
enabled: false;

View file

@ -36,14 +36,17 @@ Item {
text: {
if (UM.Backend.progress < 0)
{
//: Sidebar configuration label
return qsTr("No Model Loaded");
}
else if (!base.minimumPrintTime.valid || !base.maximumPrintTime.valid)
{
//: Sidebar configuration label
return qsTr("Calculating...")
}
else
{
//: Sidebar configuration label
return qsTr("Estimated Print Time");
}
}
@ -79,6 +82,8 @@ Item {
Label {
anchors.left: parent.left;
anchors.verticalCenter: parent.verticalCenter;
//: Quality slider label
text: qsTr("Minimum\nDraft");
color: UM.Theme.colors.text;
font: UM.Theme.fonts.default;
@ -87,6 +92,8 @@ Item {
Label {
anchors.right: parent.right;
anchors.verticalCenter: parent.verticalCenter;
//: Quality slider label
text: qsTr("Maximum\nQuality");
horizontalAlignment: Text.AlignRight;
color: UM.Theme.colors.text;
@ -98,6 +105,7 @@ Item {
Layout.fillWidth: true;
Layout.preferredHeight: UM.Theme.sizes.section.height;
//: Setting checkbox
text: qsTr("Enable Support");
style: UM.Theme.styles.checkbox;