aa-intel-tool 2.6.0__py3-none-any.whl → 2.6.2__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.
Files changed (66) hide show
  1. aa_intel_tool/__init__.py +1 -1
  2. aa_intel_tool/app_settings.py +15 -0
  3. aa_intel_tool/constants.py +6 -5
  4. aa_intel_tool/helper/eve_character.py +24 -36
  5. aa_intel_tool/helper/static_files.py +5 -4
  6. aa_intel_tool/locale/cs_CZ/LC_MESSAGES/django.po +15 -83
  7. aa_intel_tool/locale/de/LC_MESSAGES/django.mo +0 -0
  8. aa_intel_tool/locale/de/LC_MESSAGES/django.po +71 -87
  9. aa_intel_tool/locale/django.pot +16 -84
  10. aa_intel_tool/locale/es/LC_MESSAGES/django.po +19 -83
  11. aa_intel_tool/locale/fr_FR/LC_MESSAGES/django.mo +0 -0
  12. aa_intel_tool/locale/fr_FR/LC_MESSAGES/django.po +72 -88
  13. aa_intel_tool/locale/it_IT/LC_MESSAGES/django.po +15 -83
  14. aa_intel_tool/locale/ja/LC_MESSAGES/django.po +15 -83
  15. aa_intel_tool/locale/ko_KR/LC_MESSAGES/django.po +67 -83
  16. aa_intel_tool/locale/nl_NL/LC_MESSAGES/django.po +15 -83
  17. aa_intel_tool/locale/pl_PL/LC_MESSAGES/django.po +15 -83
  18. aa_intel_tool/locale/ru/LC_MESSAGES/django.mo +0 -0
  19. aa_intel_tool/locale/ru/LC_MESSAGES/django.po +71 -87
  20. aa_intel_tool/locale/sk/LC_MESSAGES/django.po +15 -83
  21. aa_intel_tool/locale/uk/LC_MESSAGES/django.mo +0 -0
  22. aa_intel_tool/locale/uk/LC_MESSAGES/django.po +71 -94
  23. aa_intel_tool/locale/zh_Hans/LC_MESSAGES/django.mo +0 -0
  24. aa_intel_tool/locale/zh_Hans/LC_MESSAGES/django.po +20 -87
  25. aa_intel_tool/parser/general.py +11 -16
  26. aa_intel_tool/parser/helper/db.py +8 -11
  27. aa_intel_tool/parser/module/chatlist.py +97 -126
  28. aa_intel_tool/parser/module/dscan.py +115 -147
  29. aa_intel_tool/parser/module/fleetcomp.py +85 -102
  30. aa_intel_tool/static/aa_intel_tool/css/aa-intel-tool.css +6 -24
  31. aa_intel_tool/static/aa_intel_tool/css/aa-intel-tool.min.css +1 -1
  32. aa_intel_tool/static/aa_intel_tool/css/aa-intel-tool.min.css.map +1 -1
  33. aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-chatscan-highlight.js +104 -64
  34. aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-chatscan-highlight.min.js.map +1 -1
  35. aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-chatscan.js +5 -5
  36. aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-chatscan.min.js +1 -1
  37. aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-chatscan.min.js.map +1 -1
  38. aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-dscan-highlight.js +43 -43
  39. aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-dscan-highlight.min.js.map +1 -1
  40. aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-dscan.js +41 -17
  41. aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-dscan.min.js +1 -1
  42. aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-dscan.min.js.map +1 -1
  43. aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-fleetcomposition-highlight.js +51 -51
  44. aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-fleetcomposition-highlight.min.js.map +1 -1
  45. aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-fleetcomposition.js +13 -7
  46. aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-fleetcomposition.min.js +1 -1
  47. aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-fleetcomposition.min.js.map +1 -1
  48. aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-scan-result-common.js +53 -31
  49. aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-scan-result-common.min.js +1 -1
  50. aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-scan-result-common.min.js.map +1 -1
  51. aa_intel_tool/templates/aa_intel_tool/base.html +7 -42
  52. aa_intel_tool/templates/aa_intel_tool/partials/scan/evetime.html +1 -1
  53. aa_intel_tool/templatetags/aa_intel_tool.py +12 -7
  54. aa_intel_tool/tests/test-data/dscan.txt +250 -0
  55. aa_intel_tool/tests/test_admin.py +50 -38
  56. aa_intel_tool/tests/test_app_settings.py +23 -1
  57. aa_intel_tool/tests/test_helper_eve_character.py +405 -0
  58. aa_intel_tool/tests/test_models.py +188 -4
  59. aa_intel_tool/tests/test_parser_general.py +771 -0
  60. aa_intel_tool/tests/test_parser_module_chatlist.py +154 -0
  61. aa_intel_tool/tests/test_templatetags.py +24 -3
  62. {aa_intel_tool-2.6.0.dist-info → aa_intel_tool-2.6.2.dist-info}/METADATA +4 -4
  63. {aa_intel_tool-2.6.0.dist-info → aa_intel_tool-2.6.2.dist-info}/RECORD +65 -63
  64. aa_intel_tool/tests/test_parser.py +0 -135
  65. {aa_intel_tool-2.6.0.dist-info → aa_intel_tool-2.6.2.dist-info}/WHEEL +0 -0
  66. {aa_intel_tool-2.6.0.dist-info → aa_intel_tool-2.6.2.dist-info}/licenses/LICENSE +0 -0
@@ -7,7 +7,7 @@ msgid ""
7
7
  msgstr ""
8
8
  "Project-Id-Version: AA Intel Tool 2.5.1\n"
9
9
  "Report-Msgid-Bugs-To: https://github.com/ppfeufer/aa-intel-tool/issues\n"
10
- "POT-Creation-Date: 2025-01-31 11:24+0100\n"
10
+ "POT-Creation-Date: 2025-04-09 11:22+0200\n"
11
11
  "PO-Revision-Date: 2024-05-10 14:07+0000\n"
12
12
  "Last-Translator: Anonymous <noreply@weblate.org>\n"
13
13
  "Language-Team: Slovak <https://weblate.ppfeufer.de/projects/alliance-auth-apps/aa-intel-tool/sk/>\n"
@@ -19,8 +19,8 @@ msgstr ""
19
19
  "X-Generator: Weblate 5.5.3\n"
20
20
 
21
21
  #: aa_intel_tool/__init__.py:9
22
- #: aa_intel_tool/templates/aa_intel_tool/base.html:6
23
- #: aa_intel_tool/templates/aa_intel_tool/base.html:10
22
+ #: aa_intel_tool/templates/aa_intel_tool/base.html:7
23
+ #: aa_intel_tool/templates/aa_intel_tool/base.html:11
24
24
  #: aa_intel_tool/templates/aa_intel_tool/views/index.html:8
25
25
  #: aa_intel_tool/templates/aa_intel_tool/views/scan/chatlist.html:5
26
26
  #: aa_intel_tool/templates/aa_intel_tool/views/scan/dscan.html:5
@@ -160,23 +160,23 @@ msgstr ""
160
160
  msgid "No suitable parser found. Input is not a supported intel type or malformed …"
161
161
  msgstr ""
162
162
 
163
- #: aa_intel_tool/parser/general.py:80
163
+ #: aa_intel_tool/parser/general.py:63
164
164
  msgid "No data to parse …"
165
165
  msgstr ""
166
166
 
167
- #: aa_intel_tool/parser/module/chatlist.py:65
167
+ #: aa_intel_tool/parser/module/chatlist.py:60
168
168
  msgid "Something went wrong while fetching the character information from ESI."
169
169
  msgstr ""
170
170
 
171
- #: aa_intel_tool/parser/module/chatlist.py:76
171
+ #: aa_intel_tool/parser/module/chatlist.py:67
172
172
  msgid "Character unknown to ESI."
173
173
  msgstr ""
174
174
 
175
- #: aa_intel_tool/parser/module/chatlist.py:278
175
+ #: aa_intel_tool/parser/module/chatlist.py:256
176
176
  msgid "The chat list module is currently disabled."
177
177
  msgstr ""
178
178
 
179
- #: aa_intel_tool/parser/module/chatlist.py:299
179
+ #: aa_intel_tool/parser/module/chatlist.py:275
180
180
  #, python-brace-format
181
181
  msgid "Chat scans are currently limited to a maximum of {max_allowed_pilots} pilot per scan. Your list of pilots exceeds this limit."
182
182
  msgid_plural "Chat scans are currently limited to a maximum of {max_allowed_pilots} pilots per scan. Your list of pilots exceeds this limit."
@@ -185,99 +185,31 @@ msgstr[1] ""
185
185
  msgstr[2] ""
186
186
  msgstr[3] ""
187
187
 
188
- #: aa_intel_tool/parser/module/dscan.py:350
188
+ #: aa_intel_tool/parser/module/dscan.py:362
189
189
  msgid "The D-Scan module is currently disabled."
190
190
  msgstr ""
191
191
 
192
- #: aa_intel_tool/parser/module/fleetcomp.py:187
192
+ #: aa_intel_tool/parser/module/fleetcomp.py:181
193
193
  msgid "The fleet composition module is currently disabled."
194
194
  msgstr ""
195
195
 
196
- #: aa_intel_tool/templates/aa_intel_tool/base.html:20
196
+ #: aa_intel_tool/templates/aa_intel_tool/base.html:23
197
197
  msgid "Permalink successfully copied"
198
198
  msgstr ""
199
199
 
200
- #: aa_intel_tool/templates/aa_intel_tool/base.html:21
200
+ #: aa_intel_tool/templates/aa_intel_tool/base.html:24
201
201
  msgid "Something went wrong. Nothing copied. Maybe your browser does not support this function."
202
202
  msgstr ""
203
203
 
204
- #: aa_intel_tool/templates/aa_intel_tool/base.html:22
204
+ #: aa_intel_tool/templates/aa_intel_tool/base.html:25
205
205
  #: aa_intel_tool/templates/aa_intel_tool/partials/scan/chatlist/alliances.html:4
206
206
  #: aa_intel_tool/templates/aa_intel_tool/partials/scan/chatlist/corporations.html:4
207
207
  #: aa_intel_tool/templates/aa_intel_tool/partials/scan/chatlist/pilots.html:3
208
208
  msgid "Unaffiliated / No Alliance"
209
209
  msgstr ""
210
210
 
211
- #: aa_intel_tool/templates/aa_intel_tool/base.html:23
212
- msgid "NPC Corp"
213
- msgstr ""
214
-
215
- #: aa_intel_tool/templates/aa_intel_tool/base.html:24
216
- msgctxt "Decimal separator"
217
- msgid "."
218
- msgstr ""
219
-
220
- #: aa_intel_tool/templates/aa_intel_tool/base.html:25
221
- msgctxt "Thousands separator"
222
- msgid ","
223
- msgstr ""
224
-
225
211
  #: aa_intel_tool/templates/aa_intel_tool/base.html:26
226
- msgid "No data available in this table"
227
- msgstr ""
228
-
229
- #: aa_intel_tool/templates/aa_intel_tool/base.html:27
230
- msgctxt "Keep _END_ as it is. It will be replaced by a number."
231
- msgid "Showing _END_ entries"
232
- msgstr ""
233
-
234
- #: aa_intel_tool/templates/aa_intel_tool/base.html:28
235
- msgctxt "Keep _MAX_ as it is. It will be replaced by a number."
236
- msgid "(filtered from _MAX_ total entries)"
237
- msgstr ""
238
-
239
- #: aa_intel_tool/templates/aa_intel_tool/base.html:29
240
- msgid "No records available"
241
- msgstr ""
242
-
243
- #: aa_intel_tool/templates/aa_intel_tool/base.html:30
244
- msgid "Loading …"
245
- msgstr ""
246
-
247
- #: aa_intel_tool/templates/aa_intel_tool/base.html:31
248
- msgid "Processing …"
249
- msgstr ""
250
-
251
- #: aa_intel_tool/templates/aa_intel_tool/base.html:32
252
- msgid "Nothing found, sorry …"
253
- msgstr ""
254
-
255
- #: aa_intel_tool/templates/aa_intel_tool/base.html:33
256
- msgid "Search …"
257
- msgstr ""
258
-
259
- #: aa_intel_tool/templates/aa_intel_tool/base.html:34
260
- msgid "First"
261
- msgstr ""
262
-
263
- #: aa_intel_tool/templates/aa_intel_tool/base.html:35
264
- msgid "Last"
265
- msgstr ""
266
-
267
- #: aa_intel_tool/templates/aa_intel_tool/base.html:36
268
- msgid "Next"
269
- msgstr ""
270
-
271
- #: aa_intel_tool/templates/aa_intel_tool/base.html:37
272
- msgid "Previous"
273
- msgstr ""
274
-
275
- #: aa_intel_tool/templates/aa_intel_tool/base.html:38
276
- msgid ": activate to sort column ascending"
277
- msgstr ""
278
-
279
- #: aa_intel_tool/templates/aa_intel_tool/base.html:39
280
- msgid ": activate to sort column descending"
212
+ msgid "NPC Corp"
281
213
  msgstr ""
282
214
 
283
215
  #: aa_intel_tool/templates/aa_intel_tool/partials/body/scan-retention-note.html:5
@@ -458,7 +390,7 @@ msgid "No data."
458
390
  msgstr ""
459
391
 
460
392
  #: aa_intel_tool/templates/aa_intel_tool/partials/scan/evetime.html:5
461
- msgid "Scan taken at (Eve time)"
393
+ msgid "Scan taken at (EVE time)"
462
394
  msgstr ""
463
395
 
464
396
  #: aa_intel_tool/templates/aa_intel_tool/partials/scan/fleetcomp/fleet-details.html:8
@@ -2,24 +2,25 @@
2
2
  # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
3
3
  # This file is distributed under the same license as the PACKAGE package.
4
4
  # Peter Pfeufer <info@ppfeufer.de>, 2023, 2024.
5
+ # M <skrypets@gmail.com>, 2025.
5
6
  msgid ""
6
7
  msgstr ""
7
8
  "Project-Id-Version: AA Intel Tool 2.5.1\n"
8
9
  "Report-Msgid-Bugs-To: https://github.com/ppfeufer/aa-intel-tool/issues\n"
9
- "POT-Creation-Date: 2025-01-31 11:24+0100\n"
10
- "PO-Revision-Date: 2024-10-04 18:10+0000\n"
11
- "Last-Translator: Peter Pfeufer <info@ppfeufer.de>\n"
10
+ "POT-Creation-Date: 2025-04-09 11:22+0200\n"
11
+ "PO-Revision-Date: 2025-03-23 09:24+0000\n"
12
+ "Last-Translator: M <skrypets@gmail.com>\n"
12
13
  "Language-Team: Ukrainian <https://weblate.ppfeufer.de/projects/alliance-auth-apps/aa-intel-tool/uk/>\n"
13
14
  "Language: uk\n"
14
15
  "MIME-Version: 1.0\n"
15
16
  "Content-Type: text/plain; charset=UTF-8\n"
