aa-bulletin-board 1.10.1__tar.gz → 1.11.0__tar.gz

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 (71) hide show
  1. {aa_bulletin_board-1.10.1 → aa_bulletin_board-1.11.0}/PKG-INFO +1 -1
  2. {aa_bulletin_board-1.10.1 → aa_bulletin_board-1.11.0}/aa_bulletin_board/__init__.py +1 -1
  3. {aa_bulletin_board-1.10.1 → aa_bulletin_board-1.11.0}/aa_bulletin_board/auth_hooks.py +15 -6
  4. {aa_bulletin_board-1.10.1 → aa_bulletin_board-1.11.0}/aa_bulletin_board/forms.py +6 -4
  5. aa_bulletin_board-1.11.0/aa_bulletin_board/helpers.py +34 -0
  6. aa_bulletin_board-1.11.0/aa_bulletin_board/locale/de/LC_MESSAGES/django.mo +0 -0
  7. {aa_bulletin_board-1.10.1 → aa_bulletin_board-1.11.0}/aa_bulletin_board/locale/de/LC_MESSAGES/django.po +25 -30
  8. {aa_bulletin_board-1.10.1 → aa_bulletin_board-1.11.0}/aa_bulletin_board/locale/django.pot +21 -24
  9. {aa_bulletin_board-1.10.1 → aa_bulletin_board-1.11.0}/aa_bulletin_board/locale/es/LC_MESSAGES/django.po +21 -24
  10. {aa_bulletin_board-1.10.1 → aa_bulletin_board-1.11.0}/aa_bulletin_board/locale/fr_FR/LC_MESSAGES/django.po +21 -24
  11. {aa_bulletin_board-1.10.1/aa_bulletin_board/locale/ko_KR → aa_bulletin_board-1.11.0/aa_bulletin_board/locale/it_IT}/LC_MESSAGES/django.po +21 -24
  12. {aa_bulletin_board-1.10.1/aa_bulletin_board/locale/zh_Hans → aa_bulletin_board-1.11.0/aa_bulletin_board/locale/ja}/LC_MESSAGES/django.po +21 -24
  13. {aa_bulletin_board-1.10.1/aa_bulletin_board/locale/it_IT → aa_bulletin_board-1.11.0/aa_bulletin_board/locale/ko_KR}/LC_MESSAGES/django.po +21 -24
  14. aa_bulletin_board-1.11.0/aa_bulletin_board/locale/ru/LC_MESSAGES/django.mo +0 -0
  15. {aa_bulletin_board-1.10.1 → aa_bulletin_board-1.11.0}/aa_bulletin_board/locale/ru/LC_MESSAGES/django.po +28 -33
  16. {aa_bulletin_board-1.10.1 → aa_bulletin_board-1.11.0}/aa_bulletin_board/locale/uk/LC_MESSAGES/django.po +21 -24
  17. {aa_bulletin_board-1.10.1/aa_bulletin_board/locale/ja → aa_bulletin_board-1.11.0/aa_bulletin_board/locale/zh_Hans}/LC_MESSAGES/django.po +21 -24
  18. {aa_bulletin_board-1.10.1 → aa_bulletin_board-1.11.0}/aa_bulletin_board/managers.py +7 -2
  19. {aa_bulletin_board-1.10.1 → aa_bulletin_board-1.11.0}/aa_bulletin_board/models.py +17 -3
  20. {aa_bulletin_board-1.10.1 → aa_bulletin_board-1.11.0}/aa_bulletin_board/static/aa_bulletin_board/css/aa-bootstrap-fix.css +5 -5
  21. aa_bulletin_board-1.11.0/aa_bulletin_board/static/aa_bulletin_board/css/aa-bootstrap-fix.min.css +1 -0
  22. {aa_bulletin_board-1.10.1 → aa_bulletin_board-1.11.0}/aa_bulletin_board/templates/aa_bulletin_board/base.html +1 -1
  23. aa_bulletin_board-1.11.0/aa_bulletin_board/templates/aa_bulletin_board/partials/footer/app-translation-footer.html +11 -0
  24. {aa_bulletin_board-1.10.1 → aa_bulletin_board-1.11.0}/aa_bulletin_board/templatetags/aa_bulletin_board_versioned_static.py +2 -1
  25. {aa_bulletin_board-1.10.1 → aa_bulletin_board-1.11.0}/aa_bulletin_board/tests/test_access.py +61 -37
  26. {aa_bulletin_board-1.10.1 → aa_bulletin_board-1.11.0}/aa_bulletin_board/tests/test_auth_hooks.py +18 -9
  27. {aa_bulletin_board-1.10.1 → aa_bulletin_board-1.11.0}/aa_bulletin_board/tests/test_bulletins.py +80 -47
  28. {aa_bulletin_board-1.10.1 → aa_bulletin_board-1.11.0}/aa_bulletin_board/tests/test_templatetags.py +9 -6
  29. {aa_bulletin_board-1.10.1 → aa_bulletin_board-1.11.0}/aa_bulletin_board/tests/test_user_interface.py +85 -43
  30. {aa_bulletin_board-1.10.1 → aa_bulletin_board-1.11.0}/aa_bulletin_board/tests/utils.py +24 -3
  31. aa_bulletin_board-1.11.0/aa_bulletin_board/urls.py +21 -0
  32. aa_bulletin_board-1.11.0/aa_bulletin_board/views.py +220 -0
  33. {aa_bulletin_board-1.10.1 → aa_bulletin_board-1.11.0}/pyproject.toml +1 -1
  34. aa_bulletin_board-1.10.1/aa_bulletin_board/helpers.py +0 -25
  35. aa_bulletin_board-1.10.1/aa_bulletin_board/locale/de/LC_MESSAGES/django.mo +0 -0
  36. aa_bulletin_board-1.10.1/aa_bulletin_board/locale/ru/LC_MESSAGES/django.mo +0 -0
  37. aa_bulletin_board-1.10.1/aa_bulletin_board/static/aa_bulletin_board/css/aa-bootstrap-fix.min.css +0 -1
  38. aa_bulletin_board-1.10.1/aa_bulletin_board/templates/aa_bulletin_board/partials/app-translation-footer.html +0 -11
  39. aa_bulletin_board-1.10.1/aa_bulletin_board/urls.py +0 -19
  40. aa_bulletin_board-1.10.1/aa_bulletin_board/views.py +0 -167
  41. {aa_bulletin_board-1.10.1 → aa_bulletin_board-1.11.0}/.gitignore +0 -0
  42. {aa_bulletin_board-1.10.1 → aa_bulletin_board-1.11.0}/LICENSE +0 -0
  43. {aa_bulletin_board-1.10.1 → aa_bulletin_board-1.11.0}/README.md +0 -0
  44. {aa_bulletin_board-1.10.1 → aa_bulletin_board-1.11.0}/aa_bulletin_board/apps.py +0 -0
  45. {aa_bulletin_board-1.10.1 → aa_bulletin_board-1.11.0}/aa_bulletin_board/docs/screenshots/weblate/.gitkeep +0 -0
  46. {aa_bulletin_board-1.10.1 → aa_bulletin_board-1.11.0}/aa_bulletin_board/docs/screenshots/weblate/aa-bulletin-board-bulletin-created-message.jpg +0 -0
  47. {aa_bulletin_board-1.10.1 → aa_bulletin_board-1.11.0}/aa_bulletin_board/docs/screenshots/weblate/aa-bulletin-board-group-restrictions.jpg +0 -0
  48. {aa_bulletin_board-1.10.1 → aa_bulletin_board-1.11.0}/aa_bulletin_board/docs/screenshots/weblate/aa-bulletin-board-headline.jpg +0 -0
  49. {aa_bulletin_board-1.10.1 → aa_bulletin_board-1.11.0}/aa_bulletin_board/docs/screenshots/weblate/aa-bulletin-board-hint-group-restrictions.jpg +0 -0
  50. {aa_bulletin_board-1.10.1 → aa_bulletin_board-1.11.0}/aa_bulletin_board/docs/screenshots/weblate/aa-bulletin-board-menu-item.jpg +0 -0
  51. {aa_bulletin_board-1.10.1 → aa_bulletin_board-1.11.0}/aa_bulletin_board/docs/screenshots/weblate/aa-bulletin-board-read-more-button.jpg +0 -0
  52. {aa_bulletin_board-1.10.1 → aa_bulletin_board-1.11.0}/aa_bulletin_board/locale/uk/LC_MESSAGES/django.mo +0 -0
  53. {aa_bulletin_board-1.10.1 → aa_bulletin_board-1.11.0}/aa_bulletin_board/migrations/0001_initial.py +0 -0
  54. {aa_bulletin_board-1.10.1 → aa_bulletin_board-1.11.0}/aa_bulletin_board/migrations/0002_alter_bulletin_slug.py +0 -0
  55. {aa_bulletin_board-1.10.1 → aa_bulletin_board-1.11.0}/aa_bulletin_board/migrations/0003_group_restrictions.py +0 -0
  56. {aa_bulletin_board-1.10.1 → aa_bulletin_board-1.11.0}/aa_bulletin_board/migrations/0004_model_translation.py +0 -0
  57. {aa_bulletin_board-1.10.1 → aa_bulletin_board-1.11.0}/aa_bulletin_board/migrations/__init__.py +0 -0
  58. {aa_bulletin_board-1.10.1 → aa_bulletin_board-1.11.0}/aa_bulletin_board/static/aa_bulletin_board/css/aa-bulletin-board.css +0 -0
  59. {aa_bulletin_board-1.10.1 → aa_bulletin_board-1.11.0}/aa_bulletin_board/static/aa_bulletin_board/css/aa-bulletin-board.min.css +0 -0
  60. {aa_bulletin_board-1.10.1 → aa_bulletin_board-1.11.0}/aa_bulletin_board/static/aa_bulletin_board/libs/sumoselect/3.4.8/jquery.sumoselect.js +0 -0
  61. {aa_bulletin_board-1.10.1 → aa_bulletin_board-1.11.0}/aa_bulletin_board/static/aa_bulletin_board/libs/sumoselect/3.4.8/jquery.sumoselect.min.js +0 -0
  62. {aa_bulletin_board-1.10.1 → aa_bulletin_board-1.11.0}/aa_bulletin_board/static/aa_bulletin_board/libs/sumoselect/3.4.8/sumoselect.min.css +0 -0
  63. {aa_bulletin_board-1.10.1 → aa_bulletin_board-1.11.0}/aa_bulletin_board/templates/aa_bulletin_board/bulletin.html +0 -0
  64. {aa_bulletin_board-1.10.1 → aa_bulletin_board-1.11.0}/aa_bulletin_board/templates/aa_bulletin_board/bundles/aa-bulletin-board-css.html +0 -0
  65. {aa_bulletin_board-1.10.1 → aa_bulletin_board-1.11.0}/aa_bulletin_board/templates/aa_bulletin_board/bundles/sumoselect-css.html +0 -0
  66. {aa_bulletin_board-1.10.1 → aa_bulletin_board-1.11.0}/aa_bulletin_board/templates/aa_bulletin_board/bundles/sumoselect-js.html +0 -0
  67. {aa_bulletin_board-1.10.1 → aa_bulletin_board-1.11.0}/aa_bulletin_board/templates/aa_bulletin_board/dashboard.html +0 -0
  68. {aa_bulletin_board-1.10.1 → aa_bulletin_board-1.11.0}/aa_bulletin_board/templates/aa_bulletin_board/edit-bulletin.html +0 -0
  69. {aa_bulletin_board-1.10.1 → aa_bulletin_board-1.11.0}/aa_bulletin_board/templates/aa_bulletin_board/partials/header/page-header.html +0 -0
  70. {aa_bulletin_board-1.10.1 → aa_bulletin_board-1.11.0}/aa_bulletin_board/templatetags/__init__.py +0 -0
  71. {aa_bulletin_board-1.10.1 → aa_bulletin_board-1.11.0}/aa_bulletin_board/tests/__init__.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: aa-bulletin-board
3
- Version: 1.10.1
3
+ Version: 1.11.0
4
4
  Summary: A simple bulletin board for Alliance Auth
5
5
  Project-URL: Homepage, https://github.com/ppfeufer/aa-bulletin-board
6
6
  Project-URL: Documentation, https://github.com/ppfeufer/aa-bulletin-board/blob/master/README.md
@@ -8,7 +8,7 @@ from importlib import metadata
8
8
  # Django
9
9
  from django.utils.translation import gettext_lazy as _
10
10
 
11
- __version__ = metadata.version("aa-bulletin-board")
11
+ __version__ = metadata.version(distribution_name="aa-bulletin-board")
12
12
  __title__ = _("Bulletin Board")
13
13
 
14
14
  del metadata
@@ -23,21 +23,24 @@ class AaBulletinBoardMenuItem(MenuItemHook): # pylint: disable=too-few-public-m
23
23
 
24
24
  MenuItemHook.__init__(
25
25
  self,
26
- __title__,
27
- "fas fa-clipboard-list fa-fw",
28
- "aa_bulletin_board:dashboard",
26
+ text=__title__,
27
+ classes="fas fa-clipboard-list fa-fw",
28
+ url_name="aa_bulletin_board:dashboard",
29
29
  navactive=["aa_bulletin_board:"],
30
30
  )
31
31
 
32
32
  def render(self, request):
33
33
  """
34
34
  Check if the user has the permission to view this app
35
+
35
36
  :param request:
37
+ :type request:
36
38
  :return:
39
+ :rtype:
37
40
  """
38
41
 
39
- if request.user.has_perm("aa_bulletin_board.basic_access"):
40
- return MenuItemHook.render(self, request)
42
+ if request.user.has_perm(perm="aa_bulletin_board.basic_access"):
43
+ return MenuItemHook.render(self, request=request)
41
44
 
42
45
  return ""
43
46
 
@@ -46,7 +49,9 @@ class AaBulletinBoardMenuItem(MenuItemHook): # pylint: disable=too-few-public-m
46
49
  def register_menu():
47
50
  """
48
51
  Register our menu item
52
+
49
53
  :return:
54
+ :rtype:
50
55
  """
51
56
 
52
57
  return AaBulletinBoardMenuItem()
@@ -56,7 +61,11 @@ def register_menu():
56
61
  def register_urls():
57
62
  """
58
63
  Register our base url
64
+
59
65
  :return:
66
+ :rtype:
60
67
  """
61
68
 
62
- return UrlHook(urls, "aa_bulletin_board", r"^bulletin-board/")
69
+ return UrlHook(
70
+ urls=urls, namespace="aa_bulletin_board", base_url=r"^bulletin-board/"
71
+ )
@@ -29,7 +29,7 @@ class SpecialModelChoiceIterator(forms.models.ModelChoiceIterator):
29
29
  queryset = self.queryset
30
30
 
31
31
  for obj in queryset:
32
- yield self.choice(obj)
32
+ yield self.choice(obj=obj)
33
33
 
34
34
 
35
35
  class SpecialModelMultipleChoiceField(forms.ModelMultipleChoiceField):
@@ -47,7 +47,7 @@ class SpecialModelMultipleChoiceField(forms.ModelMultipleChoiceField):
47
47
  self._queryset = queryset
48
48
  self.widget.choices = self.choices
49
49
 
50
- queryset = property(_get_queryset, _set_queryset)
50
+ queryset = property(fget=_get_queryset, fset=_set_queryset)
51
51
 
52
52
 
53
53
  class BulletinForm(ModelForm):
@@ -90,12 +90,14 @@ class BulletinForm(ModelForm):
90
90
  model = Bulletin
91
91
  fields = ["title", "content", "groups"]
92
92
 
93
- def clean_content(self):
93
+ def clean_content(self) -> str:
94
94
  """
95
95
  Cleanup the content
96
+
96
97
  :return:
98
+ :rtype:
97
99
  """
98
100
 
99
- message = string_cleanup(self.cleaned_data["content"])
101
+ message = string_cleanup(string=self.cleaned_data["content"])
100
102
 
101
103
  return message
@@ -0,0 +1,34 @@
1
+ """
2
+ Our little helpers
3
+ """
4
+
5
+ # Standard Library
6
+ import re
7
+
8
+
9
+ def string_cleanup(string: str) -> str:
10
+ """
11
+ Clean up a string by removing JS, CSS and Head tags
12
+
13
+ :param string:
14
+ :type string:
15
+ :return:
16
+ :rtype:
17
+ """
18
+
19
+ re_head = re.compile(
20
+ pattern=r"<\s*head[^>]*>.*?<\s*/\s*head\s*>", flags=re.S | re.I
21
+ )
22
+ re_script = re.compile(
23
+ pattern=r"<\s*script[^>]*>.*?<\s*/\s*script\s*>", flags=re.S | re.I
24
+ )
25
+ re_css = re.compile(
26
+ pattern=r"<\s*style[^>]*>.*?<\s*/\s*style\s*>", flags=re.S | re.I
27
+ )
28
+
29
+ # Strip JS
30
+ string = re_head.sub(repl="", string=string)
31
+ string = re_script.sub(repl="", string=string)
32
+ string = re_css.sub(repl="", string=string)
33
+
34
+ return string
@@ -6,8 +6,8 @@ msgid ""
6
6
  msgstr ""
