mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-20 13:17:51 -06:00
Move material translations to separate dictionary
This prevents a mix-up of how material names should be translated for quality profiles and how material names should be translated for material profiles. Contributes to issue CURA-844.
This commit is contained in:
parent
b836311d67
commit
368a836ff2
2 changed files with 13 additions and 8 deletions
|
@ -32,13 +32,8 @@ _machines_with_machine_quality = {
|
|||
}
|
||||
}
|
||||
|
||||
## How to translate printer names from the old version to the new.
|
||||
_printer_translations = {
|
||||
"ultimaker2plus": "ultimaker2_plus"
|
||||
}
|
||||
|
||||
## How to translate profile names from the old version to the new.
|
||||
_profile_translations = {
|
||||
## How to translate material names from the old version to the new.
|
||||
_material_translations = {
|
||||
"PLA": "generic_pla",
|
||||
"ABS": "generic_abs",
|
||||
"CPE": "generic_cpe",
|
||||
|
@ -46,6 +41,15 @@ _profile_translations = {
|
|||
"Nylon": "generic_nylon",
|
||||
"PC": "generic_pc",
|
||||
"TPU": "generic_tpu",
|
||||
}
|
||||
|
||||
## How to translate printer names from the old version to the new.
|
||||
_printer_translations = {
|
||||
"ultimaker2plus": "ultimaker2_plus"
|
||||
}
|
||||
|
||||
## How to translate profile names from the old version to the new.
|
||||
_profile_translations = {
|
||||
"Low Quality": "low",
|
||||
"Normal Quality": "normal",
|
||||
"High Quality": "high",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue