Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Delta Between Two Patch Sets: cms/translations/xtm/constants.py

Issue 29968558: Issue 7037 - [XTM Integration] Make REST API url customizable
Left Patch Set: Removed one more print statement Created Sept. 17, 2019, 12:36 p.m.
Right Patch Set: Merged with changes from 7039 Created Sept. 17, 2019, 1:37 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « cms/translations/xtm/cli.py ('k') | cms/translations/xtm/utils.py » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
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 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 API_URL = 'The url used when connecting to the API.' 104 API_URL = 'The url used when connecting to the API.'
105 105
106 class ProjectCreate: 106 class ProjectCreate:
107 MAIN = 'Sub-mode used to create a new project with XTM Cloud.' 107 MAIN = 'Sub-mode used to create a new project with XTM Cloud.'
108 NAME = 'The name of the project will have once created.' 108 NAME = 'The name of the project will have once created.'
109 DESC = 'TBD' 109 DESC = 'TBD'
110 CLIENT_ID = 'TBD' 110 CUSTOMER_ID = 'TBD'
111 REF_ID = 'TBD' 111 REF_ID = 'TBD'
112 WORKFLOW_ID = 'TBD' 112 WORKFLOW_ID = 'TBD'
113 SOURCE = 'The source language for this project. Default "en_US".' 113 SOURCE = 'The source language for this project. Default "en_US".'
114 SAVE_ID = ('Whether to save the id of the project to settings.ini or ' 114 SAVE_ID = ('Whether to save the id of the project to settings.ini or '
115 'not. Default False.') 115 'not. Default False.')
116 WORKFLOW_NAME = 'The name of the workflow used in the project.' 116 WORKFLOW_NAME = 'The name of the workflow used in the project.'
117 117
118 class ProjectUpload: 118 class ProjectUpload:
119 MAIN = 'Sub-mode used to upload files to an XTM Cloud project.' 119 MAIN = 'Sub-mode used to upload files to an XTM Cloud project.'
120 NO_OVERWRITE = ('If set, the script will not overwrite the files ' 120 NO_OVERWRITE = ('If set, the script will not overwrite the files '
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 MAX_LENGTH = 256 170 MAX_LENGTH = 256
171 PATH_SEP_REP = '___' 171 PATH_SEP_REP = '___'
172 172
173 173
174 UNDER_ANALYSIS_MESSAGE = ('403: {"reason":"Project is under analysis. ' 174 UNDER_ANALYSIS_MESSAGE = ('403: {"reason":"Project is under analysis. '
175 'Please wait for analysis end."}') 175 'Please wait for analysis end."}')
176 176
177 MAX_WAIT_TIME = 10 177 MAX_WAIT_TIME = 10
178 178
179 API_URL = 'https://wstest2.xtm-intl.com/rest-api/' 179 API_URL = 'https://wstest2.xtm-intl.com/rest-api/'
LEFTRIGHT

Powered by Google App Engine
This is Rietveld