invenio-banners 5.2.1__py2.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 (91) hide show
  1. invenio_banners/__init__.py +16 -0
  2. invenio_banners/administration/__init__.py +8 -0
  3. invenio_banners/administration/banners.py +183 -0
  4. invenio_banners/alembic/5e02314da32e_create_invenio_banners_db_table.py +43 -0
  5. invenio_banners/alembic/e40d93d99040_create_invenio_banners_branch.py +27 -0
  6. invenio_banners/config.py +54 -0
  7. invenio_banners/ext.py +60 -0
  8. invenio_banners/proxies.py +19 -0
  9. invenio_banners/records/__init__.py +13 -0
  10. invenio_banners/records/models.py +143 -0
  11. invenio_banners/resources/__init__.py +16 -0
  12. invenio_banners/resources/config.py +51 -0
  13. invenio_banners/resources/errors.py +52 -0
  14. invenio_banners/resources/resource.py +107 -0
  15. invenio_banners/services/__init__.py +20 -0
  16. invenio_banners/services/config.py +85 -0
  17. invenio_banners/services/permissions.py +23 -0
  18. invenio_banners/services/results.py +124 -0
  19. invenio_banners/services/schemas.py +39 -0
  20. invenio_banners/services/service.py +170 -0
  21. invenio_banners/templates/semantic-ui/invenio_banners/banner.html +26 -0
  22. invenio_banners/translations/ar/LC_MESSAGES/messages.mo +0 -0
  23. invenio_banners/translations/ar/LC_MESSAGES/messages.po +193 -0
  24. invenio_banners/translations/bg/LC_MESSAGES/messages.mo +0 -0
  25. invenio_banners/translations/bg/LC_MESSAGES/messages.po +177 -0
  26. invenio_banners/translations/ca/LC_MESSAGES/messages.mo +0 -0
  27. invenio_banners/translations/ca/LC_MESSAGES/messages.po +178 -0
  28. invenio_banners/translations/cs/LC_MESSAGES/messages.mo +0 -0
  29. invenio_banners/translations/cs/LC_MESSAGES/messages.po +198 -0
  30. invenio_banners/translations/da/LC_MESSAGES/messages.mo +0 -0
  31. invenio_banners/translations/da/LC_MESSAGES/messages.po +173 -0
  32. invenio_banners/translations/de/LC_MESSAGES/messages.mo +0 -0
  33. invenio_banners/translations/de/LC_MESSAGES/messages.po +202 -0
  34. invenio_banners/translations/el/LC_MESSAGES/messages.mo +0 -0
  35. invenio_banners/translations/el/LC_MESSAGES/messages.po +178 -0
  36. invenio_banners/translations/es/LC_MESSAGES/messages.mo +0 -0
  37. invenio_banners/translations/es/LC_MESSAGES/messages.po +197 -0
  38. invenio_banners/translations/et/LC_MESSAGES/messages.mo +0 -0
  39. invenio_banners/translations/et/LC_MESSAGES/messages.po +177 -0
  40. invenio_banners/translations/fa/LC_MESSAGES/messages.mo +0 -0
  41. invenio_banners/translations/fa/LC_MESSAGES/messages.po +173 -0
  42. invenio_banners/translations/fi/LC_MESSAGES/messages.mo +0 -0
  43. invenio_banners/translations/fi/LC_MESSAGES/messages.po +194 -0
  44. invenio_banners/translations/fr/LC_MESSAGES/messages.mo +0 -0
  45. invenio_banners/translations/fr/LC_MESSAGES/messages.po +180 -0
  46. invenio_banners/translations/hr/LC_MESSAGES/messages.mo +0 -0
  47. invenio_banners/translations/hr/LC_MESSAGES/messages.po +177 -0
  48. invenio_banners/translations/hu/LC_MESSAGES/messages.mo +0 -0
  49. invenio_banners/translations/hu/LC_MESSAGES/messages.po +196 -0
  50. invenio_banners/translations/it/LC_MESSAGES/messages.mo +0 -0
  51. invenio_banners/translations/it/LC_MESSAGES/messages.po +179 -0
  52. invenio_banners/translations/ja/LC_MESSAGES/messages.mo +0 -0
  53. invenio_banners/translations/ja/LC_MESSAGES/messages.po +177 -0
  54. invenio_banners/translations/ka/LC_MESSAGES/messages.mo +0 -0
  55. invenio_banners/translations/ka/LC_MESSAGES/messages.po +177 -0
  56. invenio_banners/translations/ko/LC_MESSAGES/messages.mo +0 -0
  57. invenio_banners/translations/ko/LC_MESSAGES/messages.po +173 -0
  58. invenio_banners/translations/lt/LC_MESSAGES/messages.mo +0 -0
  59. invenio_banners/translations/lt/LC_MESSAGES/messages.po +177 -0
  60. invenio_banners/translations/messages.pot +174 -0
  61. invenio_banners/translations/no/LC_MESSAGES/messages.mo +0 -0
  62. invenio_banners/translations/no/LC_MESSAGES/messages.po +177 -0
  63. invenio_banners/translations/pl/LC_MESSAGES/messages.mo +0 -0
  64. invenio_banners/translations/pl/LC_MESSAGES/messages.po +177 -0
  65. invenio_banners/translations/pt/LC_MESSAGES/messages.mo +0 -0
  66. invenio_banners/translations/pt/LC_MESSAGES/messages.po +177 -0
  67. invenio_banners/translations/ro/LC_MESSAGES/messages.mo +0 -0
  68. invenio_banners/translations/ro/LC_MESSAGES/messages.po +179 -0
  69. invenio_banners/translations/ru/LC_MESSAGES/messages.mo +0 -0
  70. invenio_banners/translations/ru/LC_MESSAGES/messages.po +179 -0
  71. invenio_banners/translations/sk/LC_MESSAGES/messages.mo +0 -0
  72. invenio_banners/translations/sk/LC_MESSAGES/messages.po +178 -0
  73. invenio_banners/translations/sv/LC_MESSAGES/messages.mo +0 -0
  74. invenio_banners/translations/sv/LC_MESSAGES/messages.po +197 -0
  75. invenio_banners/translations/tr/LC_MESSAGES/messages.mo +0 -0
  76. invenio_banners/translations/tr/LC_MESSAGES/messages.po +196 -0
  77. invenio_banners/translations/uk/LC_MESSAGES/messages.mo +0 -0
  78. invenio_banners/translations/uk/LC_MESSAGES/messages.po +177 -0
  79. invenio_banners/translations/zh_CN/LC_MESSAGES/messages.mo +0 -0
  80. invenio_banners/translations/zh_CN/LC_MESSAGES/messages.po +179 -0
  81. invenio_banners/translations/zh_TW/LC_MESSAGES/messages.mo +0 -0
  82. invenio_banners/translations/zh_TW/LC_MESSAGES/messages.po +177 -0
  83. invenio_banners/utils.py +52 -0
  84. invenio_banners/views.py +14 -0
  85. invenio_banners-5.2.1.dist-info/METADATA +157 -0
  86. invenio_banners-5.2.1.dist-info/RECORD +91 -0
  87. invenio_banners-5.2.1.dist-info/WHEEL +6 -0
  88. invenio_banners-5.2.1.dist-info/entry_points.txt +23 -0
  89. invenio_banners-5.2.1.dist-info/licenses/AUTHORS.rst +12 -0
  90. invenio_banners-5.2.1.dist-info/licenses/LICENSE +21 -0
  91. invenio_banners-5.2.1.dist-info/top_level.txt +1 -0
