From 95c2464e4286c4906e0130cb5eb851fdfc751a90 Mon Sep 17 00:00:00 2001 From: Stepan Kuzmin Date: Tue, 12 Apr 2022 18:39:29 +0300 Subject: [PATCH] Add localization for UI strings in Simplified Chinese (#11723) h/t @AdaXL @pengdev --- src/ui/locales/zh-Hans.js | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 src/ui/locales/zh-Hans.js diff --git a/src/ui/locales/zh-Hans.js b/src/ui/locales/zh-Hans.js new file mode 100644 index 00000000000..dd9822132b1 --- /dev/null +++ b/src/ui/locales/zh-Hans.js @@ -0,0 +1,25 @@ +// @flow + +const locale = { + "AttributionControl.ToggleAttribution": "切换属性", + "AttributionControl.MapFeedback": "地图反馈", + "FullscreenControl.Enter": "进入全屏", + "FullscreenControl.Exit": "退出全屏", + "GeolocateControl.FindMyLocation": "查找我的位置", + "GeolocateControl.LocationNotAvailable": "位置不可用", + "LogoControl.Title": "Mapbox 徽标", + "Map.Title": "地图", + "NavigationControl.ResetBearing": "将方位重置为北", + "NavigationControl.ZoomIn": "放大", + "NavigationControl.ZoomOut": "缩小", + "ScaleControl.Feet": "英尺", + "ScaleControl.Meters": "米", + "ScaleControl.Kilometers": "公里", + "ScaleControl.Miles": "英里", + "ScaleControl.NauticalMiles": "海里", + "ScrollZoomBlocker.CtrlMessage": "使用 ctrl + 滚动来缩放地图", + "ScrollZoomBlocker.CmdMessage": "使用 ⌘ + 滚动来缩放地图", + "TouchPanBlocker.Message": "用两根手指移动地图" +}; + +export default locale;