umap-project 1.4.0__py3-none-any.whl → 1.4.1__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 (111) hide show
  1. umap/__init__.py +1 -1
  2. umap/locale/am_ET/LC_MESSAGES/django.mo +0 -0
  3. umap/locale/am_ET/LC_MESSAGES/django.po +79 -30
  4. umap/locale/ar/LC_MESSAGES/django.mo +0 -0
  5. umap/locale/ar/LC_MESSAGES/django.po +166 -96
  6. umap/locale/bg/LC_MESSAGES/django.mo +0 -0
  7. umap/locale/bg/LC_MESSAGES/django.po +79 -30
  8. umap/locale/br/LC_MESSAGES/django.mo +0 -0
  9. umap/locale/br/LC_MESSAGES/django.po +460 -0
  10. umap/locale/ca/LC_MESSAGES/django.mo +0 -0
  11. umap/locale/ca/LC_MESSAGES/django.po +95 -45
  12. umap/locale/cs_CZ/LC_MESSAGES/django.mo +0 -0
  13. umap/locale/cs_CZ/LC_MESSAGES/django.po +80 -31
  14. umap/locale/da/LC_MESSAGES/django.mo +0 -0
  15. umap/locale/da/LC_MESSAGES/django.po +80 -31
  16. umap/locale/de/LC_MESSAGES/django.mo +0 -0
  17. umap/locale/de/LC_MESSAGES/django.po +80 -31
  18. umap/locale/el/LC_MESSAGES/django.mo +0 -0
  19. umap/locale/el/LC_MESSAGES/django.po +87 -38
  20. umap/locale/en/LC_MESSAGES/django.po +17 -17
  21. umap/locale/es/LC_MESSAGES/django.mo +0 -0
  22. umap/locale/es/LC_MESSAGES/django.po +80 -31
  23. umap/locale/et/LC_MESSAGES/django.mo +0 -0
  24. umap/locale/et/LC_MESSAGES/django.po +80 -31
  25. umap/locale/eu/LC_MESSAGES/django.mo +0 -0
  26. umap/locale/eu/LC_MESSAGES/django.po +457 -0
  27. umap/locale/fa_IR/LC_MESSAGES/django.mo +0 -0
  28. umap/locale/fa_IR/LC_MESSAGES/django.po +80 -31
  29. umap/locale/fi/LC_MESSAGES/django.mo +0 -0
  30. umap/locale/fi/LC_MESSAGES/django.po +79 -30
  31. umap/locale/fr/LC_MESSAGES/django.mo +0 -0
  32. umap/locale/fr/LC_MESSAGES/django.po +22 -22
  33. umap/locale/gl/LC_MESSAGES/django.mo +0 -0
  34. umap/locale/gl/LC_MESSAGES/django.po +80 -31
  35. umap/locale/he/LC_MESSAGES/django.mo +0 -0
  36. umap/locale/he/LC_MESSAGES/django.po +80 -31
  37. umap/locale/hr/LC_MESSAGES/django.mo +0 -0
  38. umap/locale/hr/LC_MESSAGES/django.po +77 -28
  39. umap/locale/hu/LC_MESSAGES/django.mo +0 -0
  40. umap/locale/hu/LC_MESSAGES/django.po +80 -31
  41. umap/locale/is/LC_MESSAGES/django.mo +0 -0
  42. umap/locale/is/LC_MESSAGES/django.po +80 -31
  43. umap/locale/it/LC_MESSAGES/django.mo +0 -0
  44. umap/locale/it/LC_MESSAGES/django.po +80 -31
  45. umap/locale/ja/LC_MESSAGES/django.mo +0 -0
  46. umap/locale/ja/LC_MESSAGES/django.po +80 -31
  47. umap/locale/ko/LC_MESSAGES/django.mo +0 -0
  48. umap/locale/ko/LC_MESSAGES/django.po +80 -31
  49. umap/locale/lt/LC_MESSAGES/django.mo +0 -0
  50. umap/locale/lt/LC_MESSAGES/django.po +79 -30
  51. umap/locale/ms/LC_MESSAGES/django.mo +0 -0
  52. umap/locale/ms/LC_MESSAGES/django.po +85 -36
  53. umap/locale/nl/LC_MESSAGES/django.mo +0 -0
  54. umap/locale/nl/LC_MESSAGES/django.po +80 -31
  55. umap/locale/pl/LC_MESSAGES/django.mo +0 -0
  56. umap/locale/pl/LC_MESSAGES/django.po +80 -31
  57. umap/locale/pt/LC_MESSAGES/django.mo +0 -0
  58. umap/locale/pt/LC_MESSAGES/django.po +80 -31
  59. umap/locale/pt_BR/LC_MESSAGES/django.mo +0 -0
  60. umap/locale/pt_BR/LC_MESSAGES/django.po +80 -31
  61. umap/locale/pt_PT/LC_MESSAGES/django.mo +0 -0
  62. umap/locale/pt_PT/LC_MESSAGES/django.po +80 -31
  63. umap/locale/ru/LC_MESSAGES/django.mo +0 -0
  64. umap/locale/ru/LC_MESSAGES/django.po +80 -31
  65. umap/locale/si/LC_MESSAGES/django.mo +0 -0
  66. umap/locale/si/LC_MESSAGES/django.po +456 -0
  67. umap/locale/sk_SK/LC_MESSAGES/django.mo +0 -0
  68. umap/locale/sk_SK/LC_MESSAGES/django.po +79 -30
  69. umap/locale/sl/LC_MESSAGES/django.mo +0 -0
  70. umap/locale/sl/LC_MESSAGES/django.po +79 -30
  71. umap/locale/sr/LC_MESSAGES/django.mo +0 -0
  72. umap/locale/sr/LC_MESSAGES/django.po +80 -31
  73. umap/locale/sv/LC_MESSAGES/django.mo +0 -0
  74. umap/locale/sv/LC_MESSAGES/django.po +80 -31
  75. umap/locale/th_TH/LC_MESSAGES/django.mo +0 -0
  76. umap/locale/th_TH/LC_MESSAGES/django.po +80 -31
  77. umap/locale/tr/LC_MESSAGES/django.mo +0 -0
  78. umap/locale/tr/LC_MESSAGES/django.po +80 -31
  79. umap/locale/uk_UA/LC_MESSAGES/django.mo +0 -0
  80. umap/locale/uk_UA/LC_MESSAGES/django.po +80 -31
  81. umap/locale/vi/LC_MESSAGES/django.mo +0 -0
  82. umap/locale/vi/LC_MESSAGES/django.po +79 -30
  83. umap/locale/zh/LC_MESSAGES/django.mo +0 -0
  84. umap/locale/zh/LC_MESSAGES/django.po +79 -30
  85. umap/locale/zh_TW/LC_MESSAGES/django.mo +0 -0
  86. umap/locale/zh_TW/LC_MESSAGES/django.po +80 -31
  87. umap/models.py +7 -7
  88. umap/settings/base.py +3 -1
  89. umap/static/umap/js/umap.controls.js +1 -1
  90. umap/static/umap/js/umap.features.js +14 -0
  91. umap/static/umap/js/umap.ui.js +1 -1
  92. umap/static/umap/locale/br.js +404 -0
  93. umap/static/umap/locale/br.json +402 -0
  94. umap/static/umap/locale/{si_LK.js → eu.js} +18 -18
  95. umap/static/umap/locale/{si_LK.json → eu.json} +16 -16
  96. umap/static/umap/locale/ms.js +5 -5
  97. umap/static/umap/locale/ms.json +5 -5
  98. umap/static/umap/locale/si.js +404 -0
  99. umap/static/umap/locale/si.json +402 -0
  100. umap/static/umap/vendors/leaflet/leaflet-src.js +7144 -7144
  101. umap/templates/umap/login_popup_end.html +1 -1
  102. umap/templates/umap/map_table.html +11 -11
  103. umap/templates/umap/user_dashboard.html +1 -3
  104. umap/tests/test_views.py +2 -0
  105. {umap_project-1.4.0.dist-info → umap_project-1.4.1.dist-info}/METADATA +1 -1
  106. {umap_project-1.4.0.dist-info → umap_project-1.4.1.dist-info}/RECORD +109 -101
  107. umap/locale/si_LK/LC_MESSAGES/django.mo +0 -0
  108. umap/locale/si_LK/LC_MESSAGES/django.po +0 -376
  109. {umap_project-1.4.0.dist-info → umap_project-1.4.1.dist-info}/WHEEL +0 -0
  110. {umap_project-1.4.0.dist-info → umap_project-1.4.1.dist-info}/entry_points.txt +0 -0
  111. {umap_project-1.4.0.dist-info → umap_project-1.4.1.dist-info}/licenses/LICENSE +0 -0
