Merge branch 'dev' into ab

This commit is contained in:
Stephen Zhou
2024-09-22 16:34:02 +08:00
committed by GitHub
150 changed files with 4922 additions and 3465 deletions
+1 -1
View File
@@ -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") {