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:
Damien Picard 2022-08-15 09:48:20 +02:00 committed by Bastien Montagne
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
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}