diff --git a/allure-generator/src/main/javascript/plugins/testresult-history/HistoryView.hbs b/allure-generator/src/main/javascript/plugins/testresult-history/HistoryView.hbs index 9f14182f4..e787c166d 100644 --- a/allure-generator/src/main/javascript/plugins/testresult-history/HistoryView.hbs +++ b/allure-generator/src/main/javascript/plugins/testresult-history/HistoryView.hbs @@ -3,7 +3,7 @@
{{t 'testResult.history.successRate'}} {{successRate}} {{#if history.statistic.total}} - ({{history.statistic.passed}} of {{history.statistic.total}}) + ({{t 'testResult.history.statistic' passed=history.statistic.passed total=history.statistic.total}}) {{/if}}
{{#each history.items}} @@ -11,17 +11,17 @@
{{status}} - {{date time.start}} at {{time time.start}} + {{t 'testResult.history.time' date=(date time.start) time=(time time.start)}}
{{else}}
{{status}} - {{date time.start}} at {{time time.start}} + {{t 'testResult.history.time' date=(date time.start) time=(time time.start)}}
{{/if}} {{/each}} {{else}} - No history information are available. + {{t 'testResult.history.empty'}} {{/if}} \ No newline at end of file diff --git a/allure-generator/src/main/javascript/plugins/testresult-retries/RetriesView.hbs b/allure-generator/src/main/javascript/plugins/testresult-retries/RetriesView.hbs index 8395e0ebd..7a8fdd708 100644 --- a/allure-generator/src/main/javascript/plugins/testresult-retries/RetriesView.hbs +++ b/allure-generator/src/main/javascript/plugins/testresult-retries/RetriesView.hbs @@ -3,7 +3,7 @@ {{#each retries}} {{status}} - {{date time.start}} at {{time time.start}} + {{t 'testResult.retries.time' time=(date time.start) date=(time time.start)}}
{{statusDetails}}
{{/each}} diff --git a/allure-generator/src/main/javascript/translations/en.json b/allure-generator/src/main/javascript/translations/en.json index a556efc8c..548261043 100644 --- a/allure-generator/src/main/javascript/translations/en.json +++ b/allure-generator/src/main/javascript/translations/en.json @@ -112,13 +112,17 @@ }, "history": { "name": "History", - "successRate": "Success rate" + "successRate": "Success rate", + "statistic": "{{passed}} of {{total}}", + "time": "{{date}} at {{time}}", + "empty": "No history information available." }, "owner": { "name": "Owner" }, "retries": { "name": "Retries", + "time": "{{date}} at {{time}}", "empty": "There is no information available about test retries" }, "parameters": { @@ -134,7 +138,10 @@ "name": "Execution", "setup": "Set up", "teardown": "Tear down", - "body": "Test body" + "body": "Test body", + "downloadAttachment": { + "tooltip": "Open attachment in new tab" + } }, "stats": { "count": { diff --git a/allure-generator/src/main/javascript/translations/nl.json b/allure-generator/src/main/javascript/translations/nl.json index b1d1754c5..dce53faac 100644 --- a/allure-generator/src/main/javascript/translations/nl.json +++ b/allure-generator/src/main/javascript/translations/nl.json @@ -1,8 +1,8 @@ { "status": { "failed": "Gefaald", - "broken": "Kapot", - "passed": "Geslaagd", + "broken": "Defect", + "passed": "Succes", "skipped": "Overgeslagen", "unknown": "Onbekend", "flaky": "Test is instabiel", @@ -69,7 +69,7 @@ "environment": { "name": "Omgeving", "empty": "Er zijn geen omgevingsvariabelen", - "showAll": "Toon alle" + "showAll": "Toon alles" }, "suites": { "name": "Suites" @@ -111,15 +111,19 @@ "name": "Duur" }, "history": { - "name": "Historie", - "successRate": "Slagingsratio" + "name": "Geschiedenis", + "successRate": "Slagingsratio", + "statistic": "{{passed}} van {{total}}", + "time": "{{date}} om {{time}}", + "empty": "Geen historische gegevens beschikbaar." }, "owner": { "name": "Eigenaar" }, "retries": { - "name": "Nieuwe pogingen", - "empty": "Er is geen informatie over nieuwe testpogingen." + "name": "Pogingen", + "time": "{{date}} om {{time}}", + "empty": "Geen informatie beschikbaar." }, "parameters": { "name": "Parameters" @@ -134,7 +138,10 @@ "name": "Uitvoering", "setup": "Set up", "teardown": "Tear down", - "body": "Test body" + "body": "Test body", + "downloadAttachment": { + "tooltip": "Bijlage in een nieuw tabblad openen" + } }, "stats": { "count": { @@ -171,15 +178,15 @@ "time": { "total" : { "name": "Totaal", - "tooltip": "Duur van eerste test gestart tot laatste test beëindigd" + "tooltip": "Doorloop van eerste test gestart tot laatste test beëindigd" }, "max": { - "name": "Langstdurend", + "name": "Langste", "tooltip": "Duur van de langste test" }, "sum": { "name": "Som", - "tooltip": "Duur van alle tests opgeteld" + "tooltip": "Opgetelde duur van alle tests" } }, "filtered": { @@ -189,13 +196,13 @@ } }, "widgetStatus": { - "showAll": "Toon alles", + "showAll": "Toon alle", "total": "{{count}} item in totaal", "total_plural": "{{count}} items in totaal" }, "statusToggle": { "showCases": "Toon testresultaten met status ‘{{status}}’", - "hideCases": "Verberg testresultaten met status ’{{status}}’" + "hideCases": "Verberg testresultaten met status ‘{{status}}’" }, "markToggle": { "showCases": "Toon testresultaten gemarkeerd als ‘{{mark}}’",