I18n: disambiguate "Fill" #108561

Merged
Bastien Montagne merged 1 commits from pioverfour/blender:dp_disambiguate_fill into blender-v3.6-release 2023-06-06 16:29:28 +02:00

1 Commits

Author SHA1 Message Date
88439df659 I18n: disambiguate "Fill"
All checks were successful
buildbot/vexp-code-patch-coordinator Build done.
The "Fill" message can be either a noun or a verb. This commit
disambiguates the verb usages for translation through various
translation contexts.

The more involved change is in the generation of keymaps from paint
modes. By default, the enums defining brush names are in the default
context, but this commit changes the ones including a "Fill" item to
"Brush". In order to get the same contexts in the keymap, we introduce
a specific function in `paint.cc` to return the appropriate context
depending on the tool.

Issue reported by Gabriel Gazzán (@GabrielGazzan) in #43295.
2023-06-03 01:27:42 +02:00