diff --git a/frontend/src/panel-source/source-metadata-panel-template.hbs b/frontend/src/panel-source/source-metadata-panel-template.hbs
index a7acc568..b93f1dc3 100644
--- a/frontend/src/panel-source/source-metadata-panel-template.hbs
+++ b/frontend/src/panel-source/source-metadata-panel-template.hbs
@@ -1,12 +1,12 @@
-
Title
+
{{#i18n 'title'}}Title{{/i18n}}
-
Author
+
{{#i18n 'author'}}Author{{/i18n}}
{{#upload}}
-
File
+
{{#i18n 'file'}}File{{/i18n}}
@@ -39,44 +44,44 @@
- Choose a file…
+ {{#i18n 'choose_file'}}Choose a file…{{/i18n}}
- No file selected
+ {{#i18n 'no_file'}}No file selected{{/i18n}}
-
Only txt files in UTF-8 encoding (LF for line endings) are supported.
+
{{#i18n 'file_only_txt_utf8_lf'}}Only txt files in UTF-8 encoding (LF for line endings) are supported.{{/i18n}}
{{/upload}}
-
+
-
Language
+
{{#i18n 'language'}}Language{{/i18n}}
{{#if readonly}}
{{else}}
- Select language
- English
- German
- French
- Italian
- Czech
- Dutch
- Other
+ {{#i18n 'select_language'}}Select language{{/i18n}}
+ {{#i18n 'english'}}English{{/i18n}}
+ {{#i18n 'german'}}German{{/i18n}}
+ {{#i18n 'french'}}French{{/i18n}}
+ {{#i18n 'italian'}}Italian{{/i18n}}
+ {{#i18n 'czech'}}Czech{{/i18n}}
+ {{#i18n 'dutch'}}Dutch{{/i18n}}
+ {{#i18n 'other'}}Other{{/i18n}}
{{/if}}
-
If the source contains multiple languages,
- please select 'Other'.
+
{{#i18n 'source_lang_select_help'}}If the source contains multiple languages,
+ please select 'Other'.{{/i18n}}
-
Type of source
+
{{#i18n 'source_type'}}Type of source{{/i18n}}
{{#if readonly}}
@@ -85,29 +90,29 @@
{{/if}}
-
When in doubt, choose 'Unknown'
+
{{#i18n 'source_type_select_help'}}When in doubt, choose 'Unknown'.{{/i18n}}
{{!date fields with type-aware help will be rendered here}}
-
Source access
+
{{#i18n 'source_access'}}Source access{{/i18n}}
- Public
+ {{#i18n 'public'}}Public{{/i18n}}
- Private
+ {{#i18n 'private'}}Private{{/i18n}}
-
Provide access to everyone (public) or only to authenticated users (private).
+
{{#i18n 'public_private_help'}}Provide access to everyone (public) or only to authenticated users (private).{{/i18n}}
-
URL (optional)
+
{{#i18n 'url_opt'}}URL (optional){{/i18n}}
-
\ No newline at end of file
+
diff --git a/frontend/src/upload/upload-source-template.hbs b/frontend/src/upload/upload-source-template.hbs
index 48b1bf2f..03b7d303 100644
--- a/frontend/src/upload/upload-source-template.hbs
+++ b/frontend/src/upload/upload-source-template.hbs
@@ -1,25 +1,31 @@
-
+
-
Uploading failed. Please try again and if this error keeps occuring, contact the site
- administrator. Do you have permission to upload sources?
+
{{#i18n 'upload_failed_help'}}
+ Uploading failed.
+ Please try again and if this error keeps occuring,
+ contact the site administrator.
+ Do you have permission to upload sources?
+ {{/i18n}}
- Submit
+ {{#i18n 'submit'}}Submit{{/i18n}}
- Preview
+ {{#i18n 'preview'}}Preview{{/i18n}}
- Cancel
+ {{#i18n 'cancel'}}Cancel{{/i18n}}
@@ -27,8 +33,12 @@