@ndla/ui 56.0.19-alpha.0 → 56.0.21-alpha.0

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 (44) hide show
  1. package/dist/panda.buildinfo.json +6 -10
  2. package/dist/styles.css +8 -25
  3. package/es/Concept/Concept.js +3 -1
  4. package/es/Embed/ConceptEmbed.js +4 -1
  5. package/es/Embed/ImageEmbed.js +2 -38
  6. package/es/TagSelector/TagSelector.js +3 -3
  7. package/es/i18n/useComponentTranslations.js +12 -11
  8. package/es/locale/messages-en.js +14 -10
  9. package/es/locale/messages-nb.js +14 -10
  10. package/es/locale/messages-nn.js +14 -10
  11. package/es/locale/messages-se.js +14 -10
  12. package/es/locale/messages-sma.js +14 -10
  13. package/es/styles.css +8 -25
  14. package/lib/Concept/Concept.d.ts +1 -0
  15. package/lib/Concept/Concept.js +3 -1
  16. package/lib/Embed/ConceptEmbed.d.ts +2 -1
  17. package/lib/Embed/ConceptEmbed.js +4 -1
  18. package/lib/Embed/ImageEmbed.js +2 -38
  19. package/lib/TagSelector/TagSelector.js +3 -3
  20. package/lib/i18n/useComponentTranslations.d.ts +7 -7
  21. package/lib/i18n/useComponentTranslations.js +12 -11
  22. package/lib/locale/messages-en.d.ts +8 -4
  23. package/lib/locale/messages-en.js +14 -10
  24. package/lib/locale/messages-nb.d.ts +8 -4
  25. package/lib/locale/messages-nb.js +14 -10
  26. package/lib/locale/messages-nn.d.ts +8 -4
  27. package/lib/locale/messages-nn.js +14 -10
  28. package/lib/locale/messages-se.d.ts +8 -4
  29. package/lib/locale/messages-se.js +14 -10
  30. package/lib/locale/messages-sma.d.ts +8 -4
  31. package/lib/locale/messages-sma.js +14 -10
  32. package/lib/styles.css +8 -25
  33. package/package.json +7 -7
  34. package/src/Concept/Concept.tsx +3 -2
  35. package/src/Embed/ConceptEmbed.tsx +4 -1
  36. package/src/Embed/ImageEmbed.stories.tsx +17 -1
  37. package/src/Embed/ImageEmbed.tsx +2 -44
  38. package/src/TagSelector/TagSelector.tsx +4 -8
  39. package/src/i18n/useComponentTranslations.ts +19 -18
  40. package/src/locale/messages-en.ts +11 -7
  41. package/src/locale/messages-nb.ts +11 -7
  42. package/src/locale/messages-nn.ts +11 -7
  43. package/src/locale/messages-se.ts +11 -7
  44. package/src/locale/messages-sma.ts +11 -7
@@ -256,25 +256,21 @@
256
256
  "background]___[value:background.default]___[cond:_hover<___>& [data-byline-button]",
257
257
  "transform]___[value:scale(1.2)]___[cond:_hover<___>& button[data-expanded]",
258
258
  "transform]___[value:rotate(-45deg)]___[cond:& button[data-expanded='true']<___>& svg",
259
- "bottom]___[value:0",
260
- "right]___[value:0",
261
- "transitionProperty]___[value:transform, background-color, color",
262
- "transitionDuration]___[value:normal",
263
- "transitionTimingFunction]___[value:ease-out",
264
- "background]___[value:background.default/20",
265
- "transitionProperty]___[value:transform]___[cond:& svg",
266
- "transitionDuration]___[value:normal]___[cond:& svg",
267
- "transitionTimingFunction]___[value:ease-out]___[cond:& svg",
268
- "fill]___[value:primary]___[cond:& svg",
269
259
  "padding]___[value:0",
270
260
  "top]___[value:xsmall",
271
261
  "right]___[value:xsmall",
272
262
  "width]___[value:medium",
273
263
  "height]___[value:medium",
274
264
  "borderColor]___[value:background.default",
265
+ "transitionProperty]___[value:transform, background-color, color",
266
+ "transitionDuration]___[value:normal",
267
+ "transitionTimingFunction]___[value:ease-out",
275
268
  "color]___[value:background.default",
276
269
  "backgroundColor]___[value:surface.action",
277
270
  "borderRadius]___[value:large",
