mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-08 22:35:03 -06:00
adds/adapts translation context markers
last nesscessary changes for internationalisation -> Cura Contributes to: issue CURA-116
This commit is contained in:
parent
09cf161b59
commit
ef93524d78
6 changed files with 7 additions and 12 deletions
|
@ -80,8 +80,7 @@ UM.PreferencesPage
|
|||
// Because ListModel is stupid and does not allow using qsTr() for values.
|
||||
for(var i = 0; i < languageList.count; ++i)
|
||||
{
|
||||
//languageList.setProperty(i, "text", catalog.i18nc("@action:menu",languageList.get(i).text));
|
||||
languageList.setProperty(i, "text", languageList.get(i).text);
|
||||
languageList.setProperty(i, "text", catalog.i18nc("@action:inmenu",languageList.get(i).text));
|
||||
}
|
||||
|
||||
// Glorious hack time. ComboBox does not update the text properly after changing the
|
||||
|
@ -113,11 +112,11 @@ UM.PreferencesPage
|
|||
id: pushFreeText //is a button so the user doesn't have te click inconvenientley precise to enable or disable the checkbox
|
||||
|
||||
//: Display Overhang preference checkbox
|
||||
text: catalog.i18nc("@option:check","Automatic push free");
|
||||
text: catalog.i18nc("@option:check","Automatically arrange the distancing between objects");
|
||||
onClicked: pushFreeCheckbox.checked = !pushFreeCheckbox.checked
|
||||
|
||||
//: Display Overhang preference tooltip
|
||||
tooltip: catalog.i18nc("@info:tooltip","Are objects on the platform automatically moved so they no longer intersect")
|
||||
tooltip: catalog.i18nc("@info:tooltip","Are objects on the platform automatically moved so that they no longer intersect")
|
||||
|
||||
style: ButtonStyle
|
||||
{
|
||||
|
|
|
@ -138,7 +138,7 @@ Rectangle {
|
|||
anchors.leftMargin: UM.Theme.sizes.default_margin.width/2
|
||||
font: UM.Theme.fonts.default
|
||||
color: UM.Theme.colors.text
|
||||
text: (!base.printDuration || !base.printDuration.valid) ? "" : catalog.i18nc("@label", "%1 h:m").arg(base.printDuration.getDisplayString(UM.DurationFormat.Short))
|
||||
text: (!base.printDuration || !base.printDuration.valid) ? "" : catalog.i18nc("@label h:m (hours:minutes) is added to the expected printtime (%1)", "%1 h:m").arg(base.printDuration.getDisplayString(UM.DurationFormat.Short))
|
||||
}
|
||||
}
|
||||
Item{
|
||||
|
|
|
@ -126,7 +126,7 @@ Rectangle
|
|||
{
|
||||
for(var i = 0; i < modesListModel.count; ++i)
|
||||
{
|
||||
modesListModel.setProperty(i, "text", modesListModel.get(i).text);
|
||||
modesListModel.setProperty(i, "text", catalog.i18nc("@label", modesListModel.get(i).text));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue