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/windowmanager
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/windowmanager')
-rw-r--r--source/blender/windowmanager/intern/wm_files.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/windowmanager/intern/wm_files.c b/source/blender/windowmanager/intern/wm_files.c
index 67b1b828f96..3a1c164c88e 100644
--- a/source/blender/windowmanager/intern/wm_files.c
+++ b/source/blender/windowmanager/intern/wm_files.c
@@ -2814,13 +2814,13 @@ static uiBlock *block_create_autorun_warning(struct bContext *C,
/* Text and some vertical space */
uiLayout *col = uiLayoutColumn(layout, true);
uiItemL(col,
- IFACE_("For security reasons, automatic execution of Python scripts in this file was "
- "disabled:"),
+ TIP_("For security reasons, automatic execution of Python scripts in this file was "
+ "disabled:"),
ICON_ERROR);
uiLayout *sub = uiLayoutRow(col, true);
uiLayoutSetRedAlert(sub, true);
uiItemL(sub, G.autoexec_fail, ICON_BLANK1);
- uiItemL(col, IFACE_("This may lead to unexpected behavior"), ICON_BLANK1);
+ uiItemL(col, TIP_("This may lead to unexpected behavior"), ICON_BLANK1);
uiItemS(layout);
@@ -2830,7 +2830,7 @@ static uiBlock *block_create_autorun_warning(struct bContext *C,
&pref_ptr,
"use_scripts_auto_execute",
0,
- IFACE_("Permanently allow execution of scripts"),
+ TIP_("Permanently allow execution of scripts"),
ICON_NONE);
uiItemS(layout);