271
+ "transitionProperty]___[value:transform]___[cond:& svg",
272
+ "transitionDuration]___[value:normal]___[cond:& svg",
273
+ "transitionTimingFunction]___[value:ease-out]___[cond:& svg",
278
274
  "overflow]___[value:visible",
279
275
  "borderBottom]___[value:1px solid",
280
276
  "borderStyle]___[value:dashed",
package/dist/styles.css CHANGED
@@ -458,11 +458,6 @@
458
458
  border-bottom: 0;
459
459
  }
460
460
 
461
- .bg_background\.default\/20 {
462
- --mix-background: color-mix(in srgb, var(--colors-background-default) 20%, transparent);
463
- background: var(--mix-background, var(--colors-background-default));
464
- }
465
-
466
461
  .p_0 {
467
462
  padding: 0;
468
463
  }
@@ -742,12 +737,16 @@
742
737
  border-bottom-right-radius: 0;
743
738
  }
744
739
 
745
- .bottom_0 {
746
- bottom: 0;
740
+ .top_xsmall {
741
+ top: var(--spacing-xsmall);
747
742
  }
748
743
 
749
- .right_0 {
750
- right: 0;
744
+ .right_xsmall {
745
+ right: var(--spacing-xsmall);
746
+ }
747
+
748
+ .bd-c_background\.default {
749
+ border-color: var(--colors-background-default);
751
750
  }
752
751
 
753
752
  .trs-prop_transform\,_background-color\,_color {
@@ -765,18 +764,6 @@
765
764
  transition-timing-function: ease-out;
766
765
  }
767
766
 
768
- .top_xsmall {
769
- top: var(--spacing-xsmall);
770
- }
771
-
772
- .right_xsmall {
773
- right: var(--spacing-xsmall);
774
- }
775
-
776
- .bd-c_background\.default {
777
- border-color: var(--colors-background-default);
778
- }
779
-
780
767
  .bg-c_surface\.action {
781
768
  background-color: var(--colors-surface-action);
782
769
  }
@@ -1092,10 +1079,6 @@
1092
1079
  margin-inline-start: var(--spacing-1);
1093
1080
  }
1094
1081
 
1095
- .\[\&_svg\]\:fill_primary svg {
1096
- fill: var(--colors-primary);
1097
- }
1098
-
1099
1082
  .\[\&_a\]\:c_text\.strong a {
1100
1083
  color: var(--colors-text-strong);
1101
1084
  }
@@ -40,6 +40,7 @@ export const Concept = /*#__PURE__*/forwardRef((_ref, ref) => {
40
40
  children,
41
41
  title,
42
42
  source,
43
+ previewAlt,
43
44
  ...rest
44
45
  } = _ref;
45
46
  const licenseProps = licenseAttributes(copyright?.license?.license, lang, source);
@@ -56,7 +57,8 @@ export const Concept = /*#__PURE__*/forwardRef((_ref, ref) => {
56
57
  }), children]
57
58
  }), visualElement?.resource === "image" ? /*#__PURE__*/_jsx(ImageEmbed, {
58
59
  embed: visualElement,
59
- lang: lang
60
+ lang: lang,
61
+ previewAlt: previewAlt
60
62
  }) : visualElement?.resource === "brightcove" ? /*#__PURE__*/_jsx(BrightcoveEmbed, {
61
63
  embed: visualElement
62
64
  }) : visualElement?.resource === "h5p" ? /*#__PURE__*/_jsx(H5pEmbed, {
@@ -27,7 +27,8 @@ export const ConceptEmbed = _ref => {
27
27
  let {
28
28
  embed,
29
29
  renderContext,
30
- lang
30
+ lang,
31
+ previewAlt
31
32
  } = _ref;
32
33
  const parsedContent = useMemo(() => {
33
34
  if (embed.status === "error" || !embed.data.concept.content) return undefined;
@@ -56,6 +57,7 @@ export const ConceptEmbed = _ref => {
56
57
  }
57
58
  if (embed.embedData.type === "inline") {
58
59
  return /*#__PURE__*/_jsx(InlineConcept, {
60
+ previewAlt: previewAlt,
59
61
  linkText: embed.embedData.linkText,
60
62
  copyright: concept.copyright,
61
63
  visualElement: visualElement,
@@ -66,6 +68,7 @@ export const ConceptEmbed = _ref => {
66
68
  });
67
69
  }
68
70
  return /*#__PURE__*/_jsx(BlockConcept, {
71
+ previewAlt: previewAlt,
69
72
  copyright: concept.copyright,
70
73
  visualElement: visualElement,
71
74
  lang: lang,
@@ -10,7 +10,6 @@ import parse from "html-react-parser";
10
10
  import { useMemo, useState } from "react";
11
11
  import { useTranslation } from "react-i18next";
12
12
  import { AddLine } from "@ndla/icons/action";
13
- import { ArrowDownShortLine, ArrowUpShortLine } from "@ndla/icons/common";
14
13
  import { Figure, Image } from "@ndla/primitives";
15
14
  import { styled } from "@ndla/styled-system/jsx";
16
15
  import EmbedErrorPlaceholder from "./EmbedErrorPlaceholder";
@@ -127,32 +126,6 @@ const StyledFigure = styled(Figure, {
127
126
  }
128
127
  }
129
128
  });
130
- const BylineButton = styled("button", {
131
- base: {
132
- cursor: "pointer",
133
- position: "absolute",
134
- zIndex: "base",
135
- bottom: "0",
136
- right: "0",
137
- paddingBlock: "xsmall",
138
- paddingInline: "xsmall",
139
- transitionProperty: "transform, background-color, color",
140
- transitionDuration: "normal",
141
- transitionTimingFunction: "ease-out",
142
- background: "background.default/20",
143
- border: "0",
144
- "& svg": {
145
- transitionProperty: "transform",
146
- transitionDuration: "normal",
147
- transitionTimingFunction: "ease-out",
148
- fill: "primary"
149
- }
150
- }
151
- }, {
152
- defaultProps: {
153
- type: "button"
154
- }
155
- });
156
129
  const ExpandButton = styled("button", {
157
130
  base: {
158
131
  display: "flex",
@@ -192,7 +165,6 @@ const ImageEmbed = _ref => {
192
165
  renderContext = "article",
193
166
  children
194
167
  } = _ref;
195
- const [isBylineHidden, setIsBylineHidden] = useState(hideByline(embed.embedData));
196
168
  const [imageSizes, setImageSizes] = useState(undefined);
197
169
  const figureProps = getFigureProps(embed.embedData.size, embed.embedData.align);
198
170
  const {
@@ -249,21 +221,13 @@ const ImageEmbed = _ref => {
249
221
  onClick: toggleImageSize,
250
222
  "data-expanded": !!imageSizes,
251
223
  children: /*#__PURE__*/_jsx(AddLine, {})
252
- }), (embedData.size?.endsWith("-hide-byline") || embedData.hideByline === "true") && /*#__PURE__*/_jsx(BylineButton, {
253
- "data-byline-button": "",
254
- "aria-label": t(`license.images.itemImage.${isBylineHidden ? "expandByline" : "minimizeByline"}`),
255
- onClick: () => setIsBylineHidden(p => !p),
256
- children: isBylineHidden ? /*#__PURE__*/_jsx(ArrowDownShortLine, {}) : /*#__PURE__*/_jsx(ArrowUpShortLine, {})
257
224
  })]
258
- }), isBylineHidden ? null : /*#__PURE__*/_jsx(EmbedByline, {
225
+ }), embedData.hideByline === "true" ? null : /*#__PURE__*/_jsx(EmbedByline, {
259
226
  type: "image",
260
227
  copyright: data.copyright,
261
- description: parsedDescription,
228
+ description: embedData.hideCaption === "true" ? "" : parsedDescription,
262
229
  visibleAlt: previewAlt ? embed.embedData.alt : ""
263
230
  })]
264
231
  });
265
232
  };
266
- const hideByline = embed => {
267
- return !!embed.size && embed.size.endsWith("-hide-byline") || embed.hideByline === "true";
268
- };
269
233
  export default ImageEmbed;
@@ -74,10 +74,10 @@ export const TagSelectorControl = /*#__PURE__*/forwardRef((_ref2, ref) => {
74
74
  ...props
75
75
  } = _ref2;
76
76
  return /*#__PURE__*/_jsx(ComboboxControl, {
77
+ ref: ref,
77
78
  asChild: true,
78
79
  children: /*#__PURE__*/_jsx(TagsInputControl, {
79
80
  ...props,
80
- ref: ref,
81
81
  children: children
82
82
  })
83
83
  });
@@ -91,6 +91,7 @@ export const TagSelectorInputBase = /*#__PURE__*/forwardRef((_ref3, ref) => {
91
91
  } = _ref3;
92
92
  const tagsApi = useTagsInputContext();
93
93
  return /*#__PURE__*/_jsx(ComboboxInput, {
94
+ ref: ref,
94
95
  asChild: true,
95
96
  children: /*#__PURE__*/_jsx(TagsInputInput, {
96
97
  ...props,
@@ -99,7 +100,6 @@ export const TagSelectorInputBase = /*#__PURE__*/forwardRef((_ref3, ref) => {
99
100
  tagsApi.addValue(tagsApi.inputValue);
100
101
  }
101
102
  },
102
- ref: ref,
103
103
  children: children
104
104
  })
105
105
  });
@@ -122,6 +122,7 @@ export const TagSelectorInput = /*#__PURE__*/forwardRef((_ref4, ref) => {
122
122
  })]
123
123
  }), /*#__PURE__*/_jsx(TagsInputItemInput, {})]
