diff --git a/public/locales/ja-JP.json b/public/locales/ja-JP.json index 57b86243..b8dd8421 100644 --- a/public/locales/ja-JP.json +++ b/public/locales/ja-JP.json @@ -43,13 +43,13 @@ "sections": { "featureMenu": { "openType": { - "title": "Feature menu settings", + "title": "フィーチャー・メニュー設定", "select": { - "label": "Menu Activation Type", - "title": "Select the method to activate the feature menu", + "label": "メニューの有効化型", + "title": "フィーチャー・メニューを有効化にする方法を選択します", "options": { - "click": "Click", - "hover": "Hover" + "click": "ボタンクリック", + "hover": "マウスホバー" } } } diff --git a/public/locales/tr-TR.json b/public/locales/tr-TR.json index 249f7886..fdbabd6a 100644 --- a/public/locales/tr-TR.json +++ b/public/locales/tr-TR.json @@ -43,13 +43,13 @@ "sections": { "featureMenu": { "openType": { - "title": "Feature menu settings", + "title": "Özellik menüsü ayarları", "select": { - "label": "Menu Activation Type", - "title": "Select the method to activate the feature menu", + "label": "Menü Aktivasyon Türü", + "title": "Özellik menüsünü etkinleştirme yöntemini seçin", "options": { - "click": "Click", - "hover": "Hover" + "click": "Tıkla", + "hover": "İmleci Üzerine Getir" } } } diff --git a/src/utils/updateLocalePercentages.ts b/src/utils/updateLocalePercentages.ts index c4266a85..0f7165fb 100644 --- a/src/utils/updateLocalePercentages.ts +++ b/src/utils/updateLocalePercentages.ts @@ -73,7 +73,7 @@ export default async function updateLocalePercentages() { } } async function getLocalePercentagesFromCrowdin() { - if (!process.env.CROWDIN_TOKEN) throw new Error("CROWDIN_TOKEN is not defined"); + if (!process.env.CROWDIN_TOKEN) return; try { const response = await fetch("https://crowdin.com/api/v2/projects/627048/languages/progress", { headers: { Authorization: "Bearer " + process.env.CROWDIN_TOKEN },