diff --git a/mapwidgets/locale/zh/LC_MESSAGES/django.mo b/mapwidgets/locale/zh/LC_MESSAGES/django.mo new file mode 100644 index 00000000..4cfcc91f Binary files /dev/null and b/mapwidgets/locale/zh/LC_MESSAGES/django.mo differ diff --git a/mapwidgets/locale/zh/LC_MESSAGES/django.po b/mapwidgets/locale/zh/LC_MESSAGES/django.po new file mode 100644 index 00000000..e8a6ccca --- /dev/null +++ b/mapwidgets/locale/zh/LC_MESSAGES/django.po @@ -0,0 +1,74 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR , YEAR. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2022-07-29 15:23-0500\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: settings.py:85 settings.py:95 +msgid "MapWidget settings must be a tuple or dictionary" +msgstr "" + +#: settings.py:114 settings.py:136 +#, python-format +msgid "" +"Invalid %s settings value. Please check the settings documentation http://" +"django-map-widgets.readthedocs.io/en/latest/widgets/settings.html" +msgstr "" + +#: templates/mapwidgets/google-point-field-widget.html:8 +#: templates/mapwidgets/mapbox-point-field-widget.html:8 +msgid "Edit coordinates" +msgstr "修改坐标" + +#: templates/mapwidgets/google-point-field-widget.html:11 +#: templates/mapwidgets/mapbox-point-field-widget.html:11 +msgid "Latitude:" +msgstr "纬度" + +#: templates/mapwidgets/google-point-field-widget.html:12 +#: templates/mapwidgets/mapbox-point-field-widget.html:12 +msgid "Ex: 41.015137" +msgstr "如:41.015137" + +#: templates/mapwidgets/google-point-field-widget.html:15 +#: templates/mapwidgets/mapbox-point-field-widget.html:15 +msgid "Longitude:" +msgstr "经度" + +#: templates/mapwidgets/google-point-field-widget.html:16 +#: templates/mapwidgets/mapbox-point-field-widget.html:16 +msgid "Ex: 28.979530" +msgstr "如:28.979530" + +#: templates/mapwidgets/google-point-field-widget.html:18 +#: templates/mapwidgets/mapbox-point-field-widget.html:18 +msgid "Done" +msgstr "完成" + +#: templates/mapwidgets/google-point-field-widget.html:22 +#: templates/mapwidgets/mapbox-point-field-widget.html:22 +msgid "Use My Location" +msgstr "使用当前位置" + +#: templates/mapwidgets/google-point-field-widget.html:23 +#: templates/mapwidgets/mapbox-point-field-widget.html:23 +msgid "Choose point on map" +msgstr "在地图上标注" + +#: templates/mapwidgets/google-point-field-widget.html:25 +#: templates/mapwidgets/mapbox-point-field-widget.html:64 +msgid "Find a Location by Address" +msgstr "输入地址查找" diff --git a/mapwidgets/templates/mapwidgets/google-point-field-widget.html b/mapwidgets/templates/mapwidgets/google-point-field-widget.html index b2c87cfa..ed3def42 100644 --- a/mapwidgets/templates/mapwidgets/google-point-field-widget.html +++ b/mapwidgets/templates/mapwidgets/google-point-field-widget.html @@ -22,7 +22,7 @@ {% trans "Use My Location" %} {% trans "Choose point on map" %}
- +
{% endblock header %}