diff --git a/Makefile b/Makefile index 13b85c5d6a8..4373b93c99d 100644 --- a/Makefile +++ b/Makefile @@ -41,9 +41,8 @@ validate_translation_files: ## Run basic validation to ensure translation files python scripts/validate_translation_files.py - validate_translation_files_mark_fuzzy: ## Run basic validation and mark invalid entries as fuzzy - MARK_FUZZY=yes python scripts/validate_translation_files.py + python scripts/validate_translation_files.py --mark-fuzzy sync_translations: ## Syncs from the old projects to the new openedx-translations project diff --git a/docs/decisions/0002-mark-fuzzy-entries.rst b/docs/decisions/0002-mark-fuzzy-entries.rst index 7aa9f4ea277..2eb93ca98b4 100644 --- a/docs/decisions/0002-mark-fuzzy-entries.rst +++ b/docs/decisions/0002-mark-fuzzy-entries.rst @@ -28,10 +28,10 @@ combined into one single workflow with multiple jobs: #. Run ``python-tests.yml`` to validate the python code #. Then, run ``validate-translation-files.yml`` which performs the following: - #. Validate the po-files using ``msgfmt`` - #. Mark the invalid entries as fuzzy (writes to the pofile) - #. Validate the files again to ensure the files are became valid - #. Commit the fixes if any + #. Validate the po-files using ``msgfmt`` + #. Mark the invalid entries as fuzzy (writes to the pofile) + #. Validate the files again to ensure the files are became valid + #. Commit the fixes if any #. Mark invalid entires as fuzzy therefore excluded from .mo files as well as msgfmt #. Validate the files again to ensure the files are still valid #. Commit the fixes diff --git a/translations/credentials/credentials/conf/locale/hi/LC_MESSAGES/django.po b/translations/credentials/credentials/conf/locale/hi/LC_MESSAGES/django.po index bc7f6bcb0f6..0f24afc7196 100644 --- a/translations/credentials/credentials/conf/locale/hi/LC_MESSAGES/django.po +++ b/translations/credentials/credentials/conf/locale/hi/LC_MESSAGES/django.po @@ -249,6 +249,7 @@ msgstr "{first_org} और {second_org}" #: apps/credentials/views.py #, python-brace-format +#, fuzzy msgid "{series_of_orgs}, and {last_org}" msgstr "{Series_of_orgs}, और {last_org}" @@ -270,6 +271,7 @@ msgstr "कैश क्लियर हो गया।" #: apps/edx_django_extensions/views.py #, python-brace-format +#, fuzzy msgid "{action} is not a valid action." msgstr "{कार्रवाई} एक वैध कार्रवाई नहीं है।" @@ -628,6 +630,7 @@ msgstr "द्वारा देखा गया" #. Translators: This phrase appears on certificates to show the issue date #: templates/credentials/programs/base.html #, python-brace-format +#, fuzzy msgid "Issued {month} {year}" msgstr "जारी किए गए {महीने} {वर्ष}"