@@ -8,7 +8,7 @@ msgid ""
8
8
  msgstr ""
9
9
  "Project-Id-Version: uMap\n"
10
10
  "Report-Msgid-Bugs-To: \n"
11
- "POT-Creation-Date: 2023-07-03 20:00+0000\n"
11
+ "POT-Creation-Date: 2023-07-17 13:14+0000\n"
12
12
  "PO-Revision-Date: 2013-11-22 14:00+0000\n"
13
13
  "Last-Translator: Thanh Le Viet <lethanhx2k@gmail.com>, 2014\n"
14
14
  "Language-Team: Vietnamese (http://app.transifex.com/openstreetmap/umap/language/vi/)\n"
@@ -23,7 +23,7 @@ msgstr ""
23
23
  msgid "Secret edit link is %s"
24
24
  msgstr "Link chỉnh sửa bí mật là %s"
25
25
 
26
- #: forms.py:47 models.py:134
26
+ #: forms.py:47
27
27
  msgid "Everyone can edit"
28
28
  msgstr "Ai cũng có thể chỉnh sửa"
29
29
 
@@ -55,28 +55,28 @@ msgstr "Mẫu URL sử dụng định dạng tile của OSM"
55
55
  msgid "Order of the tilelayers in the edit box"
56
56
  msgstr "Thứ tự các titlelayer trong hộp chỉnh sửa"
