umap-project 2.5.1__py3-none-any.whl → 2.6.0b0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of umap-project might be problematic. Click here for more details.

Files changed (193) hide show
  1. umap/__init__.py +1 -1
  2. umap/admin.py +6 -1
  3. umap/context_processors.py +2 -1
  4. umap/decorators.py +13 -2
  5. umap/forms.py +26 -2
  6. umap/locale/br/LC_MESSAGES/django.mo +0 -0
  7. umap/locale/br/LC_MESSAGES/django.po +252 -146
  8. umap/locale/ca/LC_MESSAGES/django.mo +0 -0
  9. umap/locale/ca/LC_MESSAGES/django.po +274 -162
  10. umap/locale/cs_CZ/LC_MESSAGES/django.mo +0 -0
  11. umap/locale/cs_CZ/LC_MESSAGES/django.po +261 -150
  12. umap/locale/de/LC_MESSAGES/django.mo +0 -0
  13. umap/locale/de/LC_MESSAGES/django.po +299 -187
  14. umap/locale/el/LC_MESSAGES/django.mo +0 -0
  15. umap/locale/el/LC_MESSAGES/django.po +215 -159
  16. umap/locale/en/LC_MESSAGES/django.po +211 -155
  17. umap/locale/es/LC_MESSAGES/django.mo +0 -0
  18. umap/locale/es/LC_MESSAGES/django.po +255 -144
  19. umap/locale/eu/LC_MESSAGES/django.mo +0 -0
  20. umap/locale/eu/LC_MESSAGES/django.po +254 -198
  21. umap/locale/fa_IR/LC_MESSAGES/django.mo +0 -0
  22. umap/locale/fa_IR/LC_MESSAGES/django.po +346 -234
  23. umap/locale/fr/LC_MESSAGES/django.mo +0 -0
  24. umap/locale/fr/LC_MESSAGES/django.po +216 -160
  25. umap/locale/hu/LC_MESSAGES/django.mo +0 -0
  26. umap/locale/hu/LC_MESSAGES/django.po +215 -159
  27. umap/locale/it/LC_MESSAGES/django.mo +0 -0
  28. umap/locale/it/LC_MESSAGES/django.po +252 -146
  29. umap/locale/ms/LC_MESSAGES/django.mo +0 -0
  30. umap/locale/ms/LC_MESSAGES/django.po +252 -146
  31. umap/locale/pl/LC_MESSAGES/django.mo +0 -0
  32. umap/locale/pl/LC_MESSAGES/django.po +254 -148
  33. umap/locale/pt/LC_MESSAGES/django.mo +0 -0
  34. umap/locale/pt/LC_MESSAGES/django.po +215 -159
  35. umap/locale/sv/LC_MESSAGES/django.mo +0 -0
  36. umap/locale/sv/LC_MESSAGES/django.po +254 -143
  37. umap/locale/th_TH/LC_MESSAGES/django.mo +0 -0
  38. umap/locale/th_TH/LC_MESSAGES/django.po +125 -70
  39. umap/locale/zh_TW/LC_MESSAGES/django.mo +0 -0
  40. umap/locale/zh_TW/LC_MESSAGES/django.po +256 -145
  41. umap/migrations/0022_add_team.py +94 -0
  42. umap/models.py +45 -10
  43. umap/settings/__init__.py +2 -0
  44. umap/settings/base.py +3 -2
  45. umap/static/umap/base.css +32 -41
  46. umap/static/umap/content.css +19 -25
  47. umap/static/umap/css/icon.css +63 -37
  48. umap/static/umap/css/importers.css +1 -1
  49. umap/static/umap/css/slideshow.css +7 -5
  50. umap/static/umap/css/tableeditor.css +4 -3
  51. umap/static/umap/img/16-white.svg +1 -4
  52. umap/static/umap/img/16.svg +2 -6
  53. umap/static/umap/img/24-white.svg +4 -4
  54. umap/static/umap/img/24.svg +6 -6
  55. umap/static/umap/img/source/16-white.svg +2 -5
  56. umap/static/umap/img/source/16.svg +3 -7
  57. umap/static/umap/img/source/24-white.svg +7 -14
  58. umap/static/umap/img/source/24.svg +10 -17
  59. umap/static/umap/js/components/alerts/alert.css +20 -8
  60. umap/static/umap/js/modules/autocomplete.js +3 -3
  61. umap/static/umap/js/modules/browser.js +4 -3
  62. umap/static/umap/js/modules/caption.js +9 -11
  63. umap/static/umap/js/modules/data/features.js +994 -0
  64. umap/static/umap/js/modules/data/layer.js +1210 -0
  65. umap/static/umap/js/modules/formatter.js +12 -3
  66. umap/static/umap/js/modules/global.js +21 -5
  67. umap/static/umap/js/modules/permissions.js +280 -0
  68. umap/static/umap/js/{umap.icon.js → modules/rendering/icon.js} +77 -56
  69. umap/static/umap/js/modules/rendering/layers/base.js +105 -0
  70. umap/static/umap/js/modules/rendering/layers/classified.js +484 -0
  71. umap/static/umap/js/modules/rendering/layers/cluster.js +103 -0
  72. umap/static/umap/js/modules/rendering/layers/heat.js +182 -0
  73. umap/static/umap/js/modules/rendering/popup.js +99 -0
  74. umap/static/umap/js/modules/rendering/template.js +217 -0
  75. umap/static/umap/js/modules/rendering/ui.js +573 -0
  76. umap/static/umap/js/modules/schema.js +24 -0
  77. umap/static/umap/js/modules/share.js +66 -45
  78. umap/static/umap/js/modules/sync/updaters.js +9 -10
  79. umap/static/umap/js/modules/tableeditor.js +7 -7
  80. umap/static/umap/js/modules/ui/dialog.js +8 -4
  81. umap/static/umap/js/modules/utils.js +22 -13
  82. umap/static/umap/js/umap.controls.js +79 -146
  83. umap/static/umap/js/umap.core.js +9 -9
  84. umap/static/umap/js/umap.forms.js +32 -12
  85. umap/static/umap/js/umap.js +65 -63
  86. umap/static/umap/locale/br.js +35 -35
  87. umap/static/umap/locale/br.json +35 -35
  88. umap/static/umap/locale/ca.js +50 -50
  89. umap/static/umap/locale/ca.json +50 -50
  90. umap/static/umap/locale/de.js +136 -136
  91. umap/static/umap/locale/de.json +136 -136
  92. umap/static/umap/locale/el.js +47 -47
  93. umap/static/umap/locale/el.json +47 -47
  94. umap/static/umap/locale/en.js +7 -1
  95. umap/static/umap/locale/en.json +7 -1
  96. umap/static/umap/locale/fa_IR.js +44 -44
  97. umap/static/umap/locale/fa_IR.json +44 -44
  98. umap/static/umap/locale/fr.js +8 -2
  99. umap/static/umap/locale/fr.json +8 -2
  100. umap/static/umap/locale/pt.js +17 -17
  101. umap/static/umap/locale/pt.json +17 -17
  102. umap/static/umap/locale/pt_PT.js +207 -207
  103. umap/static/umap/locale/pt_PT.json +207 -207
  104. umap/static/umap/locale/th_TH.js +25 -25
  105. umap/static/umap/locale/th_TH.json +25 -25
  106. umap/static/umap/map.css +107 -104
  107. umap/static/umap/nav.css +19 -10
  108. umap/static/umap/unittests/utils.js +230 -107
  109. umap/static/umap/vendors/csv2geojson/csv2geojson.js +62 -40
  110. umap/static/umap/vendors/markercluster/MarkerCluster.Default.css +1 -1
  111. umap/storage.py +1 -0
  112. umap/templates/404.html +5 -1
  113. umap/templates/500.html +3 -1
  114. umap/templates/auth/user_detail.html +8 -2
  115. umap/templates/auth/user_form.html +19 -10
  116. umap/templates/auth/user_stars.html +8 -2
  117. umap/templates/base.html +1 -0
  118. umap/templates/registration/login.html +18 -3
  119. umap/templates/umap/about.html +1 -0
  120. umap/templates/umap/about_summary.html +22 -7
  121. umap/templates/umap/components/alerts/alert.html +42 -21
  122. umap/templates/umap/content.html +2 -0
  123. umap/templates/umap/content_footer.html +6 -2
  124. umap/templates/umap/css.html +1 -0
  125. umap/templates/umap/dashboard_menu.html +15 -0
  126. umap/templates/umap/home.html +14 -4
  127. umap/templates/umap/js.html +4 -9
  128. umap/templates/umap/login_popup_end.html +10 -4
  129. umap/templates/umap/map_detail.html +8 -2
  130. umap/templates/umap/map_fragment.html +3 -1
  131. umap/templates/umap/map_init.html +2 -1
  132. umap/templates/umap/map_list.html +4 -3
  133. umap/templates/umap/map_table.html +36 -12
  134. umap/templates/umap/messages.html +0 -1
  135. umap/templates/umap/navigation.html +2 -1
  136. umap/templates/umap/password_change.html +5 -1
  137. umap/templates/umap/password_change_done.html +8 -2
  138. umap/templates/umap/search.html +8 -2
  139. umap/templates/umap/search_bar.html +1 -0
  140. umap/templates/umap/team_confirm_delete.html +19 -0
  141. umap/templates/umap/team_detail.html +27 -0
  142. umap/templates/umap/team_form.html +60 -0
  143. umap/templates/umap/user_dashboard.html +7 -9
  144. umap/templates/umap/user_teams.html +51 -0
  145. umap/tests/base.py +8 -1
  146. umap/tests/conftest.py +6 -0
  147. umap/tests/fixtures/test_circles_layer.geojson +219 -0
  148. umap/tests/fixtures/test_upload_georss.xml +20 -0
  149. umap/tests/integration/conftest.py +18 -4
  150. umap/tests/integration/helpers.py +12 -0
  151. umap/tests/integration/test_anonymous_owned_map.py +23 -0
  152. umap/tests/integration/test_basics.py +29 -0
  153. umap/tests/integration/test_caption.py +20 -0
  154. umap/tests/integration/test_circles_layer.py +69 -0
  155. umap/tests/integration/test_draw_polygon.py +110 -13
  156. umap/tests/integration/test_draw_polyline.py +8 -18
  157. umap/tests/integration/test_edit_datalayer.py +1 -1
  158. umap/tests/integration/test_import.py +64 -5
  159. umap/tests/integration/test_owned_map.py +21 -13
  160. umap/tests/integration/test_team.py +47 -0
  161. umap/tests/integration/test_tilelayer.py +19 -2
  162. umap/tests/integration/test_view_marker.py +28 -1
  163. umap/tests/integration/test_websocket_sync.py +5 -5
  164. umap/tests/test_datalayer.py +32 -7
  165. umap/tests/test_datalayer_views.py +1 -1
  166. umap/tests/test_map.py +30 -4
  167. umap/tests/test_map_views.py +2 -2
  168. umap/tests/test_statics.py +40 -0
  169. umap/tests/test_team_views.py +131 -0
  170. umap/tests/test_views.py +15 -1
  171. umap/urls.py +23 -13
  172. umap/views.py +116 -10
  173. {umap_project-2.5.1.dist-info → umap_project-2.6.0b0.dist-info}/METADATA +9 -9
  174. {umap_project-2.5.1.dist-info → umap_project-2.6.0b0.dist-info}/RECORD +177 -170
  175. umap/static/umap/js/umap.datalayer.permissions.js +0 -70
  176. umap/static/umap/js/umap.features.js +0 -1290
  177. umap/static/umap/js/umap.layer.js +0 -1837
  178. umap/static/umap/js/umap.permissions.js +0 -208
  179. umap/static/umap/js/umap.popup.js +0 -341
  180. umap/static/umap/test/TableEditor.js +0 -104
  181. umap/static/umap/vendors/leaflet/leaflet-src.js +0 -14512
  182. umap/static/umap/vendors/leaflet/leaflet-src.js.map +0 -1
  183. umap/static/umap/vendors/leaflet/leaflet.js +0 -6
  184. umap/static/umap/vendors/leaflet/leaflet.js.map +0 -1
  185. umap/static/umap/vendors/markercluster/WhereAreTheJavascriptFiles.txt +0 -5
  186. umap/static/umap/vendors/markercluster/leaflet.markercluster-src.js +0 -2718
  187. umap/static/umap/vendors/markercluster/leaflet.markercluster-src.js.map +0 -1
  188. umap/static/umap/vendors/toolbar/leaflet.toolbar-src.css +0 -117
  189. umap/static/umap/vendors/toolbar/leaflet.toolbar-src.js +0 -365
  190. umap/tests/integration/test_statics.py +0 -47
  191. {umap_project-2.5.1.dist-info → umap_project-2.6.0b0.dist-info}/WHEEL +0 -0
  192. {umap_project-2.5.1.dist-info → umap_project-2.6.0b0.dist-info}/entry_points.txt +0 -0
  193. {umap_project-2.5.1.dist-info → umap_project-2.6.0b0.dist-info}/licenses/LICENSE +0 -0