16
17
  "Content-Transfer-Encoding: 8bit\n"
17
18
  "Plural-Forms: nplurals=4; plural=n==1 ? 3 : (n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
18
- "X-Generator: Weblate 5.7.2\n"
19
+ "X-Generator: Weblate 5.10.4\n"
19
20
 
20
21
  #: aa_intel_tool/__init__.py:9
21
- #: aa_intel_tool/templates/aa_intel_tool/base.html:6
22
- #: aa_intel_tool/templates/aa_intel_tool/base.html:10
22
+ #: aa_intel_tool/templates/aa_intel_tool/base.html:7
23
+ #: aa_intel_tool/templates/aa_intel_tool/base.html:11
23
24
  #: aa_intel_tool/templates/aa_intel_tool/views/index.html:8
24
25
  #: aa_intel_tool/templates/aa_intel_tool/views/scan/chatlist.html:5
25
26
  #: aa_intel_tool/templates/aa_intel_tool/views/scan/dscan.html:5
@@ -37,7 +38,7 @@ msgstr ""
37
38
 
38
39
  #: aa_intel_tool/admin.py:100
39
40
  msgid "Raw data"
40
- msgstr ""
41
+ msgstr "Необроблені дані"
41
42
 
42
43
  #. Translators: This is the app name and version, which will appear in the Django Backend
43
44
  #: aa_intel_tool/apps.py:21
@@ -58,7 +59,7 @@ msgstr ""
58
59
  #: aa_intel_tool/models.py:123
59
60
  #: aa_intel_tool/templates/aa_intel_tool/partials/index/form.html:33
60
61
  msgid "Fleet composition"
61
- msgstr ""
62
+ msgstr "Композиція флоту"
62
63
 
63
64
  #: aa_intel_tool/exceptions.py:34
64
65
  #, python-brace-format
@@ -159,23 +160,23 @@ msgstr ""
159
160
  msgid "No suitable parser found. Input is not a supported intel type or malformed …"
160
161
  msgstr ""
161
162
 
162
- #: aa_intel_tool/parser/general.py:80
163
+ #: aa_intel_tool/parser/general.py:63
163
164
  msgid "No data to parse …"
164
165
  msgstr ""
165
166
 
166
- #: aa_intel_tool/parser/module/chatlist.py:65
167
+ #: aa_intel_tool/parser/module/chatlist.py:60
167
168
  msgid "Something went wrong while fetching the character information from ESI."
168
169
  msgstr ""
169
170
 
170
- #: aa_intel_tool/parser/module/chatlist.py:76
171
+ #: aa_intel_tool/parser/module/chatlist.py:67
171
172
  msgid "Character unknown to ESI."
172
173
  msgstr ""
173
174
 
174
- #: aa_intel_tool/parser/module/chatlist.py:278
175
+ #: aa_intel_tool/parser/module/chatlist.py:256
175
176
  msgid "The chat list module is currently disabled."
176
177
  msgstr ""
177
178
 
178
- #: aa_intel_tool/parser/module/chatlist.py:299
179
+ #: aa_intel_tool/parser/module/chatlist.py:275
179
180
  #, python-brace-format
180
181
  msgid "Chat scans are currently limited to a maximum of {max_allowed_pilots} pilot per scan. Your list of pilots exceeds this limit."
181
182
  msgid_plural "Chat scans are currently limited to a maximum of {max_allowed_pilots} pilots per scan. Your list of pilots exceeds this limit."
@@ -184,99 +185,31 @@ msgstr[1] ""
184
185
  msgstr[2] ""
185
186
  msgstr[3] ""
186
187
 
187
- #: aa_intel_tool/parser/module/dscan.py:350
188
+ #: aa_intel_tool/parser/module/dscan.py:362
188
189
  msgid "The D-Scan module is currently disabled."
189
190
  msgstr ""
190
191
 
191
- #: aa_intel_tool/parser/module/fleetcomp.py:187
192
+ #: aa_intel_tool/parser/module/fleetcomp.py:181
192
193
  msgid "The fleet composition module is currently disabled."
193
194
  msgstr ""
194
195
 
195
- #: aa_intel_tool/templates/aa_intel_tool/base.html:20
196
+ #: aa_intel_tool/templates/aa_intel_tool/base.html:23
196
197
  msgid "Permalink successfully copied"
197
198
  msgstr ""
198
199
 
199
- #: aa_intel_tool/templates/aa_intel_tool/base.html:21
200
+ #: aa_intel_tool/templates/aa_intel_tool/base.html:24
200
201
  msgid "Something went wrong. Nothing copied. Maybe your browser does not support this function."
201
202
  msgstr ""
202
203
 
203
- #: aa_intel_tool/templates/aa_intel_tool/base.html:22
204
+ #: aa_intel_tool/templates/aa_intel_tool/base.html:25
204
205
  #: aa_intel_tool/templates/aa_intel_tool/partials/scan/chatlist/alliances.html:4
205
206
  #: aa_intel_tool/templates/aa_intel_tool/partials/scan/chatlist/corporations.html:4
