From 685fda4f13715ccadb32fa72af1b557cb55c9574 Mon Sep 17 00:00:00 2001 From: Bastien Montagne Date: Sat, 3 Mar 2012 21:42:21 +0000 Subject: Many i18n fixings, based on [#30428] [2.62] Translation Issues. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit In fact, most "UI special cases" are not well translated, currently. :/ This affects especially the "Properties" panels. This commit should address problems in Graph editors, and 3D View (but probably not yet all of them). Yet it already adds more than 100 new messages (and fixes translated drawing of more). Also done some style edits… --- source/blender/blenkernel/intern/fmodifier.c | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) (limited to 'source/blender/blenkernel/intern/fmodifier.c') diff --git a/source/blender/blenkernel/intern/fmodifier.c b/source/blender/blenkernel/intern/fmodifier.c index 19b036d9ccf..ae474f9d9c3 100644 --- a/source/blender/blenkernel/intern/fmodifier.c +++ b/source/blender/blenkernel/intern/fmodifier.c @@ -39,6 +39,8 @@ #include "DNA_anim_types.h" +#include "BLF_translation.h" + #include "BLI_blenlib.h" #include "BLI_math.h" /* windows needs for M_PI */ #include "BLI_utildefines.h" @@ -264,7 +266,7 @@ static FModifierTypeInfo FMI_GENERATOR = { sizeof(FMod_Generator), /* size */ FMI_TYPE_GENERATE_CURVE, /* action type */ FMI_REQUIRES_NOTHING, /* requirements */ - "Generator", /* name */ + N_("Generator"), /* name */ "FMod_Generator", /* struct name */ fcm_generator_free, /* free data */ fcm_generator_copy, /* copy data */ @@ -386,7 +388,7 @@ static FModifierTypeInfo FMI_FN_GENERATOR = { sizeof(FMod_FunctionGenerator), /* size */ FMI_TYPE_GENERATE_CURVE, /* action type */ FMI_REQUIRES_NOTHING, /* requirements */ - "Built-In Function", /* name */ + N_("Built-In Function"), /* name */ "FMod_FunctionGenerator", /* struct name */ NULL, /* free data */ NULL, /* copy data */ @@ -493,7 +495,7 @@ static FModifierTypeInfo FMI_ENVELOPE = { sizeof(FMod_Envelope), /* size */ FMI_TYPE_REPLACE_VALUES, /* action type */ 0, /* requirements */ - "Envelope", /* name */ + N_("Envelope"), /* name */ "FMod_Envelope", /* struct name */ fcm_envelope_free, /* free data */ fcm_envelope_copy, /* copy data */ @@ -690,7 +692,7 @@ static FModifierTypeInfo FMI_CYCLES = { sizeof(FMod_Cycles), /* size */ FMI_TYPE_EXTRAPOLATION, /* action type */ FMI_REQUIRES_ORIGINAL_DATA, /* requirements */ - "Cycles", /* name */ + N_("Cycles"), /* name */ "FMod_Cycles", /* struct name */ NULL, /* free data */ NULL, /* copy data */ @@ -748,7 +750,7 @@ static FModifierTypeInfo FMI_NOISE = { sizeof(FMod_Noise), /* size */ FMI_TYPE_REPLACE_VALUES, /* action type */ 0, /* requirements */ - "Noise", /* name */ + N_("Noise"), /* name */ "FMod_Noise", /* struct name */ NULL, /* free data */ NULL, /* copy data */ @@ -766,7 +768,7 @@ static FModifierTypeInfo FMI_FILTER = { sizeof(FMod_Filter), /* size */ FMI_TYPE_REPLACE_VALUES, /* action type */ 0, /* requirements */ - "Filter", /* name */ + N_("Filter"), /* name */ "FMod_Filter", /* struct name */ NULL, /* free data */ NULL, /* copy data */ @@ -822,7 +824,7 @@ static FModifierTypeInfo FMI_PYTHON = { sizeof(FMod_Python), /* size */ FMI_TYPE_GENERATE_CURVE, /* action type */ FMI_REQUIRES_RUNTIME_CHECK, /* requirements */ - "Python", /* name */ + N_("Python"), /* name */ "FMod_Python", /* struct name */ fcm_python_free, /* free data */ fcm_python_copy, /* copy data */ @@ -865,7 +867,7 @@ static FModifierTypeInfo FMI_LIMITS = { sizeof(FMod_Limits), /* size */ FMI_TYPE_GENERATE_CURVE, /* action type */ /* XXX... err... */ FMI_REQUIRES_RUNTIME_CHECK, /* requirements */ - "Limits", /* name */ + N_("Limits"), /* name */ "FMod_Limits", /* struct name */ NULL, /* free data */ NULL, /* copy data */ @@ -918,7 +920,7 @@ static FModifierTypeInfo FMI_STEPPED = { sizeof(FMod_Limits), /* size */ FMI_TYPE_GENERATE_CURVE, /* action type */ /* XXX... err... */ FMI_REQUIRES_RUNTIME_CHECK, /* requirements */ - "Stepped", /* name */ + N_("Stepped"), /* name */ "FMod_Stepped", /* struct name */ NULL, /* free data */ NULL, /* copy data */ -- cgit v1.2.3