Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Montagne <montagne29@wanadoo.fr>2019-06-11 23:25:01 +0300
committerBastien Montagne <montagne29@wanadoo.fr>2019-06-11 23:25:01 +0300
commit23df1a774b5b70e5108e2d1b1901d2a204ca1d9e (patch)
tree670e5658630b6c29056029685e7b6500debdc758 /source/blender/draw
parentd665d128536cb7fc42e3796c0bd4529c1a391431 (diff)
Fix/Cleanup: I18N: Bad usage of IFACE_ instead of TIP_.
Cheap tip: anything that is not "Camel Case" and/or that is more than a few words long should use `TIP_` translation, not `IFACE_` one. Also added several missing strings (including the one reported in D5056 by Jean First (@robbott), thanks).
Diffstat (limited to 'source/blender/draw')
-rw-r--r--source/blender/draw/engines/eevee/eevee_lightcache.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/draw/engines/eevee/eevee_lightcache.c b/source/blender/draw/engines/eevee/eevee_lightcache.c
index ebdc7813335..5af0a6fa920 100644
--- a/source/blender/draw/engines/eevee/eevee_lightcache.c
+++ b/source/blender/draw/engines/eevee/eevee_lightcache.c
@@ -213,7 +213,7 @@ void EEVEE_lightcache_info_update(SceneEEVEE *eevee)
if (lcache != NULL) {
if (lcache->flag & LIGHTCACHE_BAKING) {
BLI_strncpy(
- eevee->light_cache_info, IFACE_("Baking light cache"), sizeof(eevee->light_cache_info));
+ eevee->light_cache_info, TIP_("Baking light cache"), sizeof(eevee->light_cache_info));
return;
}
@@ -224,14 +224,14 @@ void EEVEE_lightcache_info_update(SceneEEVEE *eevee)
BLI_snprintf(eevee->light_cache_info,
sizeof(eevee->light_cache_info),
- IFACE_("%d Ref. Cubemaps, %d Irr. Samples (%s in memory)"),
+ TIP_("%d Ref. Cubemaps, %d Irr. Samples (%s in memory)"),
lcache->cube_len - 1,
irr_samples,
formatted_mem);
}
else {
BLI_strncpy(eevee->light_cache_info,
- IFACE_("No light cache in this scene"),
+ TIP_("No light cache in this scene"),
sizeof(eevee->light_cache_info));
}
}