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
This commit is contained in:
parent
c2c019dda8
commit
e79312df6e
Notes:
blender-bot
2023-05-31 15:37:48 +02:00
Referenced by issue #108447, Unnecessary translation of recent directory list
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue