README.md in crowdin-cli-0.3.9 vs README.md in crowdin-cli-0.3.10
- old
+ new
@@ -38,22 +38,22 @@
Create `crowdin.yaml` YAML file in your root project directory with the following structure:
```
project_identifier: test
api_key: KeepTheAPIkeySecret
-base_url: http://api.crowdin.com
+base_url: https://api.crowdin.com
base_path: /path/to/your/project
files:
-
source: /locale/en/LC_MESSAGES/messages.po
translation: /locale/%two_letters_code%/LC_MESSAGES/%original_file_name%
```
* `api_key` - Crowdin Project API key
* `project_identifier` - Crowdin project name
-* `base_url` - (default: http://api.crowdin.com)
+* `base_url` - (default: https://api.crowdin.com)
* `base_path` - defines what directory have to be scaned(default: current directory)
* `files`
* `source` - defines only files that should be uploaded as sources
* `translation` - defines where translations should be placed after downloading (also the path have to be checked to detect and upload existing translations)
@@ -109,11 +109,11 @@
See sample configuration below::
```
---
project_identifier: test
api_key: KeepTheAPIkeySecret
-base_url: http://api.crowdin.com
+base_url: https://api.crowdin.com
base_path: /path/to/your/project
files:
-
source: /locale/en/**/*.po
@@ -138,11 +138,11 @@
```
---
project_identifier: test
api_key: KeepTheAPIkeySecret
-base_url: http://api.crowdin.com
+base_url: https://api.crowdin.com
base_path: /path/to/your/project
files:
-
source: /locale/en/**/*.po
@@ -185,22 +185,22 @@
```
---
project_identifier: test
api_key: KeepTheAPIkeySecret
-base_url: http://api.crowdin.com
+base_url: https://api.crowdin.com
base_path: /path/to/your/project
preserve_hierarchy: true
```
### Uploading CSV files via API
```
---
project_identifier: test
api_key: KeepTheAPIkeySecret
-base_url: http://api.crowdin.com
+base_url: https://api.crowdin.com
base_path: /path/to/your/project
files:
-
source: '/*.csv'
@@ -242,11 +242,11 @@
```
---
project_identifier: test
api_key: KeepTheAPIkeySecret
-base_url: http://api.crowdin.com
+base_url: https://api.crowdin.com
base_path: /path/to/your/project
files:
-
source: '/locale/en/**/*.po'
@@ -261,10 +261,10 @@
```
---
project_identifier: test
api_key: KeepTheAPIkeySecret
-base_url: http://api.crowdin.com
+base_url: https://api.crowdin.com
base_path: /path/to/your/project
files:
-
source: '/res/values/*.xml'