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:
committed by
Bastien Montagne
parent
c2c019dda8
commit
e79312df6e
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user