@crowdin/app-project-module 0.45.0 → 0.46.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/out/app-test/crowdin-responses/mock-get-project.json +202 -0
- package/out/app-test/crowdin-responses/mock-list-supported-languages.json +7368 -0
- package/out/app-test/index.d.ts +6 -0
- package/out/app-test/index.js +13 -0
- package/out/app-test/integration/get-integration-files.d.ts +6 -0
- package/out/app-test/integration/get-integration-files.js +70 -0
- package/out/app-test/integration/index.d.ts +15 -0
- package/out/app-test/integration/index.js +73 -0
- package/out/app-test/integration/mocks/crowdin-storage.d.ts +35 -0
- package/out/app-test/integration/mocks/crowdin-storage.js +47 -0
- package/out/app-test/integration/mocks/mock-axios.d.ts +1 -0
- package/out/app-test/integration/mocks/mock-axios.js +18 -0
- package/out/app-test/integration/mocks/mock-crowdin-api-client.d.ts +1 -0
- package/out/app-test/integration/mocks/mock-crowdin-api-client.js +132 -0
- package/out/app-test/integration/types.d.ts +41 -0
- package/out/app-test/integration/types.js +2 -0
- package/out/app-test/integration/update-crowdin.d.ts +6 -0
- package/out/app-test/integration/update-crowdin.js +137 -0
- package/out/app-test/integration/update-integration.d.ts +8 -0
- package/out/app-test/integration/update-integration.js +78 -0
- package/out/app-test/types.d.ts +4 -0
- package/out/app-test/types.js +2 -0
- package/out/app-test/util/index.d.ts +1 -0
- package/out/app-test/util/index.js +24 -0
- package/out/modules/integration/util/job.js +1 -0
- package/out/modules/manifest.js +21 -60
- package/out/types.d.ts +1 -1
- package/out/views/main.handlebars +2 -2
- package/package.json +1 -1
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
{
|
|
2
|
+
"data": {
|
|
3
|
+
"id": 1,
|
|
4
|
+
"groupId": 1,
|
|
5
|
+
"userId": 1,
|
|
6
|
+
"sourceLanguageId": "en",
|
|
7
|
+
"targetLanguageIds": [
|
|
8
|
+
"fr",
|
|
9
|
+
"uk",
|
|
10
|
+
"en"
|
|
11
|
+
],
|
|
12
|
+
"name": "Project 1",
|
|
13
|
+
"identifier": "2df75b0ce86f403a202865a7ce8b7963",
|
|
14
|
+
"description": "",
|
|
15
|
+
"logo": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAACWCAYAAAA8AXHiAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAHvUlEQVR4nO3dW2ybdx3G8cfxMScf4jjOmaZp3DTksPVAmVBhQ63YYENqmQZlCKlCCO0CbrhA4oor7rhGCNDgAnaxMZi2aVSUlVWMds3akmVNmnNzcHOyE8dOGp9eh4tCN0Zep8P+vfbe//O5a/6u35+tr968sV+/tjz9gx/vgKjIKko9AJkTwyIRDItEMCwSwbBIBMMiEQyLRDAsEsGwSATDIhEMi0QwLBLBsEgEwyIRDItEMCwSwbBIBMMiEQyLRDAsEsGwSATDIhEMi0QwLBLBsEgEwyIRDItEMCwSwbBIBMMiEQyLRDAsEsGwSATDIhEMi0QwLBLBsEgEwyIRDItEMCwSwbBIBMMiEQyLRDAsEsGwSATDIhG2Ug/wSdAU8KO1MYjWxgCaGwLwuWvhcjpR6XTA5XQil8thO5VCKp1BKp3GejyB5egaViJrWIpEMRNeRCaTLfXDMBTD0tH1qTY83BPCw4dC8HnceW9rtVbAbv/gqWxtbEAfOu//O5vVMDUfxsjkDIbHJ3FnJSI2d7mw8IswP2CxAMf7e/HE5x9BsL5ObDvT82FcGvwnBt8fgablxLZTStxj/dvhnoM4fepRBOq84tva39aC/W0t8NTW4Pzfr4hvrxSUD6uq0oWzXzmFY309hm737nYSbw1eN3SbRlI6rH0tTXju7Bl4amse+P9oWg7r8QSisQ0kUymkMxk47Ha4nE5UuZyo93lR6XLueT9vvvMukql0IeOXNWXDOtjRjufOfg0up2PP2y6tRjE4PIrx23OYXgjveVzk97rR3BBAqKMd/aED/3O8tp1M4a+X3y1o/nKnZFh9oU587+unYbNZ895uZHIGr/3tbUzPhz/W/UdjcURjcQyPT+EP5y+i3ufB8f5enDg6AK+7FhevXsN2MlXIQ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Dgm5+YRWd94oG24a6rR3FCPtsYg2puD6GhtuX9JpQuXB/HSn98s6DGUO6Wu8/4fq2sx/Oz53+P733om73XfgXu/Hge6uzDQfe/tn+1kCpH1GNY24khnMkhnsrDbrPe/qMnnrkWdx/1fX4ypImUf/epaDD/9xW9w7syT96N5EJUuJ9qagrpXYaZ7lDp4/6hkKo2fv/Ayfv3Sq7yeQ5Epu8f6sMHhEbw3NoEvHDuML372yAMdexVC0zTR+y8HSh6852O1VqA/dABHervRHzoAh6PwzyBqWg53VlYxPDGFodEJzN7RPwHRLLjH+ghNy+HG6DhujI6josKC9qZGdLQ2oyUYgN/rQZ3HjepKFxx2O2w2G3K5HNKZDDLZLNKZLOKbm1iPJ7AeTyCyFsPc4jLml5aRzZp/L/VhDCuPXG4Ht8OLuB1eLPUonzhKH7yTHIZFIhgWiWBYJIJhkQiGRSIYFolgWCSCYZEIhkUiGBaJYFgkgmGRCIZFIhgWiWBYJIJhkQiGRSIYFolgWCSCYZEIhkUiGBaJYFgkgmGRCIZFIhgWiWBYJIJhkQiGRSIYFolgWCSCYZEIhkUiGBaJYFgkgmGRCIZFIhgWiWBYJIJhkQiGRSIYFolgWCSCYZEIhkUi/gXUA/tv2RZsDAAAAABJRU5ErkJggg==",
|
|
16
|
+
"background": null,
|
|
17
|
+
"isExternal": false,
|
|
18
|
+
"externalType": null,
|
|
19
|
+
"workflowId": 41,
|
|
20
|
+
"hasCrowdsourcing": false,
|
|
21
|
+
"publicDownloads": true,
|
|
22
|
+
"createdAt": "2023-03-16T16:44:09+00:00",
|
|
23
|
+
"updatedAt": "2023-09-11T13:56:50+00:00",
|
|
24
|
+
"lastActivity": "2024-02-05T15:23:00+00:00",
|
|
25
|
+
"sourceLanguage": {
|
|
26
|
+
"id": "fr",
|
|
27
|
+
"name": "French",
|
|
28
|
+
"editorCode": "fr",
|
|
29
|
+
"twoLettersCode": "fr",
|
|
30
|
+
"threeLettersCode": "fra",
|
|
31
|
+
"locale": "fr-FR",
|
|
32
|
+
"androidCode": "fr-rFR",
|
|
33
|
+
"osxCode": "fr.lproj",
|
|
34
|
+
"osxLocale": "fr",
|
|
35
|
+
"pluralCategoryNames": [
|
|
36
|
+
"one",
|
|
37
|
+
"other"
|
|
38
|
+
],
|
|
39
|
+
"pluralRules": "(n > 1)",
|
|
40
|
+
"pluralExamples": [
|
|
41
|
+
"0, 1",
|
|
42
|
+
"2-999; 1.2, 2.07..."
|
|
43
|
+
],
|
|
44
|
+
"textDirection": "ltr",
|
|
45
|
+
"dialectOf": null
|
|
46
|
+
},
|
|
47
|
+
"targetLanguages": [
|
|
48
|
+
{
|
|
49
|
+
"id": "fr",
|
|
50
|
+
"name": "French",
|
|
51
|
+
"editorCode": "fr",
|
|
52
|
+
"twoLettersCode": "fr",
|
|
53
|
+
"threeLettersCode": "fra",
|
|
54
|
+
"locale": "fr-FR",
|
|
55
|
+
"androidCode": "fr-rFR",
|
|
56
|
+
"osxCode": "fr.lproj",
|
|
57
|
+
"osxLocale": "fr",
|
|
58
|
+
"pluralCategoryNames": [
|
|
59
|
+
"one",
|
|
60
|
+
"other"
|
|
61
|
+
],
|
|
62
|
+
"pluralRules": "(n > 1)",
|
|
63
|
+
"pluralExamples": [
|
|
64
|
+
"0, 1",
|
|
65
|
+
"2-999; 1.2, 2.07..."
|
|
66
|
+
],
|
|
67
|
+
"textDirection": "ltr",
|
|
68
|
+
"dialectOf": null
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"id": "uk",
|
|
72
|
+
"name": "Ukrainian",
|
|
73
|
+
"editorCode": "uk",
|
|
74
|
+
"twoLettersCode": "uk",
|
|
75
|
+
"threeLettersCode": "ukr",
|
|
76
|
+
"locale": "uk-UA",
|
|
77
|
+
"androidCode": "uk-rUA",
|
|
78
|
+
"osxCode": "uk.lproj",
|
|
79
|
+
"osxLocale": "uk",
|
|
80
|
+
"pluralCategoryNames": [
|
|
81
|
+
"one",
|
|
82
|
+
"few",
|
|
83
|
+
"many",
|
|
84
|
+
"other"
|
|
85
|
+
],
|
|
86
|
+
"pluralRules": "((n%10==1 && n%100!=11) ? 0 : ((n%10 >= 2 && n%10 <=4 && (n%100 < 12 || n%100 > 14)) ? 1 : ((n%10 == 0 || (n%10 >= 5 && n%10 <=9)) || (n%100 >= 11 && n%100 <= 14)) ? 2 : 3))",
|
|
87
|
+
"pluralExamples": [
|
|
88
|
+
"1, 21, 31, 41, 51, 61, 71, 81...",
|
|
89
|
+
"2-4, 22-24, 32-34, 42-44, 52-54, 62...",
|
|
90
|
+
"0, 5-19, 100, 1000, 10000...",
|
|
91
|
+
"0.0-0.9, 1.1-1.6, 10.0, 100.0..."
|
|
92
|
+
],
|
|
93
|
+
"textDirection": "ltr",
|
|
94
|
+
"dialectOf": null
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
"id": "en",
|
|
98
|
+
"name": "English",
|
|
99
|
+
"editorCode": "en",
|
|
100
|
+
"twoLettersCode": "en",
|
|
101
|
+
"threeLettersCode": "eng",
|
|
102
|
+
"locale": "en-US",
|
|
103
|
+
"androidCode": "en-rUS",
|
|
104
|
+
"osxCode": "en.lproj",
|
|
105
|
+
"osxLocale": "en",
|
|
106
|
+
"pluralCategoryNames": [
|
|
107
|
+
"one",
|
|
108
|
+
"other"
|
|
109
|
+
],
|
|
110
|
+
"pluralRules": "(n != 1)",
|
|
111
|
+
"pluralExamples": [
|
|
112
|
+
"1",
|
|
113
|
+
"0, 2-999; 1.2, 2.07..."
|
|
114
|
+
],
|
|
115
|
+
"textDirection": "ltr",
|
|
116
|
+
"dialectOf": null
|
|
117
|
+
}
|
|
118
|
+
],
|
|
119
|
+
"clientOrganizationId": null,
|
|
120
|
+
"translateDuplicates": 0,
|
|
121
|
+
"tagsDetection": 0,
|
|
122
|
+
"glossaryAccess": false,
|
|
123
|
+
"isMtAllowed": true,
|
|
124
|
+
"taskBasedAccessControl": false,
|
|
125
|
+
"hiddenStringsProofreadersAccess": true,
|
|
126
|
+
"autoSubstitution": true,
|
|
127
|
+
"showTmSuggestionsDialects": true,
|
|
128
|
+
"tmContextType": "segmentContext",
|
|
129
|
+
"exportTranslatedOnly": false,
|
|
130
|
+
"skipUntranslatedStrings": false,
|
|
131
|
+
"skipUntranslatedFiles": false,
|
|
132
|
+
"exportWithMinApprovalsCount": 0,
|
|
133
|
+
"exportStringsThatPassedWorkflow": false,
|
|
134
|
+
"autoTranslateDialects": false,
|
|
135
|
+
"normalizePlaceholder": false,
|
|
136
|
+
"saveMetaInfoInSource": true,
|
|
137
|
+
"inContext": false,
|
|
138
|
+
"inContextProcessHiddenStrings": true,
|
|
139
|
+
"inContextPseudoLanguageId": null,
|
|
140
|
+
"inContextPseudoLanguage": null,
|
|
141
|
+
"isSuspended": false,
|
|
142
|
+
"qaCheckIsActive": true,
|
|
143
|
+
"qaApprovalsCount": 1,
|
|
144
|
+
"qaCheckCategories": {
|
|
145
|
+
"empty": true,
|
|
146
|
+
"size": true,
|
|
147
|
+
"tags": true,
|
|
148
|
+
"spaces": true,
|
|
149
|
+
"variables": true,
|
|
150
|
+
"punctuation": true,
|
|
151
|
+
"symbolRegister": true,
|
|
152
|
+
"specialSymbols": true,
|
|
153
|
+
"wrongTranslation": true,
|
|
154
|
+
"spellcheck": true,
|
|
155
|
+
"icu": true,
|
|
156
|
+
"terms": false,
|
|
157
|
+
"duplicate": true,
|
|
158
|
+
"ftl": true,
|
|
159
|
+
"android": false
|
|
160
|
+
},
|
|
161
|
+
"qaChecksIgnorableCategories": {
|
|
162
|
+
"empty": true,
|
|
163
|
+
"size": false,
|
|
164
|
+
"tags": true,
|
|
165
|
+
"spaces": true,
|
|
166
|
+
"variables": true,
|
|
167
|
+
"punctuation": true,
|
|
168
|
+
"symbolRegister": true,
|
|
169
|
+
"specialSymbols": true,
|
|
170
|
+
"wrongTranslation": true,
|
|
171
|
+
"spellcheck": true,
|
|
172
|
+
"icu": false,
|
|
173
|
+
"terms": true,
|
|
174
|
+
"duplicate": false,
|
|
175
|
+
"ftl": false,
|
|
176
|
+
"android": false
|
|
177
|
+
},
|
|
178
|
+
"customQaCheckIds": [],
|
|
179
|
+
"languageMapping": {
|
|
180
|
+
"en": {
|
|
181
|
+
"locale": "en-US"
|
|
182
|
+
}
|
|
183
|
+
},
|
|
184
|
+
"delayedWorkflowStart": false,
|
|
185
|
+
"notificationSettings": {
|
|
186
|
+
"translatorNewStrings": false,
|
|
187
|
+
"managerNewStrings": false,
|
|
188
|
+
"managerLanguageCompleted": false
|
|
189
|
+
},
|
|
190
|
+
"defaultTmId": 90,
|
|
191
|
+
"defaultGlossaryId": 92,
|
|
192
|
+
"assignedTms": {
|
|
193
|
+
"90": {
|
|
194
|
+
"priority": 1
|
|
195
|
+
}
|
|
196
|
+
},
|
|
197
|
+
"assignedGlossaries": [
|
|
198
|
+
92
|
|
199
|
+
],
|
|
200
|
+
"tmPenalties": []
|
|
201
|
+
}
|
|
202
|
+
}
|