1
0
mirror of synced 2026-01-05 12:07:35 -05:00

Update language order to en,es,ja,pt,zh,ru,fr,ko,de (#54847)

This commit is contained in:
Kevin Heis
2025-03-17 09:55:41 -07:00
committed by GitHub
parent 7e17175dea
commit 887495c6d6
16 changed files with 106 additions and 114 deletions

View File

@@ -13,7 +13,7 @@ on:
required: false
default: ''
languages:
description: "Comma separated languages. E.g. 'en,zh,es,pt,ru,ja,fr,de,ko' (defaults to all)"
description: "Comma separated languages. E.g. 'en,es,ja,pt,zh,ru,fr,ko,de' (defaults to all)"
required: false
default: ''
schedule:
@@ -51,7 +51,7 @@ jobs:
script: |
// Edit this list for the definitive list of languages
// (other than English) we want to index in Elasticsearch.
const allNonEnglish = ["zh", "es", "pt", "ru", "ja", "fr", "de", "ko"]
const allNonEnglish = 'es,ja,pt,zh,ru,fr,ko,de'.split(',')
const allPossible = ["en", ...allNonEnglish]
if (context.eventName === "workflow_run") {

View File

@@ -9,7 +9,7 @@ on:
workflow_dispatch:
inputs:
languages:
description: "Comma separated languages. E.g. 'en,zh,es,pt,ru,ja,fr,de,ko' (defaults to en)"
description: "Comma separated languages. E.g. 'en,es,ja,pt,zh,ru,fr,ko,de' (defaults to en)"
required: false
default: 'en' # Temporary, only purge English on deploy. Set to empty string for all