From 486ede54e0858418f6f423e51a927b6aca2c2f57 Mon Sep 17 00:00:00 2001 From: prusswan Date: Fri, 24 Jan 2025 15:33:21 +0800 Subject: [PATCH] fixed i18n for PMTiles dropzone --- src/components/AppToolbar.tsx | 2 +- src/locales/de/translation.json | 2 ++ src/locales/fr/translation.json | 2 ++ src/locales/he/translation.json | 2 ++ src/locales/ja/translation.json | 2 ++ src/locales/zh/translation.json | 2 ++ 6 files changed, 11 insertions(+), 1 deletion(-) diff --git a/src/components/AppToolbar.tsx b/src/components/AppToolbar.tsx index b27f493b..8e2ea4be 100644 --- a/src/components/AppToolbar.tsx +++ b/src/components/AppToolbar.tsx @@ -297,7 +297,7 @@ class AppToolbarInternal extends React.Component { {({getRootProps, getInputProps}) => (
- Drop file here + {t("Drop PMTiles file here")}
)} diff --git a/src/locales/de/translation.json b/src/locales/de/translation.json index 435d9b04..a65af8bd 100644 --- a/src/locales/de/translation.json +++ b/src/locales/de/translation.json @@ -35,6 +35,7 @@ "View": "Ansicht", "Color accessibility": "Farbzugänglichkeit", "Help": "Hilfe", + "Drop PMTiles file here": "__STRING_NOT_TRANSLATED__", "Comments for the current layer. This is non-standard and not in the spec.": "Kommentare zur aktuellen Ebene. Das ist nicht standardmäßig und nicht in der Spezifikation.", "Comments": "Kommentare", "Comment...": "Dein Kommentar...", @@ -81,6 +82,7 @@ "Close modal": "Modale Fenster schließen", "Debug": "Debug", "Options": "Optionen", + "<0>Open in OSM — Opens the current view on openstreetmap.org": "__STRING_NOT_TRANSLATED__", "Save Style": "Stil Speichern", "Save the JSON style to your computer.": "Speichere den JSON Stil auf deinem Computer.", "Save as": "Speichern unter", diff --git a/src/locales/fr/translation.json b/src/locales/fr/translation.json index 3460a8c3..90e70940 100644 --- a/src/locales/fr/translation.json +++ b/src/locales/fr/translation.json @@ -35,6 +35,7 @@ "View": "Vue", "Color accessibility": "Accessibilité des couleurs", "Help": "Aide", + "Drop PMTiles file here": "__STRING_NOT_TRANSLATED__", "Comments for the current layer. This is non-standard and not in the spec.": "Commentaires pour le calque actuel. Ceci n'est pas standard et n'est pas dans la spécification.", "Comments": "Commentaires", "Comment...": "Votre commentaire...", @@ -81,6 +82,7 @@ "Close modal": "Fermer la fenêtre modale", "Debug": "Déboguer", "Options": "Options", + "<0>Open in OSM — Opens the current view on openstreetmap.org": "__STRING_NOT_TRANSLATED__", "Save Style": "Enregistrer le style", "Save the JSON style to your computer.": "Enregistrer le style JSON sur votre ordinateur.", "Save as": "Enregistrer sous", diff --git a/src/locales/he/translation.json b/src/locales/he/translation.json index 7be17f2b..03fa8010 100644 --- a/src/locales/he/translation.json +++ b/src/locales/he/translation.json @@ -35,6 +35,7 @@ "View": "תצוגה", "Color accessibility": "נגישות צבעים", "Help": "עזרה", + "Drop PMTiles file here": "__STRING_NOT_TRANSLATED__", "Comments for the current layer. This is non-standard and not in the spec.": "הערות על השכבה הנוכחית. זה לא חלק מהספסיפיקציות", "Comments": "הערות", "Comment...": "הערה...", @@ -81,6 +82,7 @@ "Close modal": "סגירת חלונית", "Debug": "דיבאג", "Options": "אפשרויות", + "<0>Open in OSM — Opens the current view on openstreetmap.org": "__STRING_NOT_TRANSLATED__", "Save Style": "שמירת הסטייל", "Save the JSON style to your computer.": "שמירת הסטייל JSON במחשב שלך.", "Save as": "שמירה בשם", diff --git a/src/locales/ja/translation.json b/src/locales/ja/translation.json index df84cacc..67e46448 100644 --- a/src/locales/ja/translation.json +++ b/src/locales/ja/translation.json @@ -35,6 +35,7 @@ "View": "表示", "Color accessibility": "色のアクセシビリティ", "Help": "ヘルプ", + "Drop PMTiles file here": "__STRING_NOT_TRANSLATED__", "Comments for the current layer. This is non-standard and not in the spec.": "現在のレイヤーのコメント。注意:この機能は標準ではないため、他のライブラリとの互換性状況はわかりません。", "Comments": "コメント", "Comment...": "コメントを書く", @@ -81,6 +82,7 @@ "Close modal": "モーダルを閉じる", "Debug": "デバッグ", "Options": "設定", + "<0>Open in OSM — Opens the current view on openstreetmap.org": "__STRING_NOT_TRANSLATED__", "Save Style": "スタイルを保存", "Save the JSON style to your computer.": "JSONスタイルをコンピュータに保存します。", "Save as": "名前を付けて保存", diff --git a/src/locales/zh/translation.json b/src/locales/zh/translation.json index c892585a..0e28345a 100644 --- a/src/locales/zh/translation.json +++ b/src/locales/zh/translation.json @@ -35,6 +35,7 @@ "View": "视图", "Color accessibility": "颜色可访问性", "Help": "帮助", + "Drop PMTiles file here": "__STRING_NOT_TRANSLATED__", "Comments for the current layer. This is non-standard and not in the spec.": "当前图层的注释。注意:这不是标准功能,可能与其他库不兼容。", "Comments": "注释", "Comment...": "写注释...", @@ -81,6 +82,7 @@ "Close modal": "关闭模态框", "Debug": "调试", "Options": "选项", + "<0>Open in OSM — Opens the current view on openstreetmap.org": "__STRING_NOT_TRANSLATED__", "Save Style": "保存样式", "Save the JSON style to your computer.": "将JSON样式保存到您的计算机。", "Save as": "另存为",