aa-bulletin-board 2.2.5__py3-none-any.whl → 2.3.1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (36) hide show
  1. aa_bulletin_board/__init__.py +4 -4
  2. aa_bulletin_board/apps.py +3 -2
  3. aa_bulletin_board/constants.py +17 -0
  4. aa_bulletin_board/helper/__init__.py +3 -0
  5. aa_bulletin_board/helper/static_files.py +42 -0
  6. aa_bulletin_board/locale/cs_CZ/LC_MESSAGES/django.po +25 -37
  7. aa_bulletin_board/locale/de/LC_MESSAGES/django.po +25 -38
  8. aa_bulletin_board/locale/django.pot +19 -19
  9. aa_bulletin_board/locale/es/LC_MESSAGES/django.po +25 -38
  10. aa_bulletin_board/locale/fr_FR/LC_MESSAGES/django.mo +0 -0
  11. aa_bulletin_board/locale/fr_FR/LC_MESSAGES/django.po +34 -46
  12. aa_bulletin_board/locale/it_IT/LC_MESSAGES/django.mo +0 -0
  13. aa_bulletin_board/locale/it_IT/LC_MESSAGES/django.po +25 -32
  14. aa_bulletin_board/locale/ja/LC_MESSAGES/django.po +23 -32
  15. aa_bulletin_board/locale/ko_KR/LC_MESSAGES/django.po +24 -35
  16. aa_bulletin_board/locale/nl_NL/LC_MESSAGES/django.po +22 -29
  17. aa_bulletin_board/locale/pl_PL/LC_MESSAGES/django.po +24 -34
  18. aa_bulletin_board/locale/ru/LC_MESSAGES/django.po +25 -37
  19. aa_bulletin_board/locale/sk/LC_MESSAGES/django.po +23 -31
  20. aa_bulletin_board/locale/uk/LC_MESSAGES/django.mo +0 -0
  21. aa_bulletin_board/locale/uk/LC_MESSAGES/django.po +33 -47
  22. aa_bulletin_board/locale/zh_Hans/LC_MESSAGES/django.po +23 -32
  23. aa_bulletin_board/models.py +2 -1
  24. aa_bulletin_board/templates/aa_bulletin_board/bundles/aa-bulletin-board-css.html +1 -1
  25. aa_bulletin_board/templates/aa_bulletin_board/bundles/aa-bulletin-board-equal-height-js.html +1 -1
  26. aa_bulletin_board/templates/aa_bulletin_board/bundles/aa-bulletin-board-oembed-js.html +1 -1
  27. aa_bulletin_board/templates/aa_bulletin_board/bundles/ckeditor5-css.html +2 -2
  28. aa_bulletin_board/templates/aa_bulletin_board/bundles/ckeditor5-js.html +2 -2
  29. aa_bulletin_board/templates/aa_bulletin_board/bundles/sumoselect-css.html +2 -2
  30. aa_bulletin_board/templates/aa_bulletin_board/bundles/sumoselect-js.html +2 -2
  31. aa_bulletin_board/templatetags/aa_bulletin_board.py +70 -9
  32. aa_bulletin_board/tests/test_templatetags.py +66 -7
  33. {aa_bulletin_board-2.2.5.dist-info → aa_bulletin_board-2.3.1.dist-info}/METADATA +21 -21
  34. {aa_bulletin_board-2.2.5.dist-info → aa_bulletin_board-2.3.1.dist-info}/RECORD +36 -33
  35. {aa_bulletin_board-2.2.5.dist-info → aa_bulletin_board-2.3.1.dist-info}/WHEEL +1 -1
  36. {aa_bulletin_board-2.2.5.dist-info → aa_bulletin_board-2.3.1.dist-info}/licenses/LICENSE +0 -0
@@ -2,8 +2,8 @@
2
2
  App init
3
3
  """
4
4
 
5
- # Django
6
- from django.utils.translation import gettext_lazy as _
5
+ # AA Bulletin Board
6
+ from aa_bulletin_board.constants import APP_TITLE
7
7
 
8
- __version__ = "2.2.5"
9
- __title__ = _("Bulletin Board")
8
+ __version__ = "2.3.1"
9
+ __title__ = APP_TITLE
aa_bulletin_board/apps.py CHANGED
@@ -8,6 +8,7 @@ from django.utils.translation import gettext_lazy as _
8
8
 
9
9
  # AA Bulletin Board
10
10
  from aa_bulletin_board import __version__
11
+ from aa_bulletin_board.constants import PACKAGE_NAME
11
12
 
12
13
 
13
14
  class AaBulletinBoardConfig(AppConfig):
@@ -15,7 +16,7 @@ class AaBulletinBoardConfig(AppConfig):
15
16
  Application config
16
17
  """
17
18
 
18
- name = "aa_bulletin_board"
19
- label = "aa_bulletin_board"
19
+ name = PACKAGE_NAME
20
+ label = PACKAGE_NAME
20
21
  # Translators: This is the app name and version, which will appear in the Django Backend
21
22
  verbose_name = _(f"Bulletin Board v{__version__}")
@@ -0,0 +1,17 @@
1
+ """
2
+ Constants used in this app
3
+ """
4
+
5
+ # Standard Library
6
+ import os
7
+
8
+ # Django
9
+ from django.utils.translation import gettext_lazy as _
10
+
11
+ APP_NAME = "aa-bulletin-board"
12
+ APP_NAME_VERBOSE = "AA Bulletin Board"
13
+ APP_TITLE = _("Bulletin Board")
14
+ PACKAGE_NAME = "aa_bulletin_board"
15
+ APP_BASE_DIR = os.path.join(os.path.dirname(__file__))
16
+ APP_STATIC_DIR = os.path.join(APP_BASE_DIR, "static", PACKAGE_NAME)
17
+ GITHUB_URL = f"https://github.com/ppfeufer/{APP_NAME}"
@@ -0,0 +1,3 @@
1
+ """
2
+ Initialization file for the helper module.
3
+ """
@@ -0,0 +1,42 @@
1
+ """
2
+ Helper functions for static integrity calculations
3
+ """
4
+
5
+ # Standard Library
6
+ import os
7
+ from pathlib import Path
8
+
9
+ # Third Party
10
+ from sri import Algorithm, calculate_integrity
11
+
12
+ # Alliance Auth
13
+ from allianceauth.services.hooks import get_extension_logger
14
+
15
+ # Alliance Auth (External Libs)
16
+ from app_utils.logging import LoggerAddTag
17
+
18
+ # AA Bulletin Board
19
+ from aa_bulletin_board import __title__
20
+ from aa_bulletin_board.constants import APP_STATIC_DIR
21
+
22
+ logger = LoggerAddTag(my_logger=get_extension_logger(__name__), prefix=__title__)
23
+
24
+
25
+ def calculate_integrity_hash(relative_file_path: str) -> str:
26
+ """
27
+ Calculates the integrity hash for a given static file
28
+
29
+ :param self:
30
+ :type self:
31
+ :param relative_file_path: The file path relative to the `{APP_NAME}/{PACKAGE_NAME}/static/{PACKAGE_NAME}` folder
32
+ :type relative_file_path: str
33
+ :return: The integrity hash
34
+ :rtype: str
35
+ """
36
+
37
+ file_path = os.path.join(APP_STATIC_DIR, relative_file_path)
38
+ integrity_hash = calculate_integrity(
39
+ path=Path(file_path), algorithm=Algorithm.SHA512
40
+ )
41
+
42
+ return integrity_hash
@@ -6,20 +6,24 @@ msgid ""
6
6
  msgstr ""
7
7
  "Project-Id-Version: PACKAGE VERSION\n"
8
8
  "Report-Msgid-Bugs-To: https://github.com/ppfeufer/aa-bulletin-board/issues\n"
9
- "POT-Creation-Date: 2024-12-14 13:27+0100\n"
9
+ "POT-Creation-Date: 2025-03-06 13:29+0100\n"
10
10
  "PO-Revision-Date: 2024-07-10 14:26+0000\n"
11
11
  "Last-Translator: Dadas Aideron <dadas.aideron@gmail.com>\n"
12
- "Language-Team: Czech <https://weblate.ppfeufer.de/projects/alliance-auth-"
13
- "apps/aa-bulletin-board/cs/>\n"
12
+ "Language-Team: Czech <https://weblate.ppfeufer.de/projects/alliance-auth-apps/aa-bulletin-board/cs/>\n"
14
13
  "Language: cs_CZ\n"
15
14
  "MIME-Version: 1.0\n"
16
15
  "Content-Type: text/plain; charset=UTF-8\n"