57
57
 
58
- #: models.py:135
59
- msgid "Only editors can edit"
60
- msgstr "Chỉ chỉnh sửa bởi người có quyền"
58
+ #: models.py:134
59
+ msgid "Everyone"
60
+ msgstr ""
61
+
62
+ #: models.py:135 models.py:141
63
+ msgid "Editors only"
64
+ msgstr ""
61
65
 
62
66
  #: models.py:136
63
- msgid "Only owner can edit"
64
- msgstr "Chỉ người sở hữu có thể chỉnh sửa"
67
+ msgid "Owner only"
68
+ msgstr ""
65
69
 
66
70
  #: models.py:139
67
- msgid "everyone (public)"
68
- msgstr "mọi người"
71
+ msgid "Everyone (public)"
72
+ msgstr ""
69
73
 
70
74
  #: models.py:140
71
- msgid "anyone with link"
72
- msgstr "bất kì ai với liên kết"
73
-
74
- #: models.py:141
75
- msgid "editors only"
76
- msgstr "chỉ người có quyền"
75
+ msgid "Anyone with link"
76
+ msgstr ""
77
77
 
78
78
  #: models.py:142
79
- msgid "blocked"
79
+ msgid "Blocked"
80
80
  msgstr ""
81
81
 
82
82
  #: models.py:145 models.py:295
@@ -230,6 +230,7 @@ msgid "And it's <a href=\"%(repo_url)s\">open source</a>!"
230
230
  msgstr "Và nó là <a href=\"%(repo_url)s\">mã nguồn mở <a>! "
231
231
 
232
232
  #: templates/umap/about_summary.html:48 templates/umap/navigation.html:42
233
+ #: templates/umap/user_dashboard.html:18
233
234
  msgid "Create a map"
234
235
  msgstr "Tạo bản đồ"
235
236
 
@@ -264,14 +265,50 @@ msgstr "Tham khảo các bản đồ"
264
265
  msgid "You are logged in. Continuing..."
265
266
  msgstr "Bạn đã đăng nhập, Đang tiếp tục..."
266
267
 
267
- #: templates/umap/map_list.html:9 views.py:268
268
+ #: templates/umap/map_list.html:9 views.py:281
268
269
  msgid "by"
269
270
  msgstr ""
270
271
 
271
- #: templates/umap/map_list.html:17
272
+ #: templates/umap/map_list.html:17 templates/umap/map_table.html:39
272
273
  msgid "More"
273
274
  msgstr "Thêm"
274
275
 
276
+ #: templates/umap/map_table.html:6
277
+ msgid "Map"
278
+ msgstr ""
279
+
280
+ #: templates/umap/map_table.html:7
281
+ msgid "Name"
282
+ msgstr ""
283
+
284
+ #: templates/umap/map_table.html:8
285
+ msgid "Who can see / edit"
286
+ msgstr ""
287
+
288
+ #: templates/umap/map_table.html:9
289
+ msgid "Last save"
290
+ msgstr ""
291
+
292
+ #: templates/umap/map_table.html:10
293
+ msgid "Owner"
294
+ msgstr ""
295
+
296
+ #: templates/umap/map_table.html:11
297
+ msgid "Actions"
298
+ msgstr ""
299
+
300
+ #: templates/umap/map_table.html:28
301
+ msgid "Share"
302
+ msgstr ""
303
+
304
+ #: templates/umap/map_table.html:29
305
+ msgid "Edit"
306
+ msgstr ""
307
+
308
+ #: templates/umap/map_table.html:30
309
+ msgid "Download"
310
+ msgstr ""
311
+
275
312
  #: templates/umap/navigation.html:12