@@ -15,7 +15,7 @@ msgid ""
15
15
  msgstr ""
16
16
  "Project-Id-Version: uMap\n"
17
17
  "Report-Msgid-Bugs-To: \n"
18
- "POT-Creation-Date: 2024-02-15 13:53+0000\n"
18
+ "POT-Creation-Date: 2024-08-30 18:23+0000\n"
19
19
  "PO-Revision-Date: 2013-11-22 14:00+0000\n"
20
20
  "Last-Translator: Supaplex <bejokeup@gmail.com>, 2019,2023-2024\n"
21
21
  "Language-Team: Chinese (Taiwan) (http://app.transifex.com/openstreetmap/umap/language/zh_TW/)\n"
@@ -33,7 +33,7 @@ msgstr "僅能由私密連結編輯"
33
33
  msgid "Everyone can edit"
34
34
  msgstr "所有人皆可編輯"
35
35
 
36
- #: forms.py:69 models.py:371
36
+ #: forms.py:69 models.py:423
37
37
  msgid "Inherit"
38
38
  msgstr "繼承"
39
39
 
@@ -41,242 +41,284 @@ msgstr "繼承"
41
41
  msgid "Site is readonly for maintenance"
42
42
  msgstr "網站目前因維護中設定為唯讀狀態"
