Skip to content

Commit

Permalink
Merge pull request #195 from itk-dev/feature/translations
Browse files Browse the repository at this point in the history
Feature/translations
  • Loading branch information
martinyde authored Aug 18, 2021
2 parents e362765 + 5d89c77 commit dafc44f
Show file tree
Hide file tree
Showing 51 changed files with 9,741 additions and 56,676 deletions.
16 changes: 8 additions & 8 deletions config/sync/core.entity_form_display.user.user.default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ third_party_settings:
required_fields: true
id: ''
classes: ''
label: 'Personal information'
label: 'Personlig information'
group_profession:
children:
- os2loop_user_professions
Expand All @@ -53,7 +53,7 @@ third_party_settings:
required_fields: true
id: ''
classes: ''
label: Profession
label: 'Profession'
group_areas_of_expertise:
children:
- os2loop_user_areas_of_expertise
Expand All @@ -66,7 +66,7 @@ third_party_settings:
required_fields: true
id: ''
classes: ''
label: 'Areas of expertise'
label: 'Ekspertiseområde'
group_description:
children:
- os2loop_user_biography
Expand All @@ -79,7 +79,7 @@ third_party_settings:
required_fields: true
id: ''
classes: ''
label: Description
label: 'Beskrivelse'
group_location:
children:
- os2loop_user_place
Expand All @@ -95,7 +95,7 @@ third_party_settings:
required_fields: true
id: ''
classes: ''
label: Location
label: 'Lokation'
group_job_title:
children:
- os2loop_user_job_title
Expand All @@ -108,7 +108,7 @@ third_party_settings:
required_fields: true
id: ''
classes: ''
label: 'Job title'
label: 'Jobtitel'
group_member_list:
children:
- os2loop_user_internal_list
Expand All @@ -122,7 +122,7 @@ third_party_settings:
classes: ''
description: ''
required_fields: true
label: 'Member list'
label: 'Medlemsliste'
group_notifications:
children:
- os2loop_mail_notifications_intvl
Expand All @@ -135,7 +135,7 @@ third_party_settings:
classes: ''
description: ''
required_fields: true
label: Notifications
label: 'Notifikationer'
id: user.user.default
targetEntityType: user
bundle: user
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
settings:
label: Emne
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
name: Emne
widget:
config:
reset_text: 'Vis alle'
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
label: Godkendelsesdato
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
label: Godkender
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
label: Ejer
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
label: 'Revisions dato'
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
label: Filer
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
label: Filer
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
label: 'E-mail notifikationsinterval'
description: 'Angiv hvor ofte du vil have e-mail notifikationer'
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
label: Adresse
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
label: Ekspertiseområde
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
label: Biografi
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
label: By
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
settings:
on_label: Ja
off_label: Nej
label: 'Vis på eksterne lister'
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
label: Efternavn
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
label: Fornavn
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
label: Brugerbillede
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
settings:
on_label: Ja
off_label: Nej
label: 'Vis på interne lister'
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
label: Jobtitel
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
label: Telefonnummer
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
label: 'Sted / Afdeling'
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
label: Postnummer
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
settings:
allowed_values:
-
label: Aldrig
-
label: Dagligt
-
label: Ugentligt
3 changes: 3 additions & 0 deletions config/sync/language/da/flag.flag.message_read.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
label: 'Besked læst'
flag_short: 'Marker som læst'
unflag_short: 'Marker som ulæst'
3 changes: 3 additions & 0 deletions config/sync/language/da/flag.flag.os2loop_favourite.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
label: Favorit
flag_short: 'Marker som favorit'
unflag_short: 'Fjern som favorit'
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
label: 'Abonnér node'
flag_short: Abonnér
unflag_short: 'Fjern abonnement'
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
flag_short: Abonnér
unflag_short: 'Fjern abonnement'
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
flag_short: 'Stem på dette'
unflag_short: 'Fjern stemme'
1 change: 1 addition & 0 deletions config/sync/language/da/language.entity.da.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
label: Dansk
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
label: 'Gør indhold sticky'
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
label: 'Updatér URL alias'
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
label: 'Updatér URL alias'
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
name: Profession
14 changes: 14 additions & 0 deletions config/sync/language/da/user.mail.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,18 @@
cancel_confirm:
body: |-
[user:display-name],
En anmodning om at opsige din konto er foretaget på [site:name].
Du kan nu opsige din konto på [site:url-brief] ved at klikke på linket eller kopiere det ind i din browser:
[user:cancel-url]
BEMÆRK: Opsigelse af kontoen kan ikke fortrydes.
Dette link udløber om 24 timer og intet vil ske hvis det ikke bliver brugt.
-- [site:name] team
subject: 'Anmodning om opsigelse af konto for [user:display-name] på [site:name]'
password_reset:
body: |-
Expand Down
1 change: 1 addition & 0 deletions config/sync/language/da/user.role.authenticated.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
label: 'Autoriseret bruger'
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
label: Dokumentforfatter
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
label: 'Dokumentsamling redaktør'
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
label: Dokumentationskoordinator
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
label: 'Eksterne kilder redaktør'
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
label: Indlægsforfatter
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
label: Brugeradministrator
18 changes: 18 additions & 0 deletions config/sync/language/da/views.view.contact_list.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
label: Kontaktliste
display:
default:
display_options:
exposed_form:
options:
submit_button: Søg
reset_button_label: Nulstil
filters:
combine:
expose:
label: 'Søg efter navn, e-mail eller telefonnummer'
title: Kontaktliste
empty:
area:
content:
value: 'Ingen brugere.'
format: os2loop_question_answer_plain_text
1 change: 0 additions & 1 deletion config/sync/language/da/views.view.media_library.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ display:
display_link_table:
label: Tabel
widget_table:
display_title: 'Widget (table)'
display_options:
fields:
thumbnail__target_id:
Expand Down
14 changes: 14 additions & 0 deletions config/sync/language/da/views.view.message.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,28 @@ display:
first: '« første'
last: 'sidste »'
fields:
message_bulk_form_1:
action_title: 'Med valg'
mid:
separator: ', '
template:
separator: ', '
get_text:
label: 'Beskedtekst'
uid:
label: Forfatter
separator: ', '
created:
label: 'Publiseringsdato'
filters:
template:
expose:
label: Template
title: Meddelelse
empty:
area:
content:
value: 'No beskeder oprettet endnu'
page_1:
display_title: Side
display_options:
Expand Down
14 changes: 14 additions & 0 deletions config/sync/language/da/views.view.os2loop_messages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
label: Notifikationer
display:
default:
display_options:
title: Notifikationer
empty:
area:
content:
value: 'Du har ingen notifikationer.'
format: os2loop_question_answer_plain_text
page_1:
display_title: Notifikationsside
display_options:
title: Notifikationer
18 changes: 18 additions & 0 deletions config/sync/language/da/views.view.os2loop_search_db.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
display:
default:
display_options:
pager:
options:
tags:
first: '« Første'
last: 'Sidste »'
expose:
items_per_page_options_all_label: '- Alle -'
filters:
search_api_fulltext:
expose:
placeholder: 'Søg efter indhold eller emner'
title: Søg
header:
result:
content: '<div class="mx-2">Viser @start - @end af @total</div>'
5 changes: 5 additions & 0 deletions config/sync/language/da/views.view.os2loop_user_answers.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
label: 'Bruger svar'
display:
default:
display_options:
title: 'Mine svar'
12 changes: 12 additions & 0 deletions config/sync/language/da/views.view.os2loop_user_questions.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
label: 'Bruger spørgsmål'
display:
default:
display_options:
title: 'Mine spørgsmål'
empty:
area:
content:
value: 'Intet indhold relateret til din bruger.'
format: os2loop_question_answer_plain_text
page_1:
display_title: Side
Original file line number Diff line number Diff line change
Expand Up @@ -85,55 +85,9 @@
{% else %}
<i class="bi bi-person-circle display-1"></i>
{% endif %}
<p class="small mt-2">Profile picture of User</p> {# TODO: Get info from image alt/title/description #}
<p class="small mt-2">{{ user.os2loop_user_given_name.value }} {{ user.os2loop_user_family_name.value }}</p>
</div>
</div>
</div>




{# <div class="col-md-9">
<h2 class="h4">{{ 'Personal information'|t }}</h2>
<div>
<div class="row mb-3">
<div class="os2loop-title-text-inline col-sm-3">{{ 'User name'|t }}</div>
<div class="col">{{ user.name.value }}</div>
</div>
{{ content.os2loop_user_given_name }}
{{ content.os2loop_user_family_name }}
<div class="row mb-3">
<div class="os2loop-title-text-inline col-sm-3">{{ 'Email'|t }}</div>
<div class="col">{{ user.mail.value }}</div>
</div>
{{ content.os2loop_user_phone_number }}
</div>
<h2 class="h4">{{ 'Job profile'|t }}</h2>
<div>
{{ content.os2loop_user_job_title }}
{{ content.os2loop_user_professions }}
{{ content.os2loop_user_areas_of_expertise }}
</div>
<h2 class="h4">{{ 'Location'|t }}</h2>
<div>
{{ content.os2loop_user_place }}
{{ content.os2loop_user_address }}
{{ content.os2loop_user_postal_code }}
{{ content.os2loop_user_city }}
</div>
</div>
<div class="col-md-3">
{% if user.os2loop_user_image.value is not empty %}
{{ content.os2loop_user_image }}
{% else %}
<i class="bi bi-person-circle display-1"></i>
{% endif %}
</div>
</div>
<div class="row">
<div class="col">
{{ content.os2loop_user_biography }}
</div>
</div> #}
{% endif %}
</article>
Loading

0 comments on commit dafc44f

Please sign in to comment.