276
313
  msgid "My maps"
277
314
  msgstr "Bản đồ của tôi"
@@ -352,56 +389,68 @@ msgstr ""
352
389
  msgid "Latest created maps"
353
390
  msgstr ""
354
391
 
355
- #: templates/umap/search_bar.html:8
392
+ #: templates/umap/search_bar.html:3
356
393
  msgid "Search maps"
357
394
  msgstr "Tìm bản đồ"
358
395
 
359
- #: templates/umap/search_bar.html:12
396
+ #: templates/umap/search_bar.html:14
360
397
  msgid "Search"
361
398
  msgstr "Tìm"
362
399
 
363
- #: views.py:273
400
+ #: templates/umap/user_dashboard.html:4 templates/umap/user_dashboard.html:9
401
+ msgid "My dashboard"
402
+ msgstr ""
403
+
404
+ #: templates/umap/user_dashboard.html:7
405
+ msgid "Search my maps"
406
+ msgstr ""
407
+
408
+ #: templates/umap/user_dashboard.html:18
409
+ msgid "You have no map yet."
410
+ msgstr ""
411
+
412
+ #: views.py:286
364
413
  msgid "View the map"
365
414
  msgstr "Xem bản đồ"
366
415
 
367
- #: views.py:594
416
+ #: views.py:607
368
417
  msgid "Map has been updated!"
369
418
  msgstr "Bản đồ đã được cập nhật!"
370
419
 
371
- #: views.py:619
420
+ #: views.py:632
372
421
  msgid "Map editors updated with success!"
373
422
  msgstr "Bản đồ được cập nhật thành công!"
374
423
 
375
- #: views.py:657
424
+ #: views.py:670
376
425
  #, python-format
377
426
  msgid "The uMap edit link for your map: %(map_name)s"
378
427
  msgstr ""
379
428
 
380
- #: views.py:660
429
+ #: views.py:673
381
430
  #, python-format
382
431
  msgid "Here is your secret edit link: %(link)s"
383
432
  msgstr ""
384
433
 
385
- #: views.py:666
434
+ #: views.py:679
386
435
  #, python-format
387
436
  msgid "Email sent to %(email)s"
388
437
  msgstr ""
389
438
 
390
- #: views.py:677
439
+ #: views.py:690
391
440
  msgid "Only its owner can delete the map."
392
441
  msgstr "Chỉ chủ nhân của bản đồ mới có quyền xóa."
393
442
 
394
- #: views.py:700
443
+ #: views.py:713
395
444
  #, python-format
396
445
  msgid ""
397
446
  "Your map has been cloned! If you want to edit this map from another "
398
447
  "computer, please use this link: %(anonymous_url)s"
399
448
  msgstr "Bản đồ của bạn đã được sao chép. Nếu bạn muốn chỉnh sửa bản đồ từ máy tính khác, vui lòng sử dụng liên kết này %(anonymous_url)s"
400
449
 
401
- #: views.py:705
450
+ #: views.py:718
402
451
  msgid "Congratulations, your map has been cloned!"
403
452
  msgstr "Chúc mừng, bản đồ của bạn đã được sao chép!"
404
453
 
405
- #: views.py:871
454
+ #: views.py:884
406
455
  msgid "Layer successfully deleted."
407
456
  msgstr "Đã xóa layer"
Binary file
@@ -10,7 +10,7 @@ msgid ""
10
10
  msgstr ""
11
11
  "Project-Id-Version: uMap\n"
12
12
  "Report-Msgid-Bugs-To: \n"
13
- "POT-Creation-Date: 2023-07-03 20:00+0000\n"
13
+ "POT-Creation-Date: 2023-07-17 13:14+0000\n"
14
14
  "PO-Revision-Date: 2013-11-22 14:00+0000\n"
15
15
  "Last-Translator: sun wei <sunwei.r@gmail.com>, 2014\n"
16
16
  "Language-Team: Chinese (http://app.transifex.com/openstreetmap/umap/language/zh/)\n"
@@ -25,7 +25,7 @@ msgstr ""
25
25
  msgid "Secret edit link is %s"
26
26
  msgstr "秘密的编辑链接是%s"
27
27
 
28
- #: forms.py:47 models.py:134
28
+ #: forms.py:47
29
29
  msgid "Everyone can edit"
30
30
  msgstr "所有人可编辑"
31
31
 
@@ -57,28 +57,28 @@ msgstr "使用OSM瓦片格式的URL模板"
57
57
  msgid "Order of the tilelayers in the edit box"
58
58
  msgstr "编辑框内瓦片图层的顺序"
