mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-01-31 19:02:59 +01:00
Fix: Plugin locales should overwrite core's locales
This commit is contained in:
parent
0f557909ba
commit
ed5e8997d7
1 changed files with 2 additions and 0 deletions
|
@ -41,6 +41,8 @@ const getAllLocales = () => {
|
|||
|
||||
// add plugins languages (if any)
|
||||
for (const {package: {path: pluginPath}} of Object.values(pluginDefs.plugins)) {
|
||||
// plugin locales should overwrite etherpad's core locales
|
||||
if (pluginPath.endsWith('/ep_etherpad-lite') === true) continue;
|
||||
extractLangs(path.join(pluginPath, 'locales'));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue