nouamanetazi HF staff commited on
Commit
8e1d932
1 Parent(s): 9a17e6b
app.py CHANGED
@@ -17,7 +17,6 @@ from src.utils import init_map
17
  from src.map_utils import get_legend_macro
18
  from src.dataframes import display_dataframe
19
  from src.dataframes import load_data, VERIFIED_REQUESTS_URL, REQUESTS_URL, INTERVENTIONS_URL
20
- from src.text_content import set_lang, get_localizator
21
  import gettext
22
 
23
  gettext.install("myapplication")
 
17
  from src.map_utils import get_legend_macro
18
  from src.dataframes import display_dataframe
19
  from src.dataframes import load_data, VERIFIED_REQUESTS_URL, REQUESTS_URL, INTERVENTIONS_URL
 
20
  import gettext
21
 
22
  gettext.install("myapplication")
locales/ar/LC_MESSAGES/messages.mo CHANGED
Binary files a/locales/ar/LC_MESSAGES/messages.mo and b/locales/ar/LC_MESSAGES/messages.mo differ
 
locales/ar/LC_MESSAGES/messages.po CHANGED
@@ -9,7 +9,7 @@ msgid ""
9
  msgstr ""
10
  "Project-Id-Version: \n"
11
  "Report-Msgid-Bugs-To: \n"
12
- "POT-Creation-Date: 2023-09-19 02:00+0200\n"
13
  "PO-Revision-Date: 2023-09-18 21:00+0200\n"
14
  "Last-Translator: \n"
15
  "Language-Team: \n"
@@ -31,7 +31,8 @@ msgstr ""
31
  msgid "wide"
32
  msgstr ""
33
 
34
- #: Nt3awnou-map/app.py:32
 
35
  msgid "collapsed"
36
  msgstr ""
37
 
@@ -59,48 +60,54 @@ msgstr ""
59
  msgid "Refresh rate in seconds"
60
  msgstr ""
61
 
62
- #: Nt3awnou-map/app.py:51 Nt3awnou-map/app.py:69
63
- #: Nt3awnou-map/src/text_content.py:21 Nt3awnou-map/src/components.py:70
64
- #: Nt3awnou-map/src/components.py:125
65
  msgid "ar"
66
  msgstr ""
67
 
68
- #: Nt3awnou-map/app.py:51
69
  msgid "العربية"
70
  msgstr ""
71
 
72
- #: Nt3awnou-map/app.py:52 Nt3awnou-map/src/components.py:88
73
  #: Nt3awnou-map/src/components.py:142
74
  msgid "fr"
75
  msgstr ""
76
 
77
- #: Nt3awnou-map/app.py:52
78
  msgid "Français"
79
  msgstr ""
80
 
81
- #: Nt3awnou-map/app.py:53 Nt3awnou-map/app.py:61
82
- #: Nt3awnou-map/src/text_content.py:6 Nt3awnou-map/src/components.py:52
83
- #: Nt3awnou-map/src/components.py:109
84
  msgid "en"
85
  msgstr ""
86
 
87
- #: Nt3awnou-map/app.py:53
88
  msgid "English"
89
  msgstr ""
90
 
91
- #: Nt3awnou-map/app.py:56
92
- msgid "Choose a language"
93
  msgstr ""
94
 
95
- #: Nt3awnou-map/app.py:64 Nt3awnou-map/src/text_content.py:8
96
  msgid "messages"
97
  msgstr ""
98
 
99
- #: Nt3awnou-map/app.py:64 Nt3awnou-map/src/text_content.py:8
100
  msgid "locales"
101
  msgstr ""
102
 
103
- #: Nt3awnou-map/app.py:71
 
 
 
 
 
 
 
 
104
  msgid ""
105
  "\n"
106
  " <style>\n"
@@ -111,38 +118,7 @@ msgid ""
111
  " "
112
  msgstr ""
113
 
114
- #: Nt3awnou-map/app.py:85
115
- msgid "Markers"
116
- msgstr ""
117
-
118
- #: Nt3awnou-map/app.py:133
119
- msgid "map"
120
- msgstr ""
121
-
122
- #: Nt3awnou-map/src/text_content.py:4
123
- #, python-brace-format
124
- msgid "Setting language to {lang}"
125
- msgstr ""
126
-
127
- #: Nt3awnou-map/src/text_content.py:11
128
- #, python-brace-format
129
- msgid "Language set to {lang}"
130
- msgstr ""
131
-
132
- #: Nt3awnou-map/src/text_content.py:13
133
- #, python-brace-format
134
- msgid "Language {lang} not supported yet"
135
- msgstr ""
136
-
137
- #: Nt3awnou-map/src/text_content.py:16
138
- msgid "Language set to English"
139
- msgstr ""
140
-
141
- #: Nt3awnou-map/src/text_content.py:21
142
- msgid "lang"
143
- msgstr ""
144
-
145
- #: Nt3awnou-map/src/text_content.py:24
146
  msgid ""
147
  "\n"
148
  " <div style=\"text-align: left;\">\n"
@@ -180,10 +156,10 @@ msgid ""
180
  " "
181
  msgstr ""
182
 
183
- #: Nt3awnou-map/src/text_content.py:37
184
  msgid ""
185
  "\n"
186
- " <div style=\"text-align: right;\">\n"
187
  "\n"
188
  " نتعاونو هي منصة تعاونية لمساعدة الأفراد المتضررين من الزلزال الأخير في "
189
  "المغرب. مهمتنا هي تسهيل تقديم المساعدة في الوقت المناسب و بفاعلية و تنظيم "
@@ -216,7 +192,7 @@ msgid ""
216
  " "
217
  msgstr ""
218
 
219
- #: Nt3awnou-map/src/text_content.py:54
220
  msgid ""
221
  "\n"
222
  " <div style=\"text-align: left;\">\n"
@@ -259,7 +235,7 @@ msgid ""
259
  " "
260
  msgstr ""
261
 
262
- #: Nt3awnou-map/src/text_content.py:68
263
  msgid ""
264
  "\n"
265
  " <div style=\"text-align: center;\">\n"
@@ -268,7 +244,7 @@ msgid ""
268
  " "
269
  msgstr ""
270
 
271
- #: Nt3awnou-map/src/text_content.py:75
272
  msgid ""
273
  "\n"
274
  " <hr>\n"
@@ -282,7 +258,7 @@ msgid ""
282
  " "
283
  msgstr ""
284
 
285
- #: Nt3awnou-map/src/text_content.py:83
286
  msgid ""
287
  "\n"
288
  " <style>\n"
@@ -344,7 +320,7 @@ msgid ""
344
  " # "
345
  msgstr ""
346
 
347
- #: Nt3awnou-map/src/text_content.py:128
348
  msgid ""
349
  "**If a request should be reviewed or dropped submit its id here/ إذا كان يجب "
350
  "مراجعة أو حذف طلب، أدخل رقمه هنا:**"
@@ -609,154 +585,170 @@ msgstr ""
609
  msgid "popup"
610
  msgstr ""
611
 
612
- #: Nt3awnou-map/src/map_utils.py:3
613
  msgid ""
614
  "\n"
615
- " <li><span style='background:#CE3C28;opacity:0.7;'></span>Rescue / إغاثة</"
616
- "li>\n"
617
- " <li><span style='background:#ED922E;opacity:0.7;'></span>Medical "
618
- "Assistance / مساعدة طبية</li>\n"
619
- " <li><span style='background:#FFCA92;opacity:0.7;'></span>Shelter / مأوى</"
620
  "li>\n"
621
- " <li><span style='background:#37A8DA;opacity:0.7;'></span>Food & Water / "
622
- "طعام وماء</li>\n"
623
- " <li><span style='background:#575757;opacity:0.7;'></span>Dangers / "
624
- "مخاطر</li>\n"
625
- " <li><span style='background:#6EAA25;opacity:0.7;'></span>Done / تم</li>\n"
626
- " <li><span style='background:#023020;opacity:0.7;'></span>Partial / تم "
627
- "جزئيا</li>\n"
628
- " <li><span style='background:#FF91E8;opacity:0.7;'></span>Planned / مخطط "
629
- "لها</li>\n"
630
- msgstr ""
631
-
632
- #: Nt3awnou-map/src/map_utils.py:13
 
 
 
 
 
 
633
  msgid ""
634
  "\n"
635
- " <li><span style='background:#CE3C28;opacity:0.7;'></span>High "
636
- "Emergency / طوارئ عالية</li>\n"
637
- " <li><span style='background:#ED922E;opacity:0.7;'></span>Medium "
638
- "Emergency / طوارئ متوسطة</li>\n"
639
- " <li><span style='background:#FFCA92;opacity:0.7;'></span>Low Emergency / "
640
- "طوارئ منخفضة</li>\n"
641
- " <li><span style='background:#6EAA25;opacity:0.7;'></span>Done / تم</li>\n"
642
- " <li><span style='background:#023020;opacity:0.7;'></span>Partial / تم "
643
- "جزئيا</li>\n"
644
- " <li><span style='background:#FF91E8;opacity:0.7;'></span>Planned / مخطط "
645
- "لها</li>\n"
646
- msgstr ""
647
-
648
- #: Nt3awnou-map/src/map_utils.py:22
 
 
 
 
 
 
 
649
  msgid ""
650
  "\n"
651
- "{% macro html(this, kwargs) %}\n"
652
  "\n"
653
- "<!doctype html>\n"
654
- "<html lang=\"en\">\n"
655
- "<head>\n"
656
- " <meta charset=\"utf-8\">\n"
657
- " <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">\n"
658
- " <title>jQuery UI Draggable - Default functionality</title>\n"
659
- " <link rel=\"stylesheet\" href=\"//code.jquery.com/ui/1.12.1/themes/base/"
 
660
  "jquery-ui.css\">\n"
661
  "\n"
662
- " <script src=\"https://code.jquery.com/jquery-1.12.4.js\"></script>\n"
663
- " <script src=\"https://code.jquery.com/ui/1.12.1/jquery-ui.js\"></script>\n"
664
- " \n"
665
- " <script>\n"
666
- " $( function() {\n"
667
- " $( \"#maplegend\" ).draggable({\n"
668
- " start: function (event, ui) {\n"
669
- " $(this).css({\n"
670
- " right: \"auto\",\n"
671
- " top: \"auto\",\n"
672
- " bottom: \"auto\"\n"
673
- " });\n"
674
- " }\n"
675
- " });\n"
676
- "});\n"
 
677
  "\n"
678
- " </script>\n"
679
- "</head>\n"
680
- "<body>\n"
681
  "\n"
682
- " \n"
683
- "<div id='maplegend' class='maplegend' \n"
684
- " style='position: absolute; z-index:9999; border:2px solid grey; "
685
  "background-color:rgba(255, 255, 255, 0.8);\n"
686
- " border-radius:6px; padding: 10px; font-size:14px; right: 20px; bottom: "
687
  "20px;'>\n"
688
- " \n"
689
- "<div class='legend-title'>Legend / مفتاح الخريطة</div>\n"
690
- "<div class='legend-scale'>\n"
691
- " <ul class='legend-labels'>\n"
692
  "\n"
 
693
  msgstr ""
694
 
695
- #: Nt3awnou-map/src/map_utils.py:63
696
  msgid ""
697
  "\n"
698
- " </ul>\n"
699
- "</div>\n"
700
- "</div>\n"
701
- " \n"
702
- "</body>\n"
703
- "</html>\n"
704
  "\n"
705
- "<style type='text/css'>\n"
706
- " .maplegend .legend-title {\n"
707
- " text-align: left;\n"
708
- " margin-bottom: 5px;\n"
709
- " font-weight: bold;\n"
710
- " font-size: 90%;\n"
711
- " color: #333;\n"
712
- " }\n"
713
- " .maplegend .legend-scale ul {\n"
714
- " margin: 0;\n"
715
- " margin-bottom: 5px;\n"
716
- " padding: 0;\n"
717
- " float: left;\n"
718
- " list-style: none;\n"
719
- " }\n"
720
- " .maplegend .legend-scale ul li {\n"
721
- " font-size: 80%;\n"
722
- " list-style: none;\n"
723
- " margin-left: 0;\n"
724
- " line-height: 18px;\n"
725
- " margin-bottom: 2px;\n"
726
- " color: #111;\n"
727
- " }\n"
728
- " .maplegend ul.legend-labels li span {\n"
729
- " display: block;\n"
730
- " float: left;\n"
731
- " height: 16px;\n"
732
- " width: 30px;\n"
733
- " margin-right: 5px;\n"
734
- " margin-left: 0;\n"
735
- " border: 1px solid #999;\n"
736
- " }\n"
737
- " .maplegend .legend-source {\n"
738
- " font-size: 80%;\n"
739
- " color: #777;\n"
740
- " clear: both;\n"
741
- " }\n"
742
- " .maplegend a {\n"
743
- " color: #777;\n"
744
- " }\n"
745
  "\n"
746
- " .leaflet-control-geocoder-form input {\n"
747
- " color: black;\n"
748
- " }\n"
749
- " \n"
750
- "</style>\n"
751
- "{% endmacro %}"
752
  msgstr ""
753
 
754
- #: Nt3awnou-map/src/map_utils.py:124
755
  msgid "get_legend_macro"
756
  msgstr ""
757
 
758
  #: Nt3awnou-map/src/markers.py:7 Nt3awnou-map/src/markers.py:15
759
- #: Nt3awnou-map/src/filters.py:7 Nt3awnou-map/src/filters.py:15
760
  msgid "إغاثة"
761
  msgstr ""
762
 
@@ -766,12 +758,12 @@ msgid "red"
766
  msgstr ""
767
 
768
  #: Nt3awnou-map/src/markers.py:8 Nt3awnou-map/src/markers.py:16
769
- #: Nt3awnou-map/src/filters.py:8 Nt3awnou-map/src/filters.py:16
770
  msgid "مساعدة طبية"
771
  msgstr ""
772
 
773
  #: Nt3awnou-map/src/markers.py:9 Nt3awnou-map/src/markers.py:17
774
- #: Nt3awnou-map/src/filters.py:9 Nt3awnou-map/src/filters.py:17
775
  msgid "مأوى"
776
  msgstr ""
777
 
@@ -781,7 +773,7 @@ msgid "beige"
781
  msgstr ""
782
 
783
  #: Nt3awnou-map/src/markers.py:10 Nt3awnou-map/src/markers.py:18
784
- #: Nt3awnou-map/src/filters.py:10 Nt3awnou-map/src/filters.py:18
785
  msgid "طعام وماء"
786
  msgstr ""
787
 
@@ -790,7 +782,7 @@ msgid "blue"
790
  msgstr ""
791
 
792
  #: Nt3awnou-map/src/markers.py:11 Nt3awnou-map/src/markers.py:19
793
- #: Nt3awnou-map/src/filters.py:11 Nt3awnou-map/src/filters.py:19
794
  msgid "مخاطر (تسرب الغاز، تلف في الخدمات العامة...)"
795
  msgstr ""
796
 
@@ -827,7 +819,7 @@ msgstr ""
827
  msgid "Intervention prévue dans le futur / Planned future intervention"
828
  msgstr ""
829
 
830
- #: Nt3awnou-map/src/markers.py:43 Nt3awnou-map/src/filters.py:76
831
  msgid "Partiellement satisfait / Partially Served"
832
  msgstr ""
833
 
@@ -835,7 +827,7 @@ msgstr ""
835
  msgid "pink"
836
  msgstr ""
837
 
838
- #: Nt3awnou-map/src/markers.py:51 Nt3awnou-map/src/filters.py:75
839
  msgid "Critique, Besoin d'aide en urgence / Critical, in urgent need of help"
840
  msgstr ""
841
 
@@ -1166,61 +1158,66 @@ msgid ""
1166
  " "
1167
  msgstr ""
1168
 
1169
- #: Nt3awnou-map/src/filters.py:7
1170
  msgid "Rescue"
1171
  msgstr "اغاثة"
1172
 
1173
- #: Nt3awnou-map/src/filters.py:8
1174
  msgid "Medical Assistance"
1175
  msgstr "المساعدة الطبية"
1176
 
1177
- #: Nt3awnou-map/src/filters.py:9
1178
  msgid "Shelter"
1179
  msgstr "مأوى"
1180
 
1181
- #: Nt3awnou-map/src/filters.py:10
1182
  msgid "Food & Water"
1183
  msgstr "طعام وماء"
1184
 
1185
- #: Nt3awnou-map/src/filters.py:11
1186
  msgid "Danger"
1187
  msgstr "مخاطر"
1188
 
1189
- #: Nt3awnou-map/src/filters.py:26
1190
  msgid "Display unverified requests"
1191
  msgstr "عرض الطلبات غير المتحققة"
1192
 
1193
- #: Nt3awnou-map/src/filters.py:31
1194
  msgid "Display Interventions"
1195
  msgstr "عرض التدخلات"
1196
 
1197
- #: Nt3awnou-map/src/filters.py:35
1198
  msgid "👉 **Choose request type**"
1199
  msgstr "**اختر نوع الطلب**"
1200
 
1201
- #: Nt3awnou-map/src/filters.py:48
 
 
 
 
1202
  msgid "👉 **State of villages visited by NGOs**"
1203
  msgstr "**حالة القرى التي زارتها المنظمات غير الحكومية**"
1204
 
1205
- #: Nt3awnou-map/src/filters.py:53 Nt3awnou-map/src/filters.py:66
1206
- #: Nt3awnou-map/src/filters.py:75
1207
  msgid "🚨 Critical"
1208
  msgstr "🚨 حرجة"
1209
 
1210
- #: Nt3awnou-map/src/filters.py:57 Nt3awnou-map/src/filters.py:69
1211
- #: Nt3awnou-map/src/filters.py:76
1212
  msgid "⚠️ Partially served"
1213
  msgstr "⚠️ تمت خدمتها جزئيا"
1214
 
1215
- #: Nt3awnou-map/src/filters.py:61 Nt3awnou-map/src/filters.py:72
1216
- #: Nt3awnou-map/src/filters.py:77
1217
- msgid "✅ Fully served"
1218
  msgstr "✅ تمت خدمتها بالكامل"
1219
 
1220
- #: Nt3awnou-map/src/filters.py:77
1221
- msgid "Entièrement satisfait / Fully served"
1222
  msgstr "✅ تمت خدمتها بالكامل"
1223
 
 
 
 
 
1224
  #: Nt3awnou-map/src/dataframes.py:7
1225
  msgid ""
1226
  "https://docs.google.com/spreadsheets/"
 
9
  msgstr ""
10
  "Project-Id-Version: \n"
11
  "Report-Msgid-Bugs-To: \n"
12
+ "POT-Creation-Date: 2023-09-19 02:38+0200\n"
13
  "PO-Revision-Date: 2023-09-18 21:00+0200\n"
14
  "Last-Translator: \n"
15
  "Language-Team: \n"
 
31
  msgid "wide"
32
  msgstr ""
33
 
34
+ #: Nt3awnou-map/app.py:32 Nt3awnou-map/src/filters.py:40
35
+ #: Nt3awnou-map/src/filters.py:62
36
  msgid "collapsed"
37
  msgstr ""
38
 
 
60
  msgid "Refresh rate in seconds"
61
  msgstr ""
62
 
63
+ #: Nt3awnou-map/app.py:55 Nt3awnou-map/app.py:182
64
+ #: Nt3awnou-map/src/components.py:70 Nt3awnou-map/src/components.py:125
 
65
  msgid "ar"
66
  msgstr ""
67
 
68
+ #: Nt3awnou-map/app.py:55
69
  msgid "العربية"
70
  msgstr ""
71
 
72
+ #: Nt3awnou-map/app.py:56 Nt3awnou-map/src/components.py:88
73
  #: Nt3awnou-map/src/components.py:142
74
  msgid "fr"
75
  msgstr ""
76
 
77
+ #: Nt3awnou-map/app.py:56
78
  msgid "Français"
79
  msgstr ""
80
 
81
+ #: Nt3awnou-map/app.py:57 Nt3awnou-map/app.py:62
82
+ #: Nt3awnou-map/src/components.py:52 Nt3awnou-map/src/components.py:109
 
83
  msgid "en"
84
  msgstr ""
85
 
86
+ #: Nt3awnou-map/app.py:57
87
  msgid "English"
88
  msgstr ""
89
 
90
+ #: Nt3awnou-map/app.py:60
91
+ msgid "Choose language / اختر اللغة"
92
  msgstr ""
93
 
94
+ #: Nt3awnou-map/app.py:65
95
  msgid "messages"
96
  msgstr ""
97
 
98
+ #: Nt3awnou-map/app.py:65
99
  msgid "locales"
100
  msgstr ""
101
 
102
+ #: Nt3awnou-map/app.py:70
103
+ msgid "Markers"
104
+ msgstr ""
105
+
106
+ #: Nt3awnou-map/app.py:113
107
+ msgid "map"
108
+ msgstr ""
109
+
110
+ #: Nt3awnou-map/app.py:184
111
  msgid ""
112
  "\n"
113
  " <style>\n"
 
118
  " "
119
  msgstr ""
120
 
121
+ #: Nt3awnou-map/src/text_content.py:2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
122
  msgid ""
123
  "\n"
124
  " <div style=\"text-align: left;\">\n"
 
156
  " "
157
  msgstr ""
158
 
159
+ #: Nt3awnou-map/src/text_content.py:15
160
  msgid ""
161
  "\n"
162
+ " <div style=\"text-align: right;-webkit-rtl-ordering: logical;\">\n"
163
  "\n"
164
  " نتعاونو هي منصة تعاونية لمساعدة الأفراد المتضررين من الزلزال الأخير في "
165
  "المغرب. مهمتنا هي تسهيل تقديم المساعدة في الوقت المناسب و بفاعلية و تنظيم "
 
192
  " "
193
  msgstr ""
194
 
195
+ #: Nt3awnou-map/src/text_content.py:32
196
  msgid ""
197
  "\n"
198
  " <div style=\"text-align: left;\">\n"
 
235
  " "
236
  msgstr ""
237
 
238
+ #: Nt3awnou-map/src/text_content.py:46
239
  msgid ""
240
  "\n"
241
  " <div style=\"text-align: center;\">\n"
 
244
  " "
245
  msgstr ""
246
 
247
+ #: Nt3awnou-map/src/text_content.py:53
248
  msgid ""
249
  "\n"
250
  " <hr>\n"
 
258
  " "
259
  msgstr ""
260
 
261
+ #: Nt3awnou-map/src/text_content.py:61
262
  msgid ""
263
  "\n"
264
  " <style>\n"
 
320
  " # "
321
  msgstr ""
322
 
323
+ #: Nt3awnou-map/src/text_content.py:106
324
  msgid ""
325
  "**If a request should be reviewed or dropped submit its id here/ إذا كان يجب "
326
  "مراجعة أو حذف طلب، أدخل رقمه هنا:**"
 
585
  msgid "popup"
586
  msgstr ""
587
 
588
+ #: Nt3awnou-map/src/map_utils.py:5
589
  msgid ""
590
  "\n"
591
+ " <li><span style='background:#CE3C28;opacity:0.7;'></span>Rescue</li>\n"
592
+ " <li><span style='background:#ED922E;opacity:0.7;'></span>Medical "
593
+ "Assistance</li>\n"
594
+ " <li><span style='background:#FFCA92;opacity:0.7;'></span>Shelter</li>\n"
595
+ " <li><span style='background:#37A8DA;opacity:0.7;'></span>Food & Water</"
596
  "li>\n"
597
+ " <li><span style='background:#575757;opacity:0.7;'></span>Dangers</li>\n"
598
+ " <li><span style='background:#6EAA25;opacity:0.7;'></span>Done</li>\n"
599
+ " <li><span style='background:#023020;opacity:0.7;'></span>Partial</li>\n"
600
+ " <li><span style='background:#FF91E8;opacity:0.7;'></span>Planned</li>\n"
601
+ " "
602
+ msgstr ""
603
+ "\n"
604
+ " <li><span style='background:#CE3C28;opacity:0.7;'></span>الإنقاذ</li>\n"
605
+ " <li><span style='background:#ED922E;opacity:0.7;'></span>المساعدة الطبية</li>\n"
606
+ " <li><span style='background:#FFCA92;opacity:0.7;'></span>المأوى</li>\n"
607
+ " <li><span style='background:#37A8DA;opacity:0.7;'></span>الطعام والماء</li>\n"
608
+ " <li><span style='background:#575757;opacity:0.7;'></span>المخاطر</li>\n"
609
+ " <li><span style='background:#6EAA25;opacity:0.7;'></span>تم</li>\n"
610
+ " <li><span style='background:#023020;opacity:0.7;'></span>جزئي</li>\n"
611
+ " <li><span style='background:#FF91E8;opacity:0.7;'></span>مخطط</li>\n"
612
+ " "
613
+
614
+ #: Nt3awnou-map/src/map_utils.py:15
615
  msgid ""
616
  "\n"
617
+ " <li><span style='background:#CE3C28;opacity:0.7;'></span>High "
618
+ "Emergency</li>\n"
619
+ " <li><span style='background:#ED922E;opacity:0.7;'></span>Medium "
620
+ "Emergency</li>\n"
621
+ " <li><span style='background:#FFCA92;opacity:0.7;'></span>Low "
622
+ "Emergency</li>\n"
623
+ " <li><span style='background:#6EAA25;opacity:0.7;'></span>Done</li>\n"
624
+ " <li><span style='background:#023020;opacity:0.7;'></span>Partial</li>\n"
625
+ " <li><span style='background:#FF91E8;opacity:0.7;'></span>Planned</li>\n"
626
+ " "
627
+ msgstr ""
628
+ "\n"
629
+ " <li><span style='background:#CE3C28;opacity:0.7;'></span>حالة طوارئ عالية</li>\n"
630
+ " <li><span style='background:#ED922E;opacity:0.7;'></span>حالة طوارئ متوسطة</li>\n"
631
+ " <li><span style='background:#FFCA92;opacity:0.7;'></span>حالة طوارئ منخفضة</li>\n"
632
+ " <li><span style='background:#6EAA25;opacity:0.7;'></span>تم</li>\n"
633
+ " <li><span style='background:#023020;opacity:0.7;'></span>جزئي</li>\n"
634
+ " <li><span style='background:#FF91E8;opacity:0.7;'></span>مخطط</li>\n"
635
+ " "
636
+
637
+ #: Nt3awnou-map/src/map_utils.py:24
638
  msgid ""
639
  "\n"
640
+ " {% macro html(this, kwargs) %}\n"
641
  "\n"
642
+ " <!doctype html>\n"
643
+ " <html lang=\"en\">\n"
644
+ " <head>\n"
645
+ " <meta charset=\"utf-8\">\n"
646
+ " <meta name=\"viewport\" content=\"width=device-width, initial-"
647
+ "scale=1\">\n"
648
+ " <title>jQuery UI Draggable - Default functionality</title>\n"
649
+ " <link rel=\"stylesheet\" href=\"//code.jquery.com/ui/1.12.1/themes/base/"
650
  "jquery-ui.css\">\n"
651
  "\n"
652
+ " <script src=\"https://code.jquery.com/jquery-1.12.4.js\"></script>\n"
653
+ " <script src=\"https://code.jquery.com/ui/1.12.1/jquery-ui.js\"></"
654
+ "script>\n"
655
+ " \n"
656
+ " <script>\n"
657
+ " $( function() {\n"
658
+ " $( \"#maplegend\" ).draggable({\n"
659
+ " start: function (event, ui) {\n"
660
+ " $(this).css({\n"
661
+ " right: \"auto\",\n"
662
+ " top: \"auto\",\n"
663
+ " bottom: \"auto\"\n"
664
+ " });\n"
665
+ " }\n"
666
+ " });\n"
667
+ " });\n"
668
  "\n"
669
+ " </script>\n"
670
+ " </head>\n"
671
+ " <body>\n"
672
  "\n"
673
+ " \n"
674
+ " <div id='maplegend' class='maplegend' \n"
675
+ " style='position: absolute; z-index:9999; border:2px solid grey; "
676
  "background-color:rgba(255, 255, 255, 0.8);\n"
677
+ " border-radius:6px; padding: 10px; font-size:14px; right: 20px; bottom: "
678
  "20px;'>\n"
679
+ " \n"
680
+ " <div class='legend-title'>Legend / مفتاح الخريطة</div>\n"
681
+ " <div class='legend-scale'>\n"
682
+ " <ul class='legend-labels'>\n"
683
  "\n"
684
+ " "
685
  msgstr ""
686
 
687
+ #: Nt3awnou-map/src/map_utils.py:65
688
  msgid ""
689
  "\n"
690
+ " </ul>\n"
691
+ " </div>\n"
692
+ " </div>\n"
693
+ " \n"
694
+ " </body>\n"
695
+ " </html>\n"
696
  "\n"
697
+ " <style type='text/css'>\n"
698
+ " .maplegend .legend-title {\n"
699
+ " text-align: left;\n"
700
+ " margin-bottom: 5px;\n"
701
+ " font-weight: bold;\n"
702
+ " font-size: 90%;\n"
703
+ " color: #333;\n"
704
+ " }\n"
705
+ " .maplegend .legend-scale ul {\n"
706
+ " margin: 0;\n"
707
+ " margin-bottom: 5px;\n"
708
+ " padding: 0;\n"
709
+ " float: left;\n"
710
+ " list-style: none;\n"
711
+ " }\n"
712
+ " .maplegend .legend-scale ul li {\n"
713
+ " font-size: 80%;\n"
714
+ " list-style: none;\n"
715
+ " margin-left: 0;\n"
716
+ " line-height: 18px;\n"
717
+ " margin-bottom: 2px;\n"
718
+ " color: #111;\n"
719
+ " }\n"
720
+ " .maplegend ul.legend-labels li span {\n"
721
+ " display: block;\n"
722
+ " float: left;\n"
723
+ " height: 16px;\n"
724
+ " width: 30px;\n"
725
+ " margin-right: 5px;\n"
726
+ " margin-left: 0;\n"
727
+ " border: 1px solid #999;\n"
728
+ " }\n"
729
+ " .maplegend .legend-source {\n"
730
+ " font-size: 80%;\n"
731
+ " color: #777;\n"
732
+ " clear: both;\n"
733
+ " }\n"
734
+ " .maplegend a {\n"
735
+ " color: #777;\n"
736
+ " }\n"
737
  "\n"
738
+ " .leaflet-control-geocoder-form input {\n"
739
+ " color: black;\n"
740
+ " }\n"
741
+ " \n"
742
+ " </style>\n"
743
+ " {% endmacro %}"
744
  msgstr ""
745
 
746
+ #: Nt3awnou-map/src/map_utils.py:125
747
  msgid "get_legend_macro"
748
  msgstr ""
749
 
750
  #: Nt3awnou-map/src/markers.py:7 Nt3awnou-map/src/markers.py:15
751
+ #: Nt3awnou-map/src/filters.py:6 Nt3awnou-map/src/filters.py:14
752
  msgid "إغاثة"
753
  msgstr ""
754
 
 
758
  msgstr ""
759
 
760
  #: Nt3awnou-map/src/markers.py:8 Nt3awnou-map/src/markers.py:16
761
+ #: Nt3awnou-map/src/filters.py:7 Nt3awnou-map/src/filters.py:15
762
  msgid "مساعدة طبية"
763
  msgstr ""
764
 
765
  #: Nt3awnou-map/src/markers.py:9 Nt3awnou-map/src/markers.py:17
766
+ #: Nt3awnou-map/src/filters.py:8 Nt3awnou-map/src/filters.py:16
767
  msgid "مأوى"
768
  msgstr ""
769
 
 
773
  msgstr ""
774
 
775
  #: Nt3awnou-map/src/markers.py:10 Nt3awnou-map/src/markers.py:18
776
+ #: Nt3awnou-map/src/filters.py:9 Nt3awnou-map/src/filters.py:17
777
  msgid "طعام وماء"
778
  msgstr ""
779
 
 
782
  msgstr ""
783
 
784
  #: Nt3awnou-map/src/markers.py:11 Nt3awnou-map/src/markers.py:19
785
+ #: Nt3awnou-map/src/filters.py:10 Nt3awnou-map/src/filters.py:18
786
  msgid "مخاطر (تسرب الغاز، تلف في الخدمات العامة...)"
787
  msgstr ""
788
 
 
819
  msgid "Intervention prévue dans le futur / Planned future intervention"
820
  msgstr ""
821
 
822
+ #: Nt3awnou-map/src/markers.py:43 Nt3awnou-map/src/filters.py:52
823
  msgid "Partiellement satisfait / Partially Served"
824
  msgstr ""
825
 
 
827
  msgid "pink"
828
  msgstr ""
829
 
830
+ #: Nt3awnou-map/src/markers.py:51 Nt3awnou-map/src/filters.py:51
831
  msgid "Critique, Besoin d'aide en urgence / Critical, in urgent need of help"
832
  msgstr ""
833
 
 
1158
  " "
1159
  msgstr ""
1160
 
1161
+ #: Nt3awnou-map/src/filters.py:6
1162
  msgid "Rescue"
1163
  msgstr "اغاثة"
1164
 
1165
+ #: Nt3awnou-map/src/filters.py:7
1166
  msgid "Medical Assistance"
1167
  msgstr "المساعدة الطبية"
1168
 
1169
+ #: Nt3awnou-map/src/filters.py:8
1170
  msgid "Shelter"
1171
  msgstr "مأوى"
1172
 
1173
+ #: Nt3awnou-map/src/filters.py:9
1174
  msgid "Food & Water"
1175
  msgstr "طعام وماء"
1176
 
1177
+ #: Nt3awnou-map/src/filters.py:10
1178
  msgid "Danger"
1179
  msgstr "مخاطر"
1180
 
1181
+ #: Nt3awnou-map/src/filters.py:25
1182
  msgid "Display unverified requests"
1183
  msgstr "عرض الطلبات غير المتحققة"
1184
 
1185
+ #: Nt3awnou-map/src/filters.py:30
1186
  msgid "Display Interventions"
1187
  msgstr "عرض التدخلات"
1188
 
1189
+ #: Nt3awnou-map/src/filters.py:34
1190
  msgid "👉 **Choose request type**"
1191
  msgstr "**اختر نوع الطلب**"
1192
 
1193
+ #: Nt3awnou-map/src/filters.py:36
1194
+ msgid "Choose request type"
1195
+ msgstr ""
1196
+
1197
+ #: Nt3awnou-map/src/filters.py:47
1198
  msgid "👉 **State of villages visited by NGOs**"
1199
  msgstr "**حالة القرى التي زارتها المنظمات غير الحكومية**"
1200
 
1201
+ #: Nt3awnou-map/src/filters.py:51
 
1202
  msgid "🚨 Critical"
1203
  msgstr "🚨 حرجة"
1204
 
1205
+ #: Nt3awnou-map/src/filters.py:52
 
1206
  msgid "⚠️ Partially served"
1207
  msgstr "⚠️ تمت خدمتها جزئيا"
1208
 
1209
+ #: Nt3awnou-map/src/filters.py:53
1210
+ msgid "Entièrement satisfait / Fully served"
 
1211
  msgstr "✅ تمت خدمتها بالكامل"
1212
 
1213
+ #: Nt3awnou-map/src/filters.py:53
1214
+ msgid " Fully served"
1215
  msgstr "✅ تمت خدمتها بالكامل"
1216
 
1217
+ #: Nt3awnou-map/src/filters.py:58
1218
+ msgid "Choose status"
1219
+ msgstr ""
1220
+
1221
  #: Nt3awnou-map/src/dataframes.py:7
1222
  msgid ""
1223
  "https://docs.google.com/spreadsheets/"
locales/fr/LC_MESSAGES/messages.mo CHANGED
Binary files a/locales/fr/LC_MESSAGES/messages.mo and b/locales/fr/LC_MESSAGES/messages.mo differ
 
locales/fr/LC_MESSAGES/messages.po CHANGED
@@ -9,7 +9,7 @@ msgid ""
9
  msgstr ""
10
  "Project-Id-Version: \n"
11
  "Report-Msgid-Bugs-To: \n"
12
- "POT-Creation-Date: 2023-09-19 02:00+0200\n"
13
  "PO-Revision-Date: 2023-09-18 21:00+0200\n"
14
  "Last-Translator: \n"
15
  "Language-Team: \n"
@@ -31,7 +31,8 @@ msgstr ""
31
  msgid "wide"
32
  msgstr ""
33
 
34
- #: Nt3awnou-map/app.py:32
 
35
  msgid "collapsed"
36
  msgstr ""
37
 
@@ -59,48 +60,54 @@ msgstr ""
59
  msgid "Refresh rate in seconds"
60
  msgstr ""
61
 
62
- #: Nt3awnou-map/app.py:51 Nt3awnou-map/app.py:69
63
- #: Nt3awnou-map/src/text_content.py:21 Nt3awnou-map/src/components.py:70
64
- #: Nt3awnou-map/src/components.py:125
65
  msgid "ar"
66
  msgstr ""
67
 
68
- #: Nt3awnou-map/app.py:51
69
  msgid "العربية"
70
  msgstr ""
71
 
72
- #: Nt3awnou-map/app.py:52 Nt3awnou-map/src/components.py:88
73
  #: Nt3awnou-map/src/components.py:142
74
  msgid "fr"
75
  msgstr ""
76
 
77
- #: Nt3awnou-map/app.py:52
78
  msgid "Français"
79
  msgstr ""
80
 
81
- #: Nt3awnou-map/app.py:53 Nt3awnou-map/app.py:61
82
- #: Nt3awnou-map/src/text_content.py:6 Nt3awnou-map/src/components.py:52
83
- #: Nt3awnou-map/src/components.py:109
84
  msgid "en"
85
  msgstr ""
86
 
87
- #: Nt3awnou-map/app.py:53
88
  msgid "English"
89
  msgstr ""
90
 
91
- #: Nt3awnou-map/app.py:56
92
- msgid "Choose a language"
93
  msgstr ""
94
 
95
- #: Nt3awnou-map/app.py:64 Nt3awnou-map/src/text_content.py:8
96
  msgid "messages"
97
  msgstr ""
98
 
99
- #: Nt3awnou-map/app.py:64 Nt3awnou-map/src/text_content.py:8
100
  msgid "locales"
101
  msgstr ""
102
 
103
- #: Nt3awnou-map/app.py:71
 
 
 
 
 
 
 
 
104
  msgid ""
105
  "\n"
106
  " <style>\n"
@@ -111,38 +118,7 @@ msgid ""
111
  " "
112
  msgstr ""
113
 
114
- #: Nt3awnou-map/app.py:85
115
- msgid "Markers"
116
- msgstr ""
117
-
118
- #: Nt3awnou-map/app.py:133
119
- msgid "map"
120
- msgstr ""
121
-
122
- #: Nt3awnou-map/src/text_content.py:4
123
- #, python-brace-format
124
- msgid "Setting language to {lang}"
125
- msgstr ""
126
-
127
- #: Nt3awnou-map/src/text_content.py:11
128
- #, python-brace-format
129
- msgid "Language set to {lang}"
130
- msgstr ""
131
-
132
- #: Nt3awnou-map/src/text_content.py:13
133
- #, python-brace-format
134
- msgid "Language {lang} not supported yet"
135
- msgstr ""
136
-
137
- #: Nt3awnou-map/src/text_content.py:16
138
- msgid "Language set to English"
139
- msgstr ""
140
-
141
- #: Nt3awnou-map/src/text_content.py:21
142
- msgid "lang"
143
- msgstr ""
144
-
145
- #: Nt3awnou-map/src/text_content.py:24
146
  msgid ""
147
  "\n"
148
  " <div style=\"text-align: left;\">\n"
@@ -180,10 +156,10 @@ msgid ""
180
  " "
181
  msgstr ""
182
 
183
- #: Nt3awnou-map/src/text_content.py:37
184
  msgid ""
185
  "\n"
186
- " <div style=\"text-align: right;\">\n"
187
  "\n"
188
  " نتعاونو هي منصة تعاونية لمساعدة الأفراد المتضررين من الزلزال الأخير في "
189
  "المغرب. مهمتنا هي تسهيل تقديم المساعدة في الوقت المناسب و بفاعلية و تنظيم "
@@ -216,7 +192,7 @@ msgid ""
216
  " "
217
  msgstr ""
218
 
219
- #: Nt3awnou-map/src/text_content.py:54
220
  msgid ""
221
  "\n"
222
  " <div style=\"text-align: left;\">\n"
@@ -259,7 +235,7 @@ msgid ""
259
  " "
260
  msgstr ""
261
 
262
- #: Nt3awnou-map/src/text_content.py:68
263
  msgid ""
264
  "\n"
265
  " <div style=\"text-align: center;\">\n"
@@ -268,7 +244,7 @@ msgid ""
268
  " "
269
  msgstr ""
270
 
271
- #: Nt3awnou-map/src/text_content.py:75
272
  msgid ""
273
  "\n"
274
  " <hr>\n"
@@ -282,7 +258,7 @@ msgid ""
282
  " "
283
  msgstr ""
284
 
285
- #: Nt3awnou-map/src/text_content.py:83
286
  msgid ""
287
  "\n"
288
  " <style>\n"
@@ -344,7 +320,7 @@ msgid ""
344
  " # "
345
  msgstr ""
346
 
347
- #: Nt3awnou-map/src/text_content.py:128
348
  msgid ""
349
  "**If a request should be reviewed or dropped submit its id here/ إذا كان يجب "
350
  "مراجعة أو حذف طلب، أدخل رقمه هنا:**"
@@ -541,7 +517,7 @@ msgstr "Partiel 📝"
541
  #: Nt3awnou-map/src/utils.py:145 Nt3awnou-map/src/markers.py:50
542
  #: Nt3awnou-map/src/markers.py:106
543
  msgid "Planned ⌛"
544
- msgstr ""
545
 
546
  #: Nt3awnou-map/src/utils.py:154
547
  msgid "High Emergency 🔴"
@@ -553,7 +529,7 @@ msgstr "Urgence moyenne 🟠"
553
 
554
  #: Nt3awnou-map/src/utils.py:156
555
  msgid "Low Emergency 🟡"
556
- msgstr ""
557
 
558
  #: Nt3awnou-map/src/utils.py:158 Nt3awnou-map/src/markers.py:189
559
  msgid "High"
@@ -609,154 +585,152 @@ msgstr ""
609
  msgid "popup"
610
  msgstr ""
611
 
612
- #: Nt3awnou-map/src/map_utils.py:3
613
  msgid ""
614
  "\n"
615
- " <li><span style='background:#CE3C28;opacity:0.7;'></span>Rescue / إغاثة</"
616
- "li>\n"
617
- " <li><span style='background:#ED922E;opacity:0.7;'></span>Medical "
618
- "Assistance / مساعدة طبية</li>\n"
619
- " <li><span style='background:#FFCA92;opacity:0.7;'></span>Shelter / مأوى</"
620
  "li>\n"
621
- " <li><span style='background:#37A8DA;opacity:0.7;'></span>Food & Water / "
622
- "طعام وماء</li>\n"
623
- " <li><span style='background:#575757;opacity:0.7;'></span>Dangers / "
624
- "مخاطر</li>\n"
625
- " <li><span style='background:#6EAA25;opacity:0.7;'></span>Done / تم</li>\n"
626
- " <li><span style='background:#023020;opacity:0.7;'></span>Partial / تم "
627
- "جزئيا</li>\n"
628
- " <li><span style='background:#FF91E8;opacity:0.7;'></span>Planned / مخطط "
629
- "لها</li>\n"
630
- msgstr ""
631
-
632
- #: Nt3awnou-map/src/map_utils.py:13
633
  msgid ""
634
  "\n"
635
- " <li><span style='background:#CE3C28;opacity:0.7;'></span>High "
636
- "Emergency / طوارئ عالية</li>\n"
637
- " <li><span style='background:#ED922E;opacity:0.7;'></span>Medium "
638
- "Emergency / طوارئ متوسطة</li>\n"
639
- " <li><span style='background:#FFCA92;opacity:0.7;'></span>Low Emergency / "
640
- "طوارئ منخفضة</li>\n"
641
- " <li><span style='background:#6EAA25;opacity:0.7;'></span>Done / تم</li>\n"
642
- " <li><span style='background:#023020;opacity:0.7;'></span>Partial / تم "
643
- "جزئيا</li>\n"
644
- " <li><span style='background:#FF91E8;opacity:0.7;'></span>Planned / مخطط "
645
- "لها</li>\n"
646
- msgstr ""
647
-
648
- #: Nt3awnou-map/src/map_utils.py:22
649
  msgid ""
650
  "\n"
651
- "{% macro html(this, kwargs) %}\n"
652
  "\n"
653
- "<!doctype html>\n"
654
- "<html lang=\"en\">\n"
655
- "<head>\n"
656
- " <meta charset=\"utf-8\">\n"
657
- " <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">\n"
658
- " <title>jQuery UI Draggable - Default functionality</title>\n"
659
- " <link rel=\"stylesheet\" href=\"//code.jquery.com/ui/1.12.1/themes/base/"
 
660
  "jquery-ui.css\">\n"
661
  "\n"
662
- " <script src=\"https://code.jquery.com/jquery-1.12.4.js\"></script>\n"
663
- " <script src=\"https://code.jquery.com/ui/1.12.1/jquery-ui.js\"></script>\n"
664
- " \n"
665
- " <script>\n"
666
- " $( function() {\n"
667
- " $( \"#maplegend\" ).draggable({\n"
668
- " start: function (event, ui) {\n"
669
- " $(this).css({\n"
670
- " right: \"auto\",\n"
671
- " top: \"auto\",\n"
672
- " bottom: \"auto\"\n"
673
- " });\n"
674
- " }\n"
675
- " });\n"
676
- "});\n"
 
677
  "\n"
678
- " </script>\n"
679
- "</head>\n"
680
- "<body>\n"
681
  "\n"
682
- " \n"
683
- "<div id='maplegend' class='maplegend' \n"
684
- " style='position: absolute; z-index:9999; border:2px solid grey; "
685
  "background-color:rgba(255, 255, 255, 0.8);\n"
686
- " border-radius:6px; padding: 10px; font-size:14px; right: 20px; bottom: "
687
  "20px;'>\n"
688
- " \n"
689
- "<div class='legend-title'>Legend / مفتاح الخريطة</div>\n"
690
- "<div class='legend-scale'>\n"
691
- " <ul class='legend-labels'>\n"
692
  "\n"
 
693
  msgstr ""
694
 
695
- #: Nt3awnou-map/src/map_utils.py:63
696
  msgid ""
697
  "\n"
698
- " </ul>\n"
699
- "</div>\n"
700
- "</div>\n"
701
- " \n"
702
- "</body>\n"
703
- "</html>\n"
704
  "\n"
705
- "<style type='text/css'>\n"
706
- " .maplegend .legend-title {\n"
707
- " text-align: left;\n"
708
- " margin-bottom: 5px;\n"
709
- " font-weight: bold;\n"
710
- " font-size: 90%;\n"
711
- " color: #333;\n"
712
- " }\n"
713
- " .maplegend .legend-scale ul {\n"
714
- " margin: 0;\n"
715
- " margin-bottom: 5px;\n"
716
- " padding: 0;\n"
717
- " float: left;\n"
718
- " list-style: none;\n"
719
- " }\n"
720
- " .maplegend .legend-scale ul li {\n"
721
- " font-size: 80%;\n"
722
- " list-style: none;\n"
723
- " margin-left: 0;\n"
724
- " line-height: 18px;\n"
725
- " margin-bottom: 2px;\n"
726
- " color: #111;\n"
727
- " }\n"
728
- " .maplegend ul.legend-labels li span {\n"
729
- " display: block;\n"
730
- " float: left;\n"
731
- " height: 16px;\n"
732
- " width: 30px;\n"
733
- " margin-right: 5px;\n"
734
- " margin-left: 0;\n"
735
- " border: 1px solid #999;\n"
736
- " }\n"
737
- " .maplegend .legend-source {\n"
738
- " font-size: 80%;\n"
739
- " color: #777;\n"
740
- " clear: both;\n"
741
- " }\n"
742
- " .maplegend a {\n"
743
- " color: #777;\n"
744
- " }\n"
745
  "\n"
746
- " .leaflet-control-geocoder-form input {\n"
747
- " color: black;\n"
748
- " }\n"
749
- " \n"
750
- "</style>\n"
751
- "{% endmacro %}"
752
  msgstr ""
753
 
754
- #: Nt3awnou-map/src/map_utils.py:124
755
  msgid "get_legend_macro"
756
  msgstr ""
757
 
758
  #: Nt3awnou-map/src/markers.py:7 Nt3awnou-map/src/markers.py:15
759
- #: Nt3awnou-map/src/filters.py:7 Nt3awnou-map/src/filters.py:15
760
  msgid "إغاثة"
761
  msgstr ""
762
 
@@ -766,12 +740,12 @@ msgid "red"
766
  msgstr ""
767
 
768
  #: Nt3awnou-map/src/markers.py:8 Nt3awnou-map/src/markers.py:16
769
- #: Nt3awnou-map/src/filters.py:8 Nt3awnou-map/src/filters.py:16
770
  msgid "مساعدة طبية"
771
  msgstr ""
772
 
773
  #: Nt3awnou-map/src/markers.py:9 Nt3awnou-map/src/markers.py:17
774
- #: Nt3awnou-map/src/filters.py:9 Nt3awnou-map/src/filters.py:17
775
  msgid "مأوى"
776
  msgstr ""
777
 
@@ -781,7 +755,7 @@ msgid "beige"
781
  msgstr ""
782
 
783
  #: Nt3awnou-map/src/markers.py:10 Nt3awnou-map/src/markers.py:18
784
- #: Nt3awnou-map/src/filters.py:10 Nt3awnou-map/src/filters.py:18
785
  msgid "طعام وماء"
786
  msgstr ""
787
 
@@ -790,7 +764,7 @@ msgid "blue"
790
  msgstr ""
791
 
792
  #: Nt3awnou-map/src/markers.py:11 Nt3awnou-map/src/markers.py:19
793
- #: Nt3awnou-map/src/filters.py:11 Nt3awnou-map/src/filters.py:19
794
  msgid "مخاطر (تسرب الغاز، تلف في الخدمات العامة...)"
795
  msgstr ""
796
 
@@ -827,7 +801,7 @@ msgstr ""
827
  msgid "Intervention prévue dans le futur / Planned future intervention"
828
  msgstr ""
829
 
830
- #: Nt3awnou-map/src/markers.py:43 Nt3awnou-map/src/filters.py:76
831
  msgid "Partiellement satisfait / Partially Served"
832
  msgstr ""
833
 
@@ -835,7 +809,7 @@ msgstr ""
835
  msgid "pink"
836
  msgstr ""
837
 
838
- #: Nt3awnou-map/src/markers.py:51 Nt3awnou-map/src/filters.py:75
839
  msgid "Critique, Besoin d'aide en urgence / Critical, in urgent need of help"
840
  msgstr ""
841
 
@@ -866,7 +840,7 @@ msgstr ""
866
 
867
  #: Nt3awnou-map/src/markers.py:102
868
  msgid "Planned"
869
- msgstr ""
870
 
871
  #: Nt3awnou-map/src/markers.py:107 Nt3awnou-map/src/markers.py:110
872
  #: Nt3awnou-map/src/markers.py:177 Nt3awnou-map/src/markers.py:234
@@ -1050,7 +1024,7 @@ msgstr ""
1050
 
1051
  #: Nt3awnou-map/src/components.py:32
1052
  msgid "💻 For Developers only, embed code for the map"
1053
- msgstr ""
1054
 
1055
  #: Nt3awnou-map/src/components.py:34
1056
  msgid ""
@@ -1113,7 +1087,7 @@ msgstr ""
1113
 
1114
  #: Nt3awnou-map/src/components.py:108
1115
  msgid "📝 **Donations**"
1116
- msgstr ""
1117
 
1118
  #: Nt3awnou-map/src/components.py:111
1119
  msgid ""
@@ -1166,59 +1140,64 @@ msgid ""
1166
  " "
1167
  msgstr ""
1168
 
1169
- #: Nt3awnou-map/src/filters.py:7
1170
  msgid "Rescue"
1171
- msgstr ""
1172
 
1173
- #: Nt3awnou-map/src/filters.py:8
1174
  msgid "Medical Assistance"
1175
- msgstr ""
1176
 
1177
- #: Nt3awnou-map/src/filters.py:9
1178
  msgid "Shelter"
1179
- msgstr ""
1180
 
1181
- #: Nt3awnou-map/src/filters.py:10
1182
  msgid "Food & Water"
1183
- msgstr ""
1184
 
1185
- #: Nt3awnou-map/src/filters.py:11
1186
  msgid "Danger"
1187
- msgstr ""
1188
 
1189
- #: Nt3awnou-map/src/filters.py:26
1190
  msgid "Display unverified requests"
1191
- msgstr ""
1192
 
1193
- #: Nt3awnou-map/src/filters.py:31
1194
  msgid "Display Interventions"
1195
- msgstr ""
1196
 
1197
- #: Nt3awnou-map/src/filters.py:35
1198
  msgid "👉 **Choose request type**"
 
 
 
 
1199
  msgstr ""
1200
 
1201
- #: Nt3awnou-map/src/filters.py:48
1202
  msgid "👉 **State of villages visited by NGOs**"
1203
- msgstr ""
1204
 
1205
- #: Nt3awnou-map/src/filters.py:53 Nt3awnou-map/src/filters.py:66
1206
- #: Nt3awnou-map/src/filters.py:75
1207
  msgid "🚨 Critical"
1208
- msgstr ""
1209
 
1210
- #: Nt3awnou-map/src/filters.py:57 Nt3awnou-map/src/filters.py:69
1211
- #: Nt3awnou-map/src/filters.py:76
1212
  msgid "⚠️ Partially served"
1213
- msgstr ""
1214
 
1215
- #: Nt3awnou-map/src/filters.py:61 Nt3awnou-map/src/filters.py:72
1216
- #: Nt3awnou-map/src/filters.py:77
 
 
 
1217
  msgid "✅ Fully served"
1218
- msgstr ""
1219
 
1220
- #: Nt3awnou-map/src/filters.py:77
1221
- msgid "Entièrement satisfait / Fully served"
1222
  msgstr ""
1223
 
1224
  #: Nt3awnou-map/src/dataframes.py:7
 
9
  msgstr ""
10
  "Project-Id-Version: \n"
11
  "Report-Msgid-Bugs-To: \n"
12
+ "POT-Creation-Date: 2023-09-19 02:38+0200\n"
13
  "PO-Revision-Date: 2023-09-18 21:00+0200\n"
14
  "Last-Translator: \n"
15
  "Language-Team: \n"
 
31
  msgid "wide"
32
  msgstr ""
33
 
34
+ #: Nt3awnou-map/app.py:32 Nt3awnou-map/src/filters.py:40
35
+ #: Nt3awnou-map/src/filters.py:62
36
  msgid "collapsed"
37
  msgstr ""
38
 
 
60
  msgid "Refresh rate in seconds"
61
  msgstr ""
62
 
63
+ #: Nt3awnou-map/app.py:55 Nt3awnou-map/app.py:182
64
+ #: Nt3awnou-map/src/components.py:70 Nt3awnou-map/src/components.py:125
 
65
  msgid "ar"
66
  msgstr ""
67
 
68
+ #: Nt3awnou-map/app.py:55
69
  msgid "العربية"
70
  msgstr ""
71
 
72
+ #: Nt3awnou-map/app.py:56 Nt3awnou-map/src/components.py:88
73
  #: Nt3awnou-map/src/components.py:142
74
  msgid "fr"
75
  msgstr ""
76
 
77
+ #: Nt3awnou-map/app.py:56
78
  msgid "Français"
79
  msgstr ""
80
 
81
+ #: Nt3awnou-map/app.py:57 Nt3awnou-map/app.py:62
82
+ #: Nt3awnou-map/src/components.py:52 Nt3awnou-map/src/components.py:109
 
83
  msgid "en"
84
  msgstr ""
85
 
86
+ #: Nt3awnou-map/app.py:57
87
  msgid "English"
88
  msgstr ""
89
 
90
+ #: Nt3awnou-map/app.py:60
91
+ msgid "Choose language / اختر اللغة"
92
  msgstr ""
93
 
94
+ #: Nt3awnou-map/app.py:65
95
  msgid "messages"
96
  msgstr ""
97
 
98
+ #: Nt3awnou-map/app.py:65
99
  msgid "locales"
100
  msgstr ""
101
 
102
+ #: Nt3awnou-map/app.py:70
103
+ msgid "Markers"
104
+ msgstr ""
105
+
106
+ #: Nt3awnou-map/app.py:113
107
+ msgid "map"
108
+ msgstr ""
109
+
110
+ #: Nt3awnou-map/app.py:184
111
  msgid ""
112
  "\n"
113
  " <style>\n"
 
118
  " "
119
  msgstr ""
120
 
121
+ #: Nt3awnou-map/src/text_content.py:2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
122
  msgid ""
123
  "\n"
124
  " <div style=\"text-align: left;\">\n"
 
156
  " "
157
  msgstr ""
158
 
159
+ #: Nt3awnou-map/src/text_content.py:15
160
  msgid ""
161
  "\n"
162
+ " <div style=\"text-align: right;-webkit-rtl-ordering: logical;\">\n"
163
  "\n"
164
  " نتعاونو هي منصة تعاونية لمساعدة الأفراد المتضررين من الزلزال الأخير في "
165
  "المغرب. مهمتنا هي تسهيل تقديم المساعدة في الوقت المناسب و بفاعلية و تنظيم "
 
192
  " "
193
  msgstr ""
194
 
195
+ #: Nt3awnou-map/src/text_content.py:32
196
  msgid ""
197
  "\n"
198
  " <div style=\"text-align: left;\">\n"
 
235
  " "
236
  msgstr ""
237
 
238
+ #: Nt3awnou-map/src/text_content.py:46
239
  msgid ""
240
  "\n"
241
  " <div style=\"text-align: center;\">\n"
 
244
  " "
245
  msgstr ""
246
 
247
+ #: Nt3awnou-map/src/text_content.py:53
248
  msgid ""
249
  "\n"
250
  " <hr>\n"
 
258
  " "
259
  msgstr ""
260
 
261
+ #: Nt3awnou-map/src/text_content.py:61
262
  msgid ""
263
  "\n"
264
  " <style>\n"
 
320
  " # "
321
  msgstr ""
322
 
323
+ #: Nt3awnou-map/src/text_content.py:106
324
  msgid ""
325
  "**If a request should be reviewed or dropped submit its id here/ إذا كان يجب "
326
  "مراجعة أو حذف طلب، أدخل رقمه هنا:**"
 
517
  #: Nt3awnou-map/src/utils.py:145 Nt3awnou-map/src/markers.py:50
518
  #: Nt3awnou-map/src/markers.py:106
519
  msgid "Planned ⌛"
520
+ msgstr "Prévu ⌛"
521
 
522
  #: Nt3awnou-map/src/utils.py:154
523
  msgid "High Emergency 🔴"
 
529
 
530
  #: Nt3awnou-map/src/utils.py:156
531
  msgid "Low Emergency 🟡"
532
+ msgstr "Urgence faible 🟡"
533
 
534
  #: Nt3awnou-map/src/utils.py:158 Nt3awnou-map/src/markers.py:189
535
  msgid "High"
 
585
  msgid "popup"
586
  msgstr ""
587
 
588
+ #: Nt3awnou-map/src/map_utils.py:5
589
  msgid ""
590
  "\n"
591
+ " <li><span style='background:#CE3C28;opacity:0.7;'></span>Rescue</li>\n"
592
+ " <li><span style='background:#ED922E;opacity:0.7;'></span>Medical "
593
+ "Assistance</li>\n"
594
+ " <li><span style='background:#FFCA92;opacity:0.7;'></span>Shelter</li>\n"
595
+ " <li><span style='background:#37A8DA;opacity:0.7;'></span>Food & Water</"
596
  "li>\n"
597
+ " <li><span style='background:#575757;opacity:0.7;'></span>Dangers</li>\n"
598
+ " <li><span style='background:#6EAA25;opacity:0.7;'></span>Done</li>\n"
599
+ " <li><span style='background:#023020;opacity:0.7;'></span>Partial</li>\n"
600
+ " <li><span style='background:#FF91E8;opacity:0.7;'></span>Planned</li>\n"
601
+ " "
602
+ msgstr ""
603
+
604
+ #: Nt3awnou-map/src/map_utils.py:15
 
 
 
 
605
  msgid ""
606
  "\n"
607
+ " <li><span style='background:#CE3C28;opacity:0.7;'></span>High "
608
+ "Emergency</li>\n"
609
+ " <li><span style='background:#ED922E;opacity:0.7;'></span>Medium "
610
+ "Emergency</li>\n"
611
+ " <li><span style='background:#FFCA92;opacity:0.7;'></span>Low "
612
+ "Emergency</li>\n"
613
+ " <li><span style='background:#6EAA25;opacity:0.7;'></span>Done</li>\n"
614
+ " <li><span style='background:#023020;opacity:0.7;'></span>Partial</li>\n"
615
+ " <li><span style='background:#FF91E8;opacity:0.7;'></span>Planned</li>\n"
616
+ " "
617
+ msgstr ""
618
+
619
+ #: Nt3awnou-map/src/map_utils.py:24
 
620
  msgid ""
621
  "\n"
622
+ " {% macro html(this, kwargs) %}\n"
623
  "\n"
624
+ " <!doctype html>\n"
625
+ " <html lang=\"en\">\n"
626
+ " <head>\n"
627
+ " <meta charset=\"utf-8\">\n"
628
+ " <meta name=\"viewport\" content=\"width=device-width, initial-"
629
+ "scale=1\">\n"
630
+ " <title>jQuery UI Draggable - Default functionality</title>\n"
631
+ " <link rel=\"stylesheet\" href=\"//code.jquery.com/ui/1.12.1/themes/base/"
632
  "jquery-ui.css\">\n"
633
  "\n"
634
+ " <script src=\"https://code.jquery.com/jquery-1.12.4.js\"></script>\n"
635
+ " <script src=\"https://code.jquery.com/ui/1.12.1/jquery-ui.js\"></"
636
+ "script>\n"
637
+ " \n"
638
+ " <script>\n"
639
+ " $( function() {\n"
640
+ " $( \"#maplegend\" ).draggable({\n"
641
+ " start: function (event, ui) {\n"
642
+ " $(this).css({\n"
643
+ " right: \"auto\",\n"
644
+ " top: \"auto\",\n"
645
+ " bottom: \"auto\"\n"
646
+ " });\n"
647
+ " }\n"
648
+ " });\n"
649
+ " });\n"
650
  "\n"
651
+ " </script>\n"
652
+ " </head>\n"
653
+ " <body>\n"
654
  "\n"
655
+ " \n"
656
+ " <div id='maplegend' class='maplegend' \n"
657
+ " style='position: absolute; z-index:9999; border:2px solid grey; "
658
  "background-color:rgba(255, 255, 255, 0.8);\n"
659
+ " border-radius:6px; padding: 10px; font-size:14px; right: 20px; bottom: "
660
  "20px;'>\n"
661
+ " \n"
662
+ " <div class='legend-title'>Legend / مفتاح الخريطة</div>\n"
663
+ " <div class='legend-scale'>\n"
664
+ " <ul class='legend-labels'>\n"
665
  "\n"
666
+ " "
667
  msgstr ""
668
 
669
+ #: Nt3awnou-map/src/map_utils.py:65
670
  msgid ""
671
  "\n"
672
+ " </ul>\n"
673
+ " </div>\n"
674
+ " </div>\n"
675
+ " \n"
676
+ " </body>\n"
677
+ " </html>\n"
678
  "\n"
679
+ " <style type='text/css'>\n"
680
+ " .maplegend .legend-title {\n"
681
+ " text-align: left;\n"
682
+ " margin-bottom: 5px;\n"
683
+ " font-weight: bold;\n"
684
+ " font-size: 90%;\n"
685
+ " color: #333;\n"
686
+ " }\n"
687
+ " .maplegend .legend-scale ul {\n"
688
+ " margin: 0;\n"
689
+ " margin-bottom: 5px;\n"
690
+ " padding: 0;\n"
691
+ " float: left;\n"
692
+ " list-style: none;\n"
693
+ " }\n"
694
+ " .maplegend .legend-scale ul li {\n"
695
+ " font-size: 80%;\n"
696
+ " list-style: none;\n"
697
+ " margin-left: 0;\n"
698
+ " line-height: 18px;\n"
699
+ " margin-bottom: 2px;\n"
700
+ " color: #111;\n"
701
+ " }\n"
702
+ " .maplegend ul.legend-labels li span {\n"
703
+ " display: block;\n"
704
+ " float: left;\n"
705
+ " height: 16px;\n"
706
+ " width: 30px;\n"
707
+ " margin-right: 5px;\n"
708
+ " margin-left: 0;\n"
709
+ " border: 1px solid #999;\n"
710
+ " }\n"
711
+ " .maplegend .legend-source {\n"
712
+ " font-size: 80%;\n"
713
+ " color: #777;\n"
714
+ " clear: both;\n"
715
+ " }\n"
716
+ " .maplegend a {\n"
717
+ " color: #777;\n"
718
+ " }\n"
719
  "\n"
720
+ " .leaflet-control-geocoder-form input {\n"
721
+ " color: black;\n"
722
+ " }\n"
723
+ " \n"
724
+ " </style>\n"
725
+ " {% endmacro %}"
726
  msgstr ""
727
 
728
+ #: Nt3awnou-map/src/map_utils.py:125
729
  msgid "get_legend_macro"
730
  msgstr ""
731
 
732
  #: Nt3awnou-map/src/markers.py:7 Nt3awnou-map/src/markers.py:15
733
+ #: Nt3awnou-map/src/filters.py:6 Nt3awnou-map/src/filters.py:14
734
  msgid "إغاثة"
735
  msgstr ""
736
 
 
740
  msgstr ""
741
 
742
  #: Nt3awnou-map/src/markers.py:8 Nt3awnou-map/src/markers.py:16
743
+ #: Nt3awnou-map/src/filters.py:7 Nt3awnou-map/src/filters.py:15
744
  msgid "مساعدة طبية"
745
  msgstr ""
746
 
747
  #: Nt3awnou-map/src/markers.py:9 Nt3awnou-map/src/markers.py:17
748
+ #: Nt3awnou-map/src/filters.py:8 Nt3awnou-map/src/filters.py:16
749
  msgid "مأوى"
750
  msgstr ""
751
 
 
755
  msgstr ""
756
 
757
  #: Nt3awnou-map/src/markers.py:10 Nt3awnou-map/src/markers.py:18
758
+ #: Nt3awnou-map/src/filters.py:9 Nt3awnou-map/src/filters.py:17
759
  msgid "طعام وماء"
760
  msgstr ""
761
 
 
764
  msgstr ""
765
 
766
  #: Nt3awnou-map/src/markers.py:11 Nt3awnou-map/src/markers.py:19
767
+ #: Nt3awnou-map/src/filters.py:10 Nt3awnou-map/src/filters.py:18
768
  msgid "مخاطر (تسرب الغاز، تلف في الخدمات العامة...)"
769
  msgstr ""
770
 
 
801
  msgid "Intervention prévue dans le futur / Planned future intervention"
802
  msgstr ""
803
 
804
+ #: Nt3awnou-map/src/markers.py:43 Nt3awnou-map/src/filters.py:52
805
  msgid "Partiellement satisfait / Partially Served"
806
  msgstr ""
807
 
 
809
  msgid "pink"
810
  msgstr ""
811
 
812
+ #: Nt3awnou-map/src/markers.py:51 Nt3awnou-map/src/filters.py:51
813
  msgid "Critique, Besoin d'aide en urgence / Critical, in urgent need of help"
814
  msgstr ""
815
 
 
840
 
841
  #: Nt3awnou-map/src/markers.py:102
842
  msgid "Planned"
843
+ msgstr "Prévu"
844
 
845
  #: Nt3awnou-map/src/markers.py:107 Nt3awnou-map/src/markers.py:110
846
  #: Nt3awnou-map/src/markers.py:177 Nt3awnou-map/src/markers.py:234
 
1024
 
1025
  #: Nt3awnou-map/src/components.py:32
1026
  msgid "💻 For Developers only, embed code for the map"
1027
+ msgstr "💻 Pour les développeurs uniquement, code d'intégration de la carte"
1028
 
1029
  #: Nt3awnou-map/src/components.py:34
1030
  msgid ""
 
1087
 
1088
  #: Nt3awnou-map/src/components.py:108
1089
  msgid "📝 **Donations**"
1090
+ msgstr "📝 **Donations**"
1091
 
1092
  #: Nt3awnou-map/src/components.py:111
1093
  msgid ""
 
1140
  " "
1141
  msgstr ""
1142
 
1143
+ #: Nt3awnou-map/src/filters.py:6
1144
  msgid "Rescue"
1145
+ msgstr "Sauvetage"
1146
 
1147
+ #: Nt3awnou-map/src/filters.py:7
1148
  msgid "Medical Assistance"
1149
+ msgstr "Assistance médicale"
1150
 
1151
+ #: Nt3awnou-map/src/filters.py:8
1152
  msgid "Shelter"
1153
+ msgstr "Abri"
1154
 
1155
+ #: Nt3awnou-map/src/filters.py:9
1156
  msgid "Food & Water"
1157
+ msgstr "Nourriture et eau"
1158
 
1159
+ #: Nt3awnou-map/src/filters.py:10
1160
  msgid "Danger"
1161
+ msgstr "Danger"
1162
 
1163
+ #: Nt3awnou-map/src/filters.py:25
1164
  msgid "Display unverified requests"
1165
+ msgstr "Montrer les demandes non vérifiées"
1166
 
1167
+ #: Nt3awnou-map/src/filters.py:30
1168
  msgid "Display Interventions"
1169
+ msgstr "Montrer les interventions"
1170
 
1171
+ #: Nt3awnou-map/src/filters.py:34
1172
  msgid "👉 **Choose request type**"
1173
+ msgstr "👉 **Choisir le type de demande**"
1174
+
1175
+ #: Nt3awnou-map/src/filters.py:36
1176
+ msgid "Choose request type"
1177
  msgstr ""
1178
 
1179
+ #: Nt3awnou-map/src/filters.py:47
1180
  msgid "👉 **State of villages visited by NGOs**"
1181
+ msgstr "👉 **État des villages visités par les ONG**"
1182
 
1183
+ #: Nt3awnou-map/src/filters.py:51
 
1184
  msgid "🚨 Critical"
1185
+ msgstr "🚨 Critique"
1186
 
1187
+ #: Nt3awnou-map/src/filters.py:52
 
1188
  msgid "⚠️ Partially served"
1189
+ msgstr "⚠️ Partiellement servi"
1190
 
1191
+ #: Nt3awnou-map/src/filters.py:53
1192
+ msgid "Entièrement satisfait / Fully served"
1193
+ msgstr "Entièrement satisfait"
1194
+
1195
+ #: Nt3awnou-map/src/filters.py:53
1196
  msgid "✅ Fully served"
1197
+ msgstr "✅ Entièrement servi"
1198
 
1199
+ #: Nt3awnou-map/src/filters.py:58
1200
+ msgid "Choose status"
1201
  msgstr ""
1202
 
1203
  #: Nt3awnou-map/src/dataframes.py:7
messages.pot CHANGED
@@ -10,7 +10,7 @@ msgid ""
10
  msgstr ""
11
  "Project-Id-Version: PACKAGE VERSION\n"
12
  "Report-Msgid-Bugs-To: \n"
13
- "POT-Creation-Date: 2023-09-19 02:05+0200\n"
14
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
15
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
16
  "Language-Team: LANGUAGE <[email protected]>\n"
@@ -31,7 +31,8 @@ msgstr ""
31
  msgid "wide"
32
  msgstr ""
33
 
34
- #: Nt3awnou-map/app.py:32
 
35
  msgid "collapsed"
36
  msgstr ""
37
 
@@ -59,48 +60,54 @@ msgstr ""
59
  msgid "Refresh rate in seconds"
60
  msgstr ""
61
 
62
- #: Nt3awnou-map/app.py:51 Nt3awnou-map/app.py:69
63
- #: Nt3awnou-map/src/text_content.py:21 Nt3awnou-map/src/components.py:70
64
- #: Nt3awnou-map/src/components.py:125
65
  msgid "ar"
66
  msgstr ""
67
 
68
- #: Nt3awnou-map/app.py:51
69
  msgid "العربية"
70
  msgstr ""
71
 
72
- #: Nt3awnou-map/app.py:52 Nt3awnou-map/src/components.py:88
73
  #: Nt3awnou-map/src/components.py:142
74
  msgid "fr"
75
  msgstr ""
76
 
77
- #: Nt3awnou-map/app.py:52
78
  msgid "Français"
79
  msgstr ""
80
 
81
- #: Nt3awnou-map/app.py:53 Nt3awnou-map/app.py:61
82
- #: Nt3awnou-map/src/text_content.py:6 Nt3awnou-map/src/components.py:52
83
- #: Nt3awnou-map/src/components.py:109
84
  msgid "en"
85
  msgstr ""
86
 
87
- #: Nt3awnou-map/app.py:53
88
  msgid "English"
89
  msgstr ""
90
 
91
- #: Nt3awnou-map/app.py:56
92
- msgid "Choose a language"
93
  msgstr ""
94
 
95
- #: Nt3awnou-map/app.py:64 Nt3awnou-map/src/text_content.py:8
96
  msgid "messages"
97
  msgstr ""
98
 
99
- #: Nt3awnou-map/app.py:64 Nt3awnou-map/src/text_content.py:8
100
  msgid "locales"
101
  msgstr ""
102
 
103
- #: Nt3awnou-map/app.py:71
 
 
 
 
 
 
 
 
104
  msgid ""
105
  "\n"
106
  " <style>\n"
@@ -111,38 +118,7 @@ msgid ""
111
  " "
112
  msgstr ""
113
 
114
- #: Nt3awnou-map/app.py:85
115
- msgid "Markers"
116
- msgstr ""
117
-
118
- #: Nt3awnou-map/app.py:133
119
- msgid "map"
120
- msgstr ""
121
-
122
- #: Nt3awnou-map/src/text_content.py:4
123
- #, python-brace-format
124
- msgid "Setting language to {lang}"
125
- msgstr ""
126
-
127
- #: Nt3awnou-map/src/text_content.py:11
128
- #, python-brace-format
129
- msgid "Language set to {lang}"
130
- msgstr ""
131
-
132
- #: Nt3awnou-map/src/text_content.py:13
133
- #, python-brace-format
134
- msgid "Language {lang} not supported yet"
135
- msgstr ""
136
-
137
- #: Nt3awnou-map/src/text_content.py:16
138
- msgid "Language set to English"
139
- msgstr ""
140
-
141
- #: Nt3awnou-map/src/text_content.py:21
142
- msgid "lang"
143
- msgstr ""
144
-
145
- #: Nt3awnou-map/src/text_content.py:24
146
  msgid ""
147
  "\n"
148
  " <div style=\"text-align: left;\">\n"
@@ -180,10 +156,10 @@ msgid ""
180
  " "
181
  msgstr ""
182
 
183
- #: Nt3awnou-map/src/text_content.py:37
184
  msgid ""
185
  "\n"
186
- " <div style=\"text-align: right;\">\n"
187
  "\n"
188
  " نتعاونو هي منصة تعاونية لمساعدة الأفراد المتضررين من الزلزال الأخير في "
189
  "المغرب. مهمتنا هي تسهيل تقديم المساعدة في الوقت المناسب و بفاعلية و تنظيم "
@@ -216,7 +192,7 @@ msgid ""
216
  " "
217
  msgstr ""
218
 
219
- #: Nt3awnou-map/src/text_content.py:54
220
  msgid ""
221
  "\n"
222
  " <div style=\"text-align: left;\">\n"
@@ -259,7 +235,7 @@ msgid ""
259
  " "
260
  msgstr ""
261
 
262
- #: Nt3awnou-map/src/text_content.py:68
263
  msgid ""
264
  "\n"
265
  " <div style=\"text-align: center;\">\n"
@@ -268,7 +244,7 @@ msgid ""
268
  " "
269
  msgstr ""
270
 
271
- #: Nt3awnou-map/src/text_content.py:75
272
  msgid ""
273
  "\n"
274
  " <hr>\n"
@@ -282,7 +258,7 @@ msgid ""
282
  " "
283
  msgstr ""
284
 
285
- #: Nt3awnou-map/src/text_content.py:83
286
  msgid ""
287
  "\n"
288
  " <style>\n"
@@ -344,7 +320,7 @@ msgid ""
344
  " # "
345
  msgstr ""
346
 
347
- #: Nt3awnou-map/src/text_content.py:128
348
  msgid ""
349
  "**If a request should be reviewed or dropped submit its id here/ إذا كان يجب "
350
  "مراجعة أو حذف طلب، أدخل رقمه هنا:**"
@@ -607,154 +583,152 @@ msgstr ""
607
  msgid "popup"
608
  msgstr ""
609
 
610
- #: Nt3awnou-map/src/map_utils.py:3
611
  msgid ""
612
  "\n"
613
- " <li><span style='background:#CE3C28;opacity:0.7;'></span>Rescue / إغاثة</"
614
- "li>\n"
615
- " <li><span style='background:#ED922E;opacity:0.7;'></span>Medical "
616
- "Assistance / مساعدة طبية</li>\n"
617
- " <li><span style='background:#FFCA92;opacity:0.7;'></span>Shelter / مأوى</"
618
  "li>\n"
619
- " <li><span style='background:#37A8DA;opacity:0.7;'></span>Food & Water / "
620
- "طعام وماء</li>\n"
621
- " <li><span style='background:#575757;opacity:0.7;'></span>Dangers / "
622
- "مخاطر</li>\n"
623
- " <li><span style='background:#6EAA25;opacity:0.7;'></span>Done / تم</li>\n"
624
- " <li><span style='background:#023020;opacity:0.7;'></span>Partial / تم "
625
- "جزئيا</li>\n"
626
- " <li><span style='background:#FF91E8;opacity:0.7;'></span>Planned / مخطط "
627
- "لها</li>\n"
628
- msgstr ""
629
-
630
- #: Nt3awnou-map/src/map_utils.py:13
631
  msgid ""
632
  "\n"
633
- " <li><span style='background:#CE3C28;opacity:0.7;'></span>High "
634
- "Emergency / طوارئ عالية</li>\n"
635
- " <li><span style='background:#ED922E;opacity:0.7;'></span>Medium "
636
- "Emergency / طوارئ متوسطة</li>\n"
637
- " <li><span style='background:#FFCA92;opacity:0.7;'></span>Low Emergency / "
638
- "طوارئ منخفضة</li>\n"
639
- " <li><span style='background:#6EAA25;opacity:0.7;'></span>Done / تم</li>\n"
640
- " <li><span style='background:#023020;opacity:0.7;'></span>Partial / تم "
641
- "جزئيا</li>\n"
642
- " <li><span style='background:#FF91E8;opacity:0.7;'></span>Planned / مخطط "
643
- "لها</li>\n"
644
- msgstr ""
645
-
646
- #: Nt3awnou-map/src/map_utils.py:22
647
  msgid ""
648
  "\n"
649
- "{% macro html(this, kwargs) %}\n"
650
  "\n"
651
- "<!doctype html>\n"
652
- "<html lang=\"en\">\n"
653
- "<head>\n"
654
- " <meta charset=\"utf-8\">\n"
655
- " <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">\n"
656
- " <title>jQuery UI Draggable - Default functionality</title>\n"
657
- " <link rel=\"stylesheet\" href=\"//code.jquery.com/ui/1.12.1/themes/base/"
 
658
  "jquery-ui.css\">\n"
659
  "\n"
660
- " <script src=\"https://code.jquery.com/jquery-1.12.4.js\"></script>\n"
661
- " <script src=\"https://code.jquery.com/ui/1.12.1/jquery-ui.js\"></script>\n"
662
- " \n"
663
- " <script>\n"
664
- " $( function() {\n"
665
- " $( \"#maplegend\" ).draggable({\n"
666
- " start: function (event, ui) {\n"
667
- " $(this).css({\n"
668
- " right: \"auto\",\n"
669
- " top: \"auto\",\n"
670
- " bottom: \"auto\"\n"
671
- " });\n"
672
- " }\n"
673
- " });\n"
674
- "});\n"
 
675
  "\n"
676
- " </script>\n"
677
- "</head>\n"
678
- "<body>\n"
679
  "\n"
680
- " \n"
681
- "<div id='maplegend' class='maplegend' \n"
682
- " style='position: absolute; z-index:9999; border:2px solid grey; "
683
  "background-color:rgba(255, 255, 255, 0.8);\n"
684
- " border-radius:6px; padding: 10px; font-size:14px; right: 20px; bottom: "
685
  "20px;'>\n"
686
- " \n"
687
- "<div class='legend-title'>Legend / مفتاح ال��ريطة</div>\n"
688
- "<div class='legend-scale'>\n"
689
- " <ul class='legend-labels'>\n"
690
  "\n"
 
691
  msgstr ""
692
 
693
- #: Nt3awnou-map/src/map_utils.py:63
694
  msgid ""
695
  "\n"
696
- " </ul>\n"
697
- "</div>\n"
698
- "</div>\n"
699
- " \n"
700
- "</body>\n"
701
- "</html>\n"
702
  "\n"
703
- "<style type='text/css'>\n"
704
- " .maplegend .legend-title {\n"
705
- " text-align: left;\n"
706
- " margin-bottom: 5px;\n"
707
- " font-weight: bold;\n"
708
- " font-size: 90%;\n"
709
- " color: #333;\n"
710
- " }\n"
711
- " .maplegend .legend-scale ul {\n"
712
- " margin: 0;\n"
713
- " margin-bottom: 5px;\n"
714
- " padding: 0;\n"
715
- " float: left;\n"
716
- " list-style: none;\n"
717
- " }\n"
718
- " .maplegend .legend-scale ul li {\n"
719
- " font-size: 80%;\n"
720
- " list-style: none;\n"
721
- " margin-left: 0;\n"
722
- " line-height: 18px;\n"
723
- " margin-bottom: 2px;\n"
724
- " color: #111;\n"
725
- " }\n"
726
- " .maplegend ul.legend-labels li span {\n"
727
- " display: block;\n"
728
- " float: left;\n"
729
- " height: 16px;\n"
730
- " width: 30px;\n"
731
- " margin-right: 5px;\n"
732
- " margin-left: 0;\n"
733
- " border: 1px solid #999;\n"
734
- " }\n"
735
- " .maplegend .legend-source {\n"
736
- " font-size: 80%;\n"
737
- " color: #777;\n"
738
- " clear: both;\n"
739
- " }\n"
740
- " .maplegend a {\n"
741
- " color: #777;\n"
742
- " }\n"
743
  "\n"
744
- " .leaflet-control-geocoder-form input {\n"
745
- " color: black;\n"
746
- " }\n"
747
- " \n"
748
- "</style>\n"
749
- "{% endmacro %}"
750
  msgstr ""
751
 
752
- #: Nt3awnou-map/src/map_utils.py:124
753
  msgid "get_legend_macro"
754
  msgstr ""
755
 
756
  #: Nt3awnou-map/src/markers.py:7 Nt3awnou-map/src/markers.py:15
757
- #: Nt3awnou-map/src/filters.py:7 Nt3awnou-map/src/filters.py:15
758
  msgid "إغاثة"
759
  msgstr ""
760
 
@@ -764,12 +738,12 @@ msgid "red"
764
  msgstr ""
765
 
766
  #: Nt3awnou-map/src/markers.py:8 Nt3awnou-map/src/markers.py:16
767
- #: Nt3awnou-map/src/filters.py:8 Nt3awnou-map/src/filters.py:16
768
  msgid "مساعدة طبية"
769
  msgstr ""
770
 
771
  #: Nt3awnou-map/src/markers.py:9 Nt3awnou-map/src/markers.py:17
772
- #: Nt3awnou-map/src/filters.py:9 Nt3awnou-map/src/filters.py:17
773
  msgid "مأوى"
774
  msgstr ""
775
 
@@ -779,7 +753,7 @@ msgid "beige"
779
  msgstr ""
780
 
781
  #: Nt3awnou-map/src/markers.py:10 Nt3awnou-map/src/markers.py:18
782
- #: Nt3awnou-map/src/filters.py:10 Nt3awnou-map/src/filters.py:18
783
  msgid "طعام وماء"
784
  msgstr ""
785
 
@@ -788,7 +762,7 @@ msgid "blue"
788
  msgstr ""
789
 
790
  #: Nt3awnou-map/src/markers.py:11 Nt3awnou-map/src/markers.py:19
791
- #: Nt3awnou-map/src/filters.py:11 Nt3awnou-map/src/filters.py:19
792
  msgid "مخاطر (تسرب الغاز، تلف في الخدمات العامة...)"
793
  msgstr ""
794
 
@@ -825,7 +799,7 @@ msgstr ""
825
  msgid "Intervention prévue dans le futur / Planned future intervention"
826
  msgstr ""
827
 
828
- #: Nt3awnou-map/src/markers.py:43 Nt3awnou-map/src/filters.py:76
829
  msgid "Partiellement satisfait / Partially Served"
830
  msgstr ""
831
 
@@ -833,7 +807,7 @@ msgstr ""
833
  msgid "pink"
834
  msgstr ""
835
 
836
- #: Nt3awnou-map/src/markers.py:51 Nt3awnou-map/src/filters.py:75
837
  msgid "Critique, Besoin d'aide en urgence / Critical, in urgent need of help"
838
  msgstr ""
839
 
@@ -1164,59 +1138,64 @@ msgid ""
1164
  " "
1165
  msgstr ""
1166
 
1167
- #: Nt3awnou-map/src/filters.py:7
1168
  msgid "Rescue"
1169
  msgstr ""
1170
 
1171
- #: Nt3awnou-map/src/filters.py:8
1172
  msgid "Medical Assistance"
1173
  msgstr ""
1174
 
1175
- #: Nt3awnou-map/src/filters.py:9
1176
  msgid "Shelter"
1177
  msgstr ""
1178
 
1179
- #: Nt3awnou-map/src/filters.py:10
1180
  msgid "Food & Water"
1181
  msgstr ""
1182
 
1183
- #: Nt3awnou-map/src/filters.py:11
1184
  msgid "Danger"
1185
  msgstr ""
1186
 
1187
- #: Nt3awnou-map/src/filters.py:26
1188
  msgid "Display unverified requests"
1189
  msgstr ""
1190
 
1191
- #: Nt3awnou-map/src/filters.py:31
1192
  msgid "Display Interventions"
1193
  msgstr ""
1194
 
1195
- #: Nt3awnou-map/src/filters.py:35
1196
  msgid "👉 **Choose request type**"
1197
  msgstr ""
1198
 
1199
- #: Nt3awnou-map/src/filters.py:48
 
 
 
 
1200
  msgid "👉 **State of villages visited by NGOs**"
1201
  msgstr ""
1202
 
1203
- #: Nt3awnou-map/src/filters.py:53 Nt3awnou-map/src/filters.py:66
1204
- #: Nt3awnou-map/src/filters.py:75
1205
  msgid "🚨 Critical"
1206
  msgstr ""
1207
 
1208
- #: Nt3awnou-map/src/filters.py:57 Nt3awnou-map/src/filters.py:69
1209
- #: Nt3awnou-map/src/filters.py:76
1210
  msgid "⚠️ Partially served"
1211
  msgstr ""
1212
 
1213
- #: Nt3awnou-map/src/filters.py:61 Nt3awnou-map/src/filters.py:72
1214
- #: Nt3awnou-map/src/filters.py:77
 
 
 
1215
  msgid "✅ Fully served"
1216
  msgstr ""
1217
 
1218
- #: Nt3awnou-map/src/filters.py:77
1219
- msgid "Entièrement satisfait / Fully served"
1220
  msgstr ""
1221
 
1222
  #: Nt3awnou-map/src/dataframes.py:7
 
10
  msgstr ""
11
  "Project-Id-Version: PACKAGE VERSION\n"
12
  "Report-Msgid-Bugs-To: \n"
13
+ "POT-Creation-Date: 2023-09-19 02:40+0200\n"
14
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
15
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
16
  "Language-Team: LANGUAGE <[email protected]>\n"
 
31
  msgid "wide"
32
  msgstr ""
33
 
34
+ #: Nt3awnou-map/app.py:32 Nt3awnou-map/src/filters.py:40
35
+ #: Nt3awnou-map/src/filters.py:62
36
  msgid "collapsed"
37
  msgstr ""
38
 
 
60
  msgid "Refresh rate in seconds"
61
  msgstr ""
62
 
63
+ #: Nt3awnou-map/app.py:55 Nt3awnou-map/app.py:182
64
+ #: Nt3awnou-map/src/components.py:70 Nt3awnou-map/src/components.py:125
 
65
  msgid "ar"
66
  msgstr ""
67
 
68
+ #: Nt3awnou-map/app.py:55
69
  msgid "العربية"
70
  msgstr ""
71
 
72
+ #: Nt3awnou-map/app.py:56 Nt3awnou-map/src/components.py:88
73
  #: Nt3awnou-map/src/components.py:142
74
  msgid "fr"
75
  msgstr ""
76
 
77
+ #: Nt3awnou-map/app.py:56
78
  msgid "Français"
79
  msgstr ""
80
 
81
+ #: Nt3awnou-map/app.py:57 Nt3awnou-map/app.py:62
82
+ #: Nt3awnou-map/src/components.py:52 Nt3awnou-map/src/components.py:109
 
83
  msgid "en"
84
  msgstr ""
85
 
86
+ #: Nt3awnou-map/app.py:57
87
  msgid "English"
88
  msgstr ""
89
 
90
+ #: Nt3awnou-map/app.py:60
91
+ msgid "Choose language / اختر اللغة"
92
  msgstr ""
93
 
94
+ #: Nt3awnou-map/app.py:65
95
  msgid "messages"
96
  msgstr ""
97
 
98
+ #: Nt3awnou-map/app.py:65
99
  msgid "locales"
100
  msgstr ""
101
 
102
+ #: Nt3awnou-map/app.py:70
103
+ msgid "Markers"
104
+ msgstr ""
105
+
106
+ #: Nt3awnou-map/app.py:113
107
+ msgid "map"
108
+ msgstr ""
109
+
110
+ #: Nt3awnou-map/app.py:184
111
  msgid ""
112
  "\n"
113
  " <style>\n"
 
118
  " "
119
  msgstr ""
120
 
121
+ #: Nt3awnou-map/src/text_content.py:2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
122
  msgid ""
123
  "\n"
124
  " <div style=\"text-align: left;\">\n"
 
156
  " "
157
  msgstr ""
158
 
159
+ #: Nt3awnou-map/src/text_content.py:15
160
  msgid ""
161
  "\n"
162
+ " <div style=\"text-align: right;-webkit-rtl-ordering: logical;\">\n"
163
  "\n"
164
  " نتعاونو هي منصة تعاونية لمساعدة الأفراد المتضررين من الزلزال الأخير في "
165
  "المغرب. مهمتنا هي تسهيل تقديم المساعدة في الوقت المناسب و بفاعلية و تنظيم "
 
192
  " "
193
  msgstr ""
194
 
195
+ #: Nt3awnou-map/src/text_content.py:32
196
  msgid ""
197
  "\n"
198
  " <div style=\"text-align: left;\">\n"
 
235
  " "
236
  msgstr ""
237
 
238
+ #: Nt3awnou-map/src/text_content.py:46
239
  msgid ""
240
  "\n"
241
  " <div style=\"text-align: center;\">\n"
 
244
  " "
245
  msgstr ""
246
 
247
+ #: Nt3awnou-map/src/text_content.py:53
248
  msgid ""
249
  "\n"
250
  " <hr>\n"
 
258
  " "
259
  msgstr ""
260
 
261
+ #: Nt3awnou-map/src/text_content.py:61
262
  msgid ""
263
  "\n"
264
  " <style>\n"
 
320
  " # "
321
  msgstr ""
322
 
323
+ #: Nt3awnou-map/src/text_content.py:106
324
  msgid ""
325
  "**If a request should be reviewed or dropped submit its id here/ إذا كان يجب "
326
  "مراجعة أو حذف طلب، أدخل رقمه هنا:**"
 
583
  msgid "popup"
584
  msgstr ""
585
 
586
+ #: Nt3awnou-map/src/map_utils.py:5
587
  msgid ""
588
  "\n"
589
+ " <li><span style='background:#CE3C28;opacity:0.7;'></span>Rescue</li>\n"
590
+ " <li><span style='background:#ED922E;opacity:0.7;'></span>Medical "
591
+ "Assistance</li>\n"
592
+ " <li><span style='background:#FFCA92;opacity:0.7;'></span>Shelter</li>\n"
593
+ " <li><span style='background:#37A8DA;opacity:0.7;'></span>Food & Water</"
594
  "li>\n"
595
+ " <li><span style='background:#575757;opacity:0.7;'></span>Dangers</li>\n"
596
+ " <li><span style='background:#6EAA25;opacity:0.7;'></span>Done</li>\n"
597
+ " <li><span style='background:#023020;opacity:0.7;'></span>Partial</li>\n"
598
+ " <li><span style='background:#FF91E8;opacity:0.7;'></span>Planned</li>\n"
599
+ " "
600
+ msgstr ""
601
+
602
+ #: Nt3awnou-map/src/map_utils.py:15
 
 
 
 
603
  msgid ""
604
  "\n"
605
+ " <li><span style='background:#CE3C28;opacity:0.7;'></span>High "
606
+ "Emergency</li>\n"
607
+ " <li><span style='background:#ED922E;opacity:0.7;'></span>Medium "
608
+ "Emergency</li>\n"
609
+ " <li><span style='background:#FFCA92;opacity:0.7;'></span>Low "
610
+ "Emergency</li>\n"
611
+ " <li><span style='background:#6EAA25;opacity:0.7;'></span>Done</li>\n"
612
+ " <li><span style='background:#023020;opacity:0.7;'></span>Partial</li>\n"
613
+ " <li><span style='background:#FF91E8;opacity:0.7;'></span>Planned</li>\n"
614
+ " "
615
+ msgstr ""
616
+
617
+ #: Nt3awnou-map/src/map_utils.py:24
 
618
  msgid ""
619
  "\n"
620
+ " {% macro html(this, kwargs) %}\n"
621
  "\n"
622
+ " <!doctype html>\n"
623
+ " <html lang=\"en\">\n"
624
+ " <head>\n"
625
+ " <meta charset=\"utf-8\">\n"
626
+ " <meta name=\"viewport\" content=\"width=device-width, initial-"
627
+ "scale=1\">\n"
628
+ " <title>jQuery UI Draggable - Default functionality</title>\n"
629
+ " <link rel=\"stylesheet\" href=\"//code.jquery.com/ui/1.12.1/themes/base/"
630
  "jquery-ui.css\">\n"
631
  "\n"
632
+ " <script src=\"https://code.jquery.com/jquery-1.12.4.js\"></script>\n"
633
+ " <script src=\"https://code.jquery.com/ui/1.12.1/jquery-ui.js\"></"
634
+ "script>\n"
635
+ " \n"
636
+ " <script>\n"
637
+ " $( function() {\n"
638
+ " $( \"#maplegend\" ).draggable({\n"
639
+ " start: function (event, ui) {\n"
640
+ " $(this).css({\n"
641
+ " right: \"auto\",\n"
642
+ " top: \"auto\",\n"
643
+ " bottom: \"auto\"\n"
644
+ " });\n"
645
+ " }\n"
646
+ " });\n"
647
+ " });\n"
648
  "\n"
649
+ " </script>\n"
650
+ " </head>\n"
651
+ " <body>\n"
652
  "\n"
653
+ " \n"
654
+ " <div id='maplegend' class='maplegend' \n"
655
+ " style='position: absolute; z-index:9999; border:2px solid grey; "
656
  "background-color:rgba(255, 255, 255, 0.8);\n"
657
+ " border-radius:6px; padding: 10px; font-size:14px; right: 20px; bottom: "
658
  "20px;'>\n"
659
+ " \n"
660
+ " <div class='legend-title'>Legend / مفتاح الخريطة</div>\n"
661
+ " <div class='legend-scale'>\n"
662
+ " <ul class='legend-labels'>\n"
663
  "\n"
664
+ " "
665
  msgstr ""
666
 
667
+ #: Nt3awnou-map/src/map_utils.py:65
668
  msgid ""
669
  "\n"
670
+ " </ul>\n"
671
+ " </div>\n"
672
+ " </div>\n"
673
+ " \n"
674
+ " </body>\n"
675
+ " </html>\n"
676
  "\n"
677
+ " <style type='text/css'>\n"
678
+ " .maplegend .legend-title {\n"
679
+ " text-align: left;\n"
680
+ " margin-bottom: 5px;\n"
681
+ " font-weight: bold;\n"
682
+ " font-size: 90%;\n"
683
+ " color: #333;\n"
684
+ " }\n"
685
+ " .maplegend .legend-scale ul {\n"
686
+ " margin: 0;\n"
687
+ " margin-bottom: 5px;\n"
688
+ " padding: 0;\n"
689
+ " float: left;\n"
690
+ " list-style: none;\n"
691
+ " }\n"
692
+ " .maplegend .legend-scale ul li {\n"
693
+ " font-size: 80%;\n"
694
+ " list-style: none;\n"
695
+ " margin-left: 0;\n"
696
+ " line-height: 18px;\n"
697
+ " margin-bottom: 2px;\n"
698
+ " color: #111;\n"
699
+ " }\n"
700
+ " .maplegend ul.legend-labels li span {\n"
701
+ " display: block;\n"
702
+ " float: left;\n"
703
+ " height: 16px;\n"
704
+ " width: 30px;\n"
705
+ " margin-right: 5px;\n"
706
+ " margin-left: 0;\n"
707
+ " border: 1px solid #999;\n"
708
+ " }\n"
709
+ " .maplegend .legend-source {\n"
710
+ " font-size: 80%;\n"
711
+ " color: #777;\n"
712
+ " clear: both;\n"
713
+ " }\n"
714
+ " .maplegend a {\n"
715
+ " color: #777;\n"
716
+ " }\n"
717
  "\n"
718
+ " .leaflet-control-geocoder-form input {\n"
719
+ " color: black;\n"
720
+ " }\n"
721
+ " \n"
722
+ " </style>\n"
723
+ " {% endmacro %}"
724
  msgstr ""
725
 
726
+ #: Nt3awnou-map/src/map_utils.py:125
727
  msgid "get_legend_macro"
728
  msgstr ""
729
 
730
  #: Nt3awnou-map/src/markers.py:7 Nt3awnou-map/src/markers.py:15
731
+ #: Nt3awnou-map/src/filters.py:6 Nt3awnou-map/src/filters.py:14
732
  msgid "إغاثة"
733
  msgstr ""
734
 
 
738
  msgstr ""
739
 
740
  #: Nt3awnou-map/src/markers.py:8 Nt3awnou-map/src/markers.py:16
741
+ #: Nt3awnou-map/src/filters.py:7 Nt3awnou-map/src/filters.py:15
742
  msgid "مساعدة طبية"
743
  msgstr ""
744
 
745
  #: Nt3awnou-map/src/markers.py:9 Nt3awnou-map/src/markers.py:17