59
59
 
60
- #: models.py:135
61
- msgid "Only editors can edit"
62
- msgstr "编辑员可编辑"
60
+ #: models.py:134
61
+ msgid "Everyone"
62
+ msgstr ""
63
+
64
+ #: models.py:135 models.py:141
65
+ msgid "Editors only"
66
+ msgstr ""
63
67
 
64
68
  #: models.py:136
65
- msgid "Only owner can edit"
66
- msgstr "所有者可编辑"
69
+ msgid "Owner only"
70
+ msgstr ""
67
71
 
68
72
  #: models.py:139
69
- msgid "everyone (public)"
70
- msgstr "所有人(公开)"
73
+ msgid "Everyone (public)"
74
+ msgstr ""
71
75
 
72
76
  #: models.py:140
73
- msgid "anyone with link"
74
- msgstr "任何有链接的人"
75
-
76
- #: models.py:141
77
- msgid "editors only"
78
- msgstr "编辑员"
77
+ msgid "Anyone with link"
78
+ msgstr ""
79
79
 
80
80
  #: models.py:142
81
- msgid "blocked"
81
+ msgid "Blocked"
82
82
  msgstr ""
83
83
 
84
84
  #: models.py:145 models.py:295
@@ -232,6 +232,7 @@ msgid "And it's <a href=\"%(repo_url)s\">open source</a>!"
232
232
  msgstr ""
233
233
 
234
234
  #: templates/umap/about_summary.html:48 templates/umap/navigation.html:42
235
+ #: templates/umap/user_dashboard.html:18
235
236
  msgid "Create a map"
236
237
  msgstr "创建地图"
237
238
 
@@ -266,14 +267,50 @@ msgstr "浏览地图得灵感"
266
267
  msgid "You are logged in. Continuing..."
267
268
  msgstr "已登录。继续..."
268
269
 
269
- #: templates/umap/map_list.html:9 views.py:268
270
+ #: templates/umap/map_list.html:9 views.py:281
270
271
  msgid "by"
271
272
  msgstr "由"
272
273
 
273
- #: templates/umap/map_list.html:17
274
+ #: templates/umap/map_list.html:17 templates/umap/map_table.html:39
274
275
  msgid "More"
275
276
  msgstr "更多"
276
277
 
278
+ #: templates/umap/map_table.html:6
279
+ msgid "Map"
280
+ msgstr ""
281
+
282
+ #: templates/umap/map_table.html:7
283
+ msgid "Name"
284
+ msgstr ""
285
+
286
+ #: templates/umap/map_table.html:8
287
+ msgid "Who can see / edit"
288
+ msgstr ""
289
+
290
+ #: templates/umap/map_table.html:9
291
+ msgid "Last save"
292
+ msgstr ""
293
+
294
+ #: templates/umap/map_table.html:10
295
+ msgid "Owner"
296
+ msgstr ""
297
+
298
+ #: templates/umap/map_table.html:11
299
+ msgid "Actions"
300
+ msgstr ""
301
+
302
+ #: templates/umap/map_table.html:28
303
+ msgid "Share"
304
+ msgstr ""
305
+
306
+ #: templates/umap/map_table.html:29
307
+ msgid "Edit"
308
+ msgstr ""
309
+
310
+ #: templates/umap/map_table.html:30
311
+ msgid "Download"
312
+ msgstr ""
313
+
277
314
  #: templates/umap/navigation.html:12
278
315
  msgid "My maps"
279
316
  msgstr "我的地图"
@@ -354,56 +391,68 @@ msgstr ""
354
391
  msgid "Latest created maps"
355
392
  msgstr ""
356
393
 
357
- #: templates/umap/search_bar.html:8
394
+ #: templates/umap/search_bar.html:3
358
395
  msgid "Search maps"
359
396
  msgstr "搜索地图"
360
397
 
361
- #: templates/umap/search_bar.html:12
398
+ #: templates/umap/search_bar.html:14
362
399
  msgid "Search"
363
400
  msgstr "搜索"
364
401
 
365
- #: views.py:273
402
+ #: templates/umap/user_dashboard.html:4 templates/umap/user_dashboard.html:9
403
+ msgid "My dashboard"
404
+ msgstr ""
405
+
406
+ #: templates/umap/user_dashboard.html:7
407
+ msgid "Search my maps"
408
+ msgstr ""
409
+
410
+ #: templates/umap/user_dashboard.html:18
411
+ msgid "You have no map yet."
412
+ msgstr ""
413
+
414
+ #: views.py:286
366
415
  msgid "View the map"
367
416
  msgstr "浏览地图"
368
417
 
