mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 01:56:46 +00:00
⚡ Switch to JSON for localization service
This commit is contained in:
@@ -51,7 +51,7 @@ function getTranslationPaths() {
|
||||
__dirname,
|
||||
cur.split('/').slice(1, -1).join('/'),
|
||||
'translations',
|
||||
`${locale}.ts`,
|
||||
`${locale}.json`,
|
||||
);
|
||||
|
||||
if (existsSync(sourcePath) && !seen[sourcePath]) {
|
||||
@@ -61,7 +61,7 @@ function getTranslationPaths() {
|
||||
__dirname,
|
||||
cur.split('/').slice(0, -1).join('/'),
|
||||
'translations',
|
||||
`${locale}.js`,
|
||||
`${locale}.json`,
|
||||
);
|
||||
|
||||
acc.push({
|
||||
|
||||
Reference in New Issue
Block a user