206
207
  #: aa_intel_tool/templates/aa_intel_tool/partials/scan/chatlist/pilots.html:3
207
208
  msgid "Unaffiliated / No Alliance"
208
209
  msgstr ""
209
210
 
210
- #: aa_intel_tool/templates/aa_intel_tool/base.html:23
211
- msgid "NPC Corp"
212
- msgstr ""
213
-
214
- #: aa_intel_tool/templates/aa_intel_tool/base.html:24
215
- msgctxt "Decimal separator"
216
- msgid "."
217
- msgstr ""
218
-
219
- #: aa_intel_tool/templates/aa_intel_tool/base.html:25
220
- msgctxt "Thousands separator"
221
- msgid ","
222
- msgstr ""
223
-
224
211
  #: aa_intel_tool/templates/aa_intel_tool/base.html:26
225
- msgid "No data available in this table"
226
- msgstr ""
227
-
228
- #: aa_intel_tool/templates/aa_intel_tool/base.html:27
229
- msgctxt "Keep _END_ as it is. It will be replaced by a number."
230
- msgid "Showing _END_ entries"
231
- msgstr ""
232
-
233
- #: aa_intel_tool/templates/aa_intel_tool/base.html:28
234
- msgctxt "Keep _MAX_ as it is. It will be replaced by a number."
235
- msgid "(filtered from _MAX_ total entries)"
236
- msgstr ""
237
-
238
- #: aa_intel_tool/templates/aa_intel_tool/base.html:29
239
- msgid "No records available"
240
- msgstr ""
241
-
242
- #: aa_intel_tool/templates/aa_intel_tool/base.html:30
243
- msgid "Loading …"
244
- msgstr ""
245
-
246
- #: aa_intel_tool/templates/aa_intel_tool/base.html:31
247
- msgid "Processing …"
248
- msgstr ""
249
-
250
- #: aa_intel_tool/templates/aa_intel_tool/base.html:32
251
- msgid "Nothing found, sorry …"
252
- msgstr ""
253
-
254
- #: aa_intel_tool/templates/aa_intel_tool/base.html:33
255
- msgid "Search …"
256
- msgstr ""
257
-
258
- #: aa_intel_tool/templates/aa_intel_tool/base.html:34
259
- msgid "First"
260
- msgstr ""
261
-
262
- #: aa_intel_tool/templates/aa_intel_tool/base.html:35
263
- msgid "Last"
264
- msgstr ""
265
-
266
- #: aa_intel_tool/templates/aa_intel_tool/base.html:36
267
- msgid "Next"
268
- msgstr ""
269
-
270
- #: aa_intel_tool/templates/aa_intel_tool/base.html:37
271
- msgid "Previous"
272
- msgstr ""
273
-
274
- #: aa_intel_tool/templates/aa_intel_tool/base.html:38
275
- msgid ": activate to sort column ascending"
276
- msgstr ""
277
-
278
- #: aa_intel_tool/templates/aa_intel_tool/base.html:39
279
- msgid ": activate to sort column descending"
212
+ msgid "NPC Corp"
280
213
  msgstr ""
281
214
 
282
215
  #: aa_intel_tool/templates/aa_intel_tool/partials/body/scan-retention-note.html:5
@@ -323,7 +256,7 @@ msgstr "Відправити"
323
256
 
324
257
  #: aa_intel_tool/templates/aa_intel_tool/partials/index/form.html:56
325
258
  msgid "Working on it, please be patient …"
326
- msgstr ""
259
+ msgstr "В процесі, будь ласка, зачекайте…"
327
260
 
328
261
  #: aa_intel_tool/templates/aa_intel_tool/partials/index/form.html:58
329
262
  msgid "Detecting the intel type"
@@ -360,7 +293,7 @@ msgstr ""
360
293
  #: aa_intel_tool/templates/aa_intel_tool/partials/scan/dscan/ships-breakdown/ship-classes.html:24
361
294
  #: aa_intel_tool/templates/aa_intel_tool/partials/scan/dscan/ships-breakdown/ship-types.html:21
362
295
  msgid "Count"
363
- msgstr ""
296
+ msgstr "Кількість"
364
297
 
365
298
  #: aa_intel_tool/templates/aa_intel_tool/partials/scan/chatlist/alliances.html:29
366
299
  #: aa_intel_tool/templates/aa_intel_tool/partials/scan/chatlist/corporations.html:29
@@ -388,7 +321,7 @@ msgstr ""
388
321
  #: aa_intel_tool/templates/aa_intel_tool/partials/scan/chatlist/corporations.html:20
389
322
  #: aa_intel_tool/templates/aa_intel_tool/partials/scan/chatlist/pilots.html:21
390
323
  msgid "Corporation"
391
- msgstr ""
324
+ msgstr "Корпорація"
392
325
 
393
326
  #: aa_intel_tool/templates/aa_intel_tool/partials/scan/chatlist/pilots.html:8
394
327
  msgid "Pilots breakdown"
@@ -442,7 +375,7 @@ msgstr ""
442
375
  #: aa_intel_tool/templates/aa_intel_tool/partials/scan/dscan/ships-breakdown/ship-classes.html:21
