mirror of
https://github.com/loot/libloot.git
synced 2026-07-27 14:16:01 -07:00
Don't use template strings in translate()
gettext doesn't understand backtick-quoted strings
This commit is contained in:
@@ -127,7 +127,7 @@ function onSortPlugins() {
|
||||
const message = result.globalMessages.find(item => (
|
||||
item.text.startsWith('Cyclic interaction detected'
|
||||
))).text;
|
||||
throw new Error(loot.l10n.translate(`Failed to sort plugins. Details: ${message}`));
|
||||
throw new Error(loot.l10n.translate('Failed to sort plugins. Details: %s', message));
|
||||
}
|
||||
|
||||
/* Check if sorted load order differs from current load order. */
|
||||
|
||||
Reference in New Issue
Block a user