invenio-app-rdm 13.0.0b3.dev0__py2.py3-none-any.whl → 13.0.0b3.dev1__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 (99) hide show
  1. invenio_app_rdm/__init__.py +1 -1
  2. invenio_app_rdm/administration/records/records.py +4 -4
  3. invenio_app_rdm/administration/user_moderation/user_moderation.py +17 -15
  4. invenio_app_rdm/administration/users/users.py +8 -7
  5. invenio_app_rdm/config.py +3 -1
  6. invenio_app_rdm/records_ui/templates/semantic-ui/invenio_app_rdm/records/detail.html +3 -2
  7. invenio_app_rdm/records_ui/templates/semantic-ui/invenio_app_rdm/records/details/access-form.html +10 -7
  8. invenio_app_rdm/records_ui/templates/semantic-ui/invenio_app_rdm/records/details/contact.html +2 -1
  9. invenio_app_rdm/records_ui/templates/semantic-ui/invenio_app_rdm/records/details/side_bar/licenses.html +5 -5
  10. invenio_app_rdm/records_ui/templates/semantic-ui/invenio_app_rdm/records/macros/version.html +3 -2
  11. invenio_app_rdm/records_ui/views/deposits.py +14 -12
  12. invenio_app_rdm/requests_ui/views/requests.py +23 -16
  13. invenio_app_rdm/theme/assets/semantic-ui/js/invenio_app_rdm/administration/components/ImpersonateUser.js +2 -1
  14. invenio_app_rdm/theme/assets/semantic-ui/js/invenio_app_rdm/administration/components/ImpersonateUserForm.js +2 -1
  15. invenio_app_rdm/theme/assets/semantic-ui/js/invenio_app_rdm/administration/records/RestoreConfirmation.js +2 -1
  16. invenio_app_rdm/theme/assets/semantic-ui/js/invenio_app_rdm/administration/records/TombstoneForm.js +4 -3
  17. invenio_app_rdm/theme/assets/semantic-ui/js/invenio_app_rdm/administration/userModeration/search/SearchResultItemLayout.js +2 -1
  18. invenio_app_rdm/theme/assets/semantic-ui/js/invenio_app_rdm/components/RecordsResultsListItem.js +6 -5
  19. invenio_app_rdm/theme/assets/semantic-ui/js/invenio_app_rdm/deposit/RDMDepositForm.js +12 -7
  20. invenio_app_rdm/theme/assets/semantic-ui/js/invenio_app_rdm/landing_page/AccessRequestForm.js +14 -5
  21. invenio_app_rdm/theme/assets/semantic-ui/js/invenio_app_rdm/landing_page/RecordCommunitiesList.js +2 -2
  22. invenio_app_rdm/theme/assets/semantic-ui/js/invenio_app_rdm/landing_page/ShareOptions/AccessLinks/LinksSearchItem.js +5 -4
  23. invenio_app_rdm/theme/assets/semantic-ui/js/invenio_app_rdm/theme.js +7 -0
  24. invenio_app_rdm/theme/assets/semantic-ui/js/invenio_app_rdm/user_dashboard/uploads.js +6 -1
  25. invenio_app_rdm/theme/assets/semantic-ui/js/invenio_app_rdm/utils.js +8 -7
  26. invenio_app_rdm/theme/templates/semantic-ui/invenio_app_rdm/files_integrity_report/email/files_integrity_report.html +11 -10
  27. invenio_app_rdm/theme/templates/semantic-ui/invenio_app_rdm/footer.html +13 -32
  28. invenio_app_rdm/theme/templates/semantic-ui/invenio_app_rdm/header.html +3 -2
  29. invenio_app_rdm/theme/templates/semantic-ui/invenio_app_rdm/intro_section.html +13 -15
  30. invenio_app_rdm/theme/templates/semantic-ui/invenio_app_rdm/macros/records_list.html +2 -1
  31. invenio_app_rdm/theme/templates/semantic-ui/invenio_app_rdm/settings/notifications.html +0 -1
  32. invenio_app_rdm/theme/templates/semantic-ui/invenio_app_rdm/site_footer.html +11 -4
  33. invenio_app_rdm/theme/templates/themes/default/invenio_app_rdm/site_footer.html +12 -19
  34. {invenio_app_rdm-13.0.0b3.dev0.dist-info → invenio_app_rdm-13.0.0b3.dev1.dist-info}/METADATA +6 -2
  35. {invenio_app_rdm-13.0.0b3.dev0.dist-info → invenio_app_rdm-13.0.0b3.dev1.dist-info}/RECORD +39 -99
  36. invenio_app_rdm/theme/assets/semantic-ui/translations/invenio_app_rdm/messages/af/messages.po +0 -272
  37. invenio_app_rdm/theme/assets/semantic-ui/translations/invenio_app_rdm/messages/af/translations.json +0 -263
  38. invenio_app_rdm/theme/assets/semantic-ui/translations/invenio_app_rdm/messages/de_AT/messages.po +0 -272
  39. invenio_app_rdm/theme/assets/semantic-ui/translations/invenio_app_rdm/messages/de_DE/messages.po +0 -272
  40. invenio_app_rdm/theme/assets/semantic-ui/translations/invenio_app_rdm/messages/en_AT/messages.po +0 -272
  41. invenio_app_rdm/theme/assets/semantic-ui/translations/invenio_app_rdm/messages/en_HU/messages.po +0 -272
  42. invenio_app_rdm/theme/assets/semantic-ui/translations/invenio_app_rdm/messages/es_CU/messages.po +0 -272
  43. invenio_app_rdm/theme/assets/semantic-ui/translations/invenio_app_rdm/messages/es_MX/messages.po +0 -272
  44. invenio_app_rdm/theme/assets/semantic-ui/translations/invenio_app_rdm/messages/et_EE/messages.po +0 -272
  45. invenio_app_rdm/theme/assets/semantic-ui/translations/invenio_app_rdm/messages/et_EE/translations.json +0 -255
  46. invenio_app_rdm/theme/assets/semantic-ui/translations/invenio_app_rdm/messages/fa_IR/messages.po +0 -272
  47. invenio_app_rdm/theme/assets/semantic-ui/translations/invenio_app_rdm/messages/fr_CI/messages.po +0 -272
  48. invenio_app_rdm/theme/assets/semantic-ui/translations/invenio_app_rdm/messages/fr_FR/messages.po +0 -272
  49. invenio_app_rdm/theme/assets/semantic-ui/translations/invenio_app_rdm/messages/gl/messages.po +0 -272
  50. invenio_app_rdm/theme/assets/semantic-ui/translations/invenio_app_rdm/messages/gl/translations.json +0 -263
  51. invenio_app_rdm/theme/assets/semantic-ui/translations/invenio_app_rdm/messages/hi_IN/messages.po +0 -272
  52. invenio_app_rdm/theme/assets/semantic-ui/translations/invenio_app_rdm/messages/hu_HU/messages.po +0 -272
  53. invenio_app_rdm/theme/assets/semantic-ui/translations/invenio_app_rdm/messages/index.js +0 -69
  54. invenio_app_rdm/theme/assets/semantic-ui/translations/invenio_app_rdm/messages/ne/messages.po +0 -272
  55. invenio_app_rdm/theme/assets/semantic-ui/translations/invenio_app_rdm/messages/rw/messages.po +0 -272
  56. invenio_app_rdm/theme/assets/semantic-ui/translations/invenio_app_rdm/messages/rw/translations.json +0 -255
  57. invenio_app_rdm/theme/assets/semantic-ui/translations/invenio_app_rdm/messages/sv_SE/messages.po +0 -272
  58. invenio_app_rdm/theme/assets/semantic-ui/translations/invenio_app_rdm/messages/uk_UA/messages.po +0 -272
  59. invenio_app_rdm/translations/.gitkeep +0 -0
  60. invenio_app_rdm/translations/af/LC_MESSAGES/messages.mo +0 -0
  61. invenio_app_rdm/translations/af/LC_MESSAGES/messages.po +0 -728
  62. invenio_app_rdm/translations/de_AT/LC_MESSAGES/messages.mo +0 -0
  63. invenio_app_rdm/translations/de_AT/LC_MESSAGES/messages.po +0 -728
  64. invenio_app_rdm/translations/de_DE/LC_MESSAGES/messages.mo +0 -0
  65. invenio_app_rdm/translations/de_DE/LC_MESSAGES/messages.po +0 -728
  66. invenio_app_rdm/translations/en_AT/LC_MESSAGES/messages.mo +0 -0
  67. invenio_app_rdm/translations/en_AT/LC_MESSAGES/messages.po +0 -728
  68. invenio_app_rdm/translations/en_HU/LC_MESSAGES/messages.mo +0 -0
  69. invenio_app_rdm/translations/en_HU/LC_MESSAGES/messages.po +0 -728
  70. invenio_app_rdm/translations/es_CU/LC_MESSAGES/messages.mo +0 -0
  71. invenio_app_rdm/translations/es_CU/LC_MESSAGES/messages.po +0 -728
  72. invenio_app_rdm/translations/es_MX/LC_MESSAGES/messages.mo +0 -0
  73. invenio_app_rdm/translations/es_MX/LC_MESSAGES/messages.po +0 -728
  74. invenio_app_rdm/translations/et_EE/LC_MESSAGES/messages.mo +0 -0
  75. invenio_app_rdm/translations/et_EE/LC_MESSAGES/messages.po +0 -728
  76. invenio_app_rdm/translations/fa_IR/LC_MESSAGES/messages.mo +0 -0
  77. invenio_app_rdm/translations/fa_IR/LC_MESSAGES/messages.po +0 -728
  78. invenio_app_rdm/translations/fr_CI/LC_MESSAGES/messages.mo +0 -0
  79. invenio_app_rdm/translations/fr_CI/LC_MESSAGES/messages.po +0 -728
  80. invenio_app_rdm/translations/fr_FR/LC_MESSAGES/messages.mo +0 -0
  81. invenio_app_rdm/translations/fr_FR/LC_MESSAGES/messages.po +0 -728
  82. invenio_app_rdm/translations/gl/LC_MESSAGES/messages.mo +0 -0
  83. invenio_app_rdm/translations/gl/LC_MESSAGES/messages.po +0 -728
  84. invenio_app_rdm/translations/hi_IN/LC_MESSAGES/messages.mo +0 -0
  85. invenio_app_rdm/translations/hi_IN/LC_MESSAGES/messages.po +0 -728
  86. invenio_app_rdm/translations/hu_HU/LC_MESSAGES/messages.mo +0 -0
  87. invenio_app_rdm/translations/hu_HU/LC_MESSAGES/messages.po +0 -728
  88. invenio_app_rdm/translations/ne/LC_MESSAGES/messages.mo +0 -0
  89. invenio_app_rdm/translations/ne/LC_MESSAGES/messages.po +0 -728
  90. invenio_app_rdm/translations/rw/LC_MESSAGES/messages.mo +0 -0
  91. invenio_app_rdm/translations/rw/LC_MESSAGES/messages.po +0 -728
  92. invenio_app_rdm/translations/sv_SE/LC_MESSAGES/messages.mo +0 -0
  93. invenio_app_rdm/translations/sv_SE/LC_MESSAGES/messages.po +0 -728
  94. invenio_app_rdm/translations/uk_UA/LC_MESSAGES/messages.mo +0 -0
  95. invenio_app_rdm/translations/uk_UA/LC_MESSAGES/messages.po +0 -728
  96. {invenio_app_rdm-13.0.0b3.dev0.dist-info → invenio_app_rdm-13.0.0b3.dev1.dist-info}/WHEEL +0 -0
  97. {invenio_app_rdm-13.0.0b3.dev0.dist-info → invenio_app_rdm-13.0.0b3.dev1.dist-info}/entry_points.txt +0 -0
  98. {invenio_app_rdm-13.0.0b3.dev0.dist-info → invenio_app_rdm-13.0.0b3.dev1.dist-info}/licenses/LICENSE +0 -0
  99. {invenio_app_rdm-13.0.0b3.dev0.dist-info → invenio_app_rdm-13.0.0b3.dev1.dist-info}/top_level.txt +0 -0