443
376
  #: aa_intel_tool/templates/aa_intel_tool/partials/scan/fleetcomp/fleet-details/pilots.html:19
444
377
  msgid "Ship class"
445
- msgstr ""
378
+ msgstr "Клас корабля"
446
379
 
447
380
  #: aa_intel_tool/templates/aa_intel_tool/partials/scan/dscan/ships-breakdown/ship-classes.html:30
448
381
  msgid "Total mass (in kg):"
@@ -450,19 +383,19 @@ msgstr ""
450
383
 
451
384
  #: aa_intel_tool/templates/aa_intel_tool/partials/scan/dscan/ships-breakdown/ship-types.html:18
452
385
  msgid "Ship type"
453
- msgstr ""
386
+ msgstr "Тип корабля"
454
387
 
455
388
  #: aa_intel_tool/templates/aa_intel_tool/partials/scan/dscan/ships-breakdown/ship-types.html:36
456
389
  msgid "No data."
457
390
  msgstr ""
458
391
 
459
392
  #: aa_intel_tool/templates/aa_intel_tool/partials/scan/evetime.html:5
460
- msgid "Scan taken at (Eve time)"
393
+ msgid "Scan taken at (EVE time)"
461
394
  msgstr ""
462
395
 
463
396
  #: aa_intel_tool/templates/aa_intel_tool/partials/scan/fleetcomp/fleet-details.html:8
464
397
  msgid "Fleet details"
465
- msgstr ""
398
+ msgstr "Деталі флоту"
466
399
 
467
400
  #: aa_intel_tool/templates/aa_intel_tool/partials/scan/fleetcomp/fleet-details.html:12
468
401
  msgid "Pilots in fleet"
@@ -495,3 +428,47 @@ msgstr ""
495
428
  #: aa_intel_tool/views/general.py:101 aa_intel_tool/views/general.py:131
496
429
  msgid "The scan you were looking for could not be found."
497
430
  msgstr ""
431
+
432
+ #~ msgid "No data available in this table"
433
+ #~ msgstr "Немає даних у цій таблиці"
434
+
435
+ #~ msgctxt "Keep _END_ as it is. It will be replaced by a number."
436
+ #~ msgid "Showing _END_ entries"
437
+ #~ msgstr "Показано _END_ записів"
438
+
439
+ #~ msgctxt "Keep _MAX_ as it is. It will be replaced by a number."
440
+ #~ msgid "(filtered from _MAX_ total entries)"
441
+ #~ msgstr "(відфільтровано з _MAX_ загальних записів)"
442
+
443
+ #~ msgid "No records available"
444
+ #~ msgstr "Записів не знайдено"
445
+
446
+ #~ msgid "Loading …"
447
+ #~ msgstr "Завантаження …"
448
+
449
+ #~ msgid "Processing …"
450
+ #~ msgstr "Обробка …"
451
+
452
+ #~ msgid "Nothing found, sorry …"
453
+ #~ msgstr "Нічого не знайдено, вибачте …"
454
+
455
+ #~ msgid "Search …"
456
+ #~ msgstr "Пошук …"
457
+
458
+ #~ msgid "First"
459
+ #~ msgstr "Перший"
460
+
461
+ #~ msgid "Last"
462
+ #~ msgstr "Останній"
463
+
464
+ #~ msgid "Next"
465
+ #~ msgstr "Далі"
466
+
467
+ #~ msgid "Previous"
468
+ #~ msgstr "Назад"
469
+
470
+ #~ msgid ": activate to sort column ascending"
471
+ #~ msgstr ": активуйте щоб сортувати за зростанням"
472
+
473
+ #~ msgid ": activate to sort column descending"
474
+ #~ msgstr ": активуйте щоб сортувати за спаданням"
@@ -4,16 +4,17 @@
4
4
  # Dehao Wu <wudehao2000@163.com>, 2024.
5
5
  # Faer Yili <yilifaer@gmail.com>, 2024.
6
6
  # SAM_FPS <sam_fps@163.com>, 2024.
7
- # Peter Pfeufer <info@ppfeufer.de>, 2024.
7
+ # Peter Pfeufer <info@ppfeufer.de>, 2024, 2025.
8
8
  # 陈康立 <amadis0814@gmail.com>, 2024.
9
9
  # Chilmore <chenmo1203@gmail.com>, 2025.
10
+ # Kelly Hsueh <kelly_hsueh@users.noreply.weblate.ppfeufer.de>, 2025.
10
11
  msgid ""
11
12
  msgstr ""
12
13
  "Project-Id-Version: AA Intel Tool 2.5.1\n"
13
14
  "Report-Msgid-Bugs-To: https://github.com/ppfeufer/aa-intel-tool/issues\n"
14
- "POT-Creation-Date: 2025-01-31 11:24+0100\n"
15
- "PO-Revision-Date: 2025-01-20 06:17+0000\n"
16
- "Last-Translator: Chilmore <chenmo1203@gmail.com>\n"
15
+ "POT-Creation-Date: 2025-04-09 11:22+0200\n"
16
+ "PO-Revision-Date: 2025-02-18 09:17+0000\n"
17
+ "Last-Translator: Peter Pfeufer <info@ppfeufer.de>\n"
17
18
  "Language-Team: Chinese (Simplified Han script) <https://weblate.ppfeufer.de/projects/alliance-auth-apps/aa-intel-tool/zh_Hans/>\n"
