fix: strings

This commit is contained in:
cihatata
2025-03-10 23:46:26 +03:00
parent 7522879e2a
commit c50b45f9ec
2 changed files with 3 additions and 4 deletions
+2 -2
View File
@@ -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 = {};