update l18n

This commit is contained in:
Joscha
2025-01-06 19:00:45 +01:00
parent 16b5790184
commit 621dd9efa2
7 changed files with 38 additions and 45 deletions
+4 -4
View File
@@ -4,7 +4,7 @@ import {saveAs} from 'file-saver'
import {version} from 'maplibre-gl/package.json' import {version} from 'maplibre-gl/package.json'
import {format} from '@maplibre/maplibre-gl-style-spec' import {format} from '@maplibre/maplibre-gl-style-spec'
import type {StyleSpecification} from 'maplibre-gl' import type {StyleSpecification} from 'maplibre-gl'
import {MdSave} from 'react-icons/md' import {MdMap, MdSave} from 'react-icons/md'
import { WithTranslation, withTranslation } from 'react-i18next'; import { WithTranslation, withTranslation } from 'react-i18next';
import FieldString from './FieldString' import FieldString from './FieldString'
@@ -185,19 +185,19 @@ class ModalExportInternal extends React.Component<ModalExportInternalProps> {
onClick={this.saveStyle.bind(this)} onClick={this.saveStyle.bind(this)}
> >
<MdSave /> <MdSave />
{t("Save Style")} {t("Save")}
</InputButton> </InputButton>
<InputButton <InputButton
onClick={this.saveStyleAs.bind(this)} onClick={this.saveStyleAs.bind(this)}
> >
<MdSave /> <MdSave />
{t("Save Style as")} {t("Save as")}
</InputButton> </InputButton>
<InputButton <InputButton
onClick={this.downloadHtml.bind(this)} onClick={this.downloadHtml.bind(this)}
> >
<MdSave /> <MdMap />
{t("Download HTML")} {t("Download HTML")}
</InputButton> </InputButton>
</div> </div>
+1 -1
View File
@@ -1,6 +1,6 @@
## Internationalization ## Internationalization
The process of internationlization is pretty straight forward for Maputnik. The process of internationalization is pretty straight forward for Maputnik.
## Add a new language ## Add a new language
+6 -8
View File
@@ -29,7 +29,7 @@
"Map view": "Kartenansicht", "Map view": "Kartenansicht",
"Maputnik on GitHub": "Maputnik auf GitHub", "Maputnik on GitHub": "Maputnik auf GitHub",
"Open": "Öffnen", "Open": "Öffnen",
"Export": "Exportieren", "Save": "Speichern",
"Data Sources": "Datenquellen", "Data Sources": "Datenquellen",
"Style Settings": "Stileinstellungen", "Style Settings": "Stileinstellungen",
"View": "Ansicht", "View": "Ansicht",
@@ -82,16 +82,14 @@
"Debug": "Debug", "Debug": "Debug",
"Options": "Optionen", "Options": "Optionen",
"<0>Open in OSM</0> &mdash; Opens the current view on openstreetmap.org": "<0>In OSM öffnen</0> &mdash; Öffnet die aktuelle Ansicht auf openstreetmap.org", "<0>Open in OSM</0> &mdash; Opens the current view on openstreetmap.org": "<0>In OSM öffnen</0> &mdash; Öffnet die aktuelle Ansicht auf openstreetmap.org",
"Export Style": "Stil exportieren", "Save Style": "Stil Speichern",
"Download Style": "Stil herunterladen", "Save the JSON style to your computer.": "Speichere den JSON Stil auf deinem Computer.",
"Download a JSON style to your computer.": "Lade einen JSON-Stil auf deinen Computer herunter.", "Save as": "Speichern unter",
"Download HTML": "HTML herunterladen", "Download HTML": "HTML herunterladen",
"Cancel": "Abbrechen", "Cancel": "Abbrechen",
"Open Style": "Stil öffnen", "Open Style": "Stil öffnen",
"Upload Style": "Stil hochladen", "Open local Style": "Lokalen Stil öffnen",
"Upload a JSON style from your computer.": "Lade einen JSON-Stil von deinem Computer hoch.", "Open a local JSON style from your computer.": "Öffne einen lokalen JSON Stil von deinem Computer.",
"Style file": "Stildatei",
"Upload": "Hochladen",
"Load from URL": "Von URL laden", "Load from URL": "Von URL laden",
"Load from a URL. Note that the URL must have <1>CORS enabled</1>.": "Von einer URL laden. Beachte, dass die URL <1>CORS aktiviert</1> haben muss.", "Load from a URL. Note that the URL must have <1>CORS enabled</1>.": "Von einer URL laden. Beachte, dass die URL <1>CORS aktiviert</1> haben muss.",
"Style URL": "Stil-URL", "Style URL": "Stil-URL",
+6 -8
View File
@@ -29,7 +29,7 @@
"Map view": "Vue de la carte", "Map view": "Vue de la carte",
"Maputnik on GitHub": "Maputnik sur GitHub", "Maputnik on GitHub": "Maputnik sur GitHub",
"Open": "Ouvrir", "Open": "Ouvrir",
"Export": "Exporter", "Save": "__STRING_NOT_TRANSLATED__",
"Data Sources": "Sources de données", "Data Sources": "Sources de données",
"Style Settings": "Paramètres du style", "Style Settings": "Paramètres du style",
"View": "Vue", "View": "Vue",
@@ -82,16 +82,14 @@
"Debug": "Déboguer", "Debug": "Déboguer",
"Options": "Options", "Options": "Options",
"<0>Open in OSM</0> &mdash; Opens the current view on openstreetmap.org": "<0>Ouvrir dans OSM</0> &mdash; Ouvre la vue actuelle sur openstreetmap.org", "<0>Open in OSM</0> &mdash; Opens the current view on openstreetmap.org": "<0>Ouvrir dans OSM</0> &mdash; Ouvre la vue actuelle sur openstreetmap.org",
"Export Style": "Exporter le style", "Save Style": "__STRING_NOT_TRANSLATED__",
"Download Style": "Télécharger le style", "Save the JSON style to your computer.": "__STRING_NOT_TRANSLATED__",
"Download a JSON style to your computer.": "Téléchargez un style JSON sur votre ordinateur.", "Save as": "__STRING_NOT_TRANSLATED__",
"Download HTML": "Télécharger HTML", "Download HTML": "Télécharger HTML",
"Cancel": "Annuler", "Cancel": "Annuler",
"Open Style": "Ouvrir le style", "Open Style": "Ouvrir le style",
"Upload Style": "Transférer un style", "Open local Style": "__STRING_NOT_TRANSLATED__",
"Upload a JSON style from your computer.": "Transférer un style JSON depuis votre ordinateur.", "Open a local JSON style from your computer.": "__STRING_NOT_TRANSLATED__",
"Style file": "Fichier de style",
"Upload": "Transférer",
"Load from URL": "Charger depuis une URL", "Load from URL": "Charger depuis une URL",
"Load from a URL. Note that the URL must have <1>CORS enabled</1>.": "Charger depuis une URL. Notez que l'URL doit avoir les <1>CORS activés</1>.", "Load from a URL. Note that the URL must have <1>CORS enabled</1>.": "Charger depuis une URL. Notez que l'URL doit avoir les <1>CORS activés</1>.",
"Style URL": "URL du style", "Style URL": "URL du style",
+7 -8
View File
@@ -29,7 +29,7 @@
"Map view": "תצוגת מפה", "Map view": "תצוגת מפה",
"Maputnik on GitHub": "מפוטניק בגיטהב", "Maputnik on GitHub": "מפוטניק בגיטהב",
"Open": "פתיחה", "Open": "פתיחה",
"Export": "ייצוא", "Save": "__STRING_NOT_TRANSLATED__",
"Data Sources": "מקורות מידע", "Data Sources": "מקורות מידע",
"Style Settings": "הגדרות הסטייל", "Style Settings": "הגדרות הסטייל",
"View": "תצוגה", "View": "תצוגה",
@@ -81,16 +81,15 @@
"Close modal": "סגירת חלונית", "Close modal": "סגירת חלונית",
"Debug": "דיבאג", "Debug": "דיבאג",
"Options": "אפשרויות", "Options": "אפשרויות",
"Export Style": "ייצוא של הסטייל", "<0>Open in OSM</0> &mdash; Opens the current view on openstreetmap.org": "__STRING_NOT_TRANSLATED__",
"Download Style": "הורדה של הסטייל", "Save Style": "__STRING_NOT_TRANSLATED__",
"Download a JSON style to your computer.": "הורדה של הסטייל למחשב", "Save the JSON style to your computer.": "__STRING_NOT_TRANSLATED__",
"Save as": "__STRING_NOT_TRANSLATED__",
"Download HTML": "הורדה כ-HTML", "Download HTML": "הורדה כ-HTML",
"Cancel": "ביטול", "Cancel": "ביטול",
"Open Style": "פתיחת סטייל", "Open Style": "פתיחת סטייל",
"Upload Style": "העלאה של סטייל", "Open local Style": "__STRING_NOT_TRANSLATED__",
"Upload a JSON style from your computer.": "העלאה של סטייל מהמחשב", "Open a local JSON style from your computer.": "__STRING_NOT_TRANSLATED__",
"Style file": "קובץ סטייל",
"Upload": "העלאה",
"Load from URL": "פתיחה מתוך כתובת", "Load from URL": "פתיחה מתוך כתובת",
"Load from a URL. Note that the URL must have <1>CORS enabled</1>.": "פתיחה מכתובת, שימו לב: הכתובת צריכה לתמוך ב- CORS", "Load from a URL. Note that the URL must have <1>CORS enabled</1>.": "פתיחה מכתובת, שימו לב: הכתובת צריכה לתמוך ב- CORS",
"Style URL": "כתוסת סטייל", "Style URL": "כתוסת סטייל",
+7 -8
View File
@@ -29,7 +29,7 @@
"Map view": "地図画面", "Map view": "地図画面",
"Maputnik on GitHub": "GitHubのMaputnik", "Maputnik on GitHub": "GitHubのMaputnik",
"Open": "開く", "Open": "開く",
"Export": "エクスポート", "Save": "__STRING_NOT_TRANSLATED__",
"Data Sources": "データソース", "Data Sources": "データソース",
"Style Settings": "スタイル設定", "Style Settings": "スタイル設定",
"View": "表示", "View": "表示",
@@ -81,16 +81,15 @@
"Close modal": "モーダルを閉じる", "Close modal": "モーダルを閉じる",
"Debug": "デバッグ", "Debug": "デバッグ",
"Options": "設定", "Options": "設定",
"Export Style": "スタイルをエクスポート", "<0>Open in OSM</0> &mdash; Opens the current view on openstreetmap.org": "__STRING_NOT_TRANSLATED__",
"Download Style": "スタイルをダウンロード", "Save Style": "__STRING_NOT_TRANSLATED__",
"Download a JSON style to your computer.": "パソコンにJSONスタイルをダウンロードします。", "Save the JSON style to your computer.": "__STRING_NOT_TRANSLATED__",
"Save as": "__STRING_NOT_TRANSLATED__",
"Download HTML": "HTMLをダウンロード", "Download HTML": "HTMLをダウンロード",
"Cancel": "キャンセル", "Cancel": "キャンセル",
"Open Style": "スタイルを開く", "Open Style": "スタイルを開く",
"Upload Style": "スタイルをアップロードする", "Open local Style": "__STRING_NOT_TRANSLATED__",
"Upload a JSON style from your computer.": "JSONスタイルをパソコンからアップロードする", "Open a local JSON style from your computer.": "__STRING_NOT_TRANSLATED__",
"Style file": "スタイルファイル",
"Upload": "アップロード",
"Load from URL": "URLから読み込む", "Load from URL": "URLから読み込む",
"Load from a URL. Note that the URL must have <1>CORS enabled</1>.": "URLから読み込む。注意: URLは <1>CORSを有効にする</1> 必要があります。", "Load from a URL. Note that the URL must have <1>CORS enabled</1>.": "URLから読み込む。注意: URLは <1>CORSを有効にする</1> 必要があります。",
"Style URL": "スタイルURL", "Style URL": "スタイルURL",
+7 -8
View File
@@ -29,7 +29,7 @@
"Map view": "地图视图", "Map view": "地图视图",
"Maputnik on GitHub": "GitHub上的Maputnik", "Maputnik on GitHub": "GitHub上的Maputnik",
"Open": "打开", "Open": "打开",
"Export": "导出", "Save": "__STRING_NOT_TRANSLATED__",
"Data Sources": "数据源", "Data Sources": "数据源",
"Style Settings": "样式设置", "Style Settings": "样式设置",
"View": "视图", "View": "视图",
@@ -81,16 +81,15 @@
"Close modal": "关闭模态框", "Close modal": "关闭模态框",
"Debug": "调试", "Debug": "调试",
"Options": "选项", "Options": "选项",
"Export Style": "导出样式", "<0>Open in OSM</0> &mdash; Opens the current view on openstreetmap.org": "__STRING_NOT_TRANSLATED__",
"Download Style": "下载样式", "Save Style": "__STRING_NOT_TRANSLATED__",
"Download a JSON style to your computer.": "将JSON样式下载到您的电脑。", "Save the JSON style to your computer.": "__STRING_NOT_TRANSLATED__",
"Save as": "__STRING_NOT_TRANSLATED__",
"Download HTML": "下载HTML", "Download HTML": "下载HTML",
"Cancel": "取消", "Cancel": "取消",
"Open Style": "打开样式", "Open Style": "打开样式",
"Upload Style": "上传样式", "Open local Style": "__STRING_NOT_TRANSLATED__",
"Upload a JSON style from your computer.": "从您的电脑上传JSON样式。", "Open a local JSON style from your computer.": "__STRING_NOT_TRANSLATED__",
"Style file": "样式文件",
"Upload": "上传",
"Load from URL": "从URL加载", "Load from URL": "从URL加载",
"Load from a URL. Note that the URL must have <1>CORS enabled</1>.": "从URL加载。注意:URL必须启用 <1>CORS</1>。", "Load from a URL. Note that the URL must have <1>CORS enabled</1>.": "从URL加载。注意:URL必须启用 <1>CORS</1>。",
"Style URL": "样式URL", "Style URL": "样式URL",