Skip to content

Commit 7b08470

Browse files
authored
Merge pull request #36906 from github/repo-sync
Repo sync
2 parents 9742ca3 + 887495c commit 7b08470

File tree

16 files changed

+77
-85
lines changed

16 files changed

+77
-85
lines changed

.github/actions/clone-translations/action.yml

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -10,19 +10,19 @@ inputs:
1010
runs:
1111
using: 'composite'
1212
steps:
13-
- name: Clone Simplified Chinese
13+
- name: Clone Spanish
1414
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
1515
with:
16-
repository: github/docs-internal.zh-cn
16+
repository: github/docs-internal.es-es
1717
token: ${{ inputs.token }}
18-
path: translations/zh-cn
18+
path: translations/es-es
1919

20-
- name: Clone Spanish
20+
- name: Clone Japanese
2121
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
2222
with:
23-
repository: github/docs-internal.es-es
23+
repository: github/docs-internal.ja-jp
2424
token: ${{ inputs.token }}
25-
path: translations/es-es
25+
path: translations/ja-jp
2626

2727
- name: Clone Portuguese
2828
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
@@ -31,19 +31,19 @@ runs:
3131
token: ${{ inputs.token }}
3232
path: translations/pt-br
3333

34-
- name: Clone Russian
34+
- name: Clone Simplified Chinese
3535
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
3636
with:
37-
repository: github/docs-internal.ru-ru
37+
repository: github/docs-internal.zh-cn
3838
token: ${{ inputs.token }}
39-
path: translations/ru-ru
39+
path: translations/zh-cn
4040

41-
- name: Clone Japanese
41+
- name: Clone Russian
4242
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
4343
with:
44-
repository: github/docs-internal.ja-jp
44+
repository: github/docs-internal.ru-ru
4545
token: ${{ inputs.token }}
46-
path: translations/ja-jp
46+
path: translations/ru-ru
4747

4848
- name: Clone French
4949
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
@@ -52,16 +52,16 @@ runs:
5252
token: ${{ inputs.token }}
5353
path: translations/fr-fr
5454

55-
- name: Clone German
55+
- name: Clone Korean
5656
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
5757
with:
58-
repository: github/docs-internal.de-de
58+
repository: github/docs-internal.ko-kr
5959
token: ${{ inputs.token }}
60-
path: translations/de-de
60+
path: translations/ko-kr
6161

62-
- name: Clone Korean
62+
- name: Clone German
6363
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
6464
with:
65-
repository: github/docs-internal.ko-kr
65+
repository: github/docs-internal.de-de
6666
token: ${{ inputs.token }}
67-
path: translations/ko-kr
67+
path: translations/de-de

