From 593a1f12b7e52ec4dccc43ef2a864436690c67d8 Mon Sep 17 00:00:00 2001 From: Lauryn Menard Date: Tue, 4 Jun 2024 14:57:19 +0200 Subject: [PATCH] i18n-tools: Print locale that's being checked for legacy translations. Adds a print statement to `tools/i18n/update-for-legacy-translations` to help with debugging to know what locale was being checked if an error is raised. --- tools/i18n/update-for-legacy-translations | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/i18n/update-for-legacy-translations b/tools/i18n/update-for-legacy-translations index 32b2b3c337..232bff7836 100755 --- a/tools/i18n/update-for-legacy-translations +++ b/tools/i18n/update-for-legacy-translations @@ -237,6 +237,7 @@ for locale in get_locales(): current = get_json_filename(locale) legacy = get_legacy_filename(locale) if os.path.exists(current) and os.path.exists(legacy): + print(f"Checking legacy translations for: {current}") current_translations = get_translations(current) legacy_translations = get_translations(legacy) update_for_legacy_stream_translations(current_translations, legacy_translations, current)