Skip to content

Commit

Permalink
fixup! fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
OmarIthawi committed Oct 23, 2023
1 parent 5dff08c commit 030ef55
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
3 changes: 1 addition & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions docs/decisions/0002-mark-fuzzy-entries.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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}"

Expand All @@ -270,6 +271,7 @@ msgstr "कैश क्लियर हो गया।"

#: apps/edx_django_extensions/views.py
#, python-brace-format
#, fuzzy
msgid "{action} is not a valid action."
msgstr "{कार्रवाई} एक वैध कार्रवाई नहीं है।"

Expand Down Expand Up @@ -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 "जारी किए गए {महीने} {वर्ष}"

Expand Down

0 comments on commit 030ef55

Please sign in to comment.