| 1 | <?php |
||
| 18 | Class Glossary extends Package |
||
| 19 | { |
||
| 20 | /** |
||
| 21 | * Download Crowdin project glossaries as TBX file. |
||
| 22 | * |
||
| 23 | * @param boolean $includeAssigned Defines whether the assigned glossaries should be included in downloaded TBX file. |
||
| 24 | * Acceptable values are: 0, 1. |
||
| 25 | * Default is 1. |
||
| 26 | * |
||
| 27 | * @since 1.0.5 |
||
| 28 | * @see https://crowdin.com/page/api/download-glossary |
||
| 29 | * |
||
| 30 | * @return \Psr\Http\Message\ResponseInterface |
||
| 31 | */ |
||
| 32 | 1 | public function download($includeAssigned = true) |
|
| 37 | |||
| 38 | /** |
||
| 39 | * Upload your Translation Memory for Crowdin Project in TMX file format. |
||
| 40 | * |
||
| 41 | * @param string $file Full path to file to upload. |
||
| 42 | * |
||
| 43 | * @since 1.0.5 |
||
| 44 | * @see https://crowdin.com/page/api/upload-glossary |
||
| 45 | * |
||
| 46 | * @return \Psr\Http\Message\ResponseInterface |
||
| 47 | */ |
||
| 48 | 2 | public function upload($file) |
|
| 63 | } |
||
| 64 |