43
43
 
44
- #: models.py:50
44
+ #: models.py:54 models.py:73
45
45
  msgid "name"
46
46
  msgstr "名稱"
47
47
 
48
- #: models.py:81
48
+ #: models.py:56 models.py:433
49
+ msgid "description"
50
+ msgstr "描述"
51
+
52
+ #: models.py:104
49
53
  msgid "details"
50
54
  msgstr "詳情"
51
55
 
52
- #: models.py:82
56
+ #: models.py:105
53
57
  msgid "Link to a page where the licence is detailed."
54
58
  msgstr "連結至授權條款說明網址"
55
59
 
56
- #: models.py:92
60
+ #: models.py:115
57
61
  msgid "URL template using OSM tile format"
58
62
  msgstr "URL 樣板,使用 OSM 地圖磚格式"
59
63
 
60
- #: models.py:98
64
+ #: models.py:121
61
65
  msgid "Order of the tilelayers in the edit box"
62
66
  msgstr "編輯方塊中地圖磚的圖層順序"
63
67
 
64
- #: models.py:144 models.py:372
68
+ #: models.py:167 models.py:424
65
69
  msgid "Everyone"
66
70
  msgstr "所有人"
67
71
 
68
- #: models.py:145 models.py:151 models.py:373
69
- msgid "Editors only"
70
- msgstr "只有編輯者"
72
+ #: models.py:168 models.py:174 models.py:425
73
+ msgid "Editors and team only"
74
+ msgstr ""
71
75
 
72
- #: models.py:146 models.py:374
76
+ #: models.py:169 models.py:426
73
77
  msgid "Owner only"
74
78
  msgstr "只有擁有者"
75
79
 
76
- #: models.py:149
80
+ #: models.py:172
77
81
  msgid "Everyone (public)"
78
82
  msgstr "所有人 (公開)"
79
83
 
80
- #: models.py:150
84
+ #: models.py:173
81
85
  msgid "Anyone with link"
82
86
  msgstr "任何有連結的人"
83
87
 
84
- #: models.py:152
88
+ #: models.py:175
85
89
  msgid "Blocked"
86
90
  msgstr "已經封銷了"
87
91
 
88
- #: models.py:155 models.py:378
89
- msgid "description"
90
- msgstr "描述"
91
-
92
- #: models.py:156
92
+ #: models.py:178
93
93
  msgid "center"
94
94
  msgstr "中心"
95
95
 
96
- #: models.py:157
96
+ #: models.py:179
97
97
  msgid "zoom"
98
98
  msgstr "縮放"
99
99
 
100
- #: models.py:159
100
+ #: models.py:181
101
101
  msgid "locate"
102
102
  msgstr "定位"
103
103
 
104
- #: models.py:159
104
+ #: models.py:181
105
105
  msgid "Locate user on load?"
