[Bf-blender-cvs] [82046756898] master: UI messages: Rename 'Light' to 'Lite' for compression method.

Bastien Montagne noreply at git.blender.org
Wed May 8 22:30:40 CEST 2019


Commit: 82046756898b5056f6318ab36fa0bfe331eddd42
Author: Bastien Montagne
Date:   Wed May 8 22:24:10 2019 +0200
Branches: master
https://developer.blender.org/rB82046756898b5056f6318ab36fa0bfe331eddd42

UI messages: Rename 'Light' to 'Lite' for compression method.

While not exactly optimal, that's the only disambiguation solution I
found doable for translations (i18n). ID names tend to sneak
everywhere, including in places where we have no access to i18n context
currently (like menu labels e.g.).

Other alternative would have been to use 'Lightweight', but that is a
tad too long, we love short UI messages as much as possible.

The genius who decided that it was critical to rename ID lamp to light
in 2.8 is welcome to find a better solution...

Part of T43295.

===================================================================

M	source/blender/makesrna/intern/rna_object_force.c
M	source/blender/makesrna/intern/rna_smoke.c

===================================================================

diff --git a/source/blender/makesrna/intern/rna_object_force.c b/source/blender/makesrna/intern/rna_object_force.c
index c4f0eb35627..2abb1f3227a 100644
--- a/source/blender/makesrna/intern/rna_object_force.c
+++ b/source/blender/makesrna/intern/rna_object_force.c
@@ -754,7 +754,7 @@ static void rna_def_pointcache_common(StructRNA *srna)
 
   static const EnumPropertyItem point_cache_compress_items[] = {
       {PTCACHE_COMPRESS_NO, "NO", 0, "None", "No compression"},
-      {PTCACHE_COMPRESS_LZO, "LIGHT", 0, "Light", "Fast but not so effective compression"},
+      {PTCACHE_COMPRESS_LZO, "LIGHT", 0, "Lite", "Fast but not so effective compression"},
       {PTCACHE_COMPRESS_LZMA, "HEAVY", 0, "Heavy", "Effective but slow compression"},
       {0, NULL, 0, NULL, NULL},
   };
diff --git a/source/blender/makesrna/intern/rna_smoke.c b/source/blender/makesrna/intern/rna_smoke.c
index b6486d7a3f4..f4fba02efe5 100644
--- a/source/blender/makesrna/intern/rna_smoke.c
+++ b/source/blender/makesrna/intern/rna_smoke.c
@@ -463,7 +463,7 @@ static void rna_def_smoke_domain_settings(BlenderRNA *brna)
       {0, NULL, 0, NULL, NULL}};
 
   static const EnumPropertyItem smoke_cache_comp_items[] = {
-      {SM_CACHE_LIGHT, "CACHELIGHT", 0, "Light", "Fast but not so effective compression"},
+      {SM_CACHE_LIGHT, "CACHELIGHT", 0, "Lite", "Fast but not so effective compression"},
       {SM_CACHE_HEAVY, "CACHEHEAVY", 0, "Heavy", "Effective but slow compression"},
       {0, NULL, 0, NULL, NULL},
   };



More information about the Bf-blender-cvs mailing list