(fileId, langId)
| 62 | } |
| 63 | |
| 64 | async function buildFileTranslation(fileId, langId) { |
| 65 | const buildRes = await axios.post(`${baseUrl}/projects/${projectId}/translations/builds/files/${fileId}`, { |
| 66 | targetLanguageId: langId |
| 67 | }, { headers }); |
| 68 | const res = await axios.get(buildRes.data.data.url); |
| 69 | return res.data; |
| 70 | } |
| 71 | |
| 72 | function fillExportPattern(pattern, langInfo) { |
| 73 | return pattern |