7
7
  "Project-Id-Version: PACKAGE VERSION\n"
8
8
  "Report-Msgid-Bugs-To: \n"
9
- "POT-Creation-Date: 2023-07-27 22:06+0200\n"
10
- "PO-Revision-Date: 2023-07-28 22:39+0000\n"
9
+ "POT-Creation-Date: 2023-08-02 15:50+0200\n"
10
+ "PO-Revision-Date: 2023-08-09 15:40+0000\n"
11
11
  "Last-Translator: Peter Pfeufer <info@ppfeufer.de>\n"
12
12
  "Language-Team: German <https://weblate.ppfeufer.de/projects/"
13
13
  "alliance-auth-apps/aa-bulletin-board/de/>\n"
@@ -41,37 +41,37 @@ msgstr ""
41
41
  "Gruppenbeschränkungen bestehen, kann jeder der Zugriff auf dieses Modul hat, "
42
42
  "dieses Bulletin lesen."
43
43
 
44
- #: models.py:74
44
+ #: models.py:81
45
45
  msgid "Title"
46
46
  msgstr "Titel"
47
47
 
48
- #: models.py:76
48
+ #: models.py:83
49
49
  msgid "Content"
50
50
  msgstr "Inhalt"
51
51
 
52
52
  #. Translators: This is the date and time the bulletin has been created
53
- #: models.py:81
53
+ #: models.py:88
54
54
  msgid "Created"
55
55
  msgstr "Erstellt"
56
56
 
57
57
  #. Translators: This is the date and time the bulletin has been updated
58
- #: models.py:87
58
+ #: models.py:94
59
59
  msgid "Updated"
60
60
  msgstr "Aktualisiert"
61
61
 
62
- #: models.py:96
62
+ #: models.py:103
63
63
  msgid "User"
64
64
  msgstr "Nutzer"
65
65
 
66
- #: models.py:102
66
+ #: models.py:109
67
67
  msgid "Group restrictions"
68
68
  msgstr "Gruppenbeschränkungen"
69
69
 
70
- #: models.py:113
70
+ #: models.py:120
71
71
  msgid "Bulletin"
72
72
  msgstr "Bulletin"
73
73
 
74
- #: models.py:114
74
+ #: models.py:121
75
75
  msgid "Bulletins"
76
76
  msgstr "Bulletins"
77
77
 
@@ -119,48 +119,43 @@ msgstr "Bulletin aktualisieren"
119
119
  msgid "Create Bulletin"
120
120
  msgstr "Bulletin erstellen"
121
121
 
122
- #: templates/aa_bulletin_board/partials/app-translation-footer.html:4
123
- msgid "Join our team of translators!"
124
- msgstr "Tritt unserm Team von Übersetzern bei!"
125
-
126
- #: templates/aa_bulletin_board/partials/app-translation-footer.html:7
127
- #, python-format
122
+ #: templates/aa_bulletin_board/partials/footer/app-translation-footer.html:5
128
123
  msgid ""
129
- "\n"
130
- " Do you want to help translate this app into your language or "
131
- "improve the existing translation? - %(weblate_link)s\n"
132
- " "
124
+ "Do you want to help translate this app into your language or improve the "
125
+ "existing translation?"
133
126
  msgstr ""
134
- "\n"
135
- " Du möchtest helfen diese App in Deine Sprache zu übersetzen oder "
136
- "die bestehende Übersetzung verbessern? - %(weblate_link)s\n"
137
- " "
127
+ "Du möchtest helfen diese App in Deine Sprache zu übersetzen oder die "
128
+ "bestehende Übersetzung verbessern?"
129
+
130
+ #: templates/aa_bulletin_board/partials/footer/app-translation-footer.html:8
131
+ msgid "Join our team of translators!"
132
+ msgstr "Tritt unserm Team von Übersetzern bei!"
138
133
 
139
- #: views.py:65
134
+ #: views.py:80
140
135
  #, python-brace-format
141
136
  msgid "Bulletin \"{bulletin__title}\" created."
142
137
  msgstr "Bulletin \"{bulletin__title}\" erstellt."
143
138
 
144
- #: views.py:92
139
+ #: views.py:123
145
140
  msgid ""
146
141
  "The bulletin you are looking for does not exist, or you don't have access to "
147
142
  "it."
148
143
  msgstr "Dieses Bulletin existiert nicht, oder Du hast keinen Zugriff darauf."
149
144
 
150
- #: views.py:129
145
+ #: views.py:165
151
146
  #, python-brace-format
152
147
  msgid "Bulletin \"{bulletin__title}\" updated."
153
148
  msgstr "Bulletin \"{bulletin__title}\" aktualisiert."
154
149
 
155
- #: views.py:140
150
+ #: views.py:184
156
151
  msgid "The bulletin you are trying to edit does not exist."
157
152
  msgstr "Das Bulletin das Du bearbeiten möchtest scheint nicht zu existieren."
158
153
 
159
- #: views.py:159
154
+ #: views.py:208
160
155
  #, python-brace-format
161
156
  msgid "Bulletin \"{bulletin.title}\" deleted."
162
157
  msgstr "Bulletin \"{bulletin.title}\" gelöscht."
163
158
 
164
- #: views.py:164
159
+ #: views.py:215
165
160
  msgid "The bulletin you are trying to delete does not exist."
166
161
  msgstr "Das Bulletin das Du versuchst zu löschen scheint nicht zu existieren."
@@ -8,7 +8,7 @@ msgid ""
8
8
  msgstr ""
9
9
  "Project-Id-Version: PACKAGE VERSION\n"
10
10
  "Report-Msgid-Bugs-To: \n"
11
- "POT-Creation-Date: 2023-07-27 22:06+0200\n"
11
+ "POT-Creation-Date: 2023-08-02 15:50+0200\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"
@@ -37,37 +37,37 @@ msgid ""
37
37
  "place, everyone who has access to this module can read this bulletin."
38
38
  msgstr ""
39
39
 
40
- #: models.py:74
40
+ #: models.py:81
41
41
  msgid "Title"
42
42
  msgstr ""
43
43
 
44
- #: models.py:76
44
+ #: models.py:83
45
45
  msgid "Content"
46
46
  msgstr ""
47
47
 
48
48
  #. Translators: This is the date and time the bulletin has been created
49
- #: models.py:81
49
+ #: models.py:88
50
50
  msgid "Created"
51
51
  msgstr ""
52
52
 
53
53
  #. Translators: This is the date and time the bulletin has been updated
54
- #: models.py:87
54
+ #: models.py:94
55
55
  msgid "Updated"
56
56
  msgstr ""
57
57
 
58
- #: models.py:96
58
+ #: models.py:103
59
59
  msgid "User"
60
60
  msgstr ""
61
61
 
62
- #: models.py:102
62
+ #: models.py:109
63
63
  msgid "Group restrictions"
64
64
  msgstr ""
65
65
 
66
- #: models.py:113
66
+ #: models.py:120
67
67
  msgid "Bulletin"
68
68
  msgstr ""
69
69
 
70
- #: models.py:114
70
+ #: models.py:121
71
71
  msgid "Bulletins"
72
72
  msgstr ""
73
73
 
@@ -115,44 +115,41 @@ msgstr ""
115
115
  msgid "Create Bulletin"
116
116
  msgstr ""
117
117
 
118
- #: templates/aa_bulletin_board/partials/app-translation-footer.html:4
119
- msgid "Join our team of translators!"
118
+ #: templates/aa_bulletin_board/partials/footer/app-translation-footer.html:5
119
+ msgid ""
120
+ "Do you want to help translate this app into your language or improve the "
121
+ "existing translation?"
120
122
  msgstr ""
121
123
 
122
- #: templates/aa_bulletin_board/partials/app-translation-footer.html:7
123
- #, python-format
124
- msgid ""
125
- "\n"
126
- " Do you want to help translate this app into your language or "
127
- "improve the existing translation? - %(weblate_link)s\n"
128
- " "
124
+ #: templates/aa_bulletin_board/partials/footer/app-translation-footer.html:8
125
+ msgid "Join our team of translators!"
129
126
  msgstr ""
130
127
 
131
- #: views.py:65
128
+ #: views.py:80
132
129
  #, python-brace-format
133
130
  msgid "Bulletin \"{bulletin__title}\" created."
134
131
  msgstr ""
135
132
 
136
- #: views.py:92
133
+ #: views.py:123
137
134
  msgid ""
138
135
  "The bulletin you are looking for does not exist, or you don't have access to "
139
136
  "it."
