Cura/cura/Settings
Ghostkeeper 02b0242807
Fix translatability of caution message
Never put the formatting within the i18nc call. Always put the formatted string inside, but the formatting call outside of the function, like this:

    catalog.i18nc('@info', 'I am {age} years old.').format(age = my_age)

Otherwise, when looking up the translation for the string, it's going to try to look up the translation for the formatted string (with the age already filled in). It won't be able to find that because this sentence was not translated for all possible ages of a human.
In this case I can make it even easier on the translator because the list must always follow after the text.
2019-06-14 11:00:52 +02:00
..
__init__.py Changing AGPLv3 to LGPLv3 2017-09-28 13:00:43 +02:00
ContainerManager.py Add test cases for the ContainerManager 2019-03-15 16:17:28 +01:00
cura_empty_instance_containers.py Make the "Not supported" profile label translatable 2019-05-07 12:04:19 +02:00
CuraContainerRegistry.py Add a bunch of tests for importing profiles 2019-05-31 13:59:54 +02:00
CuraContainerStack.py Add unit test for addDefaultMachineActions() 2018-10-23 08:49:23 +02:00
CuraFormulaFunctions.py Return the value for default extruder if the requested one could not be found 2019-04-02 11:46:12 +02:00
CuraStackBuilder.py Fix the simple create machine test 2019-05-24 16:36:39 +02:00
Exceptions.py Changing AGPLv3 to LGPLv3 2017-09-28 13:00:43 +02:00
ExtruderManager.py Make _geSettingFromAllExtruders use zip 2019-06-07 13:40:41 +02:00
ExtruderStack.py Code style: Start comments with a space 2018-12-06 16:27:56 +01:00
GlobalStack.py Added few more deprecation warnings for functions that bloat the machine manager 2019-06-07 14:57:32 +02:00
MachineManager.py Fix translatability of caution message 2019-06-14 11:00:52 +02:00
MachineNameValidator.py Remove unused parameter 2018-09-14 17:00:55 +02:00
MaterialSettingsVisibilityHandler.py Merge remote-tracking branch 'origin/master' into refactoring_machine_manager 2018-02-21 14:05:19 +01:00
PerObjectContainerStack.py Spelling fix: Overriden -> Overridden 2019-04-04 14:39:01 +02:00
SetObjectExtruderOperation.py Changing AGPLv3 to LGPLv3 2017-09-28 13:00:43 +02:00
SettingInheritanceManager.py Revert "Prevent some unneeded calling of signals" 2018-12-24 09:37:17 +01:00
SettingOverrideDecorator.py Calculate bounding box for helper meshes 2019-05-24 10:49:35 +02:00
SettingVisibilityPreset.py Forbid interpolation in setting visibility preset files 2018-10-18 14:54:20 +02:00
SidebarCustomMenuItemsModel.py Fix icon name role 2018-09-17 10:51:56 +02:00
SimpleModeSettingsManager.py Replace isProfileUserCreated with hasCustomQuality 2018-12-18 08:56:56 +01:00