Skip to content

Commit 82c8278

Browse files
committed
Regenerate the translation files (#37 #517 #451)
1 parent bd5a6cc commit 82c8278

File tree

4 files changed

+106
-11
lines changed

4 files changed

+106
-11
lines changed

frontend/src/i18n/en/translation.json

+48-6
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,9 @@
5959
"edit": "Edit",
6060
"new": "New",
6161
"delete-source": "Delete source",
62-
"register": "Register"
62+
"save-changes": "Save changes",
63+
"register": "Register",
64+
"preview": "Preview"
6365
},
6466
"feedback": {
6567
"success-heading": "Feedback submitted",
@@ -82,12 +84,32 @@
8284
"which-item": "Which one?",
8385
"edit-properties": "Edit properties",
8486
"item-properties": "Item properties",
85-
"properties": "Properties",
8687
"email": "Email",
88+
"suffix-optional": "(optional)",
8789
"title": "Title",
8890
"author": "Author",
89-
"editor": "Editor (optional)",
91+
"editor": "Editor",
92+
"publisher": "Publisher",
93+
"repository": "Repository",
9094
"file": "File",
95+
"choose-file": "Choose a file…",
96+
"language": "Language",
97+
"select-language": "Select language",
98+
"english": "English",
99+
"german": "German",
100+
"french": "French",
101+
"italian": "Italian",
102+
"czech": "Czech",
103+
"dutch": "Dutch",
104+
"other": "Other",
105+
"source-type": "Type of source",
106+
"source-access": "Source access",
107+
"public": "Public",
108+
"private": "Private",
109+
"url": "URL",
110+
"publication-date": "Publication date",
111+
"creation-date": "Creation date",
112+
"retrieval-date": "Retrieval date",
91113
"text-search": "Textual search",
92114
"semantic-search": "Semantic search"
93115
},
@@ -98,7 +120,8 @@
98120
"password": "Password",
99121
"repeat-password": "Repeat password",
100122
"search-database": "Search our database",
101-
"optional-label": "optional label for reference"
123+
"optional-label": "optional label for reference",
124+
"repository": "Archive, location, collection, call, fasc, folio"
102125
},
103126
"footer": {
104127
"developed-by": "Developed by"
@@ -208,7 +231,7 @@
208231
},
209232
"source": {
210233
"list-panel-title": "Sources",
211-
"metadata-title": "Source metadata",
234+
"meta-summary": "Source {{identifier}}, created by {{creator}} at {{dateUploaded}}",
212235
"delete-confirm": "\nAre you sure you want to delete this source?\nIf you delete this source, all its annotation will be deleted as well, including any annotations that other users may have made.\nThis cannot be undone.\n"
213236
},
214237
"register": {
@@ -229,6 +252,25 @@
229252
"failed": "Registration failed. Please try again and if this error keeps occuring, contact the site administrator."
230253
},
231254
"upload": {
232-
"form-title": "Upload source"
255+
"no-file": "No file selected",
256+
"only-txt-utf8-lf": "Only txt files in UTF-8 encoding (LF for line endings) are supported.",
257+
"source-lang-select-help": "If the source contains multiple languages, please select 'Other'.",
258+
"source-type-select-help": "When in doubt, choose 'Unknown'.",
259+
"public-private-help": "Provide access to everyone (public) or only to authenticated users (private).",
260+
"publication-date-help": {
261+
"begin": " ",
262+
"link": "ISO formatted date with optional time and timezone",
263+
"end": ", or free-form text"
264+
},
265+
"creation-date-help": "If known and different from publishing date, specify creation date.",
266+
"retrieval-date-help": "Date (and optional time) at which the source was accessed or retrieved.",
267+
"form-title": "Upload source",
268+
"success": {
269+
"begin": "Source uploaded successfully! Upload another one or",
270+
"link": "go to the Explorer",
271+
"end": "."
272+
},
273+
"failed-help": "Uploading failed.\n Please try again and if this error keeps occuring,\n contact the site administrator.\n Do you have permission to upload sources?",
274+
"preview-title": "Preview source content"
233275
}
234276
}

frontend/src/i18n/en/translation_old.json

+5
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@
1515
"feedback": {
1616
"failed": "Feedback submission failed. Please try again and if this error keeps occuring, contact the site administrator."
1717
},
18+
"label": {
19+
"properties": "Properties",
20+
"editor": "Editor (optional)"
21+
},
1822
"property": {
1923
"typeHints": {
2024
"integer": "Include extra leading zeros to force interpretation as an integer type.",
@@ -38,6 +42,7 @@
3842
}
3943
},
4044
"source": {
45+
"metadata-title": "Source metadata",
4146
"delete-confirm": "\nAre you sure you want to delete this source?\nIf you delete this source, all its annotation will be deleted as well, including any annotations that other users may have made.\nThis cannot be undone.\n"
4247
},
4348
"register": {

frontend/src/i18n/fr/translation.json

+47-5
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,9 @@
5959
"edit": "Edit",
6060
"new": "New",
6161
"delete-source": "Delete source",
62-
"register": "Register"
62+
"save-changes": "Save changes",
63+
"register": "Register",
64+
"preview": "Preview"
6365
},
6466
"feedback": {
6567
"success-heading": "Feedback submitted",
@@ -82,12 +84,32 @@
8284
"which-item": "Which one?",
8385
"edit-properties": "Edit properties",
8486
"item-properties": "Item properties",
85-
"properties": "Properties",
8687
"email": "Email",
88+
"suffix-optional": "(optional)",
8789
"title": "Title",
8890
"author": "Author",
8991
"editor": "Editor (optional)",
92+
"publisher": "Publisher",
93+
"repository": "Repository",
9094
"file": "File",
95+
"choose-file": "Choose a file…",
96+
"language": "Language",
97+
"select-language": "Select language",
98+
"english": "English",
99+
"german": "German",
100+
"french": "French",
101+
"italian": "Italian",
102+
"czech": "Czech",
103+
"dutch": "Dutch",
104+
"other": "Other",
105+
"source-type": "Type of source",
106+
"source-access": "Source access",
107+
"public": "Public",
108+
"private": "Private",
109+
"url": "URL",
110+
"publication-date": "Publication date",
111+
"creation-date": "Creation date",
112+
"retrieval-date": "Retrieval date",
91113
"text-search": "Textual search",
92114
"semantic-search": "Semantic search"
93115
},
@@ -98,7 +120,8 @@
98120
"password": "Password",
99121
"repeat-password": "Repeat password",
100122
"search-database": "Search our database",
101-
"optional-label": "optional label for reference"
123+
"optional-label": "optional label for reference",
124+
"repository": "Archive, location, collection, call, fasc, folio"
102125
},
103126
"footer": {
104127
"developed-by": "Developed by"
@@ -208,7 +231,7 @@
208231
},
209232
"source": {
210233
"list-panel-title": "Sources",
211-
"metadata-title": "Source metadata",
234+
"meta-summary": "Source {{identifier}}, created by {{creator}} at {{dateUploaded}}",
212235
"delete-confirm": "\nAre you sure you want to delete this source?\nIf you delete this source, all its annotation will be deleted as well, including any annotations that other users may have made.\nThis cannot be undone.\n"
213236
},
214237
"register": {
@@ -229,6 +252,25 @@
229252
"failed": "Registration failed. Please try again and if this error keeps occuring, contact the site administrator."
230253
},
231254
"upload": {
232-
"form-title": "Upload source"
255+
"no-file": "No file selected",
256+
"only-txt-utf8-lf": "Only txt files in UTF-8 encoding (LF for line endings) are supported.",
257+
"source-lang-select-help": "If the source contains multiple languages, please select 'Other'.",
258+
"source-type-select-help": "When in doubt, choose 'Unknown'.",
259+
"public-private-help": "Provide access to everyone (public) or only to authenticated users (private).",
260+
"publication-date-help": {
261+
"begin": " ",
262+
"link": "ISO formatted date with optional time and timezone",
263+
"end": ", or free-form text"
264+
},
265+
"creation-date-help": "If known and different from publishing date, specify creation date.",
266+
"retrieval-date-help": "Date (and optional time) at which the source was accessed or retrieved.",
267+
"form-title": "Upload source",
268+
"success": {
269+
"begin": "Source uploaded successfully! Upload another one or",
270+
"link": "go to the Explorer",
271+
"end": "."
272+
},
273+
"failed-help": "Uploading failed.\n Please try again and if this error keeps occuring,\n contact the site administrator.\n Do you have permission to upload sources?",
274+
"preview-title": "Preview source content"
233275
}
234276
}
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
{
22
"tooltip": {
33
"explore-menu": "Get a random selection of reading experiences and annotations"
4+
},
5+
"label": {
6+
"properties": "Properties"
7+
},
8+
"source": {
9+
"metadata-title": "Source metadata"
410
}
511
}

0 commit comments

Comments
 (0)