17
16
  "Content-Transfer-Encoding: 8bit\n"
18
- "Plural-Forms: nplurals=4; plural=(n == 1 && n % 1 == 0) ? 0 : (n >= 2 && n "
19
- "<= 4 && n % 1 == 0) ? 1: (n % 1 != 0 ) ? 2 : 3;\n"
17
+ "Plural-Forms: nplurals=4; plural=(n == 1 && n % 1 == 0) ? 0 : (n >= 2 && n <= 4 && n % 1 == 0) ? 1: (n % 1 != 0 ) ? 2 : 3;\n"
20
18
  "X-Generator: Weblate 5.6.2\n"
21
19
 
22
- #: aa_bulletin_board/__init__.py:9 aa_bulletin_board/models.py:67
20
+ #. Translators: This is the app name and version, which will appear in the Django Backend
21
+ #: aa_bulletin_board/apps.py:22
22
+ #, python-brace-format
23
+ msgid "Bulletin Board v{__version__}"
24
+ msgstr "Nástěnka v{__version__}"
25
+
26
+ #: aa_bulletin_board/constants.py:13
23
27
  #: aa_bulletin_board/templates/aa_bulletin_board/base.html:6
24
28
  #: aa_bulletin_board/templates/aa_bulletin_board/base.html:10
25
29
  #: aa_bulletin_board/templates/aa_bulletin_board/bulletin.html:5
@@ -27,63 +31,53 @@ msgstr ""
27
31
  msgid "Bulletin Board"
28
32
  msgstr "Nástěnka"
29
33
 
30
- #. Translators: This is the app name and version, which will appear in the Django Backend
31
- #: aa_bulletin_board/apps.py:21
32
- #, python-brace-format
33
- msgid "Bulletin Board v{__version__}"
34
- msgstr "Nástěnka v{__version__}"
35
-
36
34
  #: aa_bulletin_board/forms.py:63
37
- msgid ""
38
- "Restrict this bulletin to certain groups. If no group restrictions are in "
39
- "place, everyone who has access to this module can read this bulletin."
40
- msgstr ""
41
- "Omez nástěnku pro určité skupiny. Pokud nejsou nastavena žádná omezení, "
42
- "všichni s přístupem k tomuto modulu můžou číst tuto nástěnku."
35
+ msgid "Restrict this bulletin to certain groups. If no group restrictions are in place, everyone who has access to this module can read this bulletin."
36
+ msgstr "Omez nástěnku pro určité skupiny. Pokud nejsou nastavena žádná omezení, všichni s přístupem k tomuto modulu můžou číst tuto nástěnku."
43
37
 
44
38
  #: aa_bulletin_board/forms.py:110
45
39
  msgid "You have forgotten the content!"
46
40
  msgstr "Zapomněl jsi obsah!"
47
41
 
48
- #: aa_bulletin_board/models.py:71
42
+ #: aa_bulletin_board/models.py:72
49
43
  msgid "Can access this app"
50
44
  msgstr "Má přístup k této aplikaci"
51
45
 
52
- #: aa_bulletin_board/models.py:72
46
+ #: aa_bulletin_board/models.py:73
53
47
  msgid "Can manage (add/change/remove) bulletins"
54
48
  msgstr "Může spravovat (přidat, měnit, odstranit) nástěnky"
55
49
 
56
- #: aa_bulletin_board/models.py:81
50
+ #: aa_bulletin_board/models.py:82
57
51
  msgid "Title"
58
52
  msgstr "Nadpis"
59
53
 
60
- #: aa_bulletin_board/models.py:84
54
+ #: aa_bulletin_board/models.py:85
61
55
  msgid "Content"
62
56
  msgstr "Obsah"
63
57
 
64
58
  #. Translators: This is the date and time the bulletin has been created
65
- #: aa_bulletin_board/models.py:90
59
+ #: aa_bulletin_board/models.py:91
66
60
  msgid "Created"
67
61
  msgstr "Vytvořeno"
68
62
 
69
63
  #. Translators: This is the date and time the bulletin has been updated
70
- #: aa_bulletin_board/models.py:96
64
+ #: aa_bulletin_board/models.py:97
71
65
  msgid "Updated"
72
66
  msgstr "Upraveno"
73
67
 
