@formbox/strings 0.1.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.
- package/LICENSE +21 -0
- package/README.md +73 -0
- package/dist/de.js +101 -0
- package/dist/en.js +101 -0
- package/dist/es.js +101 -0
- package/dist/fi.js +101 -0
- package/dist/fr.js +101 -0
- package/dist/index.js +41 -0
- package/dist/it.js +101 -0
- package/dist/nl.js +101 -0
- package/dist/pl.js +101 -0
- package/dist/pt.js +101 -0
- package/dist/ru.js +101 -0
- package/dist/strings/lib/de.d.ts +3 -0
- package/dist/strings/lib/en.d.ts +3 -0
- package/dist/strings/lib/es.d.ts +3 -0
- package/dist/strings/lib/fi.d.ts +3 -0
- package/dist/strings/lib/fr.d.ts +3 -0
- package/dist/strings/lib/index.d.ts +28 -0
- package/dist/strings/lib/it.d.ts +3 -0
- package/dist/strings/lib/nl.d.ts +3 -0
- package/dist/strings/lib/pl.d.ts +3 -0
- package/dist/strings/lib/pt.d.ts +3 -0
- package/dist/strings/lib/ru.d.ts +3 -0
- package/dist/strings/lib/sv.d.ts +3 -0
- package/dist/strings/lib/tr.d.ts +3 -0
- package/dist/sv.js +101 -0
- package/dist/tr.js +101 -0
- package/package.json +91 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025 Health Samurai
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
# @formbox/strings
|
|
2
|
+
|
|
3
|
+
Localized UI strings for Formbox renderer packages.
|
|
4
|
+
|
|
5
|
+
## Install
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
pnpm add @formbox/strings
|
|
9
|
+
# or
|
|
10
|
+
npm install @formbox/strings
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## Usage
|
|
14
|
+
|
|
15
|
+
Import all bundled locales:
|
|
16
|
+
|
|
17
|
+
```ts
|
|
18
|
+
import strings from "@formbox/strings";
|
|
19
|
+
|
|
20
|
+
const en = strings.en;
|
|
21
|
+
const ru = strings.ru;
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
Import a single locale:
|
|
25
|
+
|
|
26
|
+
```ts
|
|
27
|
+
import fi from "@formbox/strings/fi";
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
Example with `@formbox/renderer/controlled`:
|
|
31
|
+
|
|
32
|
+
```tsx
|
|
33
|
+
import ControlledRenderer from "@formbox/renderer/controlled";
|
|
34
|
+
import fi from "@formbox/strings/fi";
|
|
35
|
+
|
|
36
|
+
<ControlledRenderer
|
|
37
|
+
fhirVersion="r5"
|
|
38
|
+
questionnaire={questionnaire}
|
|
39
|
+
defaultQuestionnaireResponse={questionnaireResponse}
|
|
40
|
+
language="fi"
|
|
41
|
+
strings={fi}
|
|
42
|
+
onChange={onChange}
|
|
43
|
+
onSubmit={null}
|
|
44
|
+
onLanguageChange={onLanguageChange}
|
|
45
|
+
terminologyServerUrl={null}
|
|
46
|
+
theme={theme}
|
|
47
|
+
/>;
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
## Available locales
|
|
51
|
+
|
|
52
|
+
- `de`
|
|
53
|
+
- `en`
|
|
54
|
+
- `es`
|
|
55
|
+
- `fi`
|
|
56
|
+
- `fr`
|
|
57
|
+
- `it`
|
|
58
|
+
- `nl`
|
|
59
|
+
- `pl`
|
|
60
|
+
- `pt`
|
|
61
|
+
- `ru`
|
|
62
|
+
- `sv`
|
|
63
|
+
- `tr`
|
|
64
|
+
|
|
65
|
+
## Development
|
|
66
|
+
|
|
67
|
+
From repo root:
|
|
68
|
+
|
|
69
|
+
```bash
|
|
70
|
+
pnpm --filter @formbox/strings lint
|
|
71
|
+
pnpm --filter @formbox/strings typecheck
|
|
72
|
+
pnpm --filter @formbox/strings build
|
|
73
|
+
```
|
package/dist/de.js
ADDED
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
const strings = {
|
|
2
|
+
aria: {
|
|
3
|
+
help: "Weitere Informationen",
|
|
4
|
+
legal: "Rechtliche Hinweise",
|
|
5
|
+
flyover: "Mehr Kontext"
|
|
6
|
+
},
|
|
7
|
+
value: {
|
|
8
|
+
yes: "Ja",
|
|
9
|
+
no: "Nein",
|
|
10
|
+
unanswered: "Unbeantwortet"
|
|
11
|
+
},
|
|
12
|
+
dialog: {
|
|
13
|
+
cancel: "Abbrechen",
|
|
14
|
+
submit: "Übernehmen"
|
|
15
|
+
},
|
|
16
|
+
errors: {
|
|
17
|
+
unknown: "Unbekannter Fehler"
|
|
18
|
+
},
|
|
19
|
+
file: {
|
|
20
|
+
sizeLabel: "{sizeKb} KB"
|
|
21
|
+
},
|
|
22
|
+
group: {
|
|
23
|
+
addSection: "Weiteren hinzufügen",
|
|
24
|
+
removeSection: "Entfernen",
|
|
25
|
+
noNodesYet: "Noch keine Elemente."
|
|
26
|
+
},
|
|
27
|
+
gridTable: {
|
|
28
|
+
headerActions: "Aktionen"
|
|
29
|
+
},
|
|
30
|
+
inputs: {
|
|
31
|
+
referencePlaceholder: "Ressource/typ/id",
|
|
32
|
+
referenceDisplayPlaceholder: "Anzeigetext",
|
|
33
|
+
codingSystemPlaceholder: "System",
|
|
34
|
+
codingCodePlaceholder: "Code",
|
|
35
|
+
codingDisplayPlaceholder: "Anzeige",
|
|
36
|
+
quantityValuePlaceholder: "Wert",
|
|
37
|
+
quantityUnitPlaceholder: "Einheit",
|
|
38
|
+
attachmentSelected: "Anhang ausgewählt"
|
|
39
|
+
},
|
|
40
|
+
selection: {
|
|
41
|
+
specifyOther: "Anderes angeben",
|
|
42
|
+
addAnother: "Weiteren hinzufügen",
|
|
43
|
+
selectPlaceholder: "Option auswählen",
|
|
44
|
+
removeSelection: "Auswahl entfernen",
|
|
45
|
+
removeCustomValue: "Benutzerdefinierten Wert entfernen"
|
|
46
|
+
},
|
|
47
|
+
language: {
|
|
48
|
+
label: "Sprache",
|
|
49
|
+
placeholder: "Sprache auswählen"
|
|
50
|
+
},
|
|
51
|
+
table: {
|
|
52
|
+
noChoiceQuestionsHorizontal: "Keine Auswahlfragen für die horizontale Tabelle verfügbar.",
|
|
53
|
+
noChoiceQuestions: "Keine Auswahlfragen verfügbar.",
|
|
54
|
+
noAnswerOptionsHorizontal: "Keine Antwortoptionen für das horizontale Tabellenlayout verfügbar.",
|
|
55
|
+
noAnswerOptions: "Keine Antwortoptionen für das Tabellenlayout verfügbar."
|
|
56
|
+
},
|
|
57
|
+
collapsible: {
|
|
58
|
+
expand: "Erweitern",
|
|
59
|
+
collapse: "Einklappen"
|
|
60
|
+
},
|
|
61
|
+
tab: {
|
|
62
|
+
empty: "Kein Tab-Inhalt"
|
|
63
|
+
},
|
|
64
|
+
unsupported: {
|
|
65
|
+
itemType: "Nicht unterstützter Typ: {type}"
|
|
66
|
+
},
|
|
67
|
+
validation: {
|
|
68
|
+
group: {
|
|
69
|
+
atLeastOneAnswer: "In dieser Gruppe ist mindestens eine Antwort erforderlich."
|
|
70
|
+
},
|
|
71
|
+
groupList: {
|
|
72
|
+
minOccurs: "Mindestens {minOccurs} Vorkommen erforderlich.",
|
|
73
|
+
maxOccurs: "Nicht mehr als {maxOccurs} Vorkommen erlaubt."
|
|
74
|
+
},
|
|
75
|
+
question: {
|
|
76
|
+
minOccursSingle: "Mindestens eine nicht-leere Antwort ist erforderlich.",
|
|
77
|
+
minOccursMultiple: "Mindestens {minOccurs} nicht-leere Antworten sind erforderlich.",
|
|
78
|
+
maxOccurs: "Nicht mehr als {maxOccurs} Antworten sind erlaubt."
|
|
79
|
+
},
|
|
80
|
+
answer: {
|
|
81
|
+
minLength: "Die Antwort muss mindestens {minLength} Zeichen lang sein.",
|
|
82
|
+
maxLength: "Die Antwort überschreitet die maximale Länge von {maxLength}.",
|
|
83
|
+
minPrecision: "Die Antwort muss mindestens {minLength} Zeichen lang sein, um die erforderliche Präzision abzubilden.",
|
|
84
|
+
maxPrecision: "Die Antwort darf {maxLength} Zeichen nicht überschreiten.",
|
|
85
|
+
blank: "Die Antwort darf nicht leer sein.",
|
|
86
|
+
valueNotEarlier: "Der Wert darf nicht früher als {formatted} sein.",
|
|
87
|
+
valueNotLater: "Der Wert darf nicht später als {formatted} sein.",
|
|
88
|
+
valueMin: "Der Wert muss größer oder gleich {formatted} sein.",
|
|
89
|
+
valueMax: "Der Wert muss kleiner oder gleich {formatted} sein.",
|
|
90
|
+
valueDecimalPlaces: "Der Wert darf nicht mehr als {maxPlaces} Dezimalstellen haben.",
|
|
91
|
+
quantityMin: "Die Menge muss größer oder gleich {formatted} sein.",
|
|
92
|
+
quantityMax: "Die Menge muss kleiner oder gleich {formatted} sein.",
|
|
93
|
+
attachmentTypeMissing: "Der Anhang muss einen Inhaltstyp aus der erlaubten Liste ({allowed}) angeben.",
|
|
94
|
+
attachmentTypeNotAllowed: "Der Anhang muss einer der erlaubten Inhaltstypen sein ({allowed}).",
|
|
95
|
+
attachmentSizeMax: "Der Anhang darf {maxSize} Byte nicht überschreiten."
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
};
|
|
99
|
+
export {
|
|
100
|
+
strings as default
|
|
101
|
+
};
|
package/dist/en.js
ADDED
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
const strings = {
|
|
2
|
+
aria: {
|
|
3
|
+
help: "More information",
|
|
4
|
+
legal: "Legal information",
|
|
5
|
+
flyover: "More context"
|
|
6
|
+
},
|
|
7
|
+
value: {
|
|
8
|
+
yes: "Yes",
|
|
9
|
+
no: "No",
|
|
10
|
+
unanswered: "Unanswered"
|
|
11
|
+
},
|
|
12
|
+
dialog: {
|
|
13
|
+
cancel: "Cancel",
|
|
14
|
+
submit: "Apply"
|
|
15
|
+
},
|
|
16
|
+
errors: {
|
|
17
|
+
unknown: "Unknown error"
|
|
18
|
+
},
|
|
19
|
+
file: {
|
|
20
|
+
sizeLabel: "{sizeKb} KB"
|
|
21
|
+
},
|
|
22
|
+
group: {
|
|
23
|
+
addSection: "Add another",
|
|
24
|
+
removeSection: "Remove",
|
|
25
|
+
noNodesYet: "No nodes yet."
|
|
26
|
+
},
|
|
27
|
+
gridTable: {
|
|
28
|
+
headerActions: "Actions"
|
|
29
|
+
},
|
|
30
|
+
inputs: {
|
|
31
|
+
referencePlaceholder: "Resource/type/id",
|
|
32
|
+
referenceDisplayPlaceholder: "Display label",
|
|
33
|
+
codingSystemPlaceholder: "System",
|
|
34
|
+
codingCodePlaceholder: "Code",
|
|
35
|
+
codingDisplayPlaceholder: "Display",
|
|
36
|
+
quantityValuePlaceholder: "Value",
|
|
37
|
+
quantityUnitPlaceholder: "Unit",
|
|
38
|
+
attachmentSelected: "Attachment selected"
|
|
39
|
+
},
|
|
40
|
+
selection: {
|
|
41
|
+
specifyOther: "Specify other",
|
|
42
|
+
addAnother: "Add another",
|
|
43
|
+
selectPlaceholder: "Select an option",
|
|
44
|
+
removeSelection: "Remove selection",
|
|
45
|
+
removeCustomValue: "Remove custom value"
|
|
46
|
+
},
|
|
47
|
+
language: {
|
|
48
|
+
label: "Language",
|
|
49
|
+
placeholder: "Select language"
|
|
50
|
+
},
|
|
51
|
+
table: {
|
|
52
|
+
noChoiceQuestionsHorizontal: "No choice questions available for horizontal table.",
|
|
53
|
+
noChoiceQuestions: "No choice questions available.",
|
|
54
|
+
noAnswerOptionsHorizontal: "No answer options available for horizontal table layout.",
|
|
55
|
+
noAnswerOptions: "No answer options available for table layout."
|
|
56
|
+
},
|
|
57
|
+
collapsible: {
|
|
58
|
+
expand: "Expand",
|
|
59
|
+
collapse: "Collapse"
|
|
60
|
+
},
|
|
61
|
+
tab: {
|
|
62
|
+
empty: "No tab content"
|
|
63
|
+
},
|
|
64
|
+
unsupported: {
|
|
65
|
+
itemType: "Unsupported type: {type}"
|
|
66
|
+
},
|
|
67
|
+
validation: {
|
|
68
|
+
group: {
|
|
69
|
+
atLeastOneAnswer: "At least one answer is required in this group."
|
|
70
|
+
},
|
|
71
|
+
groupList: {
|
|
72
|
+
minOccurs: "At least {minOccurs} occurrence(s) required.",
|
|
73
|
+
maxOccurs: "No more than {maxOccurs} occurrence(s) permitted."
|
|
74
|
+
},
|
|
75
|
+
question: {
|
|
76
|
+
minOccursSingle: "At least one non-empty answer is required.",
|
|
77
|
+
minOccursMultiple: "At least {minOccurs} non-empty answers are required.",
|
|
78
|
+
maxOccurs: "No more than {maxOccurs} answers are permitted."
|
|
79
|
+
},
|
|
80
|
+
answer: {
|
|
81
|
+
minLength: "Response must be at least {minLength} characters long.",
|
|
82
|
+
maxLength: "Response exceeds the maximum length of {maxLength}.",
|
|
83
|
+
minPrecision: "Response must be at least {minLength} characters to capture the required precision.",
|
|
84
|
+
maxPrecision: "Response must not exceed {maxLength} characters.",
|
|
85
|
+
blank: "Response must not be blank.",
|
|
86
|
+
valueNotEarlier: "Value must not be earlier than {formatted}.",
|
|
87
|
+
valueNotLater: "Value must not be later than {formatted}.",
|
|
88
|
+
valueMin: "Value must be greater than or equal to {formatted}.",
|
|
89
|
+
valueMax: "Value must be less than or equal to {formatted}.",
|
|
90
|
+
valueDecimalPlaces: "Value must not exceed {maxPlaces} decimal place(s).",
|
|
91
|
+
quantityMin: "Quantity must be greater than or equal to {formatted}.",
|
|
92
|
+
quantityMax: "Quantity must be less than or equal to {formatted}.",
|
|
93
|
+
attachmentTypeMissing: "Attachment must declare a content type from the allowed list ({allowed}).",
|
|
94
|
+
attachmentTypeNotAllowed: "Attachment must be one of the allowed content types ({allowed}).",
|
|
95
|
+
attachmentSizeMax: "Attachment must not exceed {maxSize} bytes."
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
};
|
|
99
|
+
export {
|
|
100
|
+
strings as default
|
|
101
|
+
};
|
package/dist/es.js
ADDED
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
const strings = {
|
|
2
|
+
aria: {
|
|
3
|
+
help: "Más información",
|
|
4
|
+
legal: "Información legal",
|
|
5
|
+
flyover: "Más contexto"
|
|
6
|
+
},
|
|
7
|
+
value: {
|
|
8
|
+
yes: "Sí",
|
|
9
|
+
no: "No",
|
|
10
|
+
unanswered: "Sin respuesta"
|
|
11
|
+
},
|
|
12
|
+
dialog: {
|
|
13
|
+
cancel: "Cancelar",
|
|
14
|
+
submit: "Aplicar"
|
|
15
|
+
},
|
|
16
|
+
errors: {
|
|
17
|
+
unknown: "Error desconocido"
|
|
18
|
+
},
|
|
19
|
+
file: {
|
|
20
|
+
sizeLabel: "{sizeKb} KB"
|
|
21
|
+
},
|
|
22
|
+
group: {
|
|
23
|
+
addSection: "Agregar otro",
|
|
24
|
+
removeSection: "Eliminar",
|
|
25
|
+
noNodesYet: "Aún no hay elementos."
|
|
26
|
+
},
|
|
27
|
+
gridTable: {
|
|
28
|
+
headerActions: "Acciones"
|
|
29
|
+
},
|
|
30
|
+
inputs: {
|
|
31
|
+
referencePlaceholder: "Recurso/tipo/id",
|
|
32
|
+
referenceDisplayPlaceholder: "Etiqueta",
|
|
33
|
+
codingSystemPlaceholder: "Sistema",
|
|
34
|
+
codingCodePlaceholder: "Código",
|
|
35
|
+
codingDisplayPlaceholder: "Descripción",
|
|
36
|
+
quantityValuePlaceholder: "Valor",
|
|
37
|
+
quantityUnitPlaceholder: "Unidad",
|
|
38
|
+
attachmentSelected: "Adjunto seleccionado"
|
|
39
|
+
},
|
|
40
|
+
selection: {
|
|
41
|
+
specifyOther: "Especificar otro",
|
|
42
|
+
addAnother: "Agregar otro",
|
|
43
|
+
selectPlaceholder: "Seleccione una opción",
|
|
44
|
+
removeSelection: "Quitar selección",
|
|
45
|
+
removeCustomValue: "Quitar valor personalizado"
|
|
46
|
+
},
|
|
47
|
+
language: {
|
|
48
|
+
label: "Idioma",
|
|
49
|
+
placeholder: "Seleccione idioma"
|
|
50
|
+
},
|
|
51
|
+
table: {
|
|
52
|
+
noChoiceQuestionsHorizontal: "No hay preguntas de opción para la tabla horizontal.",
|
|
53
|
+
noChoiceQuestions: "No hay preguntas de opción disponibles.",
|
|
54
|
+
noAnswerOptionsHorizontal: "No hay opciones de respuesta para la tabla horizontal.",
|
|
55
|
+
noAnswerOptions: "No hay opciones de respuesta para el diseño de tabla."
|
|
56
|
+
},
|
|
57
|
+
collapsible: {
|
|
58
|
+
expand: "Expandir",
|
|
59
|
+
collapse: "Contraer"
|
|
60
|
+
},
|
|
61
|
+
tab: {
|
|
62
|
+
empty: "Sin contenido en la pestaña"
|
|
63
|
+
},
|
|
64
|
+
unsupported: {
|
|
65
|
+
itemType: "Tipo no compatible: {type}"
|
|
66
|
+
},
|
|
67
|
+
validation: {
|
|
68
|
+
group: {
|
|
69
|
+
atLeastOneAnswer: "Se requiere al menos una respuesta en este grupo."
|
|
70
|
+
},
|
|
71
|
+
groupList: {
|
|
72
|
+
minOccurs: "Se requiere al menos {minOccurs} ocurrencia(s).",
|
|
73
|
+
maxOccurs: "No se permiten más de {maxOccurs} ocurrencia(s)."
|
|
74
|
+
},
|
|
75
|
+
question: {
|
|
76
|
+
minOccursSingle: "Se requiere al menos una respuesta no vacía.",
|
|
77
|
+
minOccursMultiple: "Se requieren al menos {minOccurs} respuestas no vacías.",
|
|
78
|
+
maxOccurs: "No se permiten más de {maxOccurs} respuestas."
|
|
79
|
+
},
|
|
80
|
+
answer: {
|
|
81
|
+
minLength: "La respuesta debe tener al menos {minLength} caracteres.",
|
|
82
|
+
maxLength: "La respuesta supera la longitud máxima de {maxLength}.",
|
|
83
|
+
minPrecision: "La respuesta debe tener al menos {minLength} caracteres para capturar la precisión requerida.",
|
|
84
|
+
maxPrecision: "La respuesta no debe superar {maxLength} caracteres.",
|
|
85
|
+
blank: "La respuesta no debe estar vacía.",
|
|
86
|
+
valueNotEarlier: "El valor no debe ser anterior a {formatted}.",
|
|
87
|
+
valueNotLater: "El valor no debe ser posterior a {formatted}.",
|
|
88
|
+
valueMin: "El valor debe ser mayor o igual que {formatted}.",
|
|
89
|
+
valueMax: "El valor debe ser menor o igual que {formatted}.",
|
|
90
|
+
valueDecimalPlaces: "El valor no debe exceder {maxPlaces} decimales.",
|
|
91
|
+
quantityMin: "La cantidad debe ser mayor o igual que {formatted}.",
|
|
92
|
+
quantityMax: "La cantidad debe ser menor o igual que {formatted}.",
|
|
93
|
+
attachmentTypeMissing: "El adjunto debe declarar un tipo de contenido de la lista permitida ({allowed}).",
|
|
94
|
+
attachmentTypeNotAllowed: "El adjunto debe ser uno de los tipos de contenido permitidos ({allowed}).",
|
|
95
|
+
attachmentSizeMax: "El adjunto no debe exceder {maxSize} bytes."
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
};
|
|
99
|
+
export {
|
|
100
|
+
strings as default
|
|
101
|
+
};
|
package/dist/fi.js
ADDED
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
const strings = {
|
|
2
|
+
aria: {
|
|
3
|
+
help: "Lisätietoja",
|
|
4
|
+
legal: "Oikeudelliset tiedot",
|
|
5
|
+
flyover: "Lisäkonteksti"
|
|
6
|
+
},
|
|
7
|
+
value: {
|
|
8
|
+
yes: "Kyllä",
|
|
9
|
+
no: "Ei",
|
|
10
|
+
unanswered: "Ei vastausta"
|
|
11
|
+
},
|
|
12
|
+
dialog: {
|
|
13
|
+
cancel: "Peruuta",
|
|
14
|
+
submit: "Käytä"
|
|
15
|
+
},
|
|
16
|
+
errors: {
|
|
17
|
+
unknown: "Tuntematon virhe"
|
|
18
|
+
},
|
|
19
|
+
file: {
|
|
20
|
+
sizeLabel: "{sizeKb} KB"
|
|
21
|
+
},
|
|
22
|
+
group: {
|
|
23
|
+
addSection: "Lisää toinen",
|
|
24
|
+
removeSection: "Poista",
|
|
25
|
+
noNodesYet: "Ei vielä kohteita."
|
|
26
|
+
},
|
|
27
|
+
gridTable: {
|
|
28
|
+
headerActions: "Toiminnot"
|
|
29
|
+
},
|
|
30
|
+
inputs: {
|
|
31
|
+
referencePlaceholder: "Resurssi/tyyppi/id",
|
|
32
|
+
referenceDisplayPlaceholder: "Näyttöteksti",
|
|
33
|
+
codingSystemPlaceholder: "Järjestelmä",
|
|
34
|
+
codingCodePlaceholder: "Koodi",
|
|
35
|
+
codingDisplayPlaceholder: "Näyttö",
|
|
36
|
+
quantityValuePlaceholder: "Arvo",
|
|
37
|
+
quantityUnitPlaceholder: "Yksikkö",
|
|
38
|
+
attachmentSelected: "Liite valittu"
|
|
39
|
+
},
|
|
40
|
+
selection: {
|
|
41
|
+
specifyOther: "Määritä muu",
|
|
42
|
+
addAnother: "Lisää toinen",
|
|
43
|
+
selectPlaceholder: "Valitse vaihtoehto",
|
|
44
|
+
removeSelection: "Poista valinta",
|
|
45
|
+
removeCustomValue: "Poista mukautettu arvo"
|
|
46
|
+
},
|
|
47
|
+
language: {
|
|
48
|
+
label: "Kieli",
|
|
49
|
+
placeholder: "Valitse kieli"
|
|
50
|
+
},
|
|
51
|
+
table: {
|
|
52
|
+
noChoiceQuestionsHorizontal: "Vaakasuoraan taulukkoon ei ole saatavilla valintakysymyksiä.",
|
|
53
|
+
noChoiceQuestions: "Valintakysymyksiä ei ole saatavilla.",
|
|
54
|
+
noAnswerOptionsHorizontal: "Vaakasuoraan taulukkoasetteluun ei ole saatavilla vastausvaihtoehtoja.",
|
|
55
|
+
noAnswerOptions: "Taulukkoasetteluun ei ole saatavilla vastausvaihtoehtoja."
|
|
56
|
+
},
|
|
57
|
+
collapsible: {
|
|
58
|
+
expand: "Laajenna",
|
|
59
|
+
collapse: "Pienennä"
|
|
60
|
+
},
|
|
61
|
+
tab: {
|
|
62
|
+
empty: "Välilehdellä ei ole sisältöä"
|
|
63
|
+
},
|
|
64
|
+
unsupported: {
|
|
65
|
+
itemType: "Tukematon tyyppi: {type}"
|
|
66
|
+
},
|
|
67
|
+
validation: {
|
|
68
|
+
group: {
|
|
69
|
+
atLeastOneAnswer: "Tässä ryhmässä vaaditaan vähintään yksi vastaus."
|
|
70
|
+
},
|
|
71
|
+
groupList: {
|
|
72
|
+
minOccurs: "Vähintään {minOccurs} esiintymä(ä) vaaditaan.",
|
|
73
|
+
maxOccurs: "Enintään {maxOccurs} esiintymä(ä) sallitaan."
|
|
74
|
+
},
|
|
75
|
+
question: {
|
|
76
|
+
minOccursSingle: "Vähintään yksi ei-tyhjä vastaus vaaditaan.",
|
|
77
|
+
minOccursMultiple: "Vähintään {minOccurs} ei-tyhjää vastausta vaaditaan.",
|
|
78
|
+
maxOccurs: "Enintään {maxOccurs} vastausta sallitaan."
|
|
79
|
+
},
|
|
80
|
+
answer: {
|
|
81
|
+
minLength: "Vastauksen pituuden on oltava vähintään {minLength} merkkiä.",
|
|
82
|
+
maxLength: "Vastaus ylittää enimmäispituuden {maxLength}.",
|
|
83
|
+
minPrecision: "Vastauksen on oltava vähintään {minLength} merkkiä, jotta vaadittu tarkkuus saavutetaan.",
|
|
84
|
+
maxPrecision: "Vastaus ei saa ylittää {maxLength} merkkiä.",
|
|
85
|
+
blank: "Vastaus ei saa olla tyhjä.",
|
|
86
|
+
valueNotEarlier: "Arvo ei saa olla ennen {formatted}.",
|
|
87
|
+
valueNotLater: "Arvo ei saa olla jälkeen {formatted}.",
|
|
88
|
+
valueMin: "Arvon on oltava vähintään {formatted}.",
|
|
89
|
+
valueMax: "Arvon on oltava enintään {formatted}.",
|
|
90
|
+
valueDecimalPlaces: "Arvossa saa olla enintään {maxPlaces} desimaalia.",
|
|
91
|
+
quantityMin: "Määrän on oltava vähintään {formatted}.",
|
|
92
|
+
quantityMax: "Määrän on oltava enintään {formatted}.",
|
|
93
|
+
attachmentTypeMissing: "Liitteen on ilmoitettava sallittujen sisältötyyppien luettelosta ({allowed}) sisältötyyppi.",
|
|
94
|
+
attachmentTypeNotAllowed: "Liitteen on oltava yksi sallituista sisältötyypeistä ({allowed}).",
|
|
95
|
+
attachmentSizeMax: "Liitteen koko ei saa ylittää {maxSize} tavua."
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
};
|
|
99
|
+
export {
|
|
100
|
+
strings as default
|
|
101
|
+
};
|
package/dist/fr.js
ADDED
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
const strings = {
|
|
2
|
+
aria: {
|
|
3
|
+
help: "Plus d'information",
|
|
4
|
+
legal: "Informations légales",
|
|
5
|
+
flyover: "Plus de contexte"
|
|
6
|
+
},
|
|
7
|
+
value: {
|
|
8
|
+
yes: "Oui",
|
|
9
|
+
no: "Non",
|
|
10
|
+
unanswered: "Sans réponse"
|
|
11
|
+
},
|
|
12
|
+
dialog: {
|
|
13
|
+
cancel: "Annuler",
|
|
14
|
+
submit: "Appliquer"
|
|
15
|
+
},
|
|
16
|
+
errors: {
|
|
17
|
+
unknown: "Erreur inconnue"
|
|
18
|
+
},
|
|
19
|
+
file: {
|
|
20
|
+
sizeLabel: "{sizeKb} KB"
|
|
21
|
+
},
|
|
22
|
+
group: {
|
|
23
|
+
addSection: "Ajouter un autre",
|
|
24
|
+
removeSection: "Supprimer",
|
|
25
|
+
noNodesYet: "Aucun élément pour le moment."
|
|
26
|
+
},
|
|
27
|
+
gridTable: {
|
|
28
|
+
headerActions: "Actions"
|
|
29
|
+
},
|
|
30
|
+
inputs: {
|
|
31
|
+
referencePlaceholder: "Ressource/type/id",
|
|
32
|
+
referenceDisplayPlaceholder: "Libellé d'affichage",
|
|
33
|
+
codingSystemPlaceholder: "Système",
|
|
34
|
+
codingCodePlaceholder: "Code",
|
|
35
|
+
codingDisplayPlaceholder: "Affichage",
|
|
36
|
+
quantityValuePlaceholder: "Valeur",
|
|
37
|
+
quantityUnitPlaceholder: "Unité",
|
|
38
|
+
attachmentSelected: "Pièce jointe sélectionnée"
|
|
39
|
+
},
|
|
40
|
+
selection: {
|
|
41
|
+
specifyOther: "Spécifier un autre",
|
|
42
|
+
addAnother: "Ajouter un autre",
|
|
43
|
+
selectPlaceholder: "Sélectionnez une option",
|
|
44
|
+
removeSelection: "Supprimer la sélection",
|
|
45
|
+
removeCustomValue: "Supprimer la valeur personnalisée"
|
|
46
|
+
},
|
|
47
|
+
language: {
|
|
48
|
+
label: "Langue",
|
|
49
|
+
placeholder: "Sélectionnez la langue"
|
|
50
|
+
},
|
|
51
|
+
table: {
|
|
52
|
+
noChoiceQuestionsHorizontal: "Aucune question à choix disponible pour le tableau horizontal.",
|
|
53
|
+
noChoiceQuestions: "Aucune question à choix disponible.",
|
|
54
|
+
noAnswerOptionsHorizontal: "Aucune option de réponse disponible pour la mise en page de tableau horizontal.",
|
|
55
|
+
noAnswerOptions: "Aucune option de réponse disponible pour la mise en page de tableau."
|
|
56
|
+
},
|
|
57
|
+
collapsible: {
|
|
58
|
+
expand: "Développer",
|
|
59
|
+
collapse: "Réduire"
|
|
60
|
+
},
|
|
61
|
+
tab: {
|
|
62
|
+
empty: "Aucun contenu d'onglet"
|
|
63
|
+
},
|
|
64
|
+
unsupported: {
|
|
65
|
+
itemType: "Type non pris en charge : {type}"
|
|
66
|
+
},
|
|
67
|
+
validation: {
|
|
68
|
+
group: {
|
|
69
|
+
atLeastOneAnswer: "Au moins une réponse est requise dans ce groupe."
|
|
70
|
+
},
|
|
71
|
+
groupList: {
|
|
72
|
+
minOccurs: "Au moins {minOccurs} occurrence(s) requise(s).",
|
|
73
|
+
maxOccurs: "Pas plus de {maxOccurs} occurrence(s) autorisée(s)."
|
|
74
|
+
},
|
|
75
|
+
question: {
|
|
76
|
+
minOccursSingle: "Au moins une réponse non vide est requise.",
|
|
77
|
+
minOccursMultiple: "Au moins {minOccurs} réponses non vides sont requises.",
|
|
78
|
+
maxOccurs: "Pas plus de {maxOccurs} réponses autorisées."
|
|
79
|
+
},
|
|
80
|
+
answer: {
|
|
81
|
+
minLength: "La réponse doit comporter au moins {minLength} caractères.",
|
|
82
|
+
maxLength: "La réponse dépasse la longueur maximale de {maxLength}.",
|
|
83
|
+
minPrecision: "La réponse doit comporter au moins {minLength} caractères pour respecter la précision requise.",
|
|
84
|
+
maxPrecision: "La réponse ne doit pas dépasser {maxLength} caractères.",
|
|
85
|
+
blank: "La réponse ne doit pas être vide.",
|
|
86
|
+
valueNotEarlier: "La valeur ne doit pas être antérieure à {formatted}.",
|
|
87
|
+
valueNotLater: "La valeur ne doit pas être postérieure à {formatted}.",
|
|
88
|
+
valueMin: "La valeur doit être supérieure ou égale à {formatted}.",
|
|
89
|
+
valueMax: "La valeur doit être inférieure ou égale à {formatted}.",
|
|
90
|
+
valueDecimalPlaces: "La valeur ne doit pas dépasser {maxPlaces} décimales.",
|
|
91
|
+
quantityMin: "La quantité doit être supérieure ou égale à {formatted}.",
|
|
92
|
+
quantityMax: "La quantité doit être inférieure ou égale à {formatted}.",
|
|
93
|
+
attachmentTypeMissing: "La pièce jointe doit déclarer un type de contenu issu de la liste autorisée ({allowed}).",
|
|
94
|
+
attachmentTypeNotAllowed: "La pièce jointe doit être l'un des types de contenu autorisés ({allowed}).",
|
|
95
|
+
attachmentSizeMax: "La pièce jointe ne doit pas dépasser {maxSize} octets."
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
};
|
|
99
|
+
export {
|
|
100
|
+
strings as default
|
|
101
|
+
};
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import strings$c from "./de.js";
|
|
2
|
+
import strings$b from "./en.js";
|
|
3
|
+
import strings$a from "./es.js";
|
|
4
|
+
import strings$9 from "./fi.js";
|
|
5
|
+
import strings$8 from "./fr.js";
|
|
6
|
+
import strings$7 from "./it.js";
|
|
7
|
+
import strings$6 from "./nl.js";
|
|
8
|
+
import strings$5 from "./pl.js";
|
|
9
|
+
import strings$4 from "./pt.js";
|
|
10
|
+
import strings$3 from "./ru.js";
|
|
11
|
+
import strings$2 from "./sv.js";
|
|
12
|
+
import strings$1 from "./tr.js";
|
|
13
|
+
const strings = {
|
|
14
|
+
de: strings$c,
|
|
15
|
+
en: strings$b,
|
|
16
|
+
es: strings$a,
|
|
17
|
+
fi: strings$9,
|
|
18
|
+
fr: strings$8,
|
|
19
|
+
it: strings$7,
|
|
20
|
+
nl: strings$6,
|
|
21
|
+
pl: strings$5,
|
|
22
|
+
pt: strings$4,
|
|
23
|
+
ru: strings$3,
|
|
24
|
+
sv: strings$2,
|
|
25
|
+
tr: strings$1
|
|
26
|
+
};
|
|
27
|
+
export {
|
|
28
|
+
strings$c as de,
|
|
29
|
+
strings as default,
|
|
30
|
+
strings$b as en,
|
|
31
|
+
strings$a as es,
|
|
32
|
+
strings$9 as fi,
|
|
33
|
+
strings$8 as fr,
|
|
34
|
+
strings$7 as it,
|
|
35
|
+
strings$6 as nl,
|
|
36
|
+
strings$5 as pl,
|
|
37
|
+
strings$4 as pt,
|
|
38
|
+
strings$3 as ru,
|
|
39
|
+
strings$2 as sv,
|
|
40
|
+
strings$1 as tr
|
|
41
|
+
};
|