Skip to content

Commit

Permalink
Add "Update fuzzy tmx" step
Browse files Browse the repository at this point in the history
  • Loading branch information
ynojima committed Dec 4, 2023
1 parent f8c643c commit b400e29
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,25 @@ jobs:
# Setup build environment(install runtime, library, etc.)
run: |
bin/setup-build-env-on-ubuntu
- name: Update fuzzy tmx
# Update fuzzy tmx file from .po files
# Translation memory is a kind of dictionary consisted by pairs of a original text and a translated text.
# fuzzy.tmx will be used in sync workflow to fill a machine translated text candidates to the updated .po files.
run: vendor/quarkus-l10n-utils/bin/update-tmx

- name: Push changes
# Commit and Push the fuzzy tmx file generated
run: vendor/quarkus-l10n-utils/bin/push-changes "Update fuzzy tmx"

- name: Update tmx
# Update .tmx (translation memory) file from .po files
# Update tmx file from .po files
# Translation memory is a kind of dictionary consisted by pairs of a original text and a translated text.
# It will be used in sync workflow to fill a translated text to the updated .po files.
run: vendor/quarkus-l10n-utils/bin/update-tmx

- name: Push changes
# Commit and Push the .tmx file generated
# Commit and Push the tmx file generated
run: vendor/quarkus-l10n-utils/bin/push-changes "Update tmx"

- name: Update translation stats
Expand Down

0 comments on commit b400e29

Please sign in to comment.