74
- #: aa_bulletin_board/models.py:105
68
+ #: aa_bulletin_board/models.py:106
75
69
  msgid "User"
76
70
  msgstr "Uživatel"
77
71
 
78
- #: aa_bulletin_board/models.py:111
72
+ #: aa_bulletin_board/models.py:112
79
73
  msgid "Group restrictions"
80
74
  msgstr "Omezení skupiny"
81
75
 
82
- #: aa_bulletin_board/models.py:122
76
+ #: aa_bulletin_board/models.py:123
83
77
  msgid "Bulletin"
84
78
  msgstr "Nástěnka"
85
79
 
86
- #: aa_bulletin_board/models.py:123
80
+ #: aa_bulletin_board/models.py:124
87
81
  msgid "Bulletins"
88
82
  msgstr "Nástěnky"
89
83
 
@@ -140,12 +134,8 @@ msgid "Add bulletin"
140
134
  msgstr "Přidat nástěnku"
141
135
 
142
136
  #: aa_bulletin_board/templates/aa_bulletin_board/partials/footer/app-translation-footer.html:5
143
- msgid ""
144
- "Do you want to help translate this app into your language or improve the "
145
- "existing translation?"
146
- msgstr ""
147
- "Chceš pomoc s překladem této aplikace do tvého jazyka, nebo vylepšit "
148
- "současný překlad?"
137
+ msgid "Do you want to help translate this app into your language or improve the existing translation?"
138
+ msgstr "Chceš pomoc s překladem této aplikace do tvého jazyka, nebo vylepšit současný překlad?"
149
139
 
150
140
  #: aa_bulletin_board/templates/aa_bulletin_board/partials/footer/app-translation-footer.html:8
151
141
  msgid "Join our team of translators!"
@@ -157,9 +147,7 @@ msgid "Bulletin \"{bulletin__title}\" created."
157
147
  msgstr "Nástěnka \"{bulletin__title}\" vytvořena."
158
148
 
159
149
  #: aa_bulletin_board/views.py:141
160
- msgid ""
161
- "The bulletin you are looking for does either not exist, or you don't have "
162
- "access to it."
150
+ msgid "The bulletin you are looking for does either not exist, or you don't have access to it."
163
151
  msgstr "Nástěnka kterou hledáte buďto neexistuje, nebo k ní nemáte přístup."
164
152
 
165
153
  #: aa_bulletin_board/views.py:168
@@ -6,11 +6,10 @@ msgid ""
6
6
  msgstr ""
7
7
  "Project-Id-Version: PACKAGE VERSION\n"
8
8
  "Report-Msgid-Bugs-To: https://github.com/ppfeufer/aa-bulletin-board/issues\n"
9
- "POT-Creation-Date: 2024-12-14 13:27+0100\n"
9
+ "POT-Creation-Date: 2025-03-06 13:29+0100\n"
10
10
  "PO-Revision-Date: 2024-05-10 13:57+0000\n"
11
11
  "Last-Translator: Peter Pfeufer <info@ppfeufer.de>\n"
12
- "Language-Team: German <https://weblate.ppfeufer.de/projects/alliance-auth-"
13
- "apps/aa-bulletin-board/de/>\n"
12
+ "Language-Team: German <https://weblate.ppfeufer.de/projects/alliance-auth-apps/aa-bulletin-board/de/>\n"
14
13
  "Language: de\n"
15
14
  "MIME-Version: 1.0\n"
16
15
  "Content-Type: text/plain; charset=UTF-8\n"
@@ -18,7 +17,13 @@ msgstr ""
18
17
  "Plural-Forms: nplurals=2; plural=n != 1;\n"
19
18
  "X-Generator: Weblate 5.5.3\n"
20
19
 
21
- #: aa_bulletin_board/__init__.py:9 aa_bulletin_board/models.py:67
20
+ #. Translators: This is the app name and version, which will appear in the Django Backend
21
+ #: aa_bulletin_board/apps.py:22
22
+ #, python-brace-format
23
+ msgid "Bulletin Board v{__version__}"
24
+ msgstr "Bulletin Board v{__version__}"
25
+
26
+ #: aa_bulletin_board/constants.py:13
22
27
  #: aa_bulletin_board/templates/aa_bulletin_board/base.html:6
23
28
  #: aa_bulletin_board/templates/aa_bulletin_board/base.html:10
