mirror of
https://github.com/zadam/trilium.git
synced 2025-10-09 15:08:14 +08:00
fix(forge): locales with dash on non-mac
This commit is contained in:
parent
8d868b77d0
commit
04794c38d8
1 changed files with 2 additions and 2 deletions
|
@ -149,7 +149,7 @@ module.exports = {
|
||||||
.filter(locale => !locale.contentOnly)
|
.filter(locale => !locale.contentOnly)
|
||||||
.map(locale => locale.electronLocale);
|
.map(locale => locale.electronLocale);
|
||||||
if (!isMac) {
|
if (!isMac) {
|
||||||
localesToKeep.map(locale => locale.replace("_", "-"))
|
localesToKeep = localesToKeep.map(locale => locale.replace("_", "-"))
|
||||||
}
|
}
|
||||||
|
|
||||||
const keptLocales = new Set();
|
const keptLocales = new Set();
|
||||||
|
|
Loading…
Add table
Reference in a new issue