diff options
author | Bastien Montagne <bastien@blender.org> | 2022-08-22 16:24:21 +0300 |
---|---|---|
committer | Bastien Montagne <bastien@blender.org> | 2022-08-22 16:24:21 +0300 |
commit | 4ad471d67fee18516a09056c6794da1e84d58cd0 (patch) | |
tree | 45aa0552299805cfeb00fed7f7cc2a508ef7d6bf /source/blender/makesrna/intern/rna_curve.c | |
parent | ee985fa92577bd7df945b3a0146414209e109c29 (diff) |
I18n: systematically tag all messages in `RNA_ENUM_ITEM_HEADING`.
Add missing labels, and also add tooltips.
Unfortunately there is no way currently to extract two messages from a
single 'function' call, so unless those type of macros become very
widely used, would keep it as manual tagging.
Also disambiguate `case` in text context, pretty sure English is one of
the very rare languages to use this word for character case too.
Diffstat (limited to 'source/blender/makesrna/intern/rna_curve.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_curve.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/source/blender/makesrna/intern/rna_curve.c b/source/blender/makesrna/intern/rna_curve.c index 69c26c36456..8842b7afc38 100644 --- a/source/blender/makesrna/intern/rna_curve.c +++ b/source/blender/makesrna/intern/rna_curve.c @@ -68,7 +68,7 @@ const EnumPropertyItem rna_enum_keyframe_handle_type_items[] = { const EnumPropertyItem rna_enum_beztriple_interpolation_mode_items[] = { /* Interpolation. */ RNA_ENUM_ITEM_HEADING(CTX_N_(BLT_I18NCONTEXT_ID_ACTION, "Interpolation"), - "Standard transitions between keyframes"), + N_("Standard transitions between keyframes")), {BEZT_IPO_CONST, "CONSTANT", ICON_IPO_CONSTANT, @@ -86,10 +86,9 @@ const EnumPropertyItem rna_enum_beztriple_interpolation_mode_items[] = { "Smooth interpolation between A and B, with some control over curve shape"}, /* Easing. */ - RNA_ENUM_ITEM_HEADING(CTX_N_(BLT_I18NCONTEXT_ID_ACTION, - "Easing (by strength)"), - "Predefined inertial transitions, useful for motion graphics " - "(from least to most \"dramatic\")"), + RNA_ENUM_ITEM_HEADING(CTX_N_(BLT_I18NCONTEXT_ID_ACTION, "Easing (by strength)"), + N_("Predefined inertial transitions, useful for motion graphics " + "(from least to most \"dramatic\")")), {BEZT_IPO_SINE, "SINE", ICON_IPO_SINE, @@ -107,7 +106,7 @@ const EnumPropertyItem rna_enum_beztriple_interpolation_mode_items[] = { "Circular easing (strongest and most dynamic)"}, RNA_ENUM_ITEM_HEADING(CTX_N_(BLT_I18NCONTEXT_ID_ACTION, "Dynamic Effects"), - "Simple physics-inspired easing effects"), + N_("Simple physics-inspired easing effects")), {BEZT_IPO_BACK, "BACK", ICON_IPO_BACK, "Back", "Cubic easing with overshoot and settle"}, {BEZT_IPO_BOUNCE, "BOUNCE", |