fix: strings
This commit is contained in:
1 parent
7522879e2a
commit
c50b45f9ec
2 files changed
+3
-4
No files matched your search
@@ -46,10 +46,10 @@ async function downloadTranslations() {
|
||||
const translations = downloadResponse.data;
|
||||
console.log(`Downloaded translations for ${language}`);
|
||||
|
||||
// POEditor'den dönen veri formatını kontrol et ve gerekirse dönüştür
|
||||
// Check the format of data returned from POEditor and convert if necessary
|
||||
let formattedTranslations = translations;
|
||||
|
||||
// Eğer dizi formatında geldiyse, key-value formatına dönüştür
|
||||
// If data is in array format, convert it to key-value format
|
||||
if (Array.isArray(translations)) {
|
||||
console.log(`Converting array format to key-value format for ${language}`);
|
||||
formattedTranslations = {};
|
||||
|
||||
Reference in new issue
Block a user