24
29
  #: aa_bulletin_board/templates/aa_bulletin_board/bulletin.html:5
@@ -26,64 +31,53 @@ msgstr ""
26
31
  msgid "Bulletin Board"
27
32
  msgstr "Bulletin Board"
28
33
 
29
- #. Translators: This is the app name and version, which will appear in the Django Backend
30
- #: aa_bulletin_board/apps.py:21
31
- #, python-brace-format
32
- msgid "Bulletin Board v{__version__}"
33
- msgstr "Bulletin Board v{__version__}"
34
-
35
34
  #: aa_bulletin_board/forms.py:63
36
- msgid ""
37
- "Restrict this bulletin to certain groups. If no group restrictions are in "
38
- "place, everyone who has access to this module can read this bulletin."
39
- msgstr ""
40
- "Beschränkt dieses Bulletin auf bestimmte Gruppen. Wenn keine "
41
- "Gruppenbeschränkungen bestehen, kann jeder der Zugriff auf dieses Modul hat, "
42
- "dieses Bulletin lesen."
35
+ msgid "Restrict this bulletin to certain groups. If no group restrictions are in place, everyone who has access to this module can read this bulletin."
36
+ msgstr "Beschränkt dieses Bulletin auf bestimmte Gruppen. Wenn keine Gruppenbeschränkungen bestehen, kann jeder der Zugriff auf dieses Modul hat, dieses Bulletin lesen."
43
37
 
44
38
  #: aa_bulletin_board/forms.py:110
45
39
  msgid "You have forgotten the content!"
46
40
  msgstr "Du hast den Inhalt vergessen!"
47
41
 
48
- #: aa_bulletin_board/models.py:71
42
+ #: aa_bulletin_board/models.py:72
49
43
  msgid "Can access this app"
50
44
  msgstr "Kann auf diese App zugreifen"
51
45
 
52
- #: aa_bulletin_board/models.py:72
46
+ #: aa_bulletin_board/models.py:73
53
47
  msgid "Can manage (add/change/remove) bulletins"
54
48
  msgstr "Kann Bulletins verwalten (hinzufügen/ändern/entfernen)"
55
49
 
56
- #: aa_bulletin_board/models.py:81
50
+ #: aa_bulletin_board/models.py:82
57
51
  msgid "Title"
58
52
  msgstr "Titel"
59
53
 
60
- #: aa_bulletin_board/models.py:84
54
+ #: aa_bulletin_board/models.py:85
61
55
  msgid "Content"
62
56
  msgstr "Inhalt"
63
57
 
64
58
  #. Translators: This is the date and time the bulletin has been created
65
- #: aa_bulletin_board/models.py:90
59
+ #: aa_bulletin_board/models.py:91
66
60
  msgid "Created"
67
61
  msgstr "Erstellt"
68
62
 
69
63
  #. Translators: This is the date and time the bulletin has been updated
70
- #: aa_bulletin_board/models.py:96
64
+ #: aa_bulletin_board/models.py:97
71
65
  msgid "Updated"
72
66
  msgstr "Aktualisiert"
73
67
 
74
- #: aa_bulletin_board/models.py:105
68
+ #: aa_bulletin_board/models.py:106
75
69
  msgid "User"
76
70
  msgstr "Nutzer"
77
71
 
78
- #: aa_bulletin_board/models.py:111
72
+ #: aa_bulletin_board/models.py:112
79
73
  msgid "Group restrictions"
80
74
  msgstr "Gruppenbeschränkungen"
81
75
 
82
- #: aa_bulletin_board/models.py:122
76
+ #: aa_bulletin_board/models.py:123
83
77
  msgid "Bulletin"
84
78
  msgstr "Bulletin"
85
79
 
86
- #: aa_bulletin_board/models.py:123
80
+ #: aa_bulletin_board/models.py:124
87
81
  msgid "Bulletins"
88
82
  msgstr "Bulletins"
89
83
 
@@ -138,12 +132,8 @@ msgid "Add bulletin"
138
132
  msgstr "Bulletin hinzufügen"
139
133
 
140
134
  #: aa_bulletin_board/templates/aa_bulletin_board/partials/footer/app-translation-footer.html:5
