Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extracted & localized "wrote" in recent notes #3266

Merged
merged 1 commit into from
Aug 19, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion app/views/collection/show.html.slim
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@
=time_tag(note.created_at, class: 'legend legend-left')
=t('.time_ago_in_words', time: time_ago_in_words(note.created_at))
span.deed-short_content
=="#{user} wrote #{text}"
==t('.user_wrote_note', user: user, note: text)
small.legend
=link_to t('.show_more'), deed_notes_path(@collection.slug), class: 'button outline round'

Expand Down
1 change: 1 addition & 0 deletions config/locales/collection/collection-en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,7 @@ en:
this_work_has_not_been_described: This work needs better metadata.
this_work_has_pages_that_need_work: Some pages still need work.
time_ago_in_words: "%{time} ago"
user_wrote_note: "%{user} wrote %{note}"
works: Works
start_transcribing:
notice: Sorry, but there are no qualifying pages in this collection.
Expand Down
1 change: 1 addition & 0 deletions config/locales/collection/collection-es.yml
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,7 @@ es:
this_work_has_not_been_described: Este trabajo necesita mejores metadatos.
this_work_has_pages_that_need_work: Algunas páginas todavía necesitan trabajo.
time_ago_in_words: Hace %{time}
user_wrote_note: "%{user} escribió %{note}"
works: Obras
start_transcribing:
notice: Lo sentimos, pero no hay páginas cualificadas en esta colección.
Expand Down
1 change: 1 addition & 0 deletions config/locales/collection/collection-fr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,7 @@ fr:
this_work_has_not_been_described: Ce œuvre a besoin de meilleures métadonnées.
this_work_has_pages_that_need_work: Certaines pages ont encore besoin de œuvre.
time_ago_in_words: Il y a %{time}
user_wrote_note: "%{user} a écrit %{note}"
works: Œuvres
start_transcribing:
notice: Désolé, mais il n'y a pas de pages de qualification dans cette collection.
Expand Down
1 change: 1 addition & 0 deletions config/locales/collection/collection-pt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,7 @@ pt:
this_work_has_not_been_described: Este trabalho precisa de melhores metadados.
this_work_has_pages_that_need_work: Algumas páginas ainda precisam de trabalho.
time_ago_in_words: Há %{time}
user_wrote_note: "%{user} escreveu %{note}"
works: Obras
start_transcribing:
notice: Desculpe, mas não há páginas com esses critérios nesta coleção.
Expand Down