Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChrisTerBeke <c.terbeke@ultimaker.com>2019-11-07 12:31:37 +0300
committerChrisTerBeke <c.terbeke@ultimaker.com>2019-11-07 12:31:37 +0300
commit7dc38cd55d912487280810a6008ada6c8dc2e86a (patch)
treef47db6a27a8bc7eb5af7181a72e36746fb6bf4cd /cura/Machines/Models/IntentTranslations.py
parentb1316b8a053906949a444ca8c7c685324ef711fa (diff)
parentda92c36afbd4af1e56b421adbaf562acd0e3ec31 (diff)
Merge branch '4.4' into CS-476_improve_packages_api_speed
Diffstat (limited to 'cura/Machines/Models/IntentTranslations.py')
-rw-r--r--cura/Machines/Models/IntentTranslations.py20
1 files changed, 20 insertions, 0 deletions
diff --git a/cura/Machines/Models/IntentTranslations.py b/cura/Machines/Models/IntentTranslations.py
new file mode 100644
index 0000000000..fd6a2db9ee
--- /dev/null
+++ b/cura/Machines/Models/IntentTranslations.py
@@ -0,0 +1,20 @@
+import collections
+from UM.i18n import i18nCatalog
+catalog = i18nCatalog("cura")
+
+intent_translations = collections.OrderedDict() # type: "collections.OrderedDict[str, Dict[str, Optional[str]]]"
+intent_translations["default"] = {
+ "name": catalog.i18nc("@label", "Default")
+}
+intent_translations["visual"] = {
+ "name": catalog.i18nc("@label", "Visual"),
+ "description": catalog.i18nc("@text", "The visual profile is designed to print visual prototypes and models with the intent of high visual and surface quality.")
+}
+intent_translations["engineering"] = {
+ "name": catalog.i18nc("@label", "Engineering"),
+ "description": catalog.i18nc("@text", "The engineering profile is designed to print functional prototypes and end-use parts with the intent of better accuracy and for closer tolerances.")
+}
+intent_translations["quick"] = {
+ "name": catalog.i18nc("@label", "Draft"),
+ "description": catalog.i18nc("@text", "The draft profile is designed to print initial prototypes and concept validation with the intent of significant print time reduction.")
+} \ No newline at end of file