124
124
  }, value)), /*#__PURE__*/_jsx(ComboboxInput, {
125
+ ref: ref,
125
126
  asChild: true,
126
127
  children: /*#__PURE__*/_jsx(TagsInputInput, {
127
128
  ...props,
@@ -130,7 +131,6 @@ export const TagSelectorInput = /*#__PURE__*/forwardRef((_ref4, ref) => {
130
131
  tagsApi.addValue(tagsApi.inputValue);
131
132
  }
132
133
  },
133
- ref: ref,
134
134
  children: children
135
135
  })
136
136
  })]
@@ -93,23 +93,24 @@ export const useImageSearchTranslations = function () {
93
93
  });
94
94
  const paginationTranslations = usePaginationTranslations();
95
95
  const {
96
- imageMetadata,
96
+ imagePreview,
97
97
  paginationTranslations: fallbackPaginationTranslations,
98
98
  ...remaining
99
99
  } = translations;
100
100
  return {
101
- close: t("close"),
102
101
  searchPlaceholder: t("searchPlaceholder"),
103
102
  searchButtonTitle: t("searchButtonTitle"),
104
- useImageTitle: t("useImageTitle"),
105
- imageMetadata: {
106
- creatorsLabel: t("imageMetadata.creatorsLabel"),
107
- license: t("imageMetadata.license"),
108
- caption: t("imageMetadata.caption"),
109
- altText: t("imageMetadata.altText"),
110
- modelRelease: t("imageMetadata.modelRelease"),
111
- tags: t("imageMetadata.tags"),
112
- ...imageMetadata
103
+ imagePreview: {
104
+ creatorsLabel: t("imagePreview.creatorsLabel"),
105
+ license: t("imagePreview.license"),
106
+ caption: t("imagePreview.caption"),
107
+ altText: t("imagePreview.altText"),
108
+ modelRelease: t("imagePreview.modelRelease"),
109
+ tags: t("imagePreview.tags"),
110
+ close: t("close"),
111
+ checkboxLabel: t("imagePreview.checkboxLabel"),
112
+ useImageTitle: t("imagePreview.useImageTitle"),
113
+ ...imagePreview
113
114
  },
114
115
  paginationTranslations: {
115
116
  ...paginationTranslations,
@@ -995,7 +995,9 @@ const messages = {
995
995
  title: "Categories",
996
996
  posts: "post",
997
997
  posts_plural: "posts",
998
- subcategory: "Subcategories"
998
+ subcategory: "Subcategories",
999
+ votes: "reaction",
1000
+ votes_plural: "reactions"
999
1001
  },
1000
1002
  cancel: {
1001
1003
  title: {
@@ -1057,7 +1059,9 @@ const messages = {
1057
1059
  locked: "Lock topic",
1058
1060
  unlock: "Unlock topic",
1059
1061
  lockDescription: "Do you want do lock this topic? This will prevent this topic from getting more posts.",
1060
- unlockDescription: "Do you want do unlock this topic? This will prevent this topic from getting more posts."
1062
+ unlockDescription: "Do you want do unlock this topic? This will prevent this topic from getting more posts.",
1063
+ votes: "reaction",
1064
+ votes_plural: "reactions"
1061
1065
  },
1062
1066
  posts: {
1063
1067
  title: "Posts",
@@ -1086,12 +1090,12 @@ const messages = {
1086
1090
  maxLength: "The maximum length for the text field is reached",
1087
1091
  error: "The field is required"
1088
1092
  },
1089
- bottomText: "Are you missing a category? Let our moderator know at ",
1093
+ bottomText: "Are you missing a category? You can request new categories. Use 'Ask NDLA' or send an email to ",
1090
1094
  moderatorEmail: "moderator@ndla.no",
1091
1095
  notification: {
1092
1096
  title: "Notifications",
1093
1097
  showAll: "View all notifications",
1094
- description: "Welcome to the arena for teachers in upper secondary education. This is <em>your</em> arena: a professional meeting place for discussion, inspiration, sharing, development, and collaboration.",
1098
+ description: "Welcome to NDLAs Arena. Here, you can discuss, share and cooperate with other teachers from all over Norway.",
1095
1099
  myNotification: "My notifications",
1096
1100
  markAll: "Mark all as read",
1097
1101
  subscribe: "You will now be notified of new replies to this topic",
@@ -1104,7 +1108,7 @@ const messages = {
1104
1108
  },
1105
1109
  topicsBy: "Topics by",
1106
1110
  admin: {
1107
- title: "Arena administrator",
1111
+ title: "Arena admin",
1108
1112
  description: "Tools to moderate and administer the arena.",
1109
1113
  administrate: "Administrate",
1110
1114
  category: {
@@ -1469,18 +1473,18 @@ const messages = {
1469
1473
  page: "Page {{page}}"
1470
1474
  },
1471
1475
  imageSearch: {
1472
- close: "Close",
1473
1476
  searchPlaceholder: "Search images",
1474
1477
  searchButtonTitle: "Search",
1475
- useImageTitle: "Use image",
1476
- checkboxLabel: "Set as meta image",
1477
- imageMetadata: {
1478
+ imagePreview: {
1478
1479
  creatorsLabel: "Image",
1479
1480
  license: "License",
1480
1481
  caption: "Caption",
1481
1482
  altText: "Alt-text",
1482
1483
  modelRelease: "Model released",
1483
- tags: "Tags"
1484
+ tags: "Tags",
1485
+ checkboxLabel: "Set as meta image",
1486
+ close: "Close",
1487
+ useImageTitle: "Use image"
1484
1488
  }
1485
1489
  },
1486
1490
  audioSearch: {
@@ -995,7 +995,9 @@ const messages = {
995
995
  title: "Kategorier",
996
996
  posts: "innlegg",
997
997
  posts_plural: "innlegg",
998
- subcategory: "Tema"
998
+ subcategory: "Tema",
999
+ votes: "reaksjon",
1000
+ votes_plural: "reaksjoner"
999
1001
  },
1000
1002
  publish: "Publiser",
1001
1003
  cancel: {
@@ -1057,7 +1059,9 @@ const messages = {
1057
1059
  locked: "Lås innlegg",
1058
1060
  unlock: "Lås opp innlegg",
1059
1061
  lockDescription: "Vil du låse dette innlegget? Dette vil gjøre at innlegget ikke kan få flere kommentarer, og vil vises som låst.",
1060
- unlockDescription: "Vil du låse opp dette innlegget? Dette vil gjøre at innlegget kan få flere kommentarer."
1062
+ unlockDescription: "Vil du låse opp dette innlegget? Dette vil gjøre at innlegget kan få flere kommentarer.",
1063
+ votes: "reaksjon",
1064
+ votes_plural: "reaksjoner"
1061
1065
  },
1062
1066
  posts: {
1063
1067
  title: "Innlegg",
@@ -1086,12 +1090,12 @@ const messages = {
1086
1090
  maxLength: "Maksimal lengde for tekstfeltet er nådd",
1087
1091
  error: "Feltet er påkrevd"
1088
1092
  },
1089
- bottomText: "Savner du en kategori? Gi vår moderator beskjed ",
1093
+ bottomText: "Savner du en kategori? Du kan be om nye kategorier. Bruk 'Spør NDLA' eller send en epost til ",
1090
1094
  moderatorEmail: "moderator@ndla.no",
1091
1095
  notification: {
1092
1096
  title: "Varslinger",
1093
1097
  showAll: "Se alle varslinger",
1094
- description: "Velkommen inn i arenaen for lærere i videregående opplæring! Dette er <em>din</em> arena: et faglig møtested for diskusjon, inspirasjon, deling og utviklende samarbeid.",
1098
+ description: "Velkommen til NDLAs Arena. Her kan du diskutere, dele og samarbeide med andre lærere fra hele Norge.",
1095
1099
  myNotification: "Mine varsler",
1096
1100
  markAll: "Merk alle som lest",
1097
1101
  subscribe: "Du får nå varsling om nye svar på dette innlegget",
@@ -1104,7 +1108,7 @@ const messages = {
1104
1108
  },
1105
1109
  topicsBy: "Innlegg av",
1106
1110
  admin: {
1107
- title: "Arena administrator",
1111
+ title: "Arena admin",
1108
1112
  description: "Verktøy for å moderere og administrere arenaen.",
1109
1113
  administrate: "Administrer",
1110
1114
  category: {
@@ -1469,18 +1473,18 @@ const messages = {
1469
1473
  page: "Side {{page}}"
1470
1474
  },
1471
1475
  imageSearch: {
1472
- close: "Lukk",
1473
1476
  searchPlaceholder: "Søk i bilder",
1474
1477
  searchButtonTitle: "Søk",
1475
- useImageTitle: "Bruk bildet",
1476
- checkboxLabel: "Sett som metabilde",
1477
- imageMetadata: {
1478
+ imagePreview: {
1478
1479
  creatorsLabel: "Bilde",
1479
1480
  license: "Lisens",
1480
1481
  caption: "Bildetekst",
1481
1482
  altText: "Alt-tekst",
1482
1483
  modelRelease: "Modellklarert",
1483
- tags: "Emneknagger"
1484
+ tags: "Emneknagger",
1485
+ checkboxLabel: "Sett som metabilde",
1486
+ close: "Lukk",
1487
+ useImageTitle: "Bruk bildet"
1484
1488
  }
1485
1489
  },
1486
1490
  audioSearch: {
@@ -995,7 +995,9 @@ const messages = {
995
995
  title: "Kategoriar",
996
996
  posts: "innlegg",
997
997
  posts_plural: "innlegg",
998
- subcategory: "Tema"
998
+ subcategory: "Tema",
999
+ votes: "reaksjon",
1000
+ votes_plural: "reaksjonar"
999
1001
  },
1000
1002
  publish: "Publiser",
1001
1003
  cancel: {
@@ -1049,7 +1051,9 @@ const messages = {
1049
1051
  locked: "Lås innlegg",
1050
1052
  unlock: "Lås opp innlegg",
1051
1053
  lockDescription: "Vil du låse dette innlegget? Dette vil gjera at innlegget ikkje kan få fleire kommentarar, og vil visast som låst.",
1052
- unlockDescription: "Vil du låse opp dette innlegget? Dette vil gjera at innlegget kan få fleire kommentarar."
1054
+ unlockDescription: "Vil du låse opp dette innlegget? Dette vil gjera at innlegget kan få fleire kommentarar.",
1055
+ votes: "reaksjon",
1056
+ votes_plural: "reaksjonar"
1053
1057
  },
1054
1058
  deleted: {
1055
1059
  post: "Kommentaren din har blitt sletta.",
@@ -1086,12 +1090,12 @@ const messages = {
1086
1090
  maxLength: "Maksimal lengd for tekstfeltet er nådd",
1087
1091
  error: "Feltet er påkravd"
1088
1092
  },
1089
- bottomText: "Saknar du ein kategori? Gi moderatoren vår beskjed ",
1093
+ bottomText: "Saknar du ein kategori? Du kan be om nye kategoriar. Bruk 'Spør NDLA' eller send ein epost til ",
1090
1094
  moderatorEmail: "moderator@ndla.no",
1091
1095
  notification: {
1092
1096
  title: "Varslingar",
1093
1097
  showAll: "Sjå alle varslingar",
1094
- description: "Velkommen inn i arenaen for lærarar i vidaregåande opplæring! Dette er <em>din</em> arena: ein fagleg møtestad for diskusjon, inspirasjon, deling og utviklande samarbeid.",
1098
+ description: "Velkommen til NDLA sin Arena. Her kan du diskutere, dele og samarbeide med andre lærarar frå heile Noreg.",
1095
1099
  myNotification: "Mine varsler",
1096
1100
  markAll: "Merk alle som lest",
1097
1101
  subscribe: "Du får no varsling om nye svar på dette innlegget",
@@ -1104,7 +1108,7 @@ const messages = {
1104
1108
  },
1105
1109
  topicsBy: "Innlegg av",
1106
1110
  admin: {
1107
- title: "Arena administrator",
1111
+ title: "Arena admin",
1108
1112
  description: "Verktøy for å moderere og administrere arenaen.",
1109
1113
  administrate: "Administrer",
1110
1114
  category: {
@@ -1469,18 +1473,18 @@ const messages = {
1469
1473
  page: "Side {{page}}"
1470
1474
  },
1471
1475
  imageSearch: {
1472
- close: "Lukk",
1473
1476
  searchPlaceholder: "Søk i bilete",
1474
1477
  searchButtonTitle: "Søk",
1475
- useImageTitle: "Bruk biletet",
1476
- checkboxLabel: "Sett som metabilete",
1477
- imageMetadata: {
1478
+ imagePreview: {
1478
1479
  creatorsLabel: "Bilete",
1479
1480
  license: "Lisens",
1480
1481
  caption: "Bildetekst",
1481
1482
  altText: "Alt-tekst",
1482
1483
  modelRelease: "Modellklarert",
1483
- tags: "Emneknaggar"
1484
+ tags: "Emneknaggar",
1485
+ checkboxLabel: "Sett som metabilete",
1486
+ close: "Lukk",
1487
+ useImageTitle: "Bruk biletet"
1484
1488
  }
1485
1489
  },
1486
1490
  audioSearch: {
@@ -995,7 +995,9 @@ const messages = {
995
995
  title: "Kategorier",
996
996
  posts: "innlegg",
997
997
  posts_plural: "innlegg",
998
- subcategory: "Tema"
998
+ subcategory: "Tema",
999
+ votes: "reaksjon",
1000
+ votes_plural: "reaksjoner"
999
1001
  },
1000
1002
  publish: "Publiser",
1001
1003
  cancel: {
@@ -1057,7 +1059,9 @@ const messages = {
1057
1059
  locked: "Lås innlegg",
1058
1060
  unlock: "Lås opp innlegg",
1059
1061
  lockDescription: "Vil du låse dette innlegget? Dette vil gjøre at innlegget ikke kan få flere kommentarer, og vil vises som låst.",
1060
- unlockDescription: "Vil du låse opp dette innlegget? Dette vil gjøre at innlegget kan få flere kommentarer."
1062
+ unlockDescription: "Vil du låse opp dette innlegget? Dette vil gjøre at innlegget kan få flere kommentarer.",
1063
+ votes: "reaksjon",
1064
+ votes_plural: "reaksjoner"
1061
1065
  },
1062
1066
  posts: {
1063
1067
  title: "Innlegg",
@@ -1086,12 +1090,12 @@ const messages = {
1086
1090
  maxLength: "Maksimal lengde for tekstfeltet er nådd",
1087
1091
  error: "Feltet er påkrevd"
1088
1092
  },
1089
- bottomText: "Savner du en kategori? Gi vår moderator beskjed ",
1093
+ bottomText: "Savner du en kategori? Du kan be om nye kategorier. Bruk 'Spør NDLA' eller send en epost til ",
1090
1094
  moderatorEmail: "moderator@ndla.no",
1091
1095
  notification: {
1092
1096
  title: "Varslinger",
1093
1097
  showAll: "Se alle varslinger",
1094
- description: "Velkommen inn i arenaen for lærere i videregående opplæring! Dette er <em>din</em> arena: et faglig møtested for diskusjon, inspirasjon, deling og utviklende samarbeid.",
1098
+ description: "Velkommen til NDLAs Arena. Her kan du diskutere, dele og samarbeide med andre lærere fra hele Norge.",
1095
1099
  myNotification: "Mine varsler",
1096
1100
  markAll: "Merk alle som lest",
1097
1101
  subscribe: "Du får nå varsling om nye svar på dette innlegget",
@@ -1104,7 +1108,7 @@ const messages = {
1104
1108
  },
1105
1109
  topicsBy: "Innlegg av",
1106
1110
  admin: {
1107
- title: "Arena administrator",
1111
+ title: "Arena admin",
1108
1112
  description: "Verktøy for å moderere og administrere arenaen.",
1109
1113
  administrate: "Administrer",
1110
1114
  category: {
@@ -1469,18 +1473,18 @@ const messages = {
1469
1473
  page: "Side {{page}}"
1470
1474
  },
1471
1475
  imageSearch: {
1472
- close: "Lukk",
1473
1476
  searchPlaceholder: "Søk i bilder",
1474
1477
  searchButtonTitle: "Søk",
1475
- useImageTitle: "Bruk bildet",
1476
- checkboxLabel: "Sett som metabilde",
1477
- imageMetadata: {
1478
+ imagePreview: {
1478
1479
  creatorsLabel: "Bilde",
1479
1480
  license: "Lisens",
1480
1481
  caption: "Bildetekst",
1481
1482
  altText: "Alt-tekst",
1482
1483
  modelRelease: "Modellklarert",
1483
- tags: "Emneknagger"
1484
+ tags: "Emneknagger",
1485
+ checkboxLabel: "Sett som metabilde",
1486
+ close: "Lukk",
1487
+ useImageTitle: "Bruk bildet"
1484
1488
  }
1485
1489
  },
1486
1490
  audioSearch: {
@@ -995,7 +995,9 @@ const messages = {
995
995
  title: "Kategorier",
996
996
  posts: "innlegg",
997
997
  posts_plural: "innlegg",
998
- subcategory: "Tema"
998
+ subcategory: "Tema",
999
+ votes: "reaksjon",
1000
+ votes_plural: "reaksjoner"
999
1001
  },
1000
1002
  publish: "Publiser",
1001
1003
  cancel: {
@@ -1057,7 +1059,9 @@ const messages = {
1057
1059
  locked: "Lås innlegg",
1058
1060
  unlock: "Lås opp innlegg",
1059
1061
  lockDescription: "Vil du låse dette innlegget? Dette vil gjøre at innlegget ikke kan få flere kommentarer, og vil vises som låst.",
1060
- unlockDescription: "Vil du låse opp dette innlegget? Dette vil gjøre at innlegget kan få flere kommentarer."
1062
+ unlockDescription: "Vil du låse opp dette innlegget? Dette vil gjøre at innlegget kan få flere kommentarer.",
1063
+ votes: "reaksjon",
1064
+ votes_plural: "reaksjoner"
1061
1065
  },
1062
1066
  posts: {
1063
1067
  title: "Innlegg",
@@ -1086,12 +1090,12 @@ const messages = {
1086
1090
  maxLength: "Maksimal lengde for tekstfeltet er nådd",
1087
1091
  error: "Feltet er påkrevd"
1088
1092
  },
1089
- bottomText: "Savner du en kategori? Gi vår moderator beskjed ",
1093
+ bottomText: "Savner du en kategori? Du kan be om nye kategorier. Bruk 'Spør NDLA' eller send en epost til ",
1090
1094
  moderatorEmail: "moderator@ndla.no",
1091
1095
  notification: {
1092
1096
  title: "Varslinger",
1093
1097
  showAll: "Se alle varslinger",
1094
- description: "Velkommen inn i arenaen for lærere i videregående opplæring! Dette er <em>din</em> arena: et faglig møtested for diskusjon, inspirasjon, deling og utviklende samarbeid.",
1098
+ description: "Velkommen til NDLAs Arena. Her kan du diskutere, dele og samarbeide med andre lærere fra hele Norge.",
1095
1099
  myNotification: "Mine varsler",
1096
1100
  markAll: "Merk alle som lest",
1097
1101
  subscribe: "Du får nå varsling om nye svar på dette innlegget",
@@ -1104,7 +1108,7 @@ const messages = {
1104
1108
  },
1105
1109
  topicsBy: "Innlegg av",
1106
1110
  admin: {
1107
- title: "Arena administrator",
1111
+ title: "Arena admin",
1108
1112
  description: "Verktøy for å moderere og administrere arenaen.",
1109
1113
  administrate: "Administrer",
1110
1114
  category: {
@@ -1469,18 +1473,18 @@ const messages = {
1469
1473
  page: "Side {{page}}"
1470
1474
  },
1471
1475
  imageSearch: {
1472
- close: "Lukk",
1473
1476
  searchPlaceholder: "Søk i bilder",
1474
1477
  searchButtonTitle: "Søk",
1475
- useImageTitle: "Bruk bildet",
1476
- checkboxLabel: "Sett som metabilde",
1477
- imageMetadata: {
1478
+ imagePreview: {
1478
1479
  creatorsLabel: "Bilde",
1479
1480
  license: "Lisens",
1480
1481
  caption: "Bildetekst",
1481
1482
  altText: "Alt-tekst",
1482
1483
  modelRelease: "Modellklarert",
1483
- tags: "Emneknagger"
1484
+ tags: "Emneknagger",
1485
+ checkboxLabel: "Sett som metabilde",
1486
+ close: "Lukk",
1487
+ useImageTitle: "Bruk bildet"
1484
1488
  }
1485
1489
  },
1486
1490
  audioSearch: {