invenio-app-rdm 13.0.3__py2.py3-none-any.whl → 13.0.5__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 (27) hide show
  1. invenio_app_rdm/__init__.py +2 -1
  2. invenio_app_rdm/theme/assets/semantic-ui/js/invenio_app_rdm/requests/timeline/AccessRequestTimelineEdit.js +4 -4
  3. invenio_app_rdm/theme/assets/semantic-ui/js/invenio_app_rdm/requests/timeline/AccessRequestTimelineRead.js +1 -1
  4. invenio_app_rdm/theme/assets/semantic-ui/translations/invenio_app_rdm/messages/_generatedTranslations.js +2 -0
  5. invenio_app_rdm/theme/assets/semantic-ui/translations/invenio_app_rdm/messages/ar/messages.po +7 -7
  6. invenio_app_rdm/theme/assets/semantic-ui/translations/invenio_app_rdm/messages/ar/translations.json +5 -5
  7. invenio_app_rdm/theme/assets/semantic-ui/translations/invenio_app_rdm/messages/fi/messages.po +994 -0
  8. invenio_app_rdm/theme/assets/semantic-ui/translations/invenio_app_rdm/messages/fi/translations.json +306 -0
  9. invenio_app_rdm/theme/assets/semantic-ui/translations/invenio_app_rdm/messages/hu/messages.po +7 -7
  10. invenio_app_rdm/theme/assets/semantic-ui/translations/invenio_app_rdm/messages/hu/translations.json +5 -5
  11. invenio_app_rdm/theme/templates/semantic-ui/invenio_app_rdm/administration_page.html +6 -2
  12. invenio_app_rdm/translations/ar/LC_MESSAGES/messages.mo +0 -0
  13. invenio_app_rdm/translations/ar/LC_MESSAGES/messages.po +34 -32
  14. invenio_app_rdm/translations/cs/LC_MESSAGES/messages.mo +0 -0
  15. invenio_app_rdm/translations/cs/LC_MESSAGES/messages.po +3 -3
  16. invenio_app_rdm/translations/es/LC_MESSAGES/messages.mo +0 -0
  17. invenio_app_rdm/translations/es/LC_MESSAGES/messages.po +1 -1
  18. invenio_app_rdm/translations/fi/LC_MESSAGES/messages.mo +0 -0
  19. invenio_app_rdm/translations/fi/LC_MESSAGES/messages.po +1495 -0
  20. invenio_app_rdm/translations/hu/LC_MESSAGES/messages.mo +0 -0
  21. invenio_app_rdm/translations/hu/LC_MESSAGES/messages.po +9 -9
  22. {invenio_app_rdm-13.0.3.dist-info → invenio_app_rdm-13.0.5.dist-info}/METADATA +12 -2
  23. {invenio_app_rdm-13.0.3.dist-info → invenio_app_rdm-13.0.5.dist-info}/RECORD +27 -23
  24. {invenio_app_rdm-13.0.3.dist-info → invenio_app_rdm-13.0.5.dist-info}/WHEEL +0 -0
  25. {invenio_app_rdm-13.0.3.dist-info → invenio_app_rdm-13.0.5.dist-info}/entry_points.txt +0 -0
  26. {invenio_app_rdm-13.0.3.dist-info → invenio_app_rdm-13.0.5.dist-info}/licenses/LICENSE +0 -0
  27. {invenio_app_rdm-13.0.3.dist-info → invenio_app_rdm-13.0.5.dist-info}/top_level.txt +0 -0
@@ -3,6 +3,7 @@
3
3
  # Copyright (C) 2019-2025 CERN.
4
4
  # Copyright (C) 2019-2022 Northwestern University.
5
5
  # Copyright (C) 2024-2025 Graz University of Technology.
6
+ # Copyright (C) 2025 KTH Royal Institute of Technology.
6
7
  #
7
8
  # Invenio App RDM is free software; you can redistribute it and/or modify it
8
9
  # under the terms of the MIT License; see LICENSE file for more details.
