Skip to content

Commit

Permalink
Merge pull request #198 from Webperf-se/language-auto-generate
Browse files Browse the repository at this point in the history
Language auto generate
  • Loading branch information
7h3Rabbit authored Apr 16, 2023
2 parents b081ce3 + 4601162 commit 1730f2e
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/regression-test-translations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
os: [windows-latest]
#os: [ubuntu-latest, windows-latest]
steps:
- name: Check out repository code
uses: actions/checkout@v3
Expand All @@ -24,4 +25,12 @@ jobs:
run: python .github/workflows/verify_result.py -l
- if: ${{ matrix.os == 'windows-latest' }}
name: Verifing Translation(s) - WINDOWS
run: python .github\workflows\verify_result.py -l
run: python .github\workflows\verify_result.py -l
- if: ${{ matrix.os == 'windows-latest' }}
name: Git Add any changes to Translation(s) - WINDOWS
run: |
git config --global user.name 'GitHub Action'
git config --global user.email '7h3Rabbit@users.noreply.github.com'
git add locales/
git commit -m "Add changed Translation(s) if any"
git push
Binary file modified locales/en/LC_MESSAGES/webperf-core.mo
Binary file not shown.
2 changes: 1 addition & 1 deletion locales/en/LC_MESSAGES/webperf-core.po
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ msgstr "-t 26\t: Accessibility Statement (Alfa)"

#: default.py:137 default.py:141 default.py:146 default.py:213
msgid "TEXT_COMMAND_USAGE"
msgstr "\n\tWebPerf Core\n\n\tUsage:\ndefault.py -u https://webperf.se\n\n\tOptions and arguments:\n\t-h/--help\t\t\t: Help information on how to use script\n\t-u/--url <site url>\t\t: website url to test against\n\t-t/--test <test number>\t\t: run ONE test (use ? to list available tests)\n\t-r/--review\t\t\t: show reviews in terminal\n\t-i/--input <file path>\t\t: input file path (.json/.sqlite)\n\t-i/--input-skip <number>\t: number of items to skip\n\t-i/--input-take <number>\t: number of items to take\n\t-o/--output <file path>\t\t: output file path (.json/.csv/.sql/.sqlite)\n\t-A/--addUrl <site url>\t\t: website url (required in compination with -i/--input)\n\t-D/--deleteUrl <site url>\t: website url (required in compination with -i/--input)\n\t-L/--language <lang code>\t: language used for output(en = default/sv)"
msgstr "\n\tWebPerf Core\n\n\tUsage:\ndefault.py -u https://webperf.se\n\n\tOptions and arguments:\n\t-h/--help\t\t\t: Help information on how to use script\n\t-u/--url <site url>\t\t: website url to test against\n\t-t/--test <test number>\t\t: run ONE test (use ? to list available tests)\n\t-r/--review\t\t\t: show reviews in terminal\n\t-i/--input <file path>\t\t: input file path (.json/.sqlite/.sitemap/<category name>.webprf)\n\t-i/--input-skip <number>\t: number of items to skip\n\t-i/--input-take <number>\t: number of items to take\n\t-o/--output <file path>\t\t: output file path (.json/.csv/.sql/.sqlite)\n\t-A/--addUrl <site url>\t\t: website url (required in compination with -i/--input)\n\t-D/--deleteUrl <site url>\t: website url (required in compination with -i/--input)\n\t-L/--language <lang code>\t: language used for output(en = default/sv)"

msgid "TEXT_TEST_REVIEW_OVERVIEW"
msgstr "\r\n#### Overall:\r\n{0}"
Expand Down

0 comments on commit 1730f2e

Please sign in to comment.