@@ -0,0 +1,179 @@
1
+ # Translations template for invenio-banners.
2
+ # Copyright (C) 2025 CERN
3
+ # This file is distributed under the same license as the invenio-banners
4
+ # project.
5
+ # FIRST AUTHOR <EMAIL@ADDRESS>, 2025.
6
+ #
7
+ # Translators:
8
+ # Anna Sakoyan, 2025
9
+ # Tibor Simko <tibor.simko@cern.ch>, 2025
10
+ #
11
+ #, fuzzy
12
+ msgid ""
13
+ msgstr ""
14
+ "Project-Id-Version: invenio-banners 5.0.0\n"
15
+ "Report-Msgid-Bugs-To: info@inveniosoftware.org\n"
16
+ "POT-Creation-Date: 2025-07-08 19:41+0000\n"
17
+ "PO-Revision-Date: 2023-06-30 09:38+0000\n"
18
+ "Last-Translator: Tibor Simko <tibor.simko@cern.ch>, 2025\n"
19
+ "Language-Team: Russian (https://app.transifex.com/inveniosoftware/teams/23537/ru/)\n"
20
+ "MIME-Version: 1.0\n"
21
+ "Content-Type: text/plain; charset=UTF-8\n"
22
+ "Content-Transfer-Encoding: 8bit\n"
23
+ "Generated-By: Babel 2.17.0\n"
24
+ "Language: ru\n"
25
+ "Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n%100>=11 && n%100<=14)? 2 : 3);\n"
26
+
27
+ #: invenio_banners/config.py:16
28
+ msgid "Info"
29
+ msgstr ""
30
+
31
+ #: invenio_banners/config.py:17
32
+ msgid "Warning"
33
+ msgstr "Предупреждение"
34
+
35
+ #: invenio_banners/config.py:18
36
+ msgid "Other"
37
+ msgstr "Другое"
38
+
39
+ #: invenio_banners/administration/banners.py:43
40
+ #: invenio_banners/administration/banners.py:86
41
+ #: invenio_banners/administration/banners.py:178 invenio_banners/config.py:38
42
+ msgid "URL path"
43
+ msgstr "Путь URL"
44
+
45
+ #: invenio_banners/config.py:42
46
+ msgid "Start DateTime"
47
+ msgstr "Дата и время начала"
48
+
49
+ #: invenio_banners/config.py:46
50
+ msgid "End DateTime"
51
+ msgstr "Дата и время окончания"
52
+
53
+ #: invenio_banners/administration/banners.py:42
54
+ #: invenio_banners/administration/banners.py:113
55
+ #: invenio_banners/administration/banners.py:180 invenio_banners/config.py:50
56
+ #: invenio_banners/services/config.py:60
57
+ msgid "Active"
58
+ msgstr "Активен"
59
+
60
+ #: invenio_banners/administration/banners.py:26
61
+ #: invenio_banners/administration/banners.py:27
62
+ msgid "Banners"
63
+ msgstr ""
64
+
65
+ #: invenio_banners/administration/banners.py:28
66
+ msgid "Site management"
67
+ msgstr "Управление сайтом"
68
+
69
+ #: invenio_banners/administration/banners.py:38
70
+ msgid "Id"
71
+ msgstr "Идентификатор"
72
+
73
+ #: invenio_banners/administration/banners.py:39
74
+ msgid "Start time (UTC)"
75
+ msgstr "Время начала (UTC)"
76
+
77
+ #: invenio_banners/administration/banners.py:40
78
+ msgid "End time (UTC)"
79
+ msgstr "Время окончания (UTC)"
80
+
81
+ #: invenio_banners/administration/banners.py:41
82
+ #: invenio_banners/administration/banners.py:78
83
+ #: invenio_banners/administration/banners.py:177
84
+ msgid "Message"
85
+ msgstr "Соощение"
86
+
87
+ #: invenio_banners/administration/banners.py:44
88
+ #: invenio_banners/administration/banners.py:98
89
+ #: invenio_banners/administration/banners.py:179
90
+ msgid "Category"
91
+ msgstr "Категория"
92
+
93
+ #: invenio_banners/administration/banners.py:56
94
+ #: invenio_banners/administration/banners.py:175
95
+ #: invenio_banners/services/config.py:52
96
+ msgid "Start time"
97
+ msgstr "Время начала"
98
+
99
+ #: invenio_banners/administration/banners.py:58
100
+ msgid ""
101
+ "Date/time to make the banner active. Input format: yyyy-mm-dd hh:mm:ss. Set "
102
+ "to future date/time to delay the banner. Note: specify time in UTC time "
103
+ "standard."
104
+ msgstr ""
105
+
106
+ #: invenio_banners/administration/banners.py:63
107
+ #: invenio_banners/administration/banners.py:74
108
+ msgid "YYYY-MM-DD hh:mm:ss"
109
+ msgstr "ГГГГ-ММ-ДД чч:мм:сс"
110
+
111
+ #: invenio_banners/administration/banners.py:67
112
+ #: invenio_banners/administration/banners.py:176
113
+ #: invenio_banners/services/config.py:56
114
+ msgid "End time"
115
+ msgstr "Время окончания"
116
+
117
+ #: invenio_banners/administration/banners.py:69
118
+ msgid ""
119
+ "Date/time to make the banner inactive. Input format: yyyy-mm-dd hh:mm:ss. "
120
+ "An empty value makes the banner active until manually disabled via the "
121
+ "active flag. Note: specify time in UTC time standard."
122
+ msgstr ""
123
+
124
+ #: invenio_banners/administration/banners.py:80
125
+ msgid "Message to be displayed on the banner. HTML format is supported."
126
+ msgstr ""
127
+ "Сообщение, которое будет размещено на баннере. Поддерживается формат HTML."
128
+
129
+ #: invenio_banners/administration/banners.py:88
130
+ msgid ""
131
+ "URL path prefix (including the first /) to define where the message will be "
132
+ "active on the site. For example, if you enter `/records`, any URL starting "
133
+ "with `/records` will return an active banner (`/records`, `/records/1234`, "
134
+ "etc.). An empty value makes the banner active for any URL."
135
+ msgstr ""
136
+
137
+ #: invenio_banners/administration/banners.py:100
138
+ msgid ""
139
+ "Banner category. `Info` option displays a blue banner. `Warning` option "
140
+ "displays an orange banner. `Other` option displays a gray banner."
141
+ msgstr ""
142
+
143
+ #: invenio_banners/administration/banners.py:115
144
+ msgid ""
145
+ "Tick it to activate the banner: banner will be displayed according to "
146
+ "start/end times. If not activated, start/end times will be ignored."
147
+ msgstr ""
148
+
149
+ #: invenio_banners/administration/banners.py:131
150
+ msgid "Edit Banner"
151
+ msgstr ""
152
+
153
+ #: invenio_banners/administration/banners.py:150
154
+ msgid "Create Banner"
155
+ msgstr ""
156
+
157
+ #: invenio_banners/administration/banners.py:166
158
+ msgid "Banner Details"
159
+ msgstr ""
160
+
161
+ #: invenio_banners/administration/banners.py:181
162
+ msgid "Created"
163
+ msgstr "Создано"
164
+
165
+ #: invenio_banners/administration/banners.py:182
166
+ msgid "Updated"
167
+ msgstr "Обновлено"
168
+
169
+ #: invenio_banners/services/config.py:36
170
+ msgid "Ascending"
171
+ msgstr "По возрастанию"
172
+
173
+ #: invenio_banners/services/config.py:40
174
+ msgid "Descending"
175
+ msgstr "По убыванию"
176
+
177
+ #: invenio_banners/services/config.py:48
178
+ msgid "Url path"
179
+ msgstr "Путь URL"
@@ -0,0 +1,178 @@
1
+ # Translations template for invenio-banners.
2
+ # Copyright (C) 2025 CERN
3
+ # This file is distributed under the same license as the invenio-banners
4
+ # project.
5
+ # FIRST AUTHOR <EMAIL@ADDRESS>, 2025.
6
+ #
7
+ # Translators:
8
+ # Ivan Masár <helix84@centrum.sk>, 2023
9
+ # Tibor Simko <tibor.simko@cern.ch>, 2025
10
+ #
11
+ #, fuzzy
12
+ msgid ""
13
+ msgstr ""
14
+ "Project-Id-Version: invenio-banners 5.0.0\n"
15
+ "Report-Msgid-Bugs-To: info@inveniosoftware.org\n"
16
+ "POT-Creation-Date: 2025-07-08 19:41+0000\n"
17
+ "PO-Revision-Date: 2023-06-30 09:38+0000\n"
18
+ "Last-Translator: Tibor Simko <tibor.simko@cern.ch>, 2025\n"
19
+ "Language-Team: Slovak (https://app.transifex.com/inveniosoftware/teams/23537/sk/)\n"
20
+ "MIME-Version: 1.0\n"
21
+ "Content-Type: text/plain; charset=UTF-8\n"
22
+ "Content-Transfer-Encoding: 8bit\n"
23
+ "Generated-By: Babel 2.17.0\n"
24
+ "Language: sk\n"
25
+ "Plural-Forms: nplurals=4; plural=(n % 1 == 0 && n == 1 ? 0 : n % 1 == 0 && n >= 2 && n <= 4 ? 1 : n % 1 != 0 ? 2: 3);\n"
26
+
27
+ #: invenio_banners/config.py:16
28
+ msgid "Info"
29
+ msgstr ""
30
+
31
+ #: invenio_banners/config.py:17
32
+ msgid "Warning"
33
+ msgstr "Upozornenie"
34
+
35
+ #: invenio_banners/config.py:18
36
+ msgid "Other"
37
+ msgstr ""
38
+
39
+ #: invenio_banners/administration/banners.py:43
40
+ #: invenio_banners/administration/banners.py:86
41
+ #: invenio_banners/administration/banners.py:178 invenio_banners/config.py:38
42
+ msgid "URL path"
43
+ msgstr ""
44
+
45
+ #: invenio_banners/config.py:42
46
+ msgid "Start DateTime"
47
+ msgstr ""
48
+
49
+ #: invenio_banners/config.py:46
50
+ msgid "End DateTime"
51
+ msgstr ""
52
+
53
+ #: invenio_banners/administration/banners.py:42
54
+ #: invenio_banners/administration/banners.py:113
55
+ #: invenio_banners/administration/banners.py:180 invenio_banners/config.py:50
56
+ #: invenio_banners/services/config.py:60
57
+ msgid "Active"
58
+ msgstr "Aktívny"
59
+
60
+ #: invenio_banners/administration/banners.py:26
61
+ #: invenio_banners/administration/banners.py:27
62
+ msgid "Banners"
63
+ msgstr ""
64
+
65
+ #: invenio_banners/administration/banners.py:28
66
+ msgid "Site management"
67
+ msgstr ""
68
+
69
+ #: invenio_banners/administration/banners.py:38
70
+ msgid "Id"
71
+ msgstr "ID"
72
+
73
+ #: invenio_banners/administration/banners.py:39
74
+ msgid "Start time (UTC)"
75
+ msgstr ""
76
+
77
+ #: invenio_banners/administration/banners.py:40
78
+ msgid "End time (UTC)"
79
+ msgstr ""
80
+
81
+ #: invenio_banners/administration/banners.py:41
82
+ #: invenio_banners/administration/banners.py:78
83
+ #: invenio_banners/administration/banners.py:177
84
+ msgid "Message"
85
+ msgstr ""
86
+
87
+ #: invenio_banners/administration/banners.py:44
88
+ #: invenio_banners/administration/banners.py:98
89
+ #: invenio_banners/administration/banners.py:179
90
+ msgid "Category"
91
+ msgstr ""
92
+
93
+ #: invenio_banners/administration/banners.py:56
94
+ #: invenio_banners/administration/banners.py:175
95
+ #: invenio_banners/services/config.py:52
96
+ msgid "Start time"
97
+ msgstr ""
98
+
99
+ #: invenio_banners/administration/banners.py:58
100
+ msgid ""
101
+ "Date/time to make the banner active. Input format: yyyy-mm-dd hh:mm:ss. Set "
102
+ "to future date/time to delay the banner. Note: specify time in UTC time "
103
+ "standard."
104
+ msgstr ""
105
+
106
+ #: invenio_banners/administration/banners.py:63
107
+ #: invenio_banners/administration/banners.py:74
108
+ msgid "YYYY-MM-DD hh:mm:ss"
109
+ msgstr ""
110
+
111
+ #: invenio_banners/administration/banners.py:67
112
+ #: invenio_banners/administration/banners.py:176
113
+ #: invenio_banners/services/config.py:56
114
+ msgid "End time"
115
+ msgstr ""
116
+
117
+ #: invenio_banners/administration/banners.py:69
118
+ msgid ""
119
+ "Date/time to make the banner inactive. Input format: yyyy-mm-dd hh:mm:ss. "
120
+ "An empty value makes the banner active until manually disabled via the "
121
+ "active flag. Note: specify time in UTC time standard."
122
+ msgstr ""
123
+
124
+ #: invenio_banners/administration/banners.py:80
125
+ msgid "Message to be displayed on the banner. HTML format is supported."
126
+ msgstr ""
127
+
128
+ #: invenio_banners/administration/banners.py:88
129
+ msgid ""
130
+ "URL path prefix (including the first /) to define where the message will be "
131
+ "active on the site. For example, if you enter `/records`, any URL starting "
132
+ "with `/records` will return an active banner (`/records`, `/records/1234`, "
133
+ "etc.). An empty value makes the banner active for any URL."
134
+ msgstr ""
135
+
136
+ #: invenio_banners/administration/banners.py:100
137
+ msgid ""
138
+ "Banner category. `Info` option displays a blue banner. `Warning` option "
139
+ "displays an orange banner. `Other` option displays a gray banner."
140
+ msgstr ""
141
+
142
+ #: invenio_banners/administration/banners.py:115
143
+ msgid ""
144
+ "Tick it to activate the banner: banner will be displayed according to "
145
+ "start/end times. If not activated, start/end times will be ignored."
146
+ msgstr ""
147
+
148
+ #: invenio_banners/administration/banners.py:131
149
+ msgid "Edit Banner"
150
+ msgstr ""
151
+
152
+ #: invenio_banners/administration/banners.py:150
153
+ msgid "Create Banner"
154
+ msgstr ""
155
+
156
+ #: invenio_banners/administration/banners.py:166
157
+ msgid "Banner Details"
158
+ msgstr ""
159
+
160
+ #: invenio_banners/administration/banners.py:181
161
+ msgid "Created"
162
+ msgstr ""
163
+
164
+ #: invenio_banners/administration/banners.py:182
165
+ msgid "Updated"
166
+ msgstr ""
167
+
168
+ #: invenio_banners/services/config.py:36
169
+ msgid "Ascending"
170
+ msgstr ""
171
+
172
+ #: invenio_banners/services/config.py:40
173
+ msgid "Descending"
174
+ msgstr ""
175
+
176
+ #: invenio_banners/services/config.py:48
177
+ msgid "Url path"
178
+ msgstr ""
@@ -0,0 +1,197 @@
1
+ # Translations template for invenio-banners.
2
+ # Copyright (C) 2025 CERN
3
+ # This file is distributed under the same license as the invenio-banners
4
+ # project.
5
+ # FIRST AUTHOR <EMAIL@ADDRESS>, 2025.
6
+ #
7
+ # Translators:
8
+ # Rim Sharif, 2023
9
+ # Sam Arbid, 2025
10
+ # Tibor Simko <tibor.simko@cern.ch>, 2025
11
+ # Lina Andrén, 2025
12
+ # Mattias Vesterlund, 2025
13
+ #
14
+ #, fuzzy
15
+ msgid ""
16
+ msgstr ""
17
+ "Project-Id-Version: invenio-banners 5.0.0\n"
18
+ "Report-Msgid-Bugs-To: info@inveniosoftware.org\n"
19
+ "POT-Creation-Date: 2025-07-08 19:41+0000\n"
20
+ "PO-Revision-Date: 2023-06-30 09:38+0000\n"
21
+ "Last-Translator: Mattias Vesterlund, 2025\n"
22
+ "Language-Team: Swedish (https://app.transifex.com/inveniosoftware/teams/23537/sv/)\n"
23
+ "MIME-Version: 1.0\n"
24
+ "Content-Type: text/plain; charset=UTF-8\n"
25
+ "Content-Transfer-Encoding: 8bit\n"
26
+ "Generated-By: Babel 2.17.0\n"
27
+ "Language: sv\n"
28
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
29
+
30
+ #: invenio_banners/config.py:16
31
+ msgid "Info"
32
+ msgstr "Info"
33
+
34
+ #: invenio_banners/config.py:17
35
+ msgid "Warning"
36
+ msgstr "Varning"
37
+
38
+ #: invenio_banners/config.py:18
39
+ msgid "Other"
40
+ msgstr "Övrig"
41
+
42
+ #: invenio_banners/administration/banners.py:43
43
+ #: invenio_banners/administration/banners.py:86
44
+ #: invenio_banners/administration/banners.py:178 invenio_banners/config.py:38
45
+ msgid "URL path"
46
+ msgstr "URL-adress"
47
+
48
+ #: invenio_banners/config.py:42
49
+ msgid "Start DateTime"
50
+ msgstr "Startdatum och tidpunkt"
51
+
52
+ #: invenio_banners/config.py:46
53
+ msgid "End DateTime"
54
+ msgstr "Slutdatum och tidpunkt"
55
+
56
+ #: invenio_banners/administration/banners.py:42
57
+ #: invenio_banners/administration/banners.py:113
58
+ #: invenio_banners/administration/banners.py:180 invenio_banners/config.py:50
59
+ #: invenio_banners/services/config.py:60
60
+ msgid "Active"
61
+ msgstr "Aktiv"
62
+
63
+ #: invenio_banners/administration/banners.py:26
64
+ #: invenio_banners/administration/banners.py:27
65
+ msgid "Banners"
66
+ msgstr "Banderoller"
67
+
68
+ #: invenio_banners/administration/banners.py:28
69
+ msgid "Site management"
70
+ msgstr "Hantera webbplatsen"
71
+
72
+ #: invenio_banners/administration/banners.py:38
73
+ msgid "Id"
74
+ msgstr "Id"
75
+
76
+ #: invenio_banners/administration/banners.py:39
77
+ msgid "Start time (UTC)"
78
+ msgstr "Starttid (UTC)"
79
+
80
+ #: invenio_banners/administration/banners.py:40
81
+ msgid "End time (UTC)"
82
+ msgstr "Sluttid (UTC)"
83
+
84
+ #: invenio_banners/administration/banners.py:41
85
+ #: invenio_banners/administration/banners.py:78
86
+ #: invenio_banners/administration/banners.py:177
87
+ msgid "Message"
88
+ msgstr "Meddelande"
89
+
90
+ #: invenio_banners/administration/banners.py:44
91
+ #: invenio_banners/administration/banners.py:98
92
+ #: invenio_banners/administration/banners.py:179
93
+ msgid "Category"
94
+ msgstr "Kategori"
95
+
96
+ #: invenio_banners/administration/banners.py:56
97
+ #: invenio_banners/administration/banners.py:175
98
+ #: invenio_banners/services/config.py:52
99
+ msgid "Start time"
100
+ msgstr "Starttid"
101
+
102
+ #: invenio_banners/administration/banners.py:58
103
+ msgid ""
104
+ "Date/time to make the banner active. Input format: yyyy-mm-dd hh:mm:ss. Set "
105
+ "to future date/time to delay the banner. Note: specify time in UTC time "
106
+ "standard."
107
+ msgstr ""
108
+ "Datum och tidpunkt då banderollen ska aktiveras. Format: ÅÅÅÅ-MM-DD "
109
+ "tt:mm:ss. Observera att tid ska anges enligt UTC."
110
+
111
+ #: invenio_banners/administration/banners.py:63
112
+ #: invenio_banners/administration/banners.py:74
113
+ msgid "YYYY-MM-DD hh:mm:ss"
114
+ msgstr "ÅÅÅÅ-MM-DD tt:mm:ss"
115
+
116
+ #: invenio_banners/administration/banners.py:67
117
+ #: invenio_banners/administration/banners.py:176
118
+ #: invenio_banners/services/config.py:56
119
+ msgid "End time"
120
+ msgstr "Sluttidpunkt"
121
+
122
+ #: invenio_banners/administration/banners.py:69
123
+ msgid ""
124
+ "Date/time to make the banner inactive. Input format: yyyy-mm-dd hh:mm:ss. "
125
+ "An empty value makes the banner active until manually disabled via the "
126
+ "active flag. Note: specify time in UTC time standard."
127
+ msgstr ""
128
+ "Datum och tidpunkt då banderollen ska avaktiveras. Format: ÅÅÅÅ-MM-DD "
129
+ "tt:mm:ss. Tomt värde låter banderollen visas tills den avaktiveras manuellt."
130
+ " Observera att tid ska anges enligt UTC."
131
+
132
+ #: invenio_banners/administration/banners.py:80
133
+ msgid "Message to be displayed on the banner. HTML format is supported."
134
+ msgstr "Meddelande som ska visas på banderollen. HTML-format stöds."
135
+
136
+ #: invenio_banners/administration/banners.py:88
137
+ msgid ""
138
+ "URL path prefix (including the first /) to define where the message will be "
139
+ "active on the site. For example, if you enter `/records`, any URL starting "
140
+ "with `/records` will return an active banner (`/records`, `/records/1234`, "
141
+ "etc.). An empty value makes the banner active for any URL."
142
+ msgstr ""
143
+ "Ange var på sajten banderollen ska visas genom att ange den del av URL:en "
144
+ "som definierar alla sidor banderollen ska visas på (inklusive inledande /). "
145
+ "Till exempel, om du anger `/records` kommer alla URL:er som börjar med "
146
+ "`/records` att visa banderollen då den är aktiv (sidan `/records`, "
147
+ "`/records1234` osv). Tomt värde gör att banderollen visas för alla URL:er. "
148
+
149
+ #: invenio_banners/administration/banners.py:100
150
+ msgid ""
151
+ "Banner category. `Info` option displays a blue banner. `Warning` option "
152
+ "displays an orange banner. `Other` option displays a gray banner."
153
+ msgstr ""
154
+ "Typ av banderoll. Om du väljer typ `Info` visas banderollen som text med blå"
155
+ " bakgrund. Banderoller med typ `Varning` visas med orange bakgrund och typ "
156
+ "`Övrig` visas med grå bakgrund."
157
+
158
+ #: invenio_banners/administration/banners.py:115
159
+ msgid ""
160
+ "Tick it to activate the banner: banner will be displayed according to "
161
+ "start/end times. If not activated, start/end times will be ignored."
162
+ msgstr ""
163
+ "Aktivera banderollen: om denna ruta är ikryssad kommer banderollen att visas"
164
+ " enligt de angivna start- och sluttiderna. Om rutan inte krysssas i kommer "
165
+ "start- och sluttider inte att ha någon effekt."
166
+
167
+ #: invenio_banners/administration/banners.py:131
168
+ msgid "Edit Banner"
169
+ msgstr "Redigera banderoll"
170
+
171
+ #: invenio_banners/administration/banners.py:150
172
+ msgid "Create Banner"
173
+ msgstr "Skapa banderoll"
174
+
175
+ #: invenio_banners/administration/banners.py:166
176
+ msgid "Banner Details"
177
+ msgstr "Detaljer för banderoll"
178
+
179
+ #: invenio_banners/administration/banners.py:181
180
+ msgid "Created"
181
+ msgstr "Skapad"
182
+
183
+ #: invenio_banners/administration/banners.py:182
184
+ msgid "Updated"
185
+ msgstr "Uppdaterad"
186
+
187
+ #: invenio_banners/services/config.py:36
188
+ msgid "Ascending"
189
+ msgstr "Stigande"
190
+
191
+ #: invenio_banners/services/config.py:40
192
+ msgid "Descending"
193
+ msgstr "Nedåtgående"
194
+
195
+ #: invenio_banners/services/config.py:48
196
+ msgid "Url path"
197
+ msgstr "URL-adress"