Skip to content

Commit

Permalink
Use enumLabelMapper for values in new select and add more missing tex…
Browse files Browse the repository at this point in the history
…ts (#13348)
  • Loading branch information
standeren authored Aug 14, 2024
1 parent ce45209 commit b4788bc
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
13 changes: 13 additions & 0 deletions frontend/language/src/nb.json
Original file line number Diff line number Diff line change
Expand Up @@ -1353,6 +1353,8 @@
"ux_editor.component_properties.alertOnChange": "Brukerne skal få advarsel når de gjør endring",
"ux_editor.component_properties.alertOnDelete": "Brukerne skal få advarsel når de sletter",
"ux_editor.component_properties.align": "Plassering av tekstinnhold",
"ux_editor.component_properties.allowPopups": "Tillat popups",
"ux_editor.component_properties.allowPopupsToEscapeSandbox": "Tillat popups for å avslutte sandbox",
"ux_editor.component_properties.alwaysShowAddButton": "Vis alltid 'Legg til'-knapp",
"ux_editor.component_properties.attribution": "Opphav",
"ux_editor.component_properties.autocomplete": "HTML autofullfør",
Expand Down Expand Up @@ -1391,6 +1393,7 @@
"ux_editor.component_properties.enum_celsius": "Celsius",
"ux_editor.component_properties.enum_center": "Senter",
"ux_editor.component_properties.enum_centimeter": "Centimeter",
"ux_editor.component_properties.enum_column": "Kolonne",
"ux_editor.component_properties.enum_day": "Dag",
"ux_editor.component_properties.enum_degree": "Grader",
"ux_editor.component_properties.enum_desc": "Omvendt alfabetisk",
Expand All @@ -1399,9 +1402,11 @@
"ux_editor.component_properties.enum_hectare": "Hekto",
"ux_editor.component_properties.enum_hour": "Time",
"ux_editor.component_properties.enum_inch": "Tomme",
"ux_editor.component_properties.enum_instantiate": "Instansier",
"ux_editor.component_properties.enum_kilogram": "Kilogram",
"ux_editor.component_properties.enum_kilometer": "Kilometer",
"ux_editor.component_properties.enum_left": "Venstre",
"ux_editor.component_properties.enum_list": "Liste",
"ux_editor.component_properties.enum_liter": "Liter",
"ux_editor.component_properties.enum_meter": "Meter",
"ux_editor.component_properties.enum_milliliter": "Milliliter",
Expand All @@ -1413,10 +1418,15 @@
"ux_editor.component_properties.enum_percent": "Prosent",
"ux_editor.component_properties.enum_prefix": "Prefiks (Før tall)",
"ux_editor.component_properties.enum_right": "Høyre",
"ux_editor.component_properties.enum_row": "Rad",
"ux_editor.component_properties.enum_save": "Lagre",
"ux_editor.component_properties.enum_search": "Søk",
"ux_editor.component_properties.enum_second": "Sekund",
"ux_editor.component_properties.enum_simple": "Enkel",
"ux_editor.component_properties.enum_submit": "Send inn",
"ux_editor.component_properties.enum_subtle": "Forsiktig",
"ux_editor.component_properties.enum_suffix": "Suffiks (Etter tall)",
"ux_editor.component_properties.enum_table": "Tabell",
"ux_editor.component_properties.enum_text": "Tekst",
"ux_editor.component_properties.enum_top": "Topp",
"ux_editor.component_properties.enum_week": "Uke",
Expand All @@ -1433,6 +1443,7 @@
"ux_editor.component_properties.hiddenRow": "Angi hvilke rader som skal skjules",
"ux_editor.component_properties.hideBottomBorder": "Skjul skillelinje under komponenten",
"ux_editor.component_properties.hideChangeButton": "Skjul 'Endre'-knapp",
"ux_editor.component_properties.hideValidationMessages": "Skjul valideringsmeldinger",
"ux_editor.component_properties.id": "ID",
"ux_editor.component_properties.image": "Bildeinnstillinger (image)",
"ux_editor.component_properties.includePDF": "Inkluder PDF",
Expand Down Expand Up @@ -1514,6 +1525,8 @@
"ux_editor.component_properties.variant": "Variant",
"ux_editor.component_properties.width": "Bredde*",
"ux_editor.component_properties.zoom": "Zoom",
"ux_editor.component_properties_description.display": "Valgfrie egenskaper som definerer hvordan oppsummeringen blir vist",
"ux_editor.component_properties_description.elements": "Hvilke elementer skal vises for instansinformasjonen",
"ux_editor.component_properties_description.pageBreak": "Valgfri sideskift før eller etter komponenten i PDF",
"ux_editor.component_properties_description.pagination": "Pagineringsvalg for repeterende gruppe",
"ux_editor.component_title.Accordion": "Accordion",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export const EditStringValue = ({
>
{enumValues.map((value) => (
<option key={value} value={value}>
{value}
{componentEnumValue(value)}
</option>
))}
</StudioNativeSelect>
Expand Down

0 comments on commit b4788bc

Please sign in to comment.