141
- msgid ""
142
- "Do you want to help translate this app into your language or improve the "
143
- "existing translation?"
144
- msgstr ""
145
- "Du möchtest helfen diese App in Deine Sprache zu übersetzen oder die "
146
- "bestehende Übersetzung verbessern?"
135
+ msgid "Do you want to help translate this app into your language or improve the existing translation?"
136
+ msgstr "Du möchtest helfen diese App in Deine Sprache zu übersetzen oder die bestehende Übersetzung verbessern?"
147
137
 
148
138
  #: aa_bulletin_board/templates/aa_bulletin_board/partials/footer/app-translation-footer.html:8
149
139
  msgid "Join our team of translators!"
@@ -155,11 +145,8 @@ msgid "Bulletin \"{bulletin__title}\" created."
155
145
  msgstr "Bulletin „{bulletin__title}“ erstellt."
156
146
 
157
147
  #: aa_bulletin_board/views.py:141
158
- msgid ""
159
- "The bulletin you are looking for does either not exist, or you don't have "
160
- "access to it."
161
- msgstr ""
162
- "Dieses Bulletin existiert entweder nicht oder Du hast keinen Zugriff darauf."
148
+ msgid "The bulletin you are looking for does either not exist, or you don't have access to it."
149
+ msgstr "Dieses Bulletin existiert entweder nicht oder Du hast keinen Zugriff darauf."
163
150
 
164
151
  #: aa_bulletin_board/views.py:168
165
152
  msgid "The bulletin you are trying to edit does not exist."
@@ -6,9 +6,9 @@
6
6
  #, fuzzy
7
7
  msgid ""
8
8
  msgstr ""
9
- "Project-Id-Version: AA Bulletin Board 2.2.5\n"
9
+ "Project-Id-Version: AA Bulletin Board 2.3.1\n"
10
10
  "Report-Msgid-Bugs-To: https://github.com/ppfeufer/aa-bulletin-board/issues\n"
11
- "POT-Creation-Date: 2024-12-14 13:27+0100\n"
11
+ "POT-Creation-Date: 2025-03-06 13:29+0100\n"
12
12
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13
13
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
14
  "Language-Team: LANGUAGE <LL@li.org>\n"
@@ -18,7 +18,13 @@ msgstr ""
18
18
  "Content-Transfer-Encoding: 8bit\n"
19
19
  "Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
20
20
 
21
- #: aa_bulletin_board/__init__.py:9 aa_bulletin_board/models.py:67
21
+ #. Translators: This is the app name and version, which will appear in the Django Backend
22
+ #: aa_bulletin_board/apps.py:22
23
+ #, python-brace-format
24
+ msgid "Bulletin Board v{__version__}"
25
+ msgstr ""
26
+
27
+ #: aa_bulletin_board/constants.py:13
22
28
  #: aa_bulletin_board/templates/aa_bulletin_board/base.html:6
23
29
  #: aa_bulletin_board/templates/aa_bulletin_board/base.html:10
24
30
  #: aa_bulletin_board/templates/aa_bulletin_board/bulletin.html:5
@@ -26,12 +32,6 @@ msgstr ""
26
32
  msgid "Bulletin Board"
27
33
  msgstr ""
28
34
 
29
- #. Translators: This is the app name and version, which will appear in the Django Backend
30
- #: aa_bulletin_board/apps.py:21
31
- #, python-brace-format
32
- msgid "Bulletin Board v{__version__}"
33
- msgstr ""
34
-
35
35
  #: aa_bulletin_board/forms.py:63
36
36
  msgid ""
37
37
  "Restrict this bulletin to certain groups. If no group restrictions are in "
@@ -42,45 +42,45 @@ msgstr ""
42
42
  msgid "You have forgotten the content!"
43
43
  msgstr ""
44
44
 
45
- #: aa_bulletin_board/models.py:71
45
+ #: aa_bulletin_board/models.py:72
46
46
  msgid "Can access this app"
47
47
  msgstr ""
48
48
 
49
- #: aa_bulletin_board/models.py:72
49
+ #: aa_bulletin_board/models.py:73
50
50
  msgid "Can manage (add/change/remove) bulletins"
51
51
  msgstr ""
52
52
 
53
- #: aa_bulletin_board/models.py:81
53
+ #: aa_bulletin_board/models.py:82
54
54
  msgid "Title"
55
55
  msgstr ""
56
56
 
57
- #: aa_bulletin_board/models.py:84
57
+ #: aa_bulletin_board/models.py:85
58
58
  msgid "Content"
