| OLD | NEW |
| 1 # This file is part of the Adblock Plus web scripts, | 1 # This file is part of the Adblock Plus web scripts, |
| 2 # Copyright (C) 2006-present eyeo GmbH | 2 # Copyright (C) 2006-present eyeo GmbH |
| 3 # | 3 # |
| 4 # Adblock Plus is free software: you can redistribute it and/or modify | 4 # Adblock Plus is free software: you can redistribute it and/or modify |
| 5 # it under the terms of the GNU General Public License version 3 as | 5 # it under the terms of the GNU General Public License version 3 as |
| 6 # published by the Free Software Foundation. | 6 # published by the Free Software Foundation. |
| 7 # | 7 # |
| 8 # Adblock Plus is distributed in the hope that it will be useful, | 8 # Adblock Plus is distributed in the hope that it will be useful, |
| 9 # but WITHOUT ANY WARRANTY; without even the implied warranty of | 9 # but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| (...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 99 PROJECT = ('Mode for handling projects: creation, files upload/ update/ ' | 99 PROJECT = ('Mode for handling projects: creation, files upload/ update/ ' |
| 100 'download.') | 100 'download.') |
| 101 PROJECT_SOURCE_DIR = 'The source directory of the website.' | 101 PROJECT_SOURCE_DIR = 'The source directory of the website.' |
| 102 PROJECT_DOWNLOAD = ('Download the translation files from a project and ' | 102 PROJECT_DOWNLOAD = ('Download the translation files from a project and ' |
| 103 'save them to disk.') | 103 'save them to disk.') |
| 104 | 104 |
| 105 class ProjectCreate: | 105 class ProjectCreate: |
| 106 MAIN = 'Sub-mode used to create a new project with XTM Cloud.' | 106 MAIN = 'Sub-mode used to create a new project with XTM Cloud.' |
| 107 NAME = 'The name of the project will have once created.' | 107 NAME = 'The name of the project will have once created.' |
| 108 DESC = 'TBD' | 108 DESC = 'TBD' |
| 109 CLIENT_ID = 'TBD' | 109 CUSTOMER_ID = 'TBD' |
| 110 REF_ID = 'TBD' | 110 REF_ID = 'TBD' |
| 111 WORKFLOW_ID = 'TBD' | 111 WORKFLOW_ID = 'TBD' |
| 112 SOURCE = 'The source language for this project. Default "en_US".' | 112 SOURCE = 'The source language for this project. Default "en_US".' |
| 113 SAVE_ID = ('Whether to save the id of the project to settings.ini or ' | 113 SAVE_ID = ('Whether to save the id of the project to settings.ini or ' |
| 114 'not. Default False.') | 114 'not. Default False.') |
| 115 WORKFLOW_NAME = 'The name of the workflow used in the project.' | 115 WORKFLOW_NAME = 'The name of the workflow used in the project.' |
| 116 | 116 |
| 117 class ProjectUpload: | 117 class ProjectUpload: |
| 118 MAIN = 'Sub-mode used to upload files to an XTM Cloud project.' | 118 MAIN = 'Sub-mode used to upload files to an XTM Cloud project.' |
| 119 NO_OVERWRITE = ('If set, the script will not overwrite the files ' | 119 NO_OVERWRITE = ('If set, the script will not overwrite the files ' |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 166 | 166 |
| 167 class FileNames: | 167 class FileNames: |
| 168 MAX_LENGTH = 256 | 168 MAX_LENGTH = 256 |
| 169 PATH_SEP_REP = '___' | 169 PATH_SEP_REP = '___' |
| 170 | 170 |
| 171 | 171 |
| 172 UNDER_ANALYSIS_MESSAGE = ('403: {"reason":"Project is under analysis. ' | 172 UNDER_ANALYSIS_MESSAGE = ('403: {"reason":"Project is under analysis. ' |
| 173 'Please wait for analysis end."}') | 173 'Please wait for analysis end."}') |
| 174 | 174 |
| 175 MAX_WAIT_TIME = 10 | 175 MAX_WAIT_TIME = 10 |
| OLD | NEW |