106
106
  msgstr "載入時使用定位功能?"
107
107
 
108
- #: models.py:163
108
+ #: models.py:185
109
109
  msgid "Choose the map licence."
110
110
  msgstr "選擇地圖授權"
111
111
 
112
- #: models.py:164
112
+ #: models.py:186
113
113
  msgid "licence"
114
114
  msgstr "授權"
115
115
 
116
- #: models.py:175
116
+ #: models.py:197
117
117
  msgid "owner"
118
118
  msgstr "擁有者"
119
119
 
120
- #: models.py:179
120
+ #: models.py:201
121
121
  msgid "editors"
122
122
  msgstr "編輯者"
123
123
 
124
- #: models.py:184 models.py:392
124
+ #: models.py:207
125
+ msgid "team"
126
+ msgstr ""
127
+
128
+ #: models.py:213 models.py:447
125
129
  msgid "edit status"
126
130
  msgstr "編輯狀態"
127
131
 
128
- #: models.py:189
132
+ #: models.py:218
129
133
  msgid "share status"
130
134
  msgstr "分享狀態"
131
135
 
132
- #: models.py:192 models.py:387
136
+ #: models.py:221 models.py:442
133
137
  msgid "settings"
134
138
  msgstr "設定"
135
139
 
136
- #: models.py:320
140
+ #: models.py:364
137
141
  msgid "Clone of"
138
142
  msgstr "複製"
139
143
 
140
- #: models.py:382
144
+ #: models.py:437
141
145
  msgid "display on load"
142
146
  msgstr "載入時顯示"
143
147
 
144
- #: models.py:383
148
+ #: models.py:438
145
149
  msgid "Display this layer on load."
146
150
  msgstr "載入此圖層時顯示"
147
151
 
148
- #: templates/404.html:6
152
+ #: templates/404.html:8
149
153
  msgid "Take me to the home page"
150
154
  msgstr "帶我回主頁"
151
155
 
152
- #: templates/auth/user_detail.html:5
156
+ #: templates/auth/user_detail.html:8
153
157
  #, python-format
154
158
  msgid "Browse %(current_user)s's maps"
155
159
  msgstr "瀏覽 %(current_user)s 的地圖"
156
160
 
157
- #: templates/auth/user_detail.html:12
161
+ #: templates/auth/user_detail.html:17
158
162
  #, python-format
159
163
  msgid "%(current_user)s has no maps."
160
164
  msgstr "%(current_user)s 沒有任何地圖。"
161
165
 
162
- #: templates/auth/user_form.html:6
163
- msgid "My Maps"
164
- msgstr "我的地圖"
165
-
166
- #: templates/auth/user_form.html:7
167
- msgid "My Profile"
168
- msgstr "我的個人檔案"
169
-
170
- #: templates/auth/user_form.html:20
166
+ #: templates/auth/user_form.html:21 templates/umap/team_form.html:21
171
167
  msgid "Save"
172
168
  msgstr "儲存"
173
169
 
174
- #: templates/auth/user_form.html:25
170
+ #: templates/auth/user_form.html:27
175
171
  msgid "Your current providers"
176
172
  msgstr "你目前的供應商"
177
173
 
178
- #: templates/auth/user_form.html:31
174
+ #: templates/auth/user_form.html:39
179
175
  msgid "Connect to another provider"
180
176
  msgstr "連線到其他供應商"
181
177
 
182
- #: templates/auth/user_form.html:33
178
+ #: templates/auth/user_form.html:42
183
179
  msgid ""
184
180
  "It's a good habit to connect your account to more than one provider, in case"
185
181
  " one provider becomes unavailable, temporarily or even permanently."
186
182
  msgstr "用你的帳號連到多個供應商是好的習慣,因為有時候供應商會出狀況,甚至永久停止運作。"
187
183
 
188
- #: templates/auth/user_stars.html:5
184
+ #: templates/auth/user_stars.html:8
189
185
  #, python-format
190
186
  msgid "Browse %(current_user)s's starred maps"
191
187
  msgstr "瀏覽 %(current_user)s 已打心號的地圖"
192
188
 
193
- #: templates/auth/user_stars.html:12
189
+ #: templates/auth/user_stars.html:17
194
190
  #, python-format
195
191
  msgid "%(current_user)s has no starred maps yet."
196
192
  msgstr "%(current_user)s 沒有任何打心號的地圖。"
197
193
 
198
- #: templates/base.html:12
194
+ #: templates/base.html:13
199
195
  msgid ""
200
196
  "uMap lets you create maps with OpenStreetMap layers in a minute and embed "
201
197
  "them in your site."
202
198
  msgstr "uMap 允許你在數分鐘內創建有開放街圖的圖層的地圖,並且能內嵌到你的網站。"
203
199
 
204
- #: templates/registration/login.html:16
200
+ #: templates/registration/login.html:6 templates/registration/login.html:45
201
+ msgid "Login"
202
+ msgstr "登入"
203
+
204
+ #: templates/registration/login.html:24
205
205
  msgid "Please log in with your account"
206
206
  msgstr "請先登入"
207
207
 
208
- #: templates/registration/login.html:28
208
+ #: templates/registration/login.html:41
209
209
  msgid "Username"
210
210
  msgstr "使用者名稱"
211
211
 
212
- #: templates/registration/login.html:31
212
+ #: templates/registration/login.html:44
213
213
  msgid "Password"
214
214
  msgstr "密碼"
215
215
 
216
- #: templates/registration/login.html:32
217
- msgid "Login"
218
- msgstr "登入"
219
-
220
- #: templates/registration/login.html:37
216
+ #: templates/registration/login.html:51
221
217
  msgid "Please choose a provider"
222
218
  msgstr "選擇服務商"
223
219
 
