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 @@
-

Source {{identifier}}, created by {{creator}} at {{dateUploaded}}

+

{{#i18n 'source_meta_summary'}}Source {{identifier}}, created by {{creator}} at {{dateUploaded}}{{/i18n}}

diff --git a/frontend/src/source-metadata/source-metadata-template.hbs b/frontend/src/source-metadata/source-metadata-template.hbs index 9de12956..84be3b37 100644 --- a/frontend/src/source-metadata/source-metadata-template.hbs +++ b/frontend/src/source-metadata/source-metadata-template.hbs @@ -1,36 +1,41 @@
- +
- +
- +
- +
- +
- +
{{#upload}}
- +
-

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}} - +
- +
{{#if readonly}} {{else}}
{{/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}}

- + {{#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}}
- + -

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}}

- +
-
\ 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 @@
- +
- +
-

Source uploaded successfully! Upload another one or go to the - Explorer

+

+ {{#i18n 'upload_success_before_link'}}Source uploaded successfully! Upload another one or{{/i18n}} + {{#i18n 'upload_success_link'}}go to the Explorer{{/i18n}}{{#i18n 'upload_success_after_link'}}.{{/i18n}} +

-

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}}

- +
- +
- +
@@ -27,8 +33,12 @@