Skip to content

Commit

Permalink
Merge branch 'BC-6424-correct-message-in-news' into BC-5836-and-BC-6424
Browse files Browse the repository at this point in the history
…-news-testing
  • Loading branch information
bn-pass committed Feb 2, 2024
2 parents f683d69 + e7c0cc5 commit 8a05f76
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 15 deletions.
7 changes: 4 additions & 3 deletions locales/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -2648,14 +2648,15 @@
"atSchool": "an der Schule",
"atYourSchool": "an deiner Schule ",
"created": "erstellt",
"from": "von",
"by": "von ",
"closingBracket": ")",
"inTheClass": "in der Klasse",
"inTheCourse": "im Kurs",
"inTheTeam": "im Team",
"lastFrom": "(zuletzt von",
"last": "(zuletzt",
"newsNeedContent": "News benötigen Inhalt!",
"newsNeedTitle": "News benötigen einen Titel!",
"processed": "bearbeitet)",
"processed": "bearbeitet",
"released": "Veröffentlicht",
"unpublished": "Unveröffentlicht"
}
Expand Down
7 changes: 4 additions & 3 deletions locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -2647,15 +2647,16 @@
"text": {
"atSchool": "at school",
"atYourSchool": "at your school ",
"by": "by ",
"closingBracket": ")",
"created": "created",
"from": "from",
"inTheClass": "in the class",
"inTheCourse": "in the course",
"inTheTeam": "in the team",
"lastFrom": "(last from",
"last": "(last",
"newsNeedContent": "News need content!",
"newsNeedTitle": "News need a title!",
"processed": "edited)",
"processed": "edited",
"released": "Released",
"unpublished": "Unpublished"
}
Expand Down
7 changes: 4 additions & 3 deletions locales/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -2648,14 +2648,15 @@
"atSchool": "en la escuela",
"atYourSchool": "en tu escuela",
"created": "creado",
"from": "desde",
"by": "por ",
"closingBracket": ")",
"inTheClass": "en la clase",
"inTheCourse": "en el curso",
"inTheTeam": "en el equipo",
"lastFrom": "(último desde",
"last": "(últimamente",
"newsNeedContent": "¡Las noticias necesitan contenido!",
"newsNeedTitle": "¡Las noticias necesitan un título!",
"processed": "editado)",
"processed": "editado",
"released": "Publicado",
"unpublished": "Sin publicar"
}
Expand Down
7 changes: 4 additions & 3 deletions locales/uk.json
Original file line number Diff line number Diff line change
Expand Up @@ -1677,12 +1677,13 @@
"atSchool": "у школі",
"atYourSchool": "у вашій школі ",
"created": "створено",
"from": "з",
"by": "",
"closingBracket": ")",
"inTheClass": "в класі",
"inTheCourse": "в курсі",
"inTheTeam": "в команді",
"lastFrom": "(останнє з",
"processed": "відредаговано)",
"last": "(останній раз було",
"processed": "відредаговано",
"released": "Випущено",
"unpublished": "Не опубліковано",
"newsNeedContent": "Новинам потрібний контент!",
Expand Down
9 changes: 6 additions & 3 deletions views/news/article.hbs
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
{{#extend "news/news"}}
{{#content "page"}}
<p>
<small class="text-muted">{{timeFromNow news.displayAt}}</small>
<small class="text-muted">{{$t "news.text.created" }}</small>
{{#unless isRSS}}
<small class="text-muted">
{{$t "news.text.from" }} {{news.creator.firstName}} {{news.creator.lastName}} {{$t "news.text.created" }}
{{#if news.creator}}
{{$t "news.text.by" }}{{news.creator.firstName}} {{news.creator.lastName}}
{{/if}}
{{timeFromNow news.displayAt}}
{{#if news.updater}}
{{$t "news.text.lastFrom" }} {{news.updater.firstName}} {{news.updater.lastName}} {{$t "news.text.processed" }}
{{$t "news.text.last" }} {{$t "news.text.processed" }} {{$t "news.text.by" }}{{news.updater.firstName}} {{news.updater.lastName}}{{$t "news.text.closingBracket" }}
{{/if}}
{{#if news.target.name}}
{{#ifCond news.targetModel '===' 'teams'}}
Expand Down

0 comments on commit 8a05f76

Please sign in to comment.