224
- #: templates/umap/about_summary.html:11
220
+ #: templates/umap/about_summary.html:12
225
221
  #, python-format
226
222
  msgid ""
227
223
  "uMap lets you create maps with <a href=\"%(osm_url)s\" />OpenStreetMap</a> "
228
224
  "layers in a minute and embed them in your site."
229
225
  msgstr "uMap 讓你在幾分鐘的時間內用 <a href=\"%(osm_url)s\" />開放街圖</a>的圖層創建地圖,並且內嵌到你的網站上。"
230
226
 
231
- #: templates/umap/about_summary.html:21
227
+ #: templates/umap/about_summary.html:23
232
228
  msgid "Choose the layers of your map"
233
229
  msgstr "選擇您地圖的圖層"
234
230
 
235
- #: templates/umap/about_summary.html:22
231
+ #: templates/umap/about_summary.html:26
236
232
  msgid "Add POIs: markers, lines, polygons..."
237
233
  msgstr "新增景點 POI:標記、線段、多邊形..."
238
234
 
239
- #: templates/umap/about_summary.html:23
235
+ #: templates/umap/about_summary.html:29
240
236
  msgid "Manage POIs colours and icons"
241
237
  msgstr "管理景點 POI 的顏色與圖示"
242
238
 
243
- #: templates/umap/about_summary.html:24
239
+ #: templates/umap/about_summary.html:32
244
240
  msgid "Manage map options: display a minimap, locate user on load…"
245
241
  msgstr "管理地圖選項:顯示小型地圖﹐設定初始位置..."
246
242
 
247
- #: templates/umap/about_summary.html:25
243
+ #: templates/umap/about_summary.html:35
248
244
  msgid "Batch import geostructured data (geojson, gpx, kml, osm...)"
249
245
  msgstr "批次匯入地理資訊 (geojson, gpx, kml, osm... )"
250
246
 
251
- #: templates/umap/about_summary.html:26
247
+ #: templates/umap/about_summary.html:38
252
248
  msgid "Choose the license for your data"
253
249
  msgstr "選擇您的資料的授權條例"
254
250
 
255
- #: templates/umap/about_summary.html:27
251
+ #: templates/umap/about_summary.html:41
256
252
  msgid "Embed and share your map"
257
253
  msgstr "內嵌並分享您的地圖"
258
254
 
259
- #: templates/umap/about_summary.html:37
255
+ #: templates/umap/about_summary.html:52
260
256
  #, python-format
261
257
  msgid "And it's <a href=\"%(repo_url)s\">open source</a>!"
262
258
  msgstr "而且是 <a href=\"%(repo_url)s\">開放原始碼</a> 的!"
263
259
 
264
- #: templates/umap/about_summary.html:48 templates/umap/navigation.html:38
265
- #: templates/umap/user_dashboard.html:42
260
+ #: templates/umap/about_summary.html:63 templates/umap/navigation.html:39
261
+ #: templates/umap/user_dashboard.html:40
266
262
  msgid "Create a map"
267
263
  msgstr "建立地圖"
268
264
 
269
- #: templates/umap/about_summary.html:51
265
+ #: templates/umap/about_summary.html:66
270
266
  msgid "Play with the demo"
271
267
  msgstr "播放展示"
272
268
 
273
- #: templates/umap/content.html:22
269
+ #: templates/umap/components/alerts/alert.html:15
270
+ #: templates/umap/components/alerts/alert.html:64
271
+ #: templates/umap/components/alerts/alert.html:92
272
+ msgid "Close"
273
+ msgstr "關閉"
274
+
275
+ #: templates/umap/components/alerts/alert.html:30
276
+ #, python-format
277
+ msgid ""
278
+ "Pro-tip: to easily find back your maps, <a href=\"%(login_url)s\" "
279
+ "target=\"_blank\">create an account</a> or <a href=\"%(login_url)s\" "
280
+ "target=\"_blank\">log in</a>."
281
+ msgstr "進階技巧:要輕易找到你先前的地圖,<a href=\"%(login_url)s\" target=\"_blank\">創建帳號</a>或是<a href=\"%(login_url)s\" target=\"_blank\">登入</a>。"
282
+
283
+ #: templates/umap/components/alerts/alert.html:35
284
+ msgid "Here is your secret link to edit the map, please keep it safe:"
285
+ msgstr "這裡是編輯地圖的祕密連結,請好好保管:"
286
+
287
+ #: templates/umap/components/alerts/alert.html:39
288
+ msgid "Copy link"
289
+ msgstr "複製連結"
290
+
291
+ #: templates/umap/components/alerts/alert.html:46
292
+ msgid "Enter your email address to receive the secret link:"
293
+ msgstr "輸入你的電子郵件來取得祕密連結:"
294
+
295
+ #: templates/umap/components/alerts/alert.html:52
296
+ msgid "Email"
297
+ msgstr "電子郵件"
298
+
299
+ #: templates/umap/components/alerts/alert.html:55
300
+ msgid "Send me the link"
301
+ msgstr "寄送連結"
302
+
303
+ #: templates/umap/components/alerts/alert.html:79
304
+ msgid "See their edits in another tab"
305
+ msgstr "在其他頁籤察看他們的編輯"
306
+
307
+ #: templates/umap/components/alerts/alert.html:82
308
+ msgid "Keep your changes and loose theirs"
309
+ msgstr "保留你的變動並且丟棄他們的"
310
+
311
+ #: templates/umap/components/alerts/alert.html:85
312
+ msgid "Keep their changes and loose yours"
313
+ msgstr "保留他們的變動並且丟棄自己的"
314
+
315
+ #: templates/umap/content.html:26
274
316
  msgid ""
275
317
  "This instance of uMap is currently in read only mode, no creation/edit is "
276
318
  "allowed."
