Skip to content

Commit a61b750

Browse files
authored
Merge pull request #201 from goanpeca/update/content
Update content and crowdin config
2 parents 26edf38 + c69a515 commit a61b750

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

70 files changed

+1390
-9137
lines changed

.babelrc

Lines changed: 0 additions & 3 deletions
This file was deleted.

.github/workflows/sync.yml

Lines changed: 0 additions & 69 deletions
This file was deleted.

.github/workflows/sync_content.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ jobs:
1111
uses: Scientific-Python-Translations/content-sync@main
1212
with:
1313
source-repo: "xarray-contrib/xarray.dev"
14-
source-path: "content/en/"
14+
source-path: "src/locales/en/"
1515
source-ref: "main"
1616
translations-repo: "Scientific-Python-Translations/xarray-translations"
17-
translations-path: "content/"
18-
translations-source-path: "content/en/"
17+
translations-path: "src/locales/"
18+
translations-source-path: "src/locales/en/"
1919
translations-ref: "main"
2020
auto-merge: "false"
2121
# These are provided by the Scientific Python Project and allow

.github/workflows/sync_translations.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ jobs:
1313
# Provided by user
1414
crowdin-project: "Xarray"
1515
source-repo: "xarray-contrib/xarray.dev"
16-
source-path: "content/en/"
16+
source-path: "src/locales/en/"
1717
source-ref: "main"
1818
translations-repo: "Scientific-Python-Translations/xarray-website-translations"
19-
translations-path: "content/"
20-
translations-source-path: "content/en/"
19+
translations-path: "src/locales/"
20+
translations-source-path: "src/locales/en/"
2121
translations-ref: "main"
2222
translation-percentage: "90"
2323
approval-percentage: "0"

add_lingui_macros_components.js

Lines changed: 0 additions & 63 deletions
This file was deleted.

add_lingui_macros_data.js

Lines changed: 0 additions & 39 deletions
This file was deleted.

crowdin.yml

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,11 @@
11
project_identifier: PROJECT_IDENTIFIER_CROWDIN
22
api_key: API_KEY_CROWDIN
3+
pull_request_title: New Crowdin updates
4+
pull_request_labels:
5+
- do-not-merge
36
base_path: ./
47
preserve_hierarchy: true
58
files:
6-
- source: /src/en/components.po
7-
translation: /src/%two_letters_code%/%original_file_name%
8-
update_option: update_as_unapproved
9-
- source: /src/en/data.po
10-
translation: /src/%two_letters_code%/%original_file_name%
11-
update_option: update_as_unapproved
12-
- source: /src/en/pages.po
13-
translation: /src/%two_letters_code%/%original_file_name%
9+
- source: /src/locales/en/messages.po
10+
translation: /src/locales/%two_letters_code%/%original_file_name%
1411
update_option: update_as_unapproved

lingui.config.js

Lines changed: 0 additions & 20 deletions
This file was deleted.

0 commit comments

Comments
 (0)