369
- #: views.py:594
418
+ #: views.py:607
370
419
  msgid "Map has been updated!"
371
420
  msgstr "地图已更新!"
372
421
 
373
- #: views.py:619
422
+ #: views.py:632
374
423
  msgid "Map editors updated with success!"
375
424
  msgstr "地图编辑员成功更新地图!"
376
425
 
377
- #: views.py:657
426
+ #: views.py:670
378
427
  #, python-format
379
428
  msgid "The uMap edit link for your map: %(map_name)s"
380
429
  msgstr ""
381
430
 
382
- #: views.py:660
431
+ #: views.py:673
383
432
  #, python-format
384
433
  msgid "Here is your secret edit link: %(link)s"
385
434
  msgstr ""
386
435
 
387
- #: views.py:666
436
+ #: views.py:679
388
437
  #, python-format
389
438
  msgid "Email sent to %(email)s"
390
439
  msgstr ""
391
440
 
392
- #: views.py:677
441
+ #: views.py:690
393
442
  msgid "Only its owner can delete the map."
394
443
  msgstr "只有地图所有者可以删除地图."
395
444
 
396
- #: views.py:700
445
+ #: views.py:713
397
446
  #, python-format
398
447
  msgid ""
399
448
  "Your map has been cloned! If you want to edit this map from another "
400
449
  "computer, please use this link: %(anonymous_url)s"
401
450
  msgstr "地图已复制!如果你想在其他电脑上编辑该地图,请使用以下链接:%(anonymous_url)s"
402
451
 
403
- #: views.py:705
452
+ #: views.py:718
404
453
  msgid "Congratulations, your map has been cloned!"
405
454
  msgstr "你的地图已复制,祝贺!"
406
455
 
407
- #: views.py:871
456
+ #: views.py:884
408
457
  msgid "Layer successfully deleted."
409
458
  msgstr "图层删除成功。"
Binary file
@@ -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: 2023-07-03 20:00+0000\n"
18
+ "POT-Creation-Date: 2023-07-17 13:14+0000\n"
19
19
  "PO-Revision-Date: 2013-11-22 14:00+0000\n"
20
20
  "Last-Translator: Supaplex <bejokeup@gmail.com>, 2019,2023\n"
21
21
  "Language-Team: Chinese (Taiwan) (http://app.transifex.com/openstreetmap/umap/language/zh_TW/)\n"
@@ -30,7 +30,7 @@ msgstr ""
30
30
  msgid "Secret edit link is %s"
31
31
  msgstr "不公開的私密編輯連結 %s"
32
32
 
33
- #: forms.py:47 models.py:134
33
+ #: forms.py:47
34
34
  msgid "Everyone can edit"
35
35
  msgstr "所有人皆可編輯"
36
36
 
@@ -62,29 +62,29 @@ msgstr "URL 樣板,使用 OSM 地圖磚格式"
62
62
  msgid "Order of the tilelayers in the edit box"
63
63
  msgstr "編輯方塊中地圖磚的圖層順序"
64
64
 
65
- #: models.py:135
66
- msgid "Only editors can edit"
67
- msgstr "僅編輯群可編輯"
65
+ #: models.py:134
66
+ msgid "Everyone"
67
+ msgstr ""
68
+
69
+ #: models.py:135 models.py:141
70
+ msgid "Editors only"
71
+ msgstr ""
68
72
 
69
73
  #: models.py:136
70
- msgid "Only owner can edit"
71
- msgstr "僅擁有者可編輯"
74
+ msgid "Owner only"
75
+ msgstr ""
72
76
 
73
77
  #: models.py:139
74
- msgid "everyone (public)"
75
- msgstr "所有人(公開)"
78
+ msgid "Everyone (public)"
79
+ msgstr ""
76
80
 
77
81
  #: models.py:140
78
- msgid "anyone with link"
79
- msgstr "任何有連結的人"
80
-
81
- #: models.py:141
82
- msgid "editors only"
83
- msgstr "只有編輯者允許"
82
+ msgid "Anyone with link"
83
+ msgstr ""
84
84
 
85
85
  #: models.py:142
86
- msgid "blocked"
87
- msgstr "已經封鎖了"
86
+ msgid "Blocked"
87
+ msgstr ""
88
88
 
89
89
  #: models.py:145 models.py:295
90
90
  msgid "description"
@@ -237,6 +237,7 @@ msgid "And it's <a href=\"%(repo_url)s\">open source</a>!"
237
237
  msgstr "而且是 <a href=\"%(repo_url)s\">開放原始碼</a> 的!"
238
238
 
239
239
  #: templates/umap/about_summary.html:48 templates/umap/navigation.html:42