277
319
  msgstr "這份 uMap 目前是唯讀模式,並不允許創建/編輯。"
278
320
 
279
- #: templates/umap/content.html:30
321
+ #: templates/umap/content.html:34
280
322
  #, python-format
281
323
  msgid ""
282
324
  "This is a demo instance, used for tests and pre-rolling releases. If you "
@@ -285,269 +327,338 @@ msgid ""
285
327
  "instance, it's <a href=\"%(repo_url)s\">open source</a>!"
286
328
  msgstr "這是範例服務﹐提供測試與正式版發行前驗證使用。如果您需要穩定的服務,請使用 <a href=\"%(stable_url)s\">%(stable_url)s</a>。您也可以自行架設服務﹐完全是 <a href=\"%(repo_url)s\">開放原始碼</a> 的!"
287
329
 
288
- #: templates/umap/home.html:8
330
+ #: templates/umap/content_footer.html:5
331
+ msgid "An OpenStreetMap project"
332
+ msgstr ""
333
+
334
+ #: templates/umap/content_footer.html:6
335
+ msgid "version"
336
+ msgstr ""
337
+
338
+ #: templates/umap/content_footer.html:7
339
+ msgid "Hosted by"
340
+ msgstr ""
341
+
342
+ #: templates/umap/content_footer.html:8
343
+ msgid "Contact"
344
+ msgstr ""
345
+
346
+ #: templates/umap/content_footer.html:9 templates/umap/navigation.html:25
347
+ msgid "Help"
348
+ msgstr "幫助"
349
+
350
+ #: templates/umap/dashboard_menu.html:6
351
+ #, python-format
352
+ msgid "My Maps (%(count)s)"
353
+ msgstr "我的地圖 (%(count)s)"
354
+
355
+ #: templates/umap/dashboard_menu.html:8
356
+ msgid "My Maps"
357
+ msgstr "我的地圖"
358
+
359
+ #: templates/umap/dashboard_menu.html:11
360
+ msgid "My profile"
361
+ msgstr "我的個人檔案"
362
+
363
+ #: templates/umap/dashboard_menu.html:13
364
+ msgid "My teams"
365
+ msgstr ""
366
+
367
+ #: templates/umap/home.html:14
289
368
  msgid "Map of the uMaps"
290
369
  msgstr "uMaps 地圖"
291
370
 
292
- #: templates/umap/home.html:14
371
+ #: templates/umap/home.html:24
293
372
  msgid "Get inspired, browse maps"
294
373
  msgstr "找點子,瀏覽其他地圖"
295
374
 
296
- #: templates/umap/login_popup_end.html:2
375
+ #: templates/umap/login_popup_end.html:4
297
376
  msgid "You are logged in. Continuing..."
298
377
  msgstr "您已登入,繼續中..."
299
378
 
300
- #: templates/umap/map_list.html:9 views.py:341
379
+ #: templates/umap/map_list.html:10 views.py:433
301
380
  msgid "by"
302
381
  msgstr "由"
303
382
 
304
- #: templates/umap/map_list.html:17
383
+ #: templates/umap/map_list.html:18
305
384
  msgid "More"
306
385
  msgstr "更多"
307
386
 
308
- #: templates/umap/map_table.html:6
387
+ #: templates/umap/map_table.html:8 templates/umap/user_teams.html:14
309
388
  msgid "Name"
310
389
  msgstr "名稱"
311
390
 
312
- #: templates/umap/map_table.html:7
391
+ #: templates/umap/map_table.html:11
313
392
  msgid "Preview"
314
393
  msgstr "預纜"
315
394
 
316
- #: templates/umap/map_table.html:8
395
+ #: templates/umap/map_table.html:14
317
396
  msgid "Who can see"
318
397
  msgstr "誰可以檢視"
319
398
 
320
- #: templates/umap/map_table.html:9
399
+ #: templates/umap/map_table.html:17
321
400
  msgid "Who can edit"
322
401
  msgstr "誰可以編輯"
323
402
 
324
- #: templates/umap/map_table.html:10
403
+ #: templates/umap/map_table.html:20
325
404
  msgid "Last save"
326
405
  msgstr "最後儲存"
327
406
 
328
- #: templates/umap/map_table.html:11
407
+ #: templates/umap/map_table.html:23
329
408
  msgid "Owner"
330
409
  msgstr "擁有者"
331
410
 
332
- #: templates/umap/map_table.html:12
411
+ #: templates/umap/map_table.html:26 templates/umap/user_teams.html:20
333
412
  msgid "Actions"
334
413
  msgstr "動作"
335
414
 
336
- #: templates/umap/map_table.html:25 templates/umap/map_table.html:27
415
+ #: templates/umap/map_table.html:41 templates/umap/map_table.html:43
337
416
  msgid "Open preview"
338
417
  msgstr "開啟預纜"
339
418
 
340
- #: templates/umap/map_table.html:46 templates/umap/map_table.html:48
419
+ #: templates/umap/map_table.html:72 templates/umap/map_table.html:74
341
420
  msgid "Share"
342
421
  msgstr "分享"
343
422
 
344
- #: templates/umap/map_table.html:51 templates/umap/map_table.html:53
423
+ #: templates/umap/map_table.html:78 templates/umap/map_table.html:80
424
+ #: templates/umap/user_teams.html:38 templates/umap/user_teams.html:40
345
425
  msgid "Edit"
346
426
  msgstr "編輯"
347
427
 
348
- #: templates/umap/map_table.html:56 templates/umap/map_table.html:58
428
+ #: templates/umap/map_table.html:84 templates/umap/map_table.html:86
349
429
  msgid "Download"
350
430
  msgstr "下載"
351
431
 
352
- #: templates/umap/map_table.html:63 templates/umap/map_table.html:65
432
+ #: templates/umap/map_table.html:90 templates/umap/map_table.html:92
353
433
  msgid "Clone"
