From 53aab3744614f2f387b33840adc8ea2f6641ae74 Mon Sep 17 00:00:00 2001 From: Thibault Duplessis Date: Mon, 6 Jan 2025 10:08:03 +0100 Subject: [PATCH] rename trans-dump.ts to i18n-file-gen.ts --- bin/{trans-dump.ts => i18n-file-gen.ts} | 2 +- bin/trans-unused | 2 +- modules/coreI18n/src/main/key.scala | 2 +- package.json | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) rename bin/{trans-dump.ts => i18n-file-gen.ts} (98%) diff --git a/bin/trans-dump.ts b/bin/i18n-file-gen.ts similarity index 98% rename from bin/trans-dump.ts rename to bin/i18n-file-gen.ts index b68a8da5826de..8e809649f4bc7 100644 --- a/bin/trans-dump.ts +++ b/bin/i18n-file-gen.ts @@ -71,7 +71,7 @@ function keyListFrom(name: string): KeyList { const dbCode = (obj: KeyList) => ` object ${convertObjectName(obj.name)}:\n${obj.code}`; Promise.all(xmls.map(keyListFrom)).then(objs => { - const code = `// Generated with bin/trans-dump.ts + const code = `// Generated with bin/i18n-file-gen.ts package lila.core.i18n opaque type I18nKey = String diff --git a/bin/trans-unused b/bin/trans-unused index 8871953efebf4..6aef779da311a 100755 --- a/bin/trans-unused +++ b/bin/trans-unused @@ -92,7 +92,7 @@ def main() -> None: r = subprocess.run(["sed","-i", "", f"/{unused}.*