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:
authorHans Goudey <h.goudey@me.com>2022-02-04 16:31:53 +0300
committerHans Goudey <h.goudey@me.com>2022-02-04 16:31:53 +0300
commit7099d5b66129deba2d28102ea339b1d5339233fe (patch)
tree7c0c4c8839c522632f41c96c57a2316b385c5a0d /source/blender/editors/mesh/editmesh_select.c
parent623ff64a278924af57d7e1ec7e7bdb8792a560f8 (diff)
Fix: Missing translations from operator descriptions
The strings in the `get_description` functions for operators need translation, they are not found by the translation system automatically, and there is no translation applied afterwards either (as far as I could tell). Some used `N_` before, but most did nothing. Differential Revision: https://developer.blender.org/D14011
Diffstat (limited to 'source/blender/editors/mesh/editmesh_select.c')
-rw-r--r--source/blender/editors/mesh/editmesh_select.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/source/blender/editors/mesh/editmesh_select.c b/source/blender/editors/mesh/editmesh_select.c
index 9396c9e53ea..8383492e459 100644
--- a/source/blender/editors/mesh/editmesh_select.c
+++ b/source/blender/editors/mesh/editmesh_select.c
@@ -1408,15 +1408,15 @@ static char *edbm_select_mode_get_description(struct bContext *UNUSED(C),
!RNA_struct_property_is_set(values, "action")) {
switch (type) {
case SCE_SELECT_VERTEX:
- return BLI_strdup(
- N_("Vertex select - Shift-Click for multiple modes, Ctrl-Click contracts selection"));
+ return BLI_strdup(TIP_(
+ "Vertex select - Shift-Click for multiple modes, Ctrl-Click contracts selection"));
case SCE_SELECT_EDGE:
return BLI_strdup(
- N_("Edge select - Shift-Click for multiple modes, "
- "Ctrl-Click expands/contracts selection depending on the current mode"));
+ TIP_("Edge select - Shift-Click for multiple modes, "
+ "Ctrl-Click expands/contracts selection depending on the current mode"));
case SCE_SELECT_FACE:
return BLI_strdup(
- N_("Face select - Shift-Click for multiple modes, Ctrl-Click expands selection"));
+ TIP_("Face select - Shift-Click for multiple modes, Ctrl-Click expands selection"));
}
}