240
+ #: templates/umap/user_dashboard.html:18
240
241
  msgid "Create a map"
241
242
  msgstr "建立地圖"
242
243
 
@@ -271,14 +272,50 @@ msgstr "找點子,瀏覽其他地圖"
271
272
  msgid "You are logged in. Continuing..."
272
273
  msgstr "您已登入,繼續中..."
273
274
 
274
- #: templates/umap/map_list.html:9 views.py:268
275
+ #: templates/umap/map_list.html:9 views.py:281
275
276
  msgid "by"
276
277
  msgstr "由"
277
278
 
278
- #: templates/umap/map_list.html:17
279
+ #: templates/umap/map_list.html:17 templates/umap/map_table.html:39
279
280
  msgid "More"
280
281
  msgstr "更多"
281
282
 
283
+ #: templates/umap/map_table.html:6
284
+ msgid "Map"
285
+ msgstr ""
286
+
287
+ #: templates/umap/map_table.html:7
288
+ msgid "Name"
289
+ msgstr ""
290
+
291
+ #: templates/umap/map_table.html:8
292
+ msgid "Who can see / edit"
293
+ msgstr ""
294
+
295
+ #: templates/umap/map_table.html:9
296
+ msgid "Last save"
297
+ msgstr ""
298
+
299
+ #: templates/umap/map_table.html:10
300
+ msgid "Owner"
301
+ msgstr ""
302
+
303
+ #: templates/umap/map_table.html:11
304
+ msgid "Actions"
305
+ msgstr ""
306
+
307
+ #: templates/umap/map_table.html:28
308
+ msgid "Share"
309
+ msgstr ""
310
+
311
+ #: templates/umap/map_table.html:29
312
+ msgid "Edit"
313
+ msgstr ""
314
+
315
+ #: templates/umap/map_table.html:30
316
+ msgid "Download"
317
+ msgstr ""
318
+
282
319
  #: templates/umap/navigation.html:12
283
320
  msgid "My maps"
284
321
  msgstr "我的地圖"
@@ -359,56 +396,68 @@ msgstr "找不到地圖。"
359
396
  msgid "Latest created maps"
360
397
  msgstr "最新創建地圖"
361
398
 
362
- #: templates/umap/search_bar.html:8
399
+ #: templates/umap/search_bar.html:3
363
400
  msgid "Search maps"
364
401
  msgstr "搜尋地圖"
365
402
 
366
- #: templates/umap/search_bar.html:12
403
+ #: templates/umap/search_bar.html:14
367
404
  msgid "Search"
368
405
  msgstr "搜尋"
369
406
 
370
- #: views.py:273
407
+ #: templates/umap/user_dashboard.html:4 templates/umap/user_dashboard.html:9
408
+ msgid "My dashboard"
409
+ msgstr ""
410
+
411
+ #: templates/umap/user_dashboard.html:7
412
+ msgid "Search my maps"
413
+ msgstr ""
414
+
415
+ #: templates/umap/user_dashboard.html:18
416
+ msgid "You have no map yet."
417
+ msgstr ""
418
+
419
+ #: views.py:286
371
420
  msgid "View the map"
372
421
  msgstr "檢視地圖"
373
422
 
374
- #: views.py:594
423
+ #: views.py:607
375
424
  msgid "Map has been updated!"
376
425
  msgstr "地圖已經更新"
377
426
 
378
- #: views.py:619
427
+ #: views.py:632
379
428
  msgid "Map editors updated with success!"
380
429
  msgstr "地圖編輯者更新完成"
381
430
 
382
- #: views.py:657
431
+ #: views.py:670
383
432
  #, python-format
384
433
  msgid "The uMap edit link for your map: %(map_name)s"
385
434
  msgstr "你的地圖 uMap 編輯連結:%(map_name)s"
386
435
 
387
- #: views.py:660
436
+ #: views.py:673
388
437
  #, python-format
389
438
  msgid "Here is your secret edit link: %(link)s"
390
439
  msgstr "這是你的祕密編輯連結:%(link)s"
391
440
 
392
- #: views.py:666
441
+ #: views.py:679
393
442
  #, python-format
394
443
  msgid "Email sent to %(email)s"
395
444
  msgstr "電子郵件寄至 %(email)s"
396
445
 
397
- #: views.py:677
446
+ #: views.py:690
398
447
  msgid "Only its owner can delete the map."
399
448
  msgstr "只有擁有者可以刪除此地圖"
400
449
 
401
- #: views.py:700
450
+ #: views.py:713
402
451
  #, python-format
403
452
  msgid ""