18
19
  "Language: zh_Hans\n"
19
20
  "MIME-Version: 1.0\n"
@@ -23,8 +24,8 @@ msgstr ""
23
24
  "X-Generator: Weblate 5.9.2\n"
24
25
 
25
26
  #: aa_intel_tool/__init__.py:9
26
- #: aa_intel_tool/templates/aa_intel_tool/base.html:6
27
- #: aa_intel_tool/templates/aa_intel_tool/base.html:10
27
+ #: aa_intel_tool/templates/aa_intel_tool/base.html:7
28
+ #: aa_intel_tool/templates/aa_intel_tool/base.html:11
28
29
  #: aa_intel_tool/templates/aa_intel_tool/views/index.html:8
29
30
  #: aa_intel_tool/templates/aa_intel_tool/views/scan/chatlist.html:5
30
31
  #: aa_intel_tool/templates/aa_intel_tool/views/scan/dscan.html:5
@@ -164,121 +165,53 @@ msgstr ""
164
165
  msgid "No suitable parser found. Input is not a supported intel type or malformed …"
165
166
  msgstr ""
166
167
 
167
- #: aa_intel_tool/parser/general.py:80
168
+ #: aa_intel_tool/parser/general.py:63
168
169
  msgid "No data to parse …"
169
170
  msgstr ""
170
171
 
171
- #: aa_intel_tool/parser/module/chatlist.py:65
172
+ #: aa_intel_tool/parser/module/chatlist.py:60
172
173
  msgid "Something went wrong while fetching the character information from ESI."
173
174
  msgstr ""
174
175
 
175
- #: aa_intel_tool/parser/module/chatlist.py:76
176
+ #: aa_intel_tool/parser/module/chatlist.py:67
176
177
  msgid "Character unknown to ESI."
177
178
  msgstr ""
178
179
 
179
- #: aa_intel_tool/parser/module/chatlist.py:278
180
+ #: aa_intel_tool/parser/module/chatlist.py:256
180
181
  msgid "The chat list module is currently disabled."
181
182
  msgstr ""
182
183
 
183
- #: aa_intel_tool/parser/module/chatlist.py:299
184
+ #: aa_intel_tool/parser/module/chatlist.py:275
184
185
  #, python-brace-format
185
186
  msgid "Chat scans are currently limited to a maximum of {max_allowed_pilots} pilot per scan. Your list of pilots exceeds this limit."
186
187
  msgid_plural "Chat scans are currently limited to a maximum of {max_allowed_pilots} pilots per scan. Your list of pilots exceeds this limit."
187
188
  msgstr[0] ""
188
189
 
189
- #: aa_intel_tool/parser/module/dscan.py:350
190
+ #: aa_intel_tool/parser/module/dscan.py:362
190
191
  msgid "The D-Scan module is currently disabled."
191
192
  msgstr ""
192
193
 
193
- #: aa_intel_tool/parser/module/fleetcomp.py:187
194
+ #: aa_intel_tool/parser/module/fleetcomp.py:181
194
195
  msgid "The fleet composition module is currently disabled."
195
196
  msgstr ""
196
197
 
197
- #: aa_intel_tool/templates/aa_intel_tool/base.html:20
198
+ #: aa_intel_tool/templates/aa_intel_tool/base.html:23
198
199
  msgid "Permalink successfully copied"
199
200
  msgstr ""
200
201
 
201
- #: aa_intel_tool/templates/aa_intel_tool/base.html:21
202
+ #: aa_intel_tool/templates/aa_intel_tool/base.html:24
202
203
  msgid "Something went wrong. Nothing copied. Maybe your browser does not support this function."
203
204
  msgstr ""
204
205
 
205
- #: aa_intel_tool/templates/aa_intel_tool/base.html:22
206
+ #: aa_intel_tool/templates/aa_intel_tool/base.html:25
206
207
  #: aa_intel_tool/templates/aa_intel_tool/partials/scan/chatlist/alliances.html:4
207
208
  #: aa_intel_tool/templates/aa_intel_tool/partials/scan/chatlist/corporations.html:4
208
209
  #: aa_intel_tool/templates/aa_intel_tool/partials/scan/chatlist/pilots.html:3
209
210
  msgid "Unaffiliated / No Alliance"
210
211
  msgstr ""
211
212
 
212
- #: aa_intel_tool/templates/aa_intel_tool/base.html:23
213
- msgid "NPC Corp"
214
- msgstr ""
215
-
216
- #: aa_intel_tool/templates/aa_intel_tool/base.html:24
217
- msgctxt "Decimal separator"
218
- msgid "."
219
- msgstr ""
220
-
221
- #: aa_intel_tool/templates/aa_intel_tool/base.html:25
222
- msgctxt "Thousands separator"
223
- msgid ","
224
- msgstr ""
225
-
226
213
  #: aa_intel_tool/templates/aa_intel_tool/base.html:26