59
59
  msgstr ""
60
60
 
61
61
  #. Translators: This is the date and time the bulletin has been created
62
- #: aa_bulletin_board/models.py:90
62
+ #: aa_bulletin_board/models.py:91
63
63
  msgid "Created"
64
64
  msgstr ""
65
65
 
66
66
  #. Translators: This is the date and time the bulletin has been updated
67
- #: aa_bulletin_board/models.py:96
67
+ #: aa_bulletin_board/models.py:97
68
68
  msgid "Updated"
69
69
  msgstr ""
70
70
 
71
- #: aa_bulletin_board/models.py:105
71
+ #: aa_bulletin_board/models.py:106
72
72
  msgid "User"
73
73
  msgstr ""
74
74
 
75
- #: aa_bulletin_board/models.py:111
75
+ #: aa_bulletin_board/models.py:112
76
76
  msgid "Group restrictions"
77
77
  msgstr ""
78
78
 
79
- #: aa_bulletin_board/models.py:122
79
+ #: aa_bulletin_board/models.py:123
80
80
  msgid "Bulletin"
81
81
  msgstr ""
82
82
 
83
- #: aa_bulletin_board/models.py:123
83
+ #: aa_bulletin_board/models.py:124
84
84
  msgid "Bulletins"
85
85
  msgstr ""
86
86
 
@@ -8,11 +8,10 @@ msgid ""
8
8
  msgstr ""
9
9
  "Project-Id-Version: PACKAGE VERSION\n"
10
10
  "Report-Msgid-Bugs-To: https://github.com/ppfeufer/aa-bulletin-board/issues\n"
11
- "POT-Creation-Date: 2024-12-14 13:27+0100\n"
11
+ "POT-Creation-Date: 2025-03-06 13:29+0100\n"
12
12
  "PO-Revision-Date: 2024-12-02 17:40+0000\n"
13
13
  "Last-Translator: Peter Pfeufer <info@ppfeufer.de>\n"
14
- "Language-Team: Spanish <https://weblate.ppfeufer.de/projects/alliance-auth-"
15
- "apps/aa-bulletin-board/es/>\n"
14
+ "Language-Team: Spanish <https://weblate.ppfeufer.de/projects/alliance-auth-apps/aa-bulletin-board/es/>\n"
16
15
  "Language: es\n"
17
16
  "MIME-Version: 1.0\n"
18
17
  "Content-Type: text/plain; charset=UTF-8\n"
@@ -20,7 +19,13 @@ msgstr ""
20
19
  "Plural-Forms: nplurals=2; plural=n != 1;\n"
21
20
  "X-Generator: Weblate 5.8.4\n"
22
21
 
23
- #: aa_bulletin_board/__init__.py:9 aa_bulletin_board/models.py:67
22
+ #. Translators: This is the app name and version, which will appear in the Django Backend
23
+ #: aa_bulletin_board/apps.py:22
24
+ #, python-brace-format
25
+ msgid "Bulletin Board v{__version__}"
26
+ msgstr "Tablón de Anuncios v{__version__}"
27
+
28
+ #: aa_bulletin_board/constants.py:13
24
29
  #: aa_bulletin_board/templates/aa_bulletin_board/base.html:6
25
30
  #: aa_bulletin_board/templates/aa_bulletin_board/base.html:10
26
31
  #: aa_bulletin_board/templates/aa_bulletin_board/bulletin.html:5
@@ -28,63 +33,53 @@ msgstr ""
28
33
  msgid "Bulletin Board"
29
34
  msgstr "Tablón de Anuncios"
30
35
 
31
- #. Translators: This is the app name and version, which will appear in the Django Backend
32
- #: aa_bulletin_board/apps.py:21
33
- #, python-brace-format
34
- msgid "Bulletin Board v{__version__}"
35
- msgstr "Tablón de Anuncios v{__version__}"
36
-
37
36
  #: aa_bulletin_board/forms.py:63
38
- msgid ""
39
- "Restrict this bulletin to certain groups. If no group restrictions are in "
40
- "place, everyone who has access to this module can read this bulletin."
41
- msgstr ""
42
- "Restringir este anuncio a ciertos grupos. Si no existen restricciones de "
43
- "grupo, todos los que tengan acceso a este módulo pueden leer este anuncio."
37
+ msgid "Restrict this bulletin to certain groups. If no group restrictions are in place, everyone who has access to this module can read this bulletin."
38
+ msgstr "Restringir este anuncio a ciertos grupos. Si no existen restricciones de grupo, todos los que tengan acceso a este módulo pueden leer este anuncio."
44
39
 