354
434
  msgstr "複製"
355
435
 
356
- #: templates/umap/map_table.html:73 templates/umap/map_table.html:75
436
+ #: templates/umap/map_table.html:101 templates/umap/map_table.html:103
357
437
  msgid "Delete"
358
438
  msgstr "刪除"
359
439
 
360
- #: templates/umap/map_table.html:88
440
+ #: templates/umap/map_table.html:117
361
441
  msgid "first"
362
442
  msgstr "第一"
363
443
 
364
- #: templates/umap/map_table.html:89
444
+ #: templates/umap/map_table.html:118
365
445
  msgid "previous"
366
446
  msgstr "先前"
367
447
 
368
- #: templates/umap/map_table.html:98
448
+ #: templates/umap/map_table.html:126
369
449
  #, python-format
370
450
  msgid "Page %(maps_number)s of %(num_pages)s"
371
451
  msgstr "%(num_pages)s頁的%(maps_number)s"
372
452
 
373
- #: templates/umap/map_table.html:104
453
+ #: templates/umap/map_table.html:131
374
454
  msgid "next"
375
455
  msgstr "之後"
376
456
 
377
- #: templates/umap/map_table.html:105
457
+ #: templates/umap/map_table.html:132
378
458
  msgid "last"
379
459
  msgstr "最後"
380
460
 
381
- #: templates/umap/map_table.html:113
461
+ #: templates/umap/map_table.html:140
382
462
  #, python-format
383
463
  msgid "Lines per page: %(per_page)s"
384
464
  msgstr "每頁行數:%(per_page)s"
385
465
 
386
- #: templates/umap/map_table.html:118
466
+ #: templates/umap/map_table.html:145
387
467
  #, python-format
388
468
  msgid "%(count)s maps"
389
469
  msgstr "%(count)s地圖"
390
470
 
391
- #: templates/umap/navigation.html:10 templates/umap/user_dashboard.html:4
471
+ #: templates/umap/navigation.html:11 templates/umap/user_dashboard.html:6
392
472
  msgid "My Dashboard"
393
473
  msgstr "我的儀表板"
394
474
 
395
- #: templates/umap/navigation.html:13
475
+ #: templates/umap/navigation.html:14
396
476
  msgid "Starred maps"
397
477
  msgstr "打心號的地圖"
398
478
 
399
- #: templates/umap/navigation.html:17
479
+ #: templates/umap/navigation.html:18
400
480
  msgid "Log in"
401
481
  msgstr "登入"
402
482
 
403
- #: templates/umap/navigation.html:17
483
+ #: templates/umap/navigation.html:18
404
484
  msgid "Sign in"
405
485
  msgstr "註冊"
406
486
 
407
- #: templates/umap/navigation.html:21
487
+ #: templates/umap/navigation.html:22
408
488
  msgid "About"
409
489
  msgstr "關於"
410
490
 
411
- #: templates/umap/navigation.html:24
412
- msgid "Help"
413
- msgstr "幫助"
414
-
415
- #: templates/umap/navigation.html:29
491
+ #: templates/umap/navigation.html:30
416
492
  msgid "Change password"
417
493
  msgstr "更改密碼"
418
494
 
419
- #: templates/umap/navigation.html:33
495
+ #: templates/umap/navigation.html:34
420
496
  msgid "Log out"
421
497
  msgstr "登出"
422
498
 
423
- #: templates/umap/password_change.html:4
499
+ #: templates/umap/password_change.html:7
424
500
  msgid "Password change"
425
501
  msgstr "密碼變更"
426
502
 
427
- #: templates/umap/password_change.html:6
503
+ #: templates/umap/password_change.html:10
428
504
  msgid ""
429
505
  "Please enter your old password, for security's sake, and then enter your new"
430
506
  " password twice so we can verify you typed it in correctly."
431
507
  msgstr "為確保賬戸安全,請先輸入你的舊有密碼。然後輸入新密碼兩次,以便確認新密碼輸入正確。"
432
508
 
433
- #: templates/umap/password_change.html:13
509
+ #: templates/umap/password_change.html:17
434
510
  msgid "Old password"
435
511
  msgstr "舊密碼"
436
512
 
437
- #: templates/umap/password_change.html:18
513
+ #: templates/umap/password_change.html:22
438
514
  msgid "New password"
439
515
  msgstr "新密碼"
440
516
 
441
- #: templates/umap/password_change.html:22
517
+ #: templates/umap/password_change.html:26
442
518
  msgid "New password confirmation"
443
519
  msgstr "再次輸入新密碼"
444
520
 
445
- #: templates/umap/password_change.html:23
521
+ #: templates/umap/password_change.html:27
446
522
  msgid "Change my password"
447
523
  msgstr "更改我的密碼"
448
524
 
449
- #: templates/umap/password_change_done.html:4
525
+ #: templates/umap/password_change_done.html:7
450
526
  msgid "Password change successful"
451
527
  msgstr "成功更改密碼"
452
528
 
453
- #: templates/umap/password_change_done.html:5
529
+ #: templates/umap/password_change_done.html:10
454
530
  msgid "Your password was changed."
455
531
  msgstr "你的密碼已更改。"
456
532
 
457
- #: templates/umap/search.html:10
533
+ #: templates/umap/search.html:15
458
534
  #, python-format
459
535
  msgid "%(count)s map found:"
460
536
  msgid_plural "%(count)s maps found:"
461
537
  msgstr[0] "已找到%(count)s份地圖:"
462
538
 
463
- #: templates/umap/search.html:18
539
+ #: templates/umap/search.html:24
464
540
  msgid "No map found."
465
541
  msgstr "找不到地圖。"
466
542
 
