@vocab/phrase
Advanced tools
Comparing version 0.0.0-push-split-translation-files-20230508031119 to 0.0.0-push-split-translation-files-20230508035947
@@ -9,2 +9,3 @@ import type { TranslationsByLanguage } from '@vocab/core'; | ||
tagColumn: number; | ||
messageIndex: number; | ||
}; |
@@ -69,2 +69,3 @@ 'use strict'; | ||
const tagColumn = commentIndex + 1; | ||
const messageIndex = tagColumn + 1; | ||
return { | ||
@@ -74,3 +75,4 @@ csvFileStrings, | ||
commentIndex, | ||
tagColumn | ||
tagColumn, | ||
messageIndex | ||
}; | ||
@@ -158,3 +160,4 @@ } | ||
commentIndex, | ||
tagColumn | ||
tagColumn, | ||
messageIndex | ||
} = translationsToCsv(translationsByLanguage, devLanguage); | ||
@@ -173,3 +176,3 @@ const uploadIds = []; | ||
formData.append('update_descriptions', 'true'); | ||
formData.append('locale_id', language); | ||
formData.append(`locale_mapping[${language}]`, messageIndex); | ||
formData.append('format_options[key_index]', keyIndex); | ||
@@ -176,0 +179,0 @@ formData.append('format_options[comment_index]', commentIndex); |
@@ -69,2 +69,3 @@ 'use strict'; | ||
const tagColumn = commentIndex + 1; | ||
const messageIndex = tagColumn + 1; | ||
return { | ||
@@ -74,3 +75,4 @@ csvFileStrings, | ||
commentIndex, | ||
tagColumn | ||
tagColumn, | ||
messageIndex | ||
}; | ||
@@ -158,3 +160,4 @@ } | ||
commentIndex, | ||
tagColumn | ||
tagColumn, | ||
messageIndex | ||
} = translationsToCsv(translationsByLanguage, devLanguage); | ||
@@ -173,3 +176,3 @@ const uploadIds = []; | ||
formData.append('update_descriptions', 'true'); | ||
formData.append('locale_id', language); | ||
formData.append(`locale_mapping[${language}]`, messageIndex); | ||
formData.append('format_options[key_index]', keyIndex); | ||
@@ -176,0 +179,0 @@ formData.append('format_options[comment_index]', commentIndex); |
@@ -57,2 +57,3 @@ import { promises } from 'fs'; | ||
const tagColumn = commentIndex + 1; | ||
const messageIndex = tagColumn + 1; | ||
return { | ||
@@ -62,3 +63,4 @@ csvFileStrings, | ||
commentIndex, | ||
tagColumn | ||
tagColumn, | ||
messageIndex | ||
}; | ||
@@ -146,3 +148,4 @@ } | ||
commentIndex, | ||
tagColumn | ||
tagColumn, | ||
messageIndex | ||
} = translationsToCsv(translationsByLanguage, devLanguage); | ||
@@ -161,3 +164,3 @@ const uploadIds = []; | ||
formData.append('update_descriptions', 'true'); | ||
formData.append('locale_id', language); | ||
formData.append(`locale_mapping[${language}]`, messageIndex); | ||
formData.append('format_options[key_index]', keyIndex); | ||
@@ -164,0 +167,0 @@ formData.append('format_options[comment_index]', commentIndex); |
{ | ||
"name": "@vocab/phrase", | ||
"version": "0.0.0-push-split-translation-files-20230508031119", | ||
"version": "0.0.0-push-split-translation-files-20230508035947", | ||
"main": "dist/vocab-phrase.cjs.js", | ||
@@ -5,0 +5,0 @@ "module": "dist/vocab-phrase.esm.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
43650
1067
3