mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-04-16 18:59:39 +08:00
Merge pull request #20430 from Ultimaker/CURA-11911_recommended-view-translations
CURA-11911 Recommended view translations
This commit is contained in:
commit
1f62c1f944
@ -4284,7 +4284,7 @@ msgstr "Interface du support"
|
||||
|
||||
msgctxt "@action:label"
|
||||
msgid "Support Type"
|
||||
msgstr "Type de prise en charge"
|
||||
msgstr "Structure du support"
|
||||
|
||||
msgctxt "@label Description for application dependency"
|
||||
msgid "Support library for faster math"
|
||||
|
@ -12,7 +12,8 @@ import Cura 1.7 as Cura
|
||||
// All of the setting updating logic is handled by this component.
|
||||
// This uses the "options" value of a setting to populate the drop down. This will only work for settings with "options"
|
||||
// If the setting is limited to a single extruder or is settable with different values per extruder use "updateAllExtruders: true"
|
||||
Cura.ComboBox {
|
||||
Cura.ComboBox
|
||||
{
|
||||
textRole: "text"
|
||||
property alias settingName: propertyProvider.key
|
||||
property alias propertyRemoveUnusedValue: propertyProvider.removeUnusedValue
|
||||
@ -23,6 +24,8 @@ Cura.ComboBox {
|
||||
// This is only used if updateAllExtruders == true
|
||||
property int defaultExtruderIndex: Cura.ExtruderManager.activeExtruderIndex
|
||||
|
||||
UM.I18nCatalog { id: settings_catalog; name: "fdmprinter.def.json" }
|
||||
|
||||
model: ListModel
|
||||
{
|
||||
id: comboboxModel
|
||||
@ -42,6 +45,7 @@ Cura.ComboBox {
|
||||
{
|
||||
var key = propertyProvider.properties["options"].keys()[i]
|
||||
var value = propertyProvider.properties["options"][key]
|
||||
value = settings_catalog.i18nc(settingName + " option " + key, value)
|
||||
comboboxModel.append({ text: value, code: key})
|
||||
|
||||
if (propertyProvider.properties.value === key)
|
||||
|
Loading…
x
Reference in New Issue
Block a user