227
- msgid "No data available in this table"
228
- msgstr ""
229
-
230
- #: aa_intel_tool/templates/aa_intel_tool/base.html:27
231
- msgctxt "Keep _END_ as it is. It will be replaced by a number."
232
- msgid "Showing _END_ entries"
233
- msgstr ""
234
-
235
- #: aa_intel_tool/templates/aa_intel_tool/base.html:28
236
- msgctxt "Keep _MAX_ as it is. It will be replaced by a number."
237
- msgid "(filtered from _MAX_ total entries)"
238
- msgstr ""
239
-
240
- #: aa_intel_tool/templates/aa_intel_tool/base.html:29
241
- msgid "No records available"
242
- msgstr ""
243
-
244
- #: aa_intel_tool/templates/aa_intel_tool/base.html:30
245
- msgid "Loading …"
246
- msgstr ""
247
-
248
- #: aa_intel_tool/templates/aa_intel_tool/base.html:31
249
- msgid "Processing …"
250
- msgstr ""
251
-
252
- #: aa_intel_tool/templates/aa_intel_tool/base.html:32
253
- msgid "Nothing found, sorry …"
254
- msgstr ""
255
-
256
- #: aa_intel_tool/templates/aa_intel_tool/base.html:33
257
- msgid "Search …"
258
- msgstr ""
259
-
260
- #: aa_intel_tool/templates/aa_intel_tool/base.html:34
261
- msgid "First"
262
- msgstr ""
263
-
264
- #: aa_intel_tool/templates/aa_intel_tool/base.html:35
265
- msgid "Last"
266
- msgstr ""
267
-
268
- #: aa_intel_tool/templates/aa_intel_tool/base.html:36
269
- msgid "Next"
270
- msgstr ""
271
-
272
- #: aa_intel_tool/templates/aa_intel_tool/base.html:37
273
- msgid "Previous"
274
- msgstr ""
275
-
276
- #: aa_intel_tool/templates/aa_intel_tool/base.html:38
277
- msgid ": activate to sort column ascending"
278
- msgstr ""
279
-
280
- #: aa_intel_tool/templates/aa_intel_tool/base.html:39
281
- msgid ": activate to sort column descending"
214
+ msgid "NPC Corp"
282
215
  msgstr ""
283
216
 
284
217
  #: aa_intel_tool/templates/aa_intel_tool/partials/body/scan-retention-note.html:5
@@ -366,7 +299,7 @@ msgstr "计数"
366
299
  #: aa_intel_tool/templates/aa_intel_tool/partials/scan/dscan/ships-breakdown/ship-types.html:30
367
300
  #: aa_intel_tool/templates/aa_intel_tool/partials/scan/fleetcomp/fleet-details/pilots.html:29
368
301
  msgid "Loading data …"
369
- msgstr ""
302
+ msgstr "数据加载中…"
370
303
 
371
304
  #: aa_intel_tool/templates/aa_intel_tool/partials/scan/chatlist/alliances.html:35
372
305
  #: aa_intel_tool/templates/aa_intel_tool/partials/scan/chatlist/corporations.html:35
@@ -453,7 +386,7 @@ msgid "No data."
453
386
  msgstr ""
454
387
 
455
388
  #: aa_intel_tool/templates/aa_intel_tool/partials/scan/evetime.html:5
456
- msgid "Scan taken at (Eve time)"
389
+ msgid "Scan taken at (EVE time)"
457
390
  msgstr ""
458
391
 
459
392
  #: aa_intel_tool/templates/aa_intel_tool/partials/scan/fleetcomp/fleet-details.html:8
@@ -57,24 +57,19 @@ def parse_intel(form_data: str) -> str:
57
57
  :return:
58
58
  :rtype:
59
59
  """
60
-
61
60
  scan_data = form_data.splitlines()
62
61
 
63
- if len(scan_data) > 0:
64
- try:
65
- intel_type = check_intel_type(scan_data=scan_data)
66
- except ParserError as exc:
67
- raise ParserError(message=exc.message) from exc
68
-
69
- try:
70
- new_scan = SUPPORTED_INTEL_TYPES[intel_type]["parser"](scan_data=scan_data)
71
- except ParserError as exc:
72
- # Re-raise the Exception
73
- raise ParserError(message=exc.message) from exc
62
+ if not scan_data:
63
+ raise ParserError(message=_("No data to parse …"))
74
64
 
75
- new_scan.raw_data = form_data
76
- new_scan.save()
65
+ try:
66
+ intel_type = check_intel_type(scan_data=scan_data)
67
+ new_scan = SUPPORTED_INTEL_TYPES[intel_type]["parser"](scan_data=scan_data)
68
+ except ParserError as exc:
69
+ # Re-raise the Exception
70
+ raise ParserError(message=exc.message) from exc
77
71
 
78
- return new_scan.hash
72
+ new_scan.raw_data = form_data
73
+ new_scan.save()
79
74
 
80
- raise ParserError(message=_("No data to parse …"))
75
+ return new_scan.hash