Fix: Plugin locales should overwrite core's locales
parent
0f557909ba
commit
ed5e8997d7
|
@ -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 New Issue