Update Azure credentials and translation languages

pull/623/head
Lee Stott 1 week ago committed by GitHub
parent 5659f80b31
commit ffb28f49ef
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -33,8 +33,9 @@ jobs:
env:
PYTHONIOENCODING: utf-8
# Azure AI Service Credentials
AZURE_AI_SERVICE_API_KEY: ${{ secrets.AZURE_AI_SERVICE_API_KEY }}
AZURE_SUBSCRIPTION_KEY: ${{ secrets.AZURE_SUBSCRIPTION_KEY }}
AZURE_AI_SERVICE_ENDPOINT: ${{ secrets.AZURE_AI_SERVICE_ENDPOINT }}
AZURE_AI_SERVICE_API_KEY: ${{ secrets.AZURE_AI_SERVICE_API_KEY }}
# Azure OpenAI Credentials
AZURE_OPENAI_API_KEY: ${{ secrets.AZURE_OPENAI_API_KEY }}
@ -54,11 +55,12 @@ jobs:
# =====================================================================
# Example: Translate to Spanish, French, German. Add -y to auto-confirm.
# translate -l "all" -y # <--- MODIFY THIS LINE with your desired languages
# translate -l "ar ur tl mr ne pa bn ru mo" -y
# translate -l "br it tr el th sv da no" -y
translate -l "vi id ms sw hu cs" -y
# translate -l "sk ro bg sr hr sl ja uk my" -y
# Recommendation for large batches over 29 files run them in batches maximum github runner time is 6 hours
translate -l "zh tw hk fr ja ko pt es de fa pl hi" -y
# translate -l "ru ar ur mo ja bn mr ne pa br it tr" -y
# translate -l "el th sv da no fi nl he vi id ms tl" -y
# translate -l "sw hu cs sk ro bg sr hr sl uk my" -y
- name: Authenticate GitHub App
id: generate_token
uses: tibdex/github-app-token@v1
@ -90,3 +92,4 @@ jobs:
add-paths: |
translations/
translated_images/

Loading…
Cancel
Save