From e052fe651e9f3dc0fcb21d5ac8063ce68699ae63 Mon Sep 17 00:00:00 2001 From: barredterra <14891507+barredterra@users.noreply.github.com> Date: Sun, 29 Oct 2023 01:31:27 +0200 Subject: [PATCH] fix: consistent naming `migrate-csv-to-po` --- frappe/commands/gettext.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/frappe/commands/gettext.py b/frappe/commands/gettext.py index 8c5aa96c35..3a74b38b81 100644 --- a/frappe/commands/gettext.py +++ b/frappe/commands/gettext.py @@ -29,7 +29,9 @@ def compile_translations(context, app: str | None = None, locale: str = None): compile(app, locale) -@click.command("csv-to-po", help="Translation: migrate from CSV files (old) to PO files (new)") +@click.command( + "migrate-csv-to-po", help="Translation: migrate from CSV files (old) to PO files (new)" +) @click.option("--app", help="Only migrate for this app. eg: frappe") @click.option("--locale", help="Compile translations only for this locale. eg: de") @pass_context