@@ -17,6 +18,6 @@
17
18
  #
18
19
  # See PEP 0440 for details - https://www.python.org/dev/peps/pep-0440
19
20
 
20
- __version__ = "13.0.3"
21
+ __version__ = "13.0.5"
21
22
 
22
23
  __all__ = ("__version__",)
@@ -46,7 +46,7 @@ export class AccessRequestTimelineEdit extends Component {
46
46
  links: { self: selfLink },
47
47
  } = request;
48
48
  const { secret_link_expiration: secretLinkExpiration } = values;
49
- if (secretLinkExpiration === null) {
49
+ if (secretLinkExpiration === null || secretLinkExpiration === "") {
50
50
  payload["secret_link_expiration"] = "0";
51
51
  } else {
52
52
  const date = DateTime.fromISO(secretLinkExpiration);
@@ -76,17 +76,17 @@ export class AccessRequestTimelineEdit extends Component {
76
76
  initFormValues = () => {
77
77
  const {
78
78
  request: {
79
- payload: { secret_link_expiration },
79
+ payload: { secret_link_expiration: secretLinkExpiration },
80
80
  },
81
81
  } = this.props;
82
82
 
83
- if (parseInt(secret_link_expiration) === 0) {
83
+ if (parseInt(secretLinkExpiration) === 0 || secretLinkExpiration === "NaN") {
84
84
  return {
85
85
  secret_link_expiration: "",
86
86
  };
87
87
  }
88
88
  const dateFromDays = DateTime.now().plus({
89
- days: parseInt(secret_link_expiration),
89
+ days: parseInt(secretLinkExpiration),
90
90
  });
91
91
  return {
92
92
  secret_link_expiration: dateFromDays.toISODate(),
@@ -20,7 +20,7 @@ export class AccessRequestTimelineRead extends Component {
20
20
  } = this.props;
21
21
 
22
22
  const expirationDate =
23
- secretLinkExpiration === 0
23
+ parseInt(secretLinkExpiration) === 0
24
24
  ? i18next.t("Never")
25
25
  : DateTime.fromISO(updated)
26
26
  .plus({
@@ -12,6 +12,7 @@ import TRANSLATE_EN from "./en/translations.json";
12
12
  import TRANSLATE_ES from "./es/translations.json";
13
13
  import TRANSLATE_ET from "./et/translations.json";
14
14
  import TRANSLATE_FA from "./fa/translations.json";
15
+ import TRANSLATE_FI from "./fi/translations.json";
15
16
  import TRANSLATE_FR from "./fr/translations.json";
16
17
  import TRANSLATE_HR from "./hr/translations.json";
17
18
  import TRANSLATE_HU from "./hu/translations.json";
@@ -44,6 +45,7 @@ export const translations = {
44
45
  es: { translation: TRANSLATE_ES },
45
46
  et: { translation: TRANSLATE_ET },
46
47
  fa: { translation: TRANSLATE_FA },
48
+ fi: { translation: TRANSLATE_FI },
47
49
  fr: { translation: TRANSLATE_FR },
48
50
  hr: { translation: TRANSLATE_HR },
49
51
  hu: { translation: TRANSLATE_HU },
@@ -1,15 +1,15 @@
1
1
  #
2
2
  # Translators:
3
3
  # Tibor Simko <tibor.simko@cern.ch>, 2025
4
- # Salaheddine Ben Ali <salaheddine.benali@cnudst.tn>, 2025
5
4
  # Bessem Aamira <bessemamira@gmail.com>, 2025
5
+ # Salaheddine Ben Ali <salaheddine.benali@cnudst.tn>, 2025
6
6
  #
7
7
  msgid ""
8
8
  msgstr ""
9
9
  "Project-Id-Version: i18next-conv\n"
10
10
  "POT-Creation-Date: 2025-07-22T14:13:07.642Z\n"
11
11
  "PO-Revision-Date: 2021-07-14 16:07+0000\n"
12
- "Last-Translator: Bessem Aamira <bessemamira@gmail.com>, 2025\n"
12
+ "Last-Translator: Salaheddine Ben Ali <salaheddine.benali@cnudst.tn>, 2025\n"
13
13
  "Language-Team: Arabic (https://app.transifex.com/inveniosoftware/teams/23537/ar/)\n"
14
14
  "Content-Type: text/plain; charset=UTF-8\n"
15
15
  "Content-Transfer-Encoding: 8bit\n"
@@ -24,10 +24,10 @@ msgid "Audit Log Details"
24
24
  msgstr ""
25
25
 
26
26
  msgid "Resource"
27
- msgstr ""
27
+ msgstr "مورد"
28
28
 
29
29
  msgid "Resource ID"
30
- msgstr ""
30
+ msgstr "معرّف المورد"
31
31
 
32
32
  msgid "Action"
33
33
  msgstr "نشاط"
@@ -180,7 +180,7 @@ msgid "Set quota for record {{recordId}}"
180
180
  msgstr "ثبّت الكوتا للتّسجيلة {{recordId}}"
181
181
 
182
182
  msgid "Compare revisions"
183
- msgstr ""
183
+ msgstr "مقارنة المراجعات"
184
184
 
185
185
  msgid "Delete record"
186
186
  msgstr "إحذف التسجيلة"
@@ -563,7 +563,7 @@ msgid "This record is not included in any communities yet."
563
563
  msgstr "هذه التّسجيلة غير مدرجة بعد في أحد المجتمعات."
564
564
 
565
565
  msgid "Part of"
566
- msgstr ""
566
+ msgstr "جزء من"
567
567
 
568
568
  msgid "Search for community..."
569
569
  msgstr "البحث عن مجتمع..."
@@ -896,7 +896,7 @@ msgid "for defining advanced search queries."
896
896
  msgstr ""
897
897
 
898
898
  msgid "This community has no subcommunities"
899
- msgstr ""
899
+ msgstr "هذا المجتمع ليس به مجتمعات فرعيّة."
900
900
 
901
901
  msgid "Logging in..."
902
902
  msgstr ""
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "Recent changes": "",
3
3
  "Audit Log Details": "",
4
- "Resource": "",
5
- "Resource ID": "",
4
+ "Resource": "مورد",
5
+ "Resource ID": "معرّف المورد",
6
6
  "Action": "نشاط",
7
7
  "User": "مستخدم",
8
8
  "Created": "تمّ الإنشاء",
@@ -51,7 +51,7 @@
51
51
  "Confirmed": "مؤكّد",
52
52
  "Links": "روابط",
53
53
  "Set quota for record {{recordId}}": "ثبّت الكوتا للتّسجيلة {{recordId}}",
54
- "Compare revisions": "",
54
+ "Compare revisions": "مقارنة المراجعات",
55
55
  "Delete record": "إحذف التسجيلة",
56
56
  "Restore record": "إسترجع التسجيلة",
57
57
  "Unavailability statement": "بيان عدم التوفر",
@@ -172,7 +172,7 @@
172
172
  "An error occurred while generating the citation.": "حدث خطأ أثناء إنشاء الاستشهاد.",
173
173
  "Style": "أسلوب",
174
174
  "This record is not included in any communities yet.": "هذه التّسجيلة غير مدرجة بعد في أحد المجتمعات.",
175
- "Part of": "",
175
+ "Part of": "جزء من",
176
176
  "Search for community...": "البحث عن مجتمع...",
177
177
  "Record submitted": "أرسلت التّسجيلة",
178
178
  "Review requested": "بحاجة للتّقييم",
@@ -276,7 +276,7 @@
276
276
  "Search guide": "دليل البحث",
277
277
  "search guide": "دليل البحث",
278
278
  "for defining advanced search queries.": "",
279
- "This community has no subcommunities": "",
279
+ "This community has no subcommunities": "هذا المجتمع ليس به مجتمعات فرعيّة.",
280
280
  "Logging in...": "",
281
281
  "Logging out...": "",
282
282
  "Search in my communities...": "البحث في مجتمعاتي...",