From 8b3e1dc11ddbef331252c3dd89b26ad273edf2be Mon Sep 17 00:00:00 2001 From: Joscha <34318751+josxha@users.noreply.github.com> Date: Thu, 9 Jan 2025 16:59:26 +0100 Subject: [PATCH] Change "Download HTML" to "Create HTML" --- src/components/ModalExport.tsx | 6 +++--- 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, 8 insertions(+), 8 deletions(-) diff --git a/src/components/ModalExport.tsx b/src/components/ModalExport.tsx index 7864563a..684774c4 100644 --- a/src/components/ModalExport.tsx +++ b/src/components/ModalExport.tsx @@ -49,7 +49,7 @@ class ModalExportInternal extends React.Component { } } - downloadHtml() { + createHtml() { const tokenStyle = this.tokenizedStyle(); const htmlTitle = this.props.mapStyle.name || this.props.t("Map"); const html = ` @@ -193,10 +193,10 @@ class ModalExportInternal extends React.Component { - {t("Download HTML")} + {t("Create HTML")} diff --git a/src/locales/de/translation.json b/src/locales/de/translation.json index 670beee1..75072939 100644 --- a/src/locales/de/translation.json +++ b/src/locales/de/translation.json @@ -84,7 +84,7 @@ "Save Style": "Stil Speichern", "Save the JSON style to your computer.": "Speichere den JSON Stil auf deinem Computer.", "Save as": "Speichern unter", - "Download HTML": "HTML herunterladen", + "Create HTML": "HTML erstellen", "Cancel": "Abbrechen", "Open Style": "Stil öffnen", "Open local Style": "Lokalen Stil öffnen", diff --git a/src/locales/fr/translation.json b/src/locales/fr/translation.json index aec68919..e4957469 100644 --- a/src/locales/fr/translation.json +++ b/src/locales/fr/translation.json @@ -84,7 +84,7 @@ "Save Style": "Enregistrer le style", "Save the JSON style to your computer.": "Enregistrer le style JSON sur votre ordinateur.", "Save as": "Enregistrer sous", - "Download HTML": "Télécharger le HTML", + "Create HTML": "Créer le HTML", "Cancel": "Annuler", "Open Style": "Ouvrir le style", "Open local Style": "Ouvrir un style local", diff --git a/src/locales/he/translation.json b/src/locales/he/translation.json index 46ccd2a0..5ed72d4d 100644 --- a/src/locales/he/translation.json +++ b/src/locales/he/translation.json @@ -84,7 +84,7 @@ "Save Style": "שמירת הסטייל", "Save the JSON style to your computer.": "שמירת הסטייל JSON במחשב שלך.", "Save as": "שמירה בשם", - "Download HTML": "הורדה כ-HTML", + "Create HTML": "צור HTML", "Cancel": "ביטול", "Open Style": "פתיחת סטייל", "Open local Style": "פתיחת סטייל מקומי", diff --git a/src/locales/ja/translation.json b/src/locales/ja/translation.json index 3dd56516..ba380259 100644 --- a/src/locales/ja/translation.json +++ b/src/locales/ja/translation.json @@ -84,7 +84,7 @@ "Save Style": "スタイルを保存", "Save the JSON style to your computer.": "JSONスタイルをコンピュータに保存します。", "Save as": "名前を付けて保存", - "Download HTML": "HTMLをダウンロード", + "Create HTML": "HTMLを作成", "Cancel": "キャンセル", "Open Style": "スタイルを開く", "Open local Style": "ローカルスタイルを開く", diff --git a/src/locales/zh/translation.json b/src/locales/zh/translation.json index 7ec5388f..63a76063 100644 --- a/src/locales/zh/translation.json +++ b/src/locales/zh/translation.json @@ -84,7 +84,7 @@ "Save Style": "保存样式", "Save the JSON style to your computer.": "将JSON样式保存到您的计算机。", "Save as": "另存为", - "Download HTML": "下载HTML", + "Create HTML": "创建HTML", "Cancel": "取消", "Open Style": "打开样式", "Open local Style": "打开本地样式",