Add translations

This commit is contained in:
Ian Wagner
2024-08-28 14:35:30 +09:00
parent 2661ac0b63
commit f95e814fe5
4 changed files with 14 additions and 1 deletions
+6
View File
@@ -70,6 +70,12 @@ npm run lint-css
npm run sort-styles npm run sort-styles
``` ```
Update the translation files (run this whenever touching user-facing strings).
After running, check your working copy for files and add/correct as needed.
```
npm run i18n:refresh
```
## Tests ## Tests
For E2E testing we use [Cypress](https://www.cypress.io/) For E2E testing we use [Cypress](https://www.cypress.io/)
+2
View File
@@ -179,6 +179,8 @@
"Public access token for MapTiler Cloud.": "Public access token for MapTiler Cloud.", "Public access token for MapTiler Cloud.": "Public access token for MapTiler Cloud.",
"Thunderforest Access Token": "Thunderforest Access Token", "Thunderforest Access Token": "Thunderforest Access Token",
"Public access token for Thunderforest services.": "Public access token for Thunderforest services.", "Public access token for Thunderforest services.": "Public access token for Thunderforest services.",
"Stadia Maps API Key": "Stadia Maps API Key",
"API key for Stadia Maps.": "API key for Stadia Maps",
"Style Renderer": "צייר הסטייל", "Style Renderer": "צייר הסטייל",
"Choose the default Maputnik renderer for this style.": "בחירת צייר ברירת המחדל של מפוטניק עבור הסטייל הזה" "Choose the default Maputnik renderer for this style.": "בחירת צייר ברירת המחדל של מפוטניק עבור הסטייל הזה"
} }
+2
View File
@@ -179,6 +179,8 @@
"Public access token for MapTiler Cloud.": "MapTiler Cloud の公開用アクセストークン", "Public access token for MapTiler Cloud.": "MapTiler Cloud の公開用アクセストークン",
"Thunderforest Access Token": "Thunderforest アクセストークン", "Thunderforest Access Token": "Thunderforest アクセストークン",
"Public access token for Thunderforest services.": "Thunderforest サービスの公開用アクセストークン", "Public access token for Thunderforest services.": "Thunderforest サービスの公開用アクセストークン",
"Stadia Maps API Key": "Stadia Maps API キー",
"API key for Stadia Maps.": "Stadia Maps の API キー",
"Style Renderer": "スタイルレンダラ", "Style Renderer": "スタイルレンダラ",
"Choose the default Maputnik renderer for this style.": "このスタイルのデフォルトの Maputnik レンダラを選択してください", "Choose the default Maputnik renderer for this style.": "このスタイルのデフォルトの Maputnik レンダラを選択してください",
"Layer options": "レイヤー設定", "Layer options": "レイヤー設定",
+4 -1
View File
@@ -82,7 +82,7 @@
"Close modal": "关闭模态框", "Close modal": "关闭模态框",
"Debug": "调试", "Debug": "调试",
"Options": "选项", "Options": "选项",
"<0>Open in OSM</0> Opens the current view on openstreetmap.org": "在 openstreetmap.org 打开当前视图", "<0>Open in OSM</0> &mdash; Opens the current view on openstreetmap.org": "在 openstreetmap.org 打开当前视图",
"Export Style": "导出样式", "Export Style": "导出样式",
"Download Style": "下载样式", "Download Style": "下载样式",
"Download a JSON style to your computer.": "将JSON样式下载到您的电脑。", "Download a JSON style to your computer.": "将JSON样式下载到您的电脑。",
@@ -179,8 +179,11 @@
"Public access token for MapTiler Cloud.": "MapTiler Cloud 的公共访问令牌。", "Public access token for MapTiler Cloud.": "MapTiler Cloud 的公共访问令牌。",
"Thunderforest Access Token": "Thunderforest 访问令牌", "Thunderforest Access Token": "Thunderforest 访问令牌",
"Public access token for Thunderforest services.": "Thunderforest 服务的公共访问令牌。", "Public access token for Thunderforest services.": "Thunderforest 服务的公共访问令牌。",
"Stadia Maps API Key": "Stadia Maps API 密钥",
"API key for Stadia Maps.": "Stadia Maps 的 API 密钥",
"Style Renderer": "样式渲染器", "Style Renderer": "样式渲染器",
"Choose the default Maputnik renderer for this style.": "为这种样式选择默认的Maputnik渲染器。", "Choose the default Maputnik renderer for this style.": "为这种样式选择默认的Maputnik渲染器。",
"<0>Open in OSM</0> — Opens the current view on openstreetmap.org": "在 openstreetmap.org 打开当前视图",
"Layer options": "图层选项", "Layer options": "图层选项",
"Paint properties": "绘制属性", "Paint properties": "绘制属性",
"Layout properties": "布局属性", "Layout properties": "布局属性",