140
137
  msgstr ""
141
138
 
142
- #: views.py:129
139
+ #: views.py:165
143
140
  #, python-brace-format
144
141
  msgid "Bulletin \"{bulletin__title}\" updated."
145
142
  msgstr ""
146
143
 
147
- #: views.py:140
144
+ #: views.py:184
148
145
  msgid "The bulletin you are trying to edit does not exist."
149
146
  msgstr ""
150
147
 
151
- #: views.py:159
148
+ #: views.py:208
152
149
  #, python-brace-format
153
150
  msgid "Bulletin \"{bulletin.title}\" deleted."
154
151
  msgstr ""
155
152
 
156
- #: views.py:164
153
+ #: views.py:215
157
154
  msgid "The bulletin you are trying to delete does not exist."
158
155
  msgstr ""
@@ -8,7 +8,7 @@ msgid ""
8
8
  msgstr ""
9
9
  "Project-Id-Version: PACKAGE VERSION\n"
10
10
  "Report-Msgid-Bugs-To: \n"
11
- "POT-Creation-Date: 2023-07-27 22:06+0200\n"
11
+ "POT-Creation-Date: 2023-08-02 15:50+0200\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"
@@ -38,37 +38,37 @@ msgid ""
38
38
  "place, everyone who has access to this module can read this bulletin."
39
39
  msgstr ""
40
40
 
41
- #: models.py:74
41
+ #: models.py:81
42
42
  msgid "Title"
43
43
  msgstr ""
44
44
 
45
- #: models.py:76
45
+ #: models.py:83
46
46
  msgid "Content"
47
47
  msgstr ""
48
48
 
49
49
  #. Translators: This is the date and time the bulletin has been created
50
- #: models.py:81
50
+ #: models.py:88
51
51
  msgid "Created"
52
52
  msgstr ""
53
53
 
54
54
  #. Translators: This is the date and time the bulletin has been updated
55
- #: models.py:87
55
+ #: models.py:94
56
56
  msgid "Updated"
57
57
  msgstr ""
58
58
 
59
- #: models.py:96
59
+ #: models.py:103
60
60
  msgid "User"
61
61
  msgstr ""
62
62
 
63
- #: models.py:102
63
+ #: models.py:109
64
64
  msgid "Group restrictions"
65
65
  msgstr ""
66
66
 
67
- #: models.py:113
67
+ #: models.py:120
68
68
  msgid "Bulletin"
69
69
  msgstr ""
70
70
 
71
- #: models.py:114
71
+ #: models.py:121
72
72
  msgid "Bulletins"
73
73
  msgstr ""
74
74
 
@@ -116,44 +116,41 @@ msgstr ""
116
116
  msgid "Create Bulletin"
117
117
  msgstr ""
118
118
 
119
- #: templates/aa_bulletin_board/partials/app-translation-footer.html:4
120
- msgid "Join our team of translators!"
119
+ #: templates/aa_bulletin_board/partials/footer/app-translation-footer.html:5
120
+ msgid ""
121
+ "Do you want to help translate this app into your language or improve the "
122
+ "existing translation?"
121
123
  msgstr ""
122
124
 
123
- #: templates/aa_bulletin_board/partials/app-translation-footer.html:7
124
- #, python-format
125
- msgid ""
126
- "\n"
127
- " Do you want to help translate this app into your language or "
128
- "improve the existing translation? - %(weblate_link)s\n"
129
- " "
125
+ #: templates/aa_bulletin_board/partials/footer/app-translation-footer.html:8
126
+ msgid "Join our team of translators!"
130
127
  msgstr ""
131
128
 
132
- #: views.py:65
129
+ #: views.py:80
133
130
  #, python-brace-format
134
131
  msgid "Bulletin \"{bulletin__title}\" created."
135
132
  msgstr ""
136
133
 
137
- #: views.py:92
134
+ #: views.py:123
138
135
  msgid ""
139
136
  "The bulletin you are looking for does not exist, or you don't have access to "
140
137
  "it."
141
138
  msgstr ""
142
139
 
143
- #: views.py:129
140
+ #: views.py:165
144
141
  #, python-brace-format
145
142
  msgid "Bulletin \"{bulletin__title}\" updated."
146
143
  msgstr ""
147
144
 
148
- #: views.py:140
145
+ #: views.py:184
149
146
  msgid "The bulletin you are trying to edit does not exist."
150
147
  msgstr ""