45
40
  #: aa_bulletin_board/forms.py:110
46
41
  msgid "You have forgotten the content!"
47
42
  msgstr "Ha olvidado el contenido"
48
43
 
49
- #: aa_bulletin_board/models.py:71
44
+ #: aa_bulletin_board/models.py:72
50
45
  msgid "Can access this app"
51
46
  msgstr "Puede acceder esta aplicacion"
52
47
 
53
- #: aa_bulletin_board/models.py:72
48
+ #: aa_bulletin_board/models.py:73
54
49
  msgid "Can manage (add/change/remove) bulletins"
55
50
  msgstr ""
56
51
 
57
- #: aa_bulletin_board/models.py:81
52
+ #: aa_bulletin_board/models.py:82
58
53
  msgid "Title"
59
54
  msgstr "Título"
60
55
 
61
- #: aa_bulletin_board/models.py:84
56
+ #: aa_bulletin_board/models.py:85
62
57
  msgid "Content"
63
58
  msgstr "Contenido"
64
59
 
65
60
  #. Translators: This is the date and time the bulletin has been created
66
- #: aa_bulletin_board/models.py:90
61
+ #: aa_bulletin_board/models.py:91
67
62
  msgid "Created"
68
63
  msgstr "Creado"
69
64
 
70
65
  #. Translators: This is the date and time the bulletin has been updated
71
- #: aa_bulletin_board/models.py:96
66
+ #: aa_bulletin_board/models.py:97
72
67
  msgid "Updated"
73
68
  msgstr "Actualizado"
74
69
 
75
- #: aa_bulletin_board/models.py:105
70
+ #: aa_bulletin_board/models.py:106
76
71
  msgid "User"
77
72
  msgstr "Usuario"
78
73
 
79
- #: aa_bulletin_board/models.py:111
74
+ #: aa_bulletin_board/models.py:112
80
75
  msgid "Group restrictions"
81
76
  msgstr "Restricciones de grupo"
82
77
 
83
- #: aa_bulletin_board/models.py:122
78
+ #: aa_bulletin_board/models.py:123
84
79
  msgid "Bulletin"
85
80
  msgstr "Anuncio"
86
81
 
87
- #: aa_bulletin_board/models.py:123
82
+ #: aa_bulletin_board/models.py:124
88
83
  msgid "Bulletins"
89
84
  msgstr "Anuncios"
90
85
 
@@ -151,12 +146,8 @@ msgid "Add bulletin"
151
146
  msgstr "Agregar Anuncio"
152
147
 
153
148
  #: aa_bulletin_board/templates/aa_bulletin_board/partials/footer/app-translation-footer.html:5
154
- msgid ""
155
- "Do you want to help translate this app into your language or improve the "
156
- "existing translation?"
157
- msgstr ""
158
- "¿Quieres ayudar a traducir esta aplicación a tu idioma o mejorar la "
159
- "traducción existente?"
149
+ msgid "Do you want to help translate this app into your language or improve the existing translation?"
150
+ msgstr "¿Quieres ayudar a traducir esta aplicación a tu idioma o mejorar la traducción existente?"
160
151
 
161
152
  #: aa_bulletin_board/templates/aa_bulletin_board/partials/footer/app-translation-footer.html:8
162
153
  msgid "Join our team of translators!"
@@ -169,12 +160,8 @@ msgstr "Se ha creado el Anuncio «{bulletin__title}»."
169
160
 
170
161
  #: aa_bulletin_board/views.py:141
171
162
  #, fuzzy
172
- #| msgid ""
173
- #| "The bulletin you are looking for does not exist, or you don't have access "
174
- #| "to it."
175
- msgid ""
176
- "The bulletin you are looking for does either not exist, or you don't have "
177
- "access to it."
163
+ #| msgid "The bulletin you are looking for does not exist, or you don't have access to it."
164
+ msgid "The bulletin you are looking for does either not exist, or you don't have access to it."
178
165
  msgstr "El anuncio que busca no existe, o no tiene acceso a él."
179
166
 
180
167
  #: aa_bulletin_board/views.py:168