@@ -1,3 +1,5 @@
|
||||
// This file is auto-generated by scripts/generate-i18n-locale.ts
|
||||
// DONT EDIT THIS FILE MANUALLY
|
||||
export const currentSupportedLanguages = [
|
||||
"en",
|
||||
"ja",
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
// This file is auto-generated by scripts/generate-i18n-locale.ts
|
||||
// DONT EDIT THIS FILE MANUALLY
|
||||
import en from "../../../../locales/app/en.json"
|
||||
import common_ardz from "../../../../locales/common/ar-DZ.json"
|
||||
import common_ariq from "../../../../locales/common/ar-IQ.json"
|
||||
|
||||
@@ -328,7 +328,7 @@ function updateConstantsFile(sourceFile: ts.SourceFile, locale: string): string
|
||||
(context) => (rootNode) => {
|
||||
function visit(node: ts.Node): ts.Node {
|
||||
if (ts.isVariableDeclaration(node) && ts.isIdentifier(node.name)) {
|
||||
if (node.name.text === "langs") {
|
||||
if (node.name.text === "currentSupportedLanguages") {
|
||||
return updateLangsArray(node, locale)
|
||||
}
|
||||
if (node.name.text === "dayjsLocaleImportMap") {
|
||||
|
||||
Reference in New Issue
Block a user