diff options
author | Damien Picard <pioverfour> | 2022-08-15 10:48:20 +0300 |
---|---|---|
committer | Bastien Montagne <bastien@blender.org> | 2022-08-15 10:48:47 +0300 |
commit | e79312df6eef5a4d39752fefc6bb9cfec8699259 (patch) | |
tree | 0626b11c3947a8094aa7211314262a5f84f0e94f /source | |
parent | c2c019dda81088dd21c7a1b58f095a58521a7a64 (diff) |
I18n: translate recent files and bookmarks in the file browser
This is not dynamic: it only happens when the dir is added to the
list--automatically for recent files, and by the user for bookmarks.
Entries can then be manually renamed like other dirs. They will
keep the same name if the language is changed afterwards.
Reviewed By: mont29
Differential Revision: https://developer.blender.org/D15629
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/editors/space_file/fsmenu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_file/fsmenu.c b/source/blender/editors/space_file/fsmenu.c index 310c688383b..30e13235f45 100644 --- a/source/blender/editors/space_file/fsmenu.c +++ b/source/blender/editors/space_file/fsmenu.c @@ -443,7 +443,7 @@ void fsmenu_insert_entry(struct FSMenu *fsmenu, if (STREQ(tfsm->path, fsm_iter->path)) { icon = tfsm->icon; if (tfsm->name[0] && (!name || !name[0])) { - name = tfsm->name; + name = DATA_(tfsm->name); } break; } |