forked from DRYTRIX/TimeTracker
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcrowdin.yml
More file actions
24 lines (21 loc) Β· 1021 Bytes
/
Copy pathcrowdin.yml
File metadata and controls
24 lines (21 loc) Β· 1021 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Crowdin CLI / GitHub Action configuration.
# Project: https://crowdin.com/project/drytrix-timetracker
# See docs/CONTRIBUTING_TRANSLATIONS.md β Crowdin setup.
#
# Secrets (never commit real values):
# CROWDIN_PROJECT_ID β numeric project ID from Crowdin β Project Settings β Details
# CROWDIN_PERSONAL_TOKEN β Account Settings β API β New token (scope: Project; Manager on this project)
project_id_env: CROWDIN_PROJECT_ID
api_token_env: CROWDIN_PERSONAL_TOKEN
base_path: .
base_url: https://api.crowdin.com
preserve_hierarchy: true
files:
- source: /translations/en/LC_MESSAGES/messages.po
translation: /translations/%two_letters_code%/LC_MESSAGES/%original_file_name%
# Minor edits to English source strings keep existing translations as unapproved instead of wiping them
update_option: update_as_unapproved
# Crowdin often uses "nb" for Norwegian BokmΓ₯l; this app uses locale folder "no" (see app/config.py).
languages_mapping:
two_letters_code:
"nb": "no"