From: Daniel Karbach Date: Sun, 17 Apr 2022 09:56:33 +0000 (+0200) Subject: round numbers in result protocol entries X-Git-Url: https://git.localhorst.tv/?a=commitdiff_plain;h=b920a71120fd8211cacf82aa3d31b0fdfc257fd3;hp=b940ecdcd62df84881f4d4555801672155c9dcce;p=alttp.git round numbers in result protocol entries --- diff --git a/resources/js/components/protocol/Item.js b/resources/js/components/protocol/Item.js index 2ea8ea7..dba32f5 100644 --- a/resources/js/components/protocol/Item.js +++ b/resources/js/components/protocol/Item.js @@ -53,13 +53,17 @@ const getEntryDescription = entry => { ); case 'result.comment': { const comment = getEntryResultComment(entry); + const number = getEntryRoundNumber(entry); return + {{number}} {{comment}}, ; } case 'result.report': { + const number = getEntryRoundNumber(entry); const time = getEntryResultTime(entry); return + {{number}} {{time}}, ; } diff --git a/resources/js/i18n/de.js b/resources/js/i18n/de.js index 5bac532..fc15a69 100644 --- a/resources/js/i18n/de.js +++ b/resources/js/i18n/de.js @@ -144,8 +144,8 @@ export default { rejected: 'Anmeldung von {{username}} abgelehnt', }, result: { - comment: 'Ergebnis kommentiert: <0>{{comment}}', - report: 'Ergebnis von <0>{{time}} eingetragen', + comment: 'Ergebnis von Runde {{number}} kommentiert: <1>{{comment}}', + report: 'Ergebnis von <1>{{time}} bei Runde {{number}} eingetragen', }, round: { create: 'Runde #{{number}} hinzugefügt', diff --git a/resources/js/i18n/en.js b/resources/js/i18n/en.js index fb050d1..0acab1a 100644 --- a/resources/js/i18n/en.js +++ b/resources/js/i18n/en.js @@ -144,8 +144,8 @@ export default { rejected: 'Application from {{username}} rejected', }, result: { - comment: 'Result commented: <0>{{comment}}', - report: 'Result of <0>{{time}} reported', + comment: 'Result of round {{number}} commented: <1>{{comment}}', + report: 'Result of <1>{{time}} reported for round {{number}}', }, round: { create: 'Round #{{number}} added',