404
453
  "Your map has been cloned! If you want to edit this map from another "
405
454
  "computer, please use this link: %(anonymous_url)s"
406
455
  msgstr "您的地圖已複製完成!如果您想在不同的機器編輯這個地圖,請使用這個連結:%(anonymous_url)s"
407
456
 
408
- #: views.py:705
457
+ #: views.py:718
409
458
  msgid "Congratulations, your map has been cloned!"
410
459
  msgstr "恭喜,您的地圖已被複製!"
411
460
 
412
- #: views.py:871
461
+ #: views.py:884
413
462
  msgid "Layer successfully deleted."
414
463
  msgstr "圖層已刪除"
umap/models.py CHANGED
@@ -131,15 +131,15 @@ class Map(NamedModel):
131
131
  PRIVATE = 3
132
132
  BLOCKED = 9
133
133
  EDIT_STATUS = (
134
- (ANONYMOUS, _("Everyone can edit")),
135
- (EDITORS, _("Only editors can edit")),
136
- (OWNER, _("Only owner can edit")),
134
+ (ANONYMOUS, _("Everyone")),
135
+ (EDITORS, _("Editors only")),
136
+ (OWNER, _("Owner only")),
137
137
  )
138
138
  SHARE_STATUS = (
139
- (PUBLIC, _("everyone (public)")),
140
- (OPEN, _("anyone with link")),
141
- (PRIVATE, _("editors only")),
142
- (BLOCKED, _("blocked")),
139
+ (PUBLIC, _("Everyone (public)")),
140
+ (OPEN, _("Anyone with link")),
141
+ (PRIVATE, _("Editors only")),
142
+ (BLOCKED, _("Blocked")),
143
143
  )
144
144
  slug = models.SlugField(db_index=True)
145
145
  description = models.TextField(blank=True, null=True, verbose_name=_("description"))
umap/settings/base.py CHANGED
@@ -59,6 +59,7 @@ LANGUAGES = (
59
59
  ('ar', 'Arabic'),
60
60
  ('ast', 'Asturian'),
61
61
  ('bg', 'Bulgarian'),
62
+ ('br', 'Breton'),
62
63
  ('ca', 'Catalan'),
63
64
  ('cs-cz', 'Czech'),
64
65
  ('da', 'Danish'),
@@ -67,6 +68,7 @@ LANGUAGES = (
67
68
  ('en', 'English'),
68
69
  ('es', 'Spanish'),
69
70
  ('et', 'Estonian'),
71
+ ('eu', 'Basque'),
70
72
  ('fa-ir', 'Persian (Iran)'),
71
73
  ('fi', 'Finnish'),
72
74
  ('fr', 'French'),
@@ -89,7 +91,7 @@ LANGUAGES = (
89
91
  ('pt-pt', 'Portuguese (Portugal)'),
90
92
  ('ro', 'Romanian'),
91
93
  ('ru', 'Russian'),
92
- ('si-lk', 'Sinhala (Sri Lanka)'),
94
+ ('si', 'Sinhala'),
93
95
  ('sk-sk', 'Slovak'),
94
96
  ('sl', 'Slovenian'),
95
97
  ('sr', 'Serbian'),
@@ -472,7 +472,7 @@ L.U.DataLayersControl = L.Control.extend({
472
472
 
473
473
  if (L.Browser.pointer) {
474
474
  L.DomEvent.disableClickPropagation(container)
475
- L.DomEvent.on(container, 'mousewheel', L.DomEvent.stopPropagation)
475
+ L.DomEvent.on(container, 'wheel', L.DomEvent.stopPropagation)
476
476
  L.DomEvent.on(container, 'MozMousePixelScroll', L.DomEvent.stopPropagation)
477
477
  }
478
478
  if (!L.Browser.touch) {
@@ -580,6 +580,20 @@ L.U.Marker = L.Marker.extend({
580
580
  this.resetTooltip()
581
581
  },
582
582
 
583
+ _getTooltipAnchor: function () {
584
+ const anchor = this.options.icon.options.tooltipAnchor,
585
+ direction = this.getOption('labelDirection')
586
+ if (direction === 'left') {
587
+ anchor.x *= -1
588
+ } else if (direction === 'bottom') {
589
+ anchor.x = 0
590
+ anchor.y = 0
591
+ } else if (direction === 'top') {
592
+ anchor.x = 0
593
+ }
594
+ return anchor
595
+ },
596
+
583
597
  disconnectFromDataLayer: function (datalayer) {
584
598
  this.options.icon.datalayer = null
585
599
  L.U.FeatureMixin.disconnectFromDataLayer.call(this, datalayer)