@@ -64,16 +64,16 @@ export class RDMDepositForm extends Component {
64
64
  creators: {
65
65
  ...this.config.vocabularies.creators,
66
66
  type: [
67
- { text: "Person", value: "personal" },
68
- { text: "Organization", value: "organizational" },
67
+ { text: i18next.t("Person"), value: "personal" },
68
+ { text: i18next.t("Organization"), value: "organizational" },
69
69
  ],
70
70
  },
71
71
 
72
72
  contributors: {
73
73
  ...this.config.vocabularies.contributors,
74
74
  type: [
75
- { text: "Person", value: "personal" },
76
- { text: "Organization", value: "organizational" },
75
+ { text: i18next.t("Person"), value: "personal" },
76
+ { text: i18next.t("Organization"), value: "organizational" },
77
77
  ],
78
78
  },
79
79
  identifiers: {
@@ -336,6 +336,11 @@ export class RDMDepositForm extends Component {
336
336
  },
337
337
  initialQueryState: {
338
338
  filters: [["tags", "recommended"]],
339
+ sortBy: "bestmatch",
340
+ sortOrder: "asc",
341
+ layout: "list",
342
+ page: 1,
343
+ size: 12,
339
344
  },
340
345
  }}
341
346
  serializeLicenses={(result) => ({
@@ -394,8 +399,8 @@ export class RDMDepositForm extends Component {
394
399
  schema="contributors"
395
400
  autocompleteNames={this.config.autocomplete_names}
396
401
  modal={{
397
- addLabel: "Add contributor",
398
- editLabel: "Edit contributor",
402
+ addLabel: i18next.t("Add contributor"),
403
+ editLabel: i18next.t("Edit contributor"),
399
404
  }}
400
405
  />
401
406
  </Overridable>
@@ -497,7 +502,7 @@ export class RDMDepositForm extends Component {
497
502
  size: 5,
498
503
  },
499
504
  }}
500
- label="Awards/Grants"
505
+ label={i18next.t("Awards/Grants")}
501
506
  labelIcon="money bill alternate outline"
502
507
  deserializeAward={(award) => {
503
508
  return {
@@ -1,3 +1,10 @@
1
+ // This file is part of InvenioRDM
2
+ // Copyright (C) 2024 CERN.
3
+ // Copyright (C) 2024 KTH Royal Institute of Technology.
4
+ //
5
+ // Invenio RDM Records is free software; you can redistribute it and/or modify it
6
+ // under the terms of the MIT License; see LICENSE file for more details.
7
+
1
8
  import _get from "lodash/get";
2
9
  import { i18next } from "@translations/invenio_app_rdm/i18next";
3
10
  import isEmpty from "lodash/isEmpty";
@@ -149,7 +156,7 @@ export class AccessRequestForm extends Component {
149
156
  <TextField
150
157
  required
151
158
  fieldPath="email"
152
- label="Your email address"
159
+ label={i18next.t("Your email address")}
153
160
  placeholder={i18next.t("Email address")}
154
161
  icon="at"
155
162
  iconPosition="left"
@@ -217,15 +224,17 @@ export class AccessRequestForm extends Component {
217
224
  }}
218
225
  </Formik>
219
226
  <Modal open={modalOpen}>
220
- <Modal.Header>Email confirmation needed</Modal.Header>
227
+ <Modal.Header>{i18next.t("Email confirmation needed")}</Modal.Header>
221
228
  <Modal.Content>
222
229
  <Modal.Description>
223
- We have sent you an email to verify your address. Please check the email
224
- and follow the instructions to complete the access request.
230
+ {i18next.t("We have sent you an email to verify your address.")}
231
+ {i18next.t(`
232
+ Please check the email and follow the instructions to complete the access request.
233
+ `)}
225
234
  </Modal.Description>
226
235
  </Modal.Content>
227
236
  <Modal.Actions>
228
- <Button onClick={this.handleModalClose}>Close</Button>
237
+ <Button onClick={this.handleModalClose}>{i18next.t("Close")}</Button>
229
238
  </Modal.Actions>
230
239
  </Modal>
231
240
  </>
@@ -87,9 +87,9 @@ export class RecordCommunitiesList extends Component {
87
87
  </Header>
88
88
  {community.parent && (
89
89
  <HeaderSubheader>
90
- Part of{" "}
90
+ {i18next.t("Part of")}{" "}
91
91
  <a href={`/communities/${community.parent.slug}`}>
92
- {community.parent.metadata.title}
92
+ {i18next.t(community.parent.metadata.title)}
93
93
  </a>
94
94
  </HeaderSubheader>
95
95
  )}
@@ -1,6 +1,7 @@
1
1
  /*
2
2
  * This file is part of Invenio.
3
3
  * Copyright (C) 2023-2024 CERN.
4
+ * Copyright (C) 2024 KTH Royal Institute of Technology.
4
5
  *
5
6
  * Invenio is free software; you can redistribute it and/or modify it
6
7
  * under the terms of the MIT License; see LICENSE file for more details.
@@ -97,20 +98,20 @@ export const LinksSearchItem = ({
97
98
 
98
99
  {!error && (
99
100
  <>
100
- <Table.Cell width={3} data-label="Link title">
101
+ <Table.Cell width={3} data-label={i18next.t("Link title")}>
101
102
  {isEmpty(result.description)
102
103
  ? "-"
103
104
  : _truncate(result.description, { length: 60 })}
104
105
  </Table.Cell>
105
- <Table.Cell width={3} data-label="Created">
106
+ <Table.Cell width={3} data-label={i18next.t("Created")}>
106
107
  {timestampToRelativeTime(result.created_at)}
107
108
  </Table.Cell>
108
- <Table.Cell width={3} data-label="Expires at">
109
+ <Table.Cell width={3} data-label={i18next.t("Expires at")}>
109
110
  {isEmpty(result.expires_at)
110
111
  ? i18next.t("Never")
111
112
  : `${timestampToRelativeTime(result.expires_at)} (${result.expires_at})`}
112
113
  </Table.Cell>
113
- <Table.Cell width={3} data-label="Access">
114
+ <Table.Cell width={3} data-label={i18next.t("Access")}>
114
115
  <AccessDropdown
115
116
  updateEndpoint={`${record.links.access_links}/${result.id}`}
116
117
  dropdownOptions={dropdownOptions}
@@ -1,3 +1,10 @@
1
+ // This file is part of InvenioRDM
2
+ // Copyright (C) 2024 CERN.
3
+ // Copyright (C) 2024 KTH Royal Institute of Technology.
4
+ //
5
+ // Invenio RDM Records is free software; you can redistribute it and/or modify it
6
+ // under the terms of the MIT License; see LICENSE file for more details.
7
+
1
8
  import $ from "jquery";
2
9
  import { MultipleOptionsSearchBar } from "@js/invenio_search_ui/components";
3
10
  import { i18next } from "@translations/invenio_app_rdm/i18next";
@@ -3,6 +3,7 @@
3
3
  // Copyright (C) 2020-2021 Northwestern University.
4
4
  // Copyright (C) 2021 Graz University of Technology.
5
5
  // Copyright (C) 2021 New York University.
6
+ // Copyright (C) 2024 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.
@@ -106,7 +107,11 @@ RDMRecordResultsListItem.propTypes = {
106
107
  // these components in RDM result broken.
107
108
 
108
109
  export const RDMRecordResultsGridItem = ({ result, index }) => {
109
- const descriptionStripped = _get(result, "ui.description_stripped", "No description");
110
+ const descriptionStripped = _get(
111
+ result,
112
+ "ui.description_stripped",
113
+ i18next.t("No description")
114
+ );
110
115
  return (
111
116
  <Card fluid key={index} href={`/records/${result.id}`}>
112
117
  <Card.Content>
@@ -3,6 +3,7 @@
3
3
  // Copyright (C) 2021 New York University.
4
4
  // Copyright (C) 2022 data-futures.
5
5
  // Copyright (C) 2023 Northwestern University.
6
+ // Copyright (C) 2024 KTH Royal Institute of Technology.
6
7
  //
7
8
  // Invenio RDM Records 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.
@@ -27,19 +28,19 @@ export function SearchItemCreators({ creators, className, othersLink }) {
27
28
  link = `https://orcid.org/${identifier}`;
28
29
  linkTitle = i18next.t("ORCID profile");
29
30
  icon = "/static/images/orcid.svg";
30
- alt = "ORCID logo";
31
+ alt = i18next.t("ORCID logo");
31
32
  break;
32
33
  case "ror":
33
34
  link = `https://ror.org/${identifier}`;
34
35
  linkTitle = i18next.t("ROR profile");
35
36
  icon = "/static/images/ror-icon.svg";
36
- alt = "ROR logo";
37
+ alt = i18next.t("ROR logo");
37
38
  break;
38
39
  case "gnd":
39
40
  link = `https://d-nb.info/gnd/${identifier}`;
40
41
  linkTitle = i18next.t("GND profile");
41
42
  icon = "/static/images/gnd-icon.svg";
42
- alt = "GND logo";
43
+ alt = i18next.t("GND logo");
43
44
  break;
44
45
  default:
45
46
  return null;
@@ -61,13 +62,13 @@ export function SearchItemCreators({ creators, className, othersLink }) {
61
62
 
62
63
  function getIcons(creator) {
63
64
  let ids = _get(creator, "person_or_org.identifiers", []);
64
- let creatorName = _get(creator, "person_or_org.name", "No name");
65
+ let creatorName = _get(creator, "person_or_org.name", i18next.t("No name"));
65
66
  let icons = ids.map((c) => makeIcon(c.scheme, c.identifier, creatorName));
66
67
  return icons;
67
68
  }
68
69
 
69
70
  function getLink(creator) {
70
- let creatorName = _get(creator, "person_or_org.name", "No name");
71
+ let creatorName = _get(creator, "person_or_org.name", i18next.t("No name"));
71
72
  let link = (
72
73
  <a
73
74
  className="creatibutor-link"
@@ -92,9 +93,9 @@ export function SearchItemCreators({ creators, className, othersLink }) {
92
93
  if (0 < numExtra) {
93
94
  let text;
94
95
  if (numExtra === 1) {
95
- text = "and {{count}} other";
96
+ text = i18next.t("and {{count}} other", { count: numExtra });
96
97
  } else {
97
- text = "and {{count}} others";
98
+ text = i18next.t("and {{count}} others", { count: numExtra });
98
99
  }
99
100
  result.push(
100
101
  <span className={spanClass} key={text}>
@@ -2,6 +2,7 @@
2
2
  # -*- coding: utf-8 -*-
3
3
  #
4
4
  # Copyright (C) 2022 CERN.
5
+ # Copyright (C) 2024 KTH Royal Institute of Technology.
5
6
  #
6
7
  # Invenio App RDM is free software; you can redistribute it and/or modify it
7
8
  # under the terms of the MIT License; see LICENSE file for more details.
@@ -9,23 +10,23 @@
9
10
 
10
11
  {% set BASE_URL = config.SITE_UI_URL %}
11
12
 
12
- The following files were flagged as 'unhealthy'. This means that the checksum check failed or timed out. Please take any action if needed.
13
+ {{ _("The following files were flagged as 'unhealthy'. This means that the checksum check failed or timed out. Please take any action if needed.") }}
13
14
 
14
15
  {% for entry in entries -%}
15
- {{ "ID: %s" | format(entry.file.id) }}
16
- {{ "URI: %s" | format(entry.file.uri) }}
16
+ {{ _("ID: %s") | format(entry.file.id) }}
17
+ {{ _("URI: %s") | format(entry.file.uri) }}
17
18
  {%- if 'filename' in entry %}
18
- {{ "Name: %s" | format(entry.filename) }}
19
+ {{ _("Name: %s") | format(entry.filename) }}
19
20
  {%- endif %}
20
- {{ "Created: %s" | format(entry.file.created) }}
21
- {{ "Checksum: %s" | format(entry.file.checksum) }}
22
- {{ "Last check date: %s" | format(entry.file.last_check_at) }}
23
- {{ "Last check FAILED with result: %s" | format(entry.file.last_check) }}
21
+ {{ _("Created: %s") | format(entry.file.created) }}
22
+ {{ _("Checksum: %s") | format(entry.file.checksum) }}
23
+ {{ _("Last check date: %s") | format(entry.file.last_check_at) }}
24
+ {{ _("Last check FAILED with result: %s") | format(entry.file.last_check) }}
24
25
  {%- if 'record' in entry %}
25
- {{ "Record: %s/records/%s" | format(BASE_URL, entry.record.id) }}
26
+ {{ _("Record: %s/records/%s") | format(BASE_URL, entry.record.id) }}
26
27
  {%- endif %}
27
28
  {%- if 'draft' in entry %}
28
- {{ "Draft: %s/uploads/%s" | format(BASE_URL, entry.draft.id) }}
29
+ {{ _("Draft: %s/uploads/%s") | format(BASE_URL, entry.draft.id) }}
29
30
  {%- endif %}
30
31
  {{ "-" * 80 }}
31
32
  {% endfor %}
@@ -3,6 +3,7 @@
3
3
  Copyright (C) 2019-2020 CERN.
4
4
  Copyright (C) 2019-2020 Northwestern University.
5
5
  Copyright (C) 2021 Graz University of Technology.
6
+ Copyright (C) 2024 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.
@@ -15,42 +16,22 @@
15
16
  <div class="ui grid app-rdm-footer">
16
17
  <div class="rdm-footer five wide tablet two wide computer column">
17
18
  <h2 class="ui small header">{{ _("About InvenioRDM") }}</h2>
18
- {% trans invenio_rdm="http://inveniosoftware.org/products/rdm" %}
19
- <p><a href="{{ invenio_rdm }}">Product page</a></p>
20
- {% endtrans %}
21
- {% trans invenio_rdm_features="https://inveniosoftware.org/products/rdm/#features" %}
22
- <p><a href="{{ invenio_rdm_features }}">Features</a></p>
23
- {% endtrans %}
24
- {% trans invenio_rdm_roadmap="https://inveniosoftware.org/products/rdm/roadmap/" %}
25
- <p><a href="{{ invenio_rdm_roadmap }}">Roadmap</a></p>
26
- {% endtrans %}
27
- {% trans invenio_rdm_demo_site="http://inveniordm.web.cern.ch" %}
28
- <p><a href="{{ invenio_rdm_demo_site }}">Demo site</a></p>
29
- {% endtrans %}
19
+ <p><a href="http://inveniosoftware.org/products/rdm">{{ _("Product page") }}</a></p>
20
+ <p><a href="https://inveniosoftware.org/products/rdm/#features">{{ _("Features") }}</a></p>
21
+ <p><a href="https://inveniosoftware.org/products/rdm/roadmap/">{{ _("Roadmap") }}</a></p>
22
+ <p><a href="http://inveniordm.web.cern.ch">{{ _("Demo site") }}</a></p>
30
23
  </div>
31
24
  <div class="rdm-footer five wide tablet two wide computer column">
32
- <h2 class="ui small header">{{ _ ("Get involved") }}</h2>
33
- {% trans invenio_rdm_gh="https://github.com/inveniosoftware/invenio-app-rdm" %}
34
- <p><a href="{{ invenio_rdm_gh }}">GitHub</a></p>
35
- {% endtrans %}
36
- {% trans invenio_rdm_milestones="https://github.com/inveniosoftware/product-rdm" %}
37
- <p><a href="{{ invenio_rdm_milestones }}">Project Milestones</a></p>
38
- {% endtrans %}
39
- {% trans invenio_rdm_docs_site="http://inveniordm.docs.cern.ch" %}
40
- <p><a href="{{ invenio_rdm_docs_site }}">Documentation</a></p>
41
- {% endtrans %}
25
+ <h2 class="ui small header">{{ _("Get involved") }}</h2>
26
+ <p><a href="https://github.com/inveniosoftware/invenio-app-rdm">{{ _("GitHub") }}</a></p>
27
+ <p><a href="https://github.com/inveniosoftware/product-rdm">{{ _("Project Milestones") }}</a></p>
28
+ <p><a href="http://inveniordm.docs.cern.ch">{{ _("Documentation") }}</a></p>
42
29
  </div>
43
30
  <div class="rdm-footer five wide tablet two wide computer column">
44
- <h2 class="ui small header">{{ _ ("Community") }}</h2>
45
- {% trans invenio_rdm_chatroom="https://discord.gg/8qatqBC" %}
46
- <p><a href="{{ invenio_rdm_chatroom }}">Chatroom</a></p>
47
- {% endtrans %}
48
- {% trans invenio_rdm_talk="https://invenio-talk.web.cern.ch/c/projects/invenio-rdm" %}
49
- <p><a href="{{ invenio_rdm_talk }}">Forum</a></p>
50
- {% endtrans %}
51
- {% trans invenio_events="https://inveniosoftware.org/events/" %}
52
- <p><a href="{{ invenio_events }}">Events & training</a></p>
53
- {% endtrans %}
31
+ <h2 class="ui small header">{{ _("Community") }}</h2>
32
+ <p><a href="https://discord.gg/8qatqBC">{{ _("Chatroom") }}</a></p>
33
+ <p><a href="https://invenio-talk.web.cern.ch/c/projects/invenio-rdm">{{ _("Forum") }}</a></p>
34
+ <p><a href="https://inveniosoftware.org/events/">{{ _("Events & training") }}</a></p>
54
35
  </div>
55
36
 
56
37
  {%- endblock footer_top_left %}
@@ -3,6 +3,7 @@
3
3
  Copyright (C) 2019-2025 CERN.
4
4
  Copyright (C) 2019-2020 Northwestern University.
5
5
  Copyright (C) 2021 New York University.
6
+ Copyright (C) 2024 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.
@@ -15,9 +16,9 @@
15
16
  <div class="ui negative flashed top attached manage m-0 big message">
16
17
  <div class="ui container">
17
18
  <div class="header">
18
- <i class="ui spy big icon"></i><strong>Impersonated session</strong>
19
+ <i class="ui spy big icon"></i><strong>{{ _('Impersonated session') }}</strong>
19
20
  </div>
20
- You must logout after you finish with you inquiry!
21
+ {{ _('You must logout after you finish with you inquiry!') }}
21
22
  </div>
22
23
  </div>
23
24
  {%- endif %}
@@ -1,5 +1,6 @@
1
1
  {#
2
2
  Copyright (C) 2019-2022 CERN.
3
+ Copyright (C) 2014 KTH Royal Institute of Technology.
3
4
 
4
5
  Invenio App RDM is free software; you can redistribute it and/or modify it
5
6
  under the terms of the MIT License; see LICENSE file for more details.
@@ -23,11 +24,10 @@
23
24
  {{ _("Configure") }}
24
25
  </div>
25
26
  <div class="description">
26
- {% trans configuration_link="https://inveniordm.docs.cern.ch/install/configuration/" %}
27
- Configure the datamodel, resource types, permissions and much more to make it suit your needs! For more
28
- information on how to do it visit the <a href="{{ configuration_link }}" target="_blank">configuration
29
- section in the docs</a>.
30
- {% endtrans %}
27
+ {{ _("Configure the datamodel, resource types, permissions and much more to make it suit your needs! For more information on how to do it visit the") }}
28
+ <a href="https://inveniordm.docs.cern.ch/install/configuration/" target="_blank">
29
+ {{ _("configuration section in the docs") }}
30
+ </a>.
31
31
  </div>
32
32
  </div>
33
33
  </div>
@@ -41,10 +41,10 @@
41
41
  {{ _("Customize") }}
42
42
  </div>
43
43
  <div class="description">
44
- {% trans configuration_link="https://inveniordm.docs.cern.ch/customize/" %}
45
- Customize the layout and adapt the styling to match your institution's. See how to do so <a
46
- href="{{ configuration_link }}" target="_blank">here</a>.
47
- {% endtrans %}
44
+ {{ _("Customize the layout and adapt the styling to match your institution's. See how to do so") }}
45
+ <a href="https://inveniordm.docs.cern.ch/customize/" target="_blank">
46
+ {{ _("here") }}
47
+ </a>.
48
48
  </div>
49
49
  </div>
50
50
  </div>
@@ -56,12 +56,10 @@
56
56
  <div class="content">
57
57
  <div class="header">{{ _("Run it!") }}</div>
58
58
  <div class="description">
59
- {% trans
60
- deployment_link="https://inveniordm.docs.cern.ch/install/build-setup-run/#run_1"
61
- %}
62
- <a href="{{ deployment_link }}" target="_blank">Run</a> your
63
- InvenioRDM instance locally or in containers.
64
- {% endtrans %}
59
+ {{ _("Run your InvenioRDM instance locally or in containers.") }}
60
+ <a href="https://inveniordm.docs.cern.ch/install/build-setup-run/#run_1" target="_blank">
61
+ {{ _("Run") }}
62
+ </a>.
65
63
  </div>
66
64
  </div>
67
65
  </div>
@@ -1,12 +1,13 @@
1
1
  {#
2
2
  Copyright (C) 2019-2022 CERN
3
+ Copyright (C) 2024 KTH Royal Institute of Technology.
3
4
 
4
5
  Invenio App RDM is free software; you can redistribute it and/or modify it
5
6
  under the terms of the MIT License; see LICENSE file for more details.
6
7
  #}
7
8
 
8
9
  {% macro records_list(
9
- title="Recent uploads",
10
+ title=_("Recent uploads"),
10
11
  fetch_url="/api/records?sort=newest&size=10"
11
12
  )
12
13
  %}
@@ -2,7 +2,6 @@
2
2
 
3
3
  This file is part of Invenio.
4
4
  Copyright (C) 2023 Graz University of Technology.
5
- Copyright (C) 2024 KTH Royal Institute of Technology.
6
5
 
7
6
  Invenio App RDM is free software; you can redistribute it and/or modify it
8
7
  under the terms of the MIT License; see LICENSE file for more details.
@@ -1,12 +1,19 @@
1
+ {#
2
+ -*- coding: utf-8 -*-
3
+ Copyright (C) 2022-2024 CERN.
4
+ Copyright (C) 2024 KTH Royal Institute of Technology.
5
+
6
+ Invenio App RDM is free software; you can redistribute it and/or modify it
7
+ under the terms of the MIT License; see LICENSE file for more details.
8
+ #}
9
+
1
10
  <div class="footer-bottom sub-footer">
2
11
  <div class="ui container">
3
12
  <div class="ui grid">
4
13
  <div class="eight wide column left middle aligned">
5
14
  {%- block footer_bottom_left %}
6
- {% trans invenio_rdm="http://inveniosoftware.org/products/rdm" %}
7
- Powered by
8
- <a
9
- href="{{ invenio_rdm }}">InvenioRDM</a>{% endtrans %}
15
+ {{ _("Powered by") }}
16
+ <a href="http://inveniosoftware.org/products/rdm">{{ _("InvenioRDM") }}</a>
10
17
  {%- endblock footer_bottom_left %}
11
18
  </div>
12
19
  <div class="eight wide column right aligned">
@@ -1,6 +1,7 @@
1
1
  {#
2
2
  -*- coding: utf-8 -*-
3
3
  Copyright (C) 2023-2024 CERN.
4
+ Copyright (C) 2024 KTH Royal Institute of Technology.
4
5
 
5
6
  Invenio App RDM is free software; you can redistribute it and/or modify it
6
7
  under the terms of the MIT License; see LICENSE file for more details.
@@ -10,27 +11,18 @@
10
11
  <div class="ui container">
11
12
  <div class="ui grid">
12
13
  {%- block footer_bottom_left %}
13
-
14
- <div
15
- class="four wide computer six wide tablet sixteen wide mobile column left middle aligned"
16
- >
17
- {% trans invenio_rdm="http://inveniosoftware.org/products/rdm" %}Powered by
18
- <a href="{{ invenio_rdm }}">InvenioRDM</a>
19
- {% endtrans %}
14
+ <div class="four wide computer six wide tablet sixteen wide mobile column left middle aligned">
15
+ {{ _("Powered by") }}
16
+ <a href="http://inveniosoftware.org/products/rdm">InvenioRDM</a>
20
17
  </div>
21
18
  {%- endblock footer_bottom_left %}
22
19
 
23
- <div
24
- class="four wide computer four wide tablet sixteen wide mobile column centered middle aligned"
25
- >
26
- {% trans %}
27
- <i class="green check circle outline icon"></i>
28
- Verified community
29
- {% endtrans %}
20
+ <div class="four wide computer four wide tablet sixteen wide mobile column centered middle aligned">
21
+ <i class="green check circle outline icon"></i>
22
+ {{ _("Verified community") }}
30
23
  </div>
31
- <div
32
- class="four wide computer six wide tablet sixteen wide mobile column right aligned"
33
- >
24
+
25
+ <div class="four wide computer six wide tablet sixteen wide mobile column right aligned">
34
26
  {%- block footer_bottom_right %}
35
27
  <div class="ui horizontal list">
36
28
  <div class="item">{{ _('Status') }}</div>
@@ -38,8 +30,9 @@
38
30
  <div class="item">{{ _('Terms of use') }}</div>
39
31
  <div class="item">{{ _('Support') }}</div>
40
32
  </div>
41
- {%- if config.I18N_LANGUAGES %} {% from
42
- "invenio_i18n/macros/language_selector.html" import language_selector_dropdown %}
33
+
34
+ {%- if config.I18N_LANGUAGES %}
35
+ {% from "invenio_i18n/macros/language_selector.html" import language_selector_dropdown %}
43
36
  {{ language_selector_dropdown() }}
44
37
  {%- endif %}
45
38
  {%- endblock footer_bottom_right %}
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: invenio-app-rdm
3
- Version: 13.0.0b3.dev0
3
+ Version: 13.0.0b3.dev1
4
4
  Summary: Invenio Research Data Management.
5
5
  Home-page: https://github.com/inveniosoftware/invenio-app-rdm
6
6
  Author: CERN
@@ -41,7 +41,7 @@ Requires-Dist: invenio-files-rest<4.0.0,>=3.0.0
41
41
  Requires-Dist: invenio-previewer<4.0.0,>=3.0.0
42
42
  Requires-Dist: invenio-records-files<2.0.0,>=1.2.1
43
43
  Requires-Dist: invenio-communities<19.0.0,>=18.0.0
44
- Requires-Dist: invenio-rdm-records<19.0.0,>=18.0.0
44
+ Requires-Dist: invenio-rdm-records<19.0.0,>=18.1.0
45
45
  Requires-Dist: CairoSVG<3.0.0,>=2.5.2
46
46
  Requires-Dist: invenio-banners<5.0.0,>=4.0.0
47
47
  Requires-Dist: invenio-pages<6.0.0,>=5.0.0
@@ -97,6 +97,10 @@ https://inveniordm.docs.cern.ch
97
97
  Changes
98
98
  =======
99
99
 
100
+ Version v13.0.0b3.dev1 (released 2025-03-27)
101
+
102
+ - deposit: align licenses modal with funders modal
103
+
100
104
  Version v13.0.0b3.dev0 (released 2025-03-26)
101
105
 
102
106
  - thesis: breaking change in thesis field (invenio-rdm-records)