Cura/cura/Machines/Models
Jaime van Kessel e6551821aa Use intent category if no translation is available
Previously we would only accept intents that had a translation. If we
could not find one, we would use "unknown" as the intent category. However,
we didn't really do this consistently. In some places it would show unkown
and in others we'd show the intent type.

This should make the behavior the same across the board. It will try to get a
translation for the intent category and show that. If it's unable to find that
it will use the category instead. Note that it will use the python title function
to ensure it has nice capitalisation

CURA-9297
2022-06-01 11:07:01 +02:00
..
__init__.py Move models around again 2019-03-26 08:29:22 +01:00
BaseMaterialsModel.py Qt5->Qt6: Rectify constant locations: UserRole, CppOwnership 2021-12-28 14:54:56 +01:00
BuildPlateModel.py Qt5->Qt6: Rectify constant locations: UserRole, CppOwnership 2021-12-28 14:54:56 +01:00
CustomQualityProfilesDropDownMenuModel.py Search/replace Qt5->Qt6. 2021-12-28 14:46:02 +01:00
DiscoveredCloudPrintersModel.py Qt5->Qt6: Rectify constant locations: UserRole, CppOwnership 2021-12-28 14:54:56 +01:00
DiscoveredPrintersModel.py Search/replace Qt5->Qt6. 2021-12-28 14:46:02 +01:00
ExtrudersModel.py Qt5->Qt6: Rectify constant locations: UserRole, CppOwnership 2021-12-28 14:54:56 +01:00
FavoriteMaterialsModel.py Updated comments in Models 2020-05-08 18:59:38 +02:00
FirstStartMachineActionsModel.py Qt5->Qt6: Rectify constant locations: UserRole, CppOwnership 2021-12-28 14:54:56 +01:00
GenericMaterialsModel.py Merge branch 'master' into CURA-6793_performance 2019-10-23 09:58:08 +02:00
GlobalStacksModel.py Add catalog to files that weren't translating 2022-05-05 16:42:01 +02:00
IntentCategoryModel.py Use intent category if no translation is available 2022-06-01 11:07:01 +02:00
IntentModel.py Qt5->Qt6: Rectify constant locations: UserRole, CppOwnership 2021-12-28 14:54:56 +01:00
IntentTranslations.py Merge remote-tracking branch 'origin/4.4' 2019-11-11 08:13:53 +01:00
MachineModelUtils.py Round layer height for display in quality menu 2021-06-04 14:03:59 +02:00
MaterialBrandsModel.py Remove unneeded clear 2022-04-08 09:16:22 +02:00
MaterialManagementModel.py Revert "Disable the material sync message again" 2022-05-31 12:34:55 +02:00
MultiBuildPlateModel.py Search/replace Qt5->Qt6. 2021-12-28 14:46:02 +01:00
NozzleModel.py Qt5->Qt6: Rectify constant locations: UserRole, CppOwnership 2021-12-28 14:54:56 +01:00
QualityManagementModel.py Use intent category if no translation is available 2022-06-01 11:07:01 +02:00
QualityProfilesDropDownMenuModel.py Qt5->Qt6: Rectify constant locations: UserRole, CppOwnership 2021-12-28 14:54:56 +01:00
QualitySettingsModel.py Merge branch 'master' into CURA-8640_PyQt6 2022-03-24 11:53:44 +01:00
SettingVisibilityPresetsModel.py Search/replace Qt5->Qt6. 2021-12-28 14:46:02 +01:00
UserChangesModel.py Qt5->Qt6: Rectify constant locations: UserRole, CppOwnership 2021-12-28 14:54:56 +01:00