746
+ #: Nt3awnou-map/src/filters.py:8 Nt3awnou-map/src/filters.py:16
747
  msgid "مأوى"
748
  msgstr ""
749
 
 
753
  msgstr ""
754
 
755
  #: Nt3awnou-map/src/markers.py:10 Nt3awnou-map/src/markers.py:18
756
+ #: Nt3awnou-map/src/filters.py:9 Nt3awnou-map/src/filters.py:17
757
  msgid "طعام وماء"
758
  msgstr ""
759
 
 
762
  msgstr ""
763
 
764
  #: Nt3awnou-map/src/markers.py:11 Nt3awnou-map/src/markers.py:19
765
+ #: Nt3awnou-map/src/filters.py:10 Nt3awnou-map/src/filters.py:18
766
  msgid "مخاطر (تسرب الغاز، تلف في الخدمات العامة...)"
767
  msgstr ""
768
 
 
799
  msgid "Intervention prévue dans le futur / Planned future intervention"
800
  msgstr ""
801
 
802
+ #: Nt3awnou-map/src/markers.py:43 Nt3awnou-map/src/filters.py:52
803
  msgid "Partiellement satisfait / Partially Served"
804
  msgstr ""
805
 
 
807
  msgid "pink"
808
  msgstr ""
809
 
810
+ #: Nt3awnou-map/src/markers.py:51 Nt3awnou-map/src/filters.py:51
811
  msgid "Critique, Besoin d'aide en urgence / Critical, in urgent need of help"
812
  msgstr ""
813
 
 
1138
  " "
1139
  msgstr ""
1140
 
1141
+ #: Nt3awnou-map/src/filters.py:6
1142
  msgid "Rescue"
1143
  msgstr ""
1144
 
1145
+ #: Nt3awnou-map/src/filters.py:7
1146
  msgid "Medical Assistance"
1147
  msgstr ""
1148
 
1149
+ #: Nt3awnou-map/src/filters.py:8
1150
  msgid "Shelter"
1151
  msgstr ""
1152
 
1153
+ #: Nt3awnou-map/src/filters.py:9
1154
  msgid "Food & Water"
1155
  msgstr ""
1156
 
1157
+ #: Nt3awnou-map/src/filters.py:10
1158
  msgid "Danger"
1159
  msgstr ""
1160
 
1161
+ #: Nt3awnou-map/src/filters.py:25
1162
  msgid "Display unverified requests"
1163
  msgstr ""
1164
 
1165
+ #: Nt3awnou-map/src/filters.py:30
1166
  msgid "Display Interventions"
1167
  msgstr ""
1168
 
1169
+ #: Nt3awnou-map/src/filters.py:34
1170
  msgid "👉 **Choose request type**"
1171
  msgstr ""
1172
 
1173
+ #: Nt3awnou-map/src/filters.py:36
1174
+ msgid "Choose request type"
1175
+ msgstr ""
1176
+
1177
+ #: Nt3awnou-map/src/filters.py:47
1178
  msgid "👉 **State of villages visited by NGOs**"
1179
  msgstr ""
1180
 
1181
+ #: Nt3awnou-map/src/filters.py:51
 
1182
  msgid "🚨 Critical"
1183
  msgstr ""
1184
 
1185
+ #: Nt3awnou-map/src/filters.py:52
 
1186
  msgid "⚠️ Partially served"
1187
  msgstr ""
1188
 
1189
+ #: Nt3awnou-map/src/filters.py:53
1190
+ msgid "Entièrement satisfait / Fully served"
1191
+ msgstr ""
1192
+
1193
+ #: Nt3awnou-map/src/filters.py:53
1194
  msgid "✅ Fully served"
1195
  msgstr ""
1196
 
1197
+ #: Nt3awnou-map/src/filters.py:58
1198
+ msgid "Choose status"
1199
  msgstr ""
1200
 
1201
  #: Nt3awnou-map/src/dataframes.py:7
src/map_utils.py CHANGED
@@ -1,122 +1,123 @@
1
  from branca.element import Template, MacroElement
2
 
3
- labels_unverified_requests="""
4
- <li><span style='background:#CE3C28;opacity:0.7;'></span>Rescue / إغاثة</li>
5
- <li><span style='background:#ED922E;opacity:0.7;'></span>Medical Assistance / مساعدة طبية</li>
6
- <li><span style='background:#FFCA92;opacity:0.7;'></span>Shelter / مأوى</li>
7
- <li><span style='background:#37A8DA;opacity:0.7;'></span>Food & Water / طعام وماء</li>
8
- <li><span style='background:#575757;opacity:0.7;'></span>Dangers / مخاطر</li>
9
- <li><span style='background:#6EAA25;opacity:0.7;'></span>Done / تم</li>
10
- <li><span style='background:#023020;opacity:0.7;'></span>Partial / تم جزئيا</li>
11
- <li><span style='background:#FF91E8;opacity:0.7;'></span>Planned / مخطط لها</li>
12
- """
13
- labels_verified="""
14
- <li><span style='background:#CE3C28;opacity:0.7;'></span>High Emergency / طوارئ عالية</li>
15
- <li><span style='background:#ED922E;opacity:0.7;'></span>Medium Emergency / طوارئ متوسطة</li>
16
- <li><span style='background:#FFCA92;opacity:0.7;'></span>Low Emergency / طوارئ منخفضة</li>
17
- <li><span style='background:#6EAA25;opacity:0.7;'></span>Done / تم</li>
18
- <li><span style='background:#023020;opacity:0.7;'></span>Partial / تم جزئيا</li>
19
- <li><span style='background:#FF91E8;opacity:0.7;'></span>Planned / مخطط لها</li>
20
- """
21
 
22
- template_1 = """
23
- {% macro html(this, kwargs) %}
24
-
25
- <!doctype html>
26
- <html lang="en">
27
- <head>
28
- <meta charset="utf-8">
29
- <meta name="viewport" content="width=device-width, initial-scale=1">
30
- <title>jQuery UI Draggable - Default functionality</title>
31
- <link rel="stylesheet" href="//code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css">
 
 
 
 
 
 
 
 
 
32
 
33
- <script src="https://code.jquery.com/jquery-1.12.4.js"></script>
34
- <script src="https://code.jquery.com/ui/1.12.1/jquery-ui.js"></script>
35
-
36
- <script>
37
- $( function() {
38
- $( "#maplegend" ).draggable({
39
- start: function (event, ui) {
40
- $(this).css({
41
- right: "auto",
42
- top: "auto",
43
- bottom: "auto"
44
- });
45
- }
46
- });
47
- });
48
 
49
- </script>
50
- </head>
51
- <body>
 
 
 
 
52
 
53
-
54
- <div id='maplegend' class='maplegend'
55
- style='position: absolute; z-index:9999; border:2px solid grey; background-color:rgba(255, 255, 255, 0.8);
56
- border-radius:6px; padding: 10px; font-size:14px; right: 20px; bottom: 20px;'>
57
-
58
- <div class='legend-title'>Legend / مفتاح الخريطة</div>
59
- <div class='legend-scale'>
60
- <ul class='legend-labels'>
 
 
 
 
 
 
 
61
 
62
- """
63
- template_2 = """
64
- </ul>
65
- </div>
66
- </div>
67
-
68
- </body>
69
- </html>
70
 
71
- <style type='text/css'>
72
- .maplegend .legend-title {
73
- text-align: left;
74
- margin-bottom: 5px;
75
- font-weight: bold;
76
- font-size: 90%;
77
- color: #333;
78
- }
79
- .maplegend .legend-scale ul {
80
- margin: 0;
81
- margin-bottom: 5px;
82
- padding: 0;
83
- float: left;
84
- list-style: none;
85
- }
86
- .maplegend .legend-scale ul li {
87
- font-size: 80%;
88
- list-style: none;
89
- margin-left: 0;
90
- line-height: 18px;
91
- margin-bottom: 2px;
92
- color: #111;
93
- }
94
- .maplegend ul.legend-labels li span {
95
- display: block;
96
- float: left;
97
- height: 16px;
98
- width: 30px;
99
- margin-right: 5px;
100
- margin-left: 0;
101
- border: 1px solid #999;
102
- }
103
- .maplegend .legend-source {
104
- font-size: 80%;
105
- color: #777;
106
- clear: both;
107
- }
108
- .maplegend a {
109
- color: #777;
110
- }
111
 
112
- .leaflet-control-geocoder-form input {
113
- color: black;
114
- }
 
 
115
 
116
- </style>
117
- {% endmacro %}"""
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
118
 
119
- def get_legend_macro(show_unverified):
120
  legend_macro = MacroElement()
121
  legend_macro._template = Template(template_1 + (labels_unverified_requests if show_unverified else labels_verified) + template_2)
122
  return legend_macro
 
1
  from branca.element import Template, MacroElement
2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
 
4
+ def get_legend_macro(show_unverified):
5
+ labels_unverified_requests=_("""
6
+ <li><span style='background:#CE3C28;opacity:0.7;'></span>Rescue</li>
7
+ <li><span style='background:#ED922E;opacity:0.7;'></span>Medical Assistance</li>
8
+ <li><span style='background:#FFCA92;opacity:0.7;'></span>Shelter</li>
9
+ <li><span style='background:#37A8DA;opacity:0.7;'></span>Food & Water</li>
10
+ <li><span style='background:#575757;opacity:0.7;'></span>Dangers</li>
11
+ <li><span style='background:#6EAA25;opacity:0.7;'></span>Done</li>
12
+ <li><span style='background:#023020;opacity:0.7;'></span>Partial</li>
13
+ <li><span style='background:#FF91E8;opacity:0.7;'></span>Planned</li>
14
+ """)
15
+ labels_verified=_("""
16
+ <li><span style='background:#CE3C28;opacity:0.7;'></span>High Emergency</li>
17
+ <li><span style='background:#ED922E;opacity:0.7;'></span>Medium Emergency</li>
18
+ <li><span style='background:#FFCA92;opacity:0.7;'></span>Low Emergency</li>
19
+ <li><span style='background:#6EAA25;opacity:0.7;'></span>Done</li>
20
+ <li><span style='background:#023020;opacity:0.7;'></span>Partial</li>
21
+ <li><span style='background:#FF91E8;opacity:0.7;'></span>Planned</li>
22
+ """)
23
 
24
+ template_1 = """
25
+ {% macro html(this, kwargs) %}
 
 
 
 
 
 
 
 
 
 
 
 
 
26
 
27
+ <!doctype html>
28
+ <html lang="en">
29
+ <head>
30
+ <meta charset="utf-8">
31
+ <meta name="viewport" content="width=device-width, initial-scale=1">
32
+ <title>jQuery UI Draggable - Default functionality</title>
33
+ <link rel="stylesheet" href="//code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css">
34
 
35
+ <script src="https://code.jquery.com/jquery-1.12.4.js"></script>
36
+ <script src="https://code.jquery.com/ui/1.12.1/jquery-ui.js"></script>
37
+
38
+ <script>
39
+ $( function() {
40
+ $( "#maplegend" ).draggable({
41
+ start: function (event, ui) {
42
+ $(this).css({
43
+ right: "auto",
44
+ top: "auto",
45
+ bottom: "auto"
46
+ });
47
+ }
48
+ });
49
+ });
50
 
51
+ </script>
52
+ </head>
53
+ <body>
 
 
 
 
 
54
 
55
+
56
+ <div id='maplegend' class='maplegend'
57
+ style='position: absolute; z-index:9999; border:2px solid grey; background-color:rgba(255, 255, 255, 0.8);
58
+ border-radius:6px; padding: 10px; font-size:14px; right: 20px; bottom: 20px;'>
59
+
60
+ <div class='legend-title'>Legend / مفتاح الخريطة</div>
61
+ <div class='legend-scale'>
62
+ <ul class='legend-labels'>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
63
 
64
+ """
65
+ template_2 = """
66
+ </ul>
67
+ </div>
68
+ </div>
69
 
70
+ </body>
71
+ </html>
72
+
73
+ <style type='text/css'>
74
+ .maplegend .legend-title {
75
+ text-align: left;
76
+ margin-bottom: 5px;
77
+ font-weight: bold;
78
+ font-size: 90%;
79
+ color: #333;
80
+ }
81
+ .maplegend .legend-scale ul {
82
+ margin: 0;
83
+ margin-bottom: 5px;
84
+ padding: 0;
85
+ float: left;
86
+ list-style: none;
87
+ }
88
+ .maplegend .legend-scale ul li {
89
+ font-size: 80%;
90
+ list-style: none;
91
+ margin-left: 0;
92
+ line-height: 18px;
93
+ margin-bottom: 2px;
94
+ color: #111;
95
+ }
96
+ .maplegend ul.legend-labels li span {
97
+ display: block;
98
+ float: left;
99
+ height: 16px;
100
+ width: 30px;
101
+ margin-right: 5px;
102
+ margin-left: 0;
103
+ border: 1px solid #999;
104
+ }
105
+ .maplegend .legend-source {
106
+ font-size: 80%;
107
+ color: #777;
108
+ clear: both;
109
+ }
110
+ .maplegend a {
111
+ color: #777;
112
+ }
113
+
114
+ .leaflet-control-geocoder-form input {
115
+ color: black;
116
+ }
117
+
118
+ </style>
119
+ {% endmacro %}"""
120
 
 
121
  legend_macro = MacroElement()
122
  legend_macro._template = Template(template_1 + (labels_unverified_requests if show_unverified else labels_verified) + template_2)
123
  return legend_macro
src/text_content.py CHANGED
@@ -1,25 +1,3 @@
1
- import gettext
2
- import streamlit as st
3
- def set_lang(lang: str):
4
- print(f"Setting language to {lang}")
5
- global _
6
- if lang != "en":
7
- try:
8
- localizator = gettext.translation("messages", localedir="locales", languages=[lang])
9
- localizator.install()
10
- # _ = localizator.gettext
11
- print(f"Language set to {lang}")
12
- except FileNotFoundError:
13
- print(f"Language {lang} not supported yet")
14
- else:
15
- _ = gettext.gettext
16
- print("Language set to English")
17
-
18
-
19
- def get_localizator() -> gettext.GNUTranslations:
20
- global _
21
- set_lang(st.session_state.get("lang", "ar"))
22
- return _
23
 
24
  INTRO_TEXT_EN = """
25
  <div style="text-align: left;">
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
 
2
  INTRO_TEXT_EN = """
3
  <div style="text-align: left;">