.github/workflows/index-general-search.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ on:
1313
required: false
1414
default: ''
1515
languages:
16-
description: "Comma separated languages. E.g. 'en,zh,es,pt,ru,ja,fr,de,ko' (defaults to all)"
16+
description: "Comma separated languages. E.g. 'en,es,ja,pt,zh,ru,fr,ko,de' (defaults to all)"
1717
required: false
1818
default: ''
1919
schedule:
@@ -51,7 +51,7 @@ jobs:
5151
script: |
5252
// Edit this list for the definitive list of languages
5353
// (other than English) we want to index in Elasticsearch.
54-
const allNonEnglish = ["zh", "es", "pt", "ru", "ja", "fr", "de", "ko"]
54+
const allNonEnglish = 'es,ja,pt,zh,ru,fr,ko,de'.split(',')
5555
const allPossible = ["en", ...allNonEnglish]
5656
5757
if (context.eventName === "workflow_run") {

.github/workflows/purge-fastly.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99
workflow_dispatch:
1010
inputs:
1111
languages:
12-
description: "Comma separated languages. E.g. 'en,zh,es,pt,ru,ja,fr,de,ko' (defaults to en)"
12+
description: "Comma separated languages. E.g. 'en,es,ja,pt,zh,ru,fr,ko,de' (defaults to en)"
1313
required: false
1414
default: 'en' # Temporary, only purge English on deploy. Set to empty string for all
1515

config/moda/configuration/default/env.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ data:
33
NODE_ENV: production
44
NODE_OPTIONS: '--max-old-space-size=4096'
55
PORT: '4000'
6-
ENABLED_LANGUAGES: 'en,zh,es,pt,ru,ja,fr,de,ko'
6+
ENABLED_LANGUAGES: 'en,es,ja,pt,zh,ru,fr,ko,de'
77
RATE_LIMIT_MAX: '21'
88
# Moda uses a non-default port for sending datadog metrics
99
DD_DOGSTATSD_PORT: '28125'

config/moda/configuration/production/env.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ data:
33
NODE_ENV: production
44
NODE_OPTIONS: '--max-old-space-size=4096'
55
PORT: '4000'
6-
ENABLED_LANGUAGES: 'en,zh,es,pt,ru,ja,fr,de,ko'
6+
ENABLED_LANGUAGES: 'en,es,ja,pt,zh,ru,fr,ko,de'
77
RATE_LIMIT_MAX: '21'
88
# Moda uses a non-default port for sending datadog metrics
99
DD_DOGSTATSD_PORT: '28125'

content/get-started/using-github/github-mobile.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,12 +79,12 @@ Alternatively, once logged into one account, access the account switcher to log
7979
{% data variables.product.prodname_mobile %} is available in the following languages.
8080

8181
* English
82+
* Spanish
8283
* Japanese
8384
* Brazilian Portuguese
8485
* Simplified Chinese
85-
* Spanish
86-
* German
8786
* Korean
87+
* German
8888

8989
If you configure the language on your device to a supported language, {% data variables.product.prodname_mobile %} will default to the language. You can change the language for {% data variables.product.prodname_mobile %} in {% data variables.product.prodname_mobile %}'s **Settings** menu.
9090

content/support/contacting-github-support/viewing-and-updating-support-tickets.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Your capabilities in the {% data variables.contact.landing_page_portal %} depend
2727

2828
{% data reusables.support.view-open-tickets %}
2929
1. Under the text box, you can read the comment history. The most recent response is at the top.
30-
1. Optionally, to translate the ticket comment, click {% octicon "globe" aria-label="The globe icon" %} and choose your preferred language from the dropdown menu. You can translate your support ticket into Chinese (Simplified), French, German, Japanese, Portuguese (Brazil), or Spanish.
30+
1. Optionally, to translate the ticket comment, click {% octicon "globe" aria-label="The globe icon" %} and choose your preferred language from the dropdown menu. You can translate your support ticket into Spanish, Japanese, Portuguese (Brazil), Chinese (Simplified), French, or German.
3131

3232
![Screenshot of a support ticket with the dropdown menu showing the options for translation highlighted with a dark orange outline.](/assets/images/help/support/support-ticket-translation-options.png)
3333

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
You can translate English comments on a ticket into Chinese (Simplified), French, German, Japanese, Portuguese (Brazil), or Spanish. However, when responding to tickets, you should use English, unless your {% data variables.product.prodname_dotcom %} plan permits you to respond in Japanese. For more information, see [AUTOTITLE](/support/contacting-github-support/viewing-and-updating-support-tickets).
1+
You can translate English comments on a ticket into Spanish, Japanese, Portuguese (Brazil), Chinese (Simplified), French, or German. However, when responding to tickets, you should use English, unless your {% data variables.product.prodname_dotcom %} plan permits you to respond in Japanese. For more information, see [AUTOTITLE](/support/contacting-github-support/viewing-and-updating-support-tickets).

src/deployments/production/build-scripts/fetch-repos.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ cd translations
3535

3636
# Iterate over each language
3737
echo "Fetching translations..."
38-
for lang in "zh-cn" "es-es" "pt-br" "ru-ru" "ja-jp" "fr-fr" "de-de" "ko-kr"
38+
for lang in "es-es" "ja-jp" "pt-br" "zh-cn" "ru-ru" "fr-fr" "ko-kr" "de-de"
3939
do
4040
translations_repo="docs-internal.$lang"
4141
clone_or_use_cached_repo "$lang" "$translations_repo" "main"
@@ -49,4 +49,4 @@ cd ..
4949
# Cleanup
5050
# - - - - - - - - - -
5151
# Delete GITHUB_TOKEN from the environment
52-
unset GITHUB_TOKEN
52+
unset GITHUB_TOKEN

src/ghes-releases/lib/deprecation-steps.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -175,25 +175,25 @@ This step will remove the version from the drop-down picker, effectively depreca
175175

176176
You can clone the translation repositories directly inside of your docs-internal checkout, but I'd recommend cloning them in a separate directory. For example, create a `translations` directory at the same level as your `docs-internal` directory. Inside of the `translations` directory, clone the following repoisitories (ensure this list includes all languages that we are supporting):
177177
178-
- [docs-internal.de-de](https://github.com/github/docs-internal.de-de)
179-
- [docs-internal.fr-fr](https://github.com/github/docs-internal.fr-fr)
180-
- [docs-internal.ko-kr](https://github.com/github/docs-internal.ko-kr)
181-
- [docs-internal.ru-ru](https://github.com/github/docs-internal.ru-ru)
182178
- [docs-internal.es-es](https://github.com/github/docs-internal.es-es)
183179
- [docs-internal.ja-jp](https://github.com/github/docs-internal.ja-jp)
184180
- [docs-internal.pt-br](https://github.com/github/docs-internal.pt-br)
185181
- [docs-internal.zh-cn](https://github.com/github/docs-internal.zh-cn)
182+
- [docs-internal.ru-ru](https://github.com/github/docs-internal.ru-ru)
183+
- [docs-internal.fr-fr](https://github.com/github/docs-internal.fr-fr)
184+
- [docs-internal.ko-kr](https://github.com/github/docs-internal.ko-kr)
185+
- [docs-internal.de-de](https://github.com/github/docs-internal.de-de)
186186
187187
To map the location of each translation repository, edit your `.env` file with the mapping. For example, if following the locations suggested above, your `.env` file might look like this:
188188
189189
```shell
190190
TRANSLATIONS=/Users/mona/repos/github-repos/translations
191191
TRANSLATIONS_ROOT_ES_ES=${TRANSLATIONS}/docs-internal.es-es
192-
TRANSLATIONS_ROOT_ZH_CN=${TRANSLATIONS}/docs-internal.zh-cn
193192
TRANSLATIONS_ROOT_JA_JP=${TRANSLATIONS}/docs-internal.ja-jp
194193
TRANSLATIONS_ROOT_PT_BR=${TRANSLATIONS}/docs-internal.pt-br
195-
TRANSLATIONS_ROOT_FR_FR=${TRANSLATIONS}/docs-internal.fr-fr
194+
TRANSLATIONS_ROOT_ZH_CN=${TRANSLATIONS}/docs-internal.zh-cn
196195
TRANSLATIONS_ROOT_RU_RU=${TRANSLATIONS}/docs-internal.ru-ru
196+
TRANSLATIONS_ROOT_FR_FR=${TRANSLATIONS}/docs-internal.fr-fr
197197
TRANSLATIONS_ROOT_KO_KR=${TRANSLATIONS}/docs-internal.ko-kr
198198
TRANSLATIONS_ROOT_DE_DE=${TRANSLATIONS}/docs-internal.de-de
199199
```

0 commit comments

Comments
 (0)