467
- #: templates/umap/search.html:21
543
+ #: templates/umap/search.html:29
468
544
  msgid "Latest created maps"
469
545
  msgstr "最新創建地圖"
470
546
 
471
- #: templates/umap/search_bar.html:3
547
+ #: templates/umap/search_bar.html:4
472
548
  msgid "Search maps"
473
549
  msgstr "搜尋地圖"
474
550
 
475
- #: templates/umap/search_bar.html:14
551
+ #: templates/umap/search_bar.html:15
476
552
  msgid "Search"
477
553
  msgstr "搜尋"
478
554
 
479
- #: templates/umap/user_dashboard.html:7 templates/umap/user_dashboard.html:26
480
- msgid "Search my maps"
481
- msgstr "搜尋我的地圖"
555
+ #: templates/umap/team_detail.html:10
556
+ #, python-format
557
+ msgid "Browse %(current_team)s's maps"
558
+ msgstr ""
482
559
 
483
- #: templates/umap/user_dashboard.html:11
560
+ #: templates/umap/team_detail.html:22
484
561
  #, python-format
485
- msgid "My Maps (%(count)s)"
486
- msgstr "我的地圖 (%(count)s)"
562
+ msgid "%(current_team)s has no public maps."
563
+ msgstr ""
487
564
 
488
- #: templates/umap/user_dashboard.html:13
489
- msgid "My profile"
490
- msgstr "我的個人檔案"
565
+ #: templates/umap/team_form.html:24
566
+ msgid "Delete this team"
567
+ msgstr ""
568
+
569
+ #: templates/umap/team_form.html:47
570
+ msgid "Add user"
571
+ msgstr ""
572
+
573
+ #: templates/umap/user_dashboard.html:9 templates/umap/user_dashboard.html:25
574
+ msgid "Search my maps"
575
+ msgstr "搜尋我的地圖"
491
576
 
492
- #: templates/umap/user_dashboard.html:21 templates/umap/user_dashboard.html:23
577
+ #: templates/umap/user_dashboard.html:17 templates/umap/user_dashboard.html:22
493
578
  msgid "Map’s title"
494
579
  msgstr "地圖標題"
495
580
 
496
- #: templates/umap/user_dashboard.html:32
581
+ #: templates/umap/user_dashboard.html:30
497
582
  #, python-format
498
583
  msgid "Download %(count)s maps"
499
584
  msgstr "下載%(count)s地圖"
500
585
 
501
- #: templates/umap/user_dashboard.html:42
586
+ #: templates/umap/user_dashboard.html:40
502
587
  msgid "You have no map yet."
503
588
  msgstr "你目前還沒有地圖。"
504
589
 
505
- #: views.py:346
590
+ #: templates/umap/user_teams.html:17
591
+ msgid "Users"
592
+ msgstr ""
593
+
594
+ #: templates/umap/user_teams.html:48
595
+ msgid "New team"
596
+ msgstr ""
597
+
598
+ #: views.py:235
599
+ msgid "Cannot delete a team with more than one member"
600
+ msgstr ""
601
+
602
+ #: views.py:239
603
+ #, python-format
604
+ msgid "Team “%(name)s” has been deleted"
605
+ msgstr ""
606
+
607
+ #: views.py:438
506
608
  msgid "View the map"
507
609
  msgstr "檢視地圖"
508
610
 
509
- #: views.py:704
611
+ #: views.py:824
510
612
  msgid "See full screen"
511
613
  msgstr "檢視全螢幕"
512
614
 
513
- #: views.py:803
615
+ #: views.py:953
514
616
  msgid "Map editors updated with success!"
515
617
  msgstr "地圖編輯者更新完成"
516
618
 
517
- #: views.py:841
619
+ #: views.py:989
518
620
  #, python-format
519
621
  msgid "The uMap edit link for your map: %(map_name)s"
520
622
  msgstr "你的地圖 uMap 編輯連結:%(map_name)s"
521
623
 
522
- #: views.py:844
624
+ #: views.py:992
523
625
  #, python-format
524
626
  msgid "Here is your secret edit link: %(link)s"
525
627
  msgstr "這是你的祕密編輯連結:%(link)s"
526
628
 
527
- #: views.py:850
629
+ #: views.py:999
630
+ #, python-format
631
+ msgid "Can't send email to %(email)s"
632
+ msgstr "無法傳送電子郵件到%(email)s"
633
+
634
+ #: views.py:1002
528
635
  #, python-format
529
636
  msgid "Email sent to %(email)s"
530
637
  msgstr "電子郵件寄至 %(email)s"
531
638
 
532
- #: views.py:861
639
+ #: views.py:1013
533
640
  msgid "Only its owner can delete the map."
534
641
  msgstr "只有擁有者可以刪除此地圖"
535
642
 
536
- #: views.py:889
643
+ #: views.py:1016
644
+ msgid "Map successfully deleted."
645
+ msgstr "成功刪除地圖"
646
+
647
+ #: views.py:1042
537
648
  #, python-format
538
649
  msgid ""
539
650
  "Your map has been cloned! If you want to edit this map from another "
540
651
  "computer, please use this link: %(anonymous_url)s"
541
652
  msgstr "您的地圖已複製完成!如果您想在不同的機器編輯這個地圖,請使用這個連結:%(anonymous_url)s"
542
653
 
543
- #: views.py:894
654
+ #: views.py:1047
544
655
  msgid "Congratulations, your map has been cloned!"
545
656
  msgstr "恭喜,您的地圖已被複製!"
546
657
 
547
- #: views.py:1130
658
+ #: views.py:1282
548
659
  msgid "Layer successfully deleted."
549
660
  msgstr "圖層已刪除"
550
661
 
551
- #: views.py:1152
662
+ #: views.py:1304
552
663
  msgid "Permissions updated with success!"
553
664
  msgstr "權限更新完成"