151
148
 
152
- #: views.py:159
149
+ #: views.py:208
153
150
  #, python-brace-format
154
151
  msgid "Bulletin \"{bulletin.title}\" deleted."
155
152
  msgstr ""
156
153
 
157
- #: views.py:164
154
+ #: views.py:215
158
155
  msgid "The bulletin you are trying to delete does not exist."
159
156
  msgstr ""
@@ -8,7 +8,7 @@ msgid ""
8
8
  msgstr ""
9
9
  "Project-Id-Version: PACKAGE VERSION\n"
10
10
  "Report-Msgid-Bugs-To: \n"
11
- "POT-Creation-Date: 2023-07-27 22:06+0200\n"
11
+ "POT-Creation-Date: 2023-08-02 15:50+0200\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"
@@ -37,37 +37,37 @@ msgid ""
37
37
  "place, everyone who has access to this module can read this bulletin."
38
38
  msgstr ""
39
39
 
40
- #: models.py:74
40
+ #: models.py:81
41
41
  msgid "Title"
42
42
  msgstr ""
43
43
 
44
- #: models.py:76
44
+ #: models.py:83
45
45
  msgid "Content"
46
46
  msgstr ""
47
47
 
48
48
  #. Translators: This is the date and time the bulletin has been created
49
- #: models.py:81
49
+ #: models.py:88
50
50
  msgid "Created"
51
51
  msgstr ""
52
52
 
53
53
  #. Translators: This is the date and time the bulletin has been updated
54
- #: models.py:87
54
+ #: models.py:94
55
55
  msgid "Updated"
56
56
  msgstr ""
57
57
 
58
- #: models.py:96
58
+ #: models.py:103
59
59
  msgid "User"
60
60
  msgstr ""
61
61
 
62
- #: models.py:102
62
+ #: models.py:109
63
63
  msgid "Group restrictions"
64
64
  msgstr ""
65
65
 
66
- #: models.py:113
66
+ #: models.py:120
67
67
  msgid "Bulletin"
68
68
  msgstr ""
69
69
 
70
- #: models.py:114
70
+ #: models.py:121
71
71
  msgid "Bulletins"
72
72
  msgstr ""
73
73
 
@@ -115,44 +115,41 @@ msgstr ""
115
115
  msgid "Create Bulletin"
116
116
  msgstr ""
117
117
 
118
- #: templates/aa_bulletin_board/partials/app-translation-footer.html:4
119
- msgid "Join our team of translators!"
118
+ #: templates/aa_bulletin_board/partials/footer/app-translation-footer.html:5
119
+ msgid ""
120
+ "Do you want to help translate this app into your language or improve the "
121
+ "existing translation?"
120
122
  msgstr ""
121
123
 
122
- #: templates/aa_bulletin_board/partials/app-translation-footer.html:7
123
- #, python-format
124
- msgid ""
125
- "\n"
126
- " Do you want to help translate this app into your language or "
127
- "improve the existing translation? - %(weblate_link)s\n"
128
- " "
124
+ #: templates/aa_bulletin_board/partials/footer/app-translation-footer.html:8
125
+ msgid "Join our team of translators!"
129
126
  msgstr ""
130
127
 
131
- #: views.py:65
128
+ #: views.py:80
132
129
  #, python-brace-format
133
130
  msgid "Bulletin \"{bulletin__title}\" created."
134
131
  msgstr ""
135
132
 
136
- #: views.py:92
133
+ #: views.py:123
137
134
  msgid ""
138
135
  "The bulletin you are looking for does not exist, or you don't have access to "
139
136
  "it."
140
137
  msgstr ""
141
138
 
142
- #: views.py:129
139
+ #: views.py:165
143
140
  #, python-brace-format
144
141
  msgid "Bulletin \"{bulletin__title}\" updated."
145
142
  msgstr ""
146
143
 
147
- #: views.py:140
144
+ #: views.py:184
148
145
  msgid "The bulletin you are trying to edit does not exist."
149
146
  msgstr ""
150
147
 
151
- #: views.py:159
148
+ #: views.py:208
152
149
  #, python-brace-format
153
150
  msgid "Bulletin \"{bulletin.title}\" deleted."
154
151
  msgstr ""
155
152
 
156
- #: views.py:164
153
+ #: views.py:215
157
154
  msgid "The bulletin you are trying to delete does not exist."
158
155
  msgstr ""