Skip to content
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
Original file line number Diff line number Diff line change
Expand Up @@ -3,25 +3,25 @@
<div class="{{b cls 'success-rate'}}">
{{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}}
</div>
{{#each history.items}}
{{#if reportUrl}}
<div class="{{b ../cls 'row'}}">
<a class="link" href="{{reportUrl}}" target="_blank">
<span class="label label_status_{{status}}">{{status}}</span>
<span>{{date time.start}} at {{time time.start}}</span>
<span>{{t 'testResult.history.time' date=(date time.start) time=(time time.start)}}</span>
</a>
</div>
{{else}}
<div>
<span class="label label_status_{{status}}">{{status}}</span>
<span>{{date time.start}} at {{time time.start}}</span>
<span>{{t 'testResult.history.time' date=(date time.start) time=(time time.start)}}</span>
</div>
{{/if}}
{{/each}}
{{else}}
No history information are available.
{{t 'testResult.history.empty'}}
{{/if}}
</div>
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{{#each retries}}
<a class="link" href="#/testresult/{{uid}}">
<span class="label label_status_{{status}}">{{status}}</span>
<span>{{date time.start}} at {{time time.start}}</span>
<span>{{t 'testResult.retries.time' time=(date time.start) date=(time time.start)}}</span>
<pre class="preformated-text"><code>{{statusDetails}}</code></pre>
</a>
{{/each}}
Expand Down
11 changes: 9 additions & 2 deletions allure-generator/src/main/javascript/translations/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand All @@ -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": {
Expand Down
33 changes: 20 additions & 13 deletions allure-generator/src/main/javascript/translations/nl.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"status": {
"failed": "Gefaald",
"broken": "Kapot",
"passed": "Geslaagd",
"broken": "Defect",
"passed": "Succes",
"skipped": "Overgeslagen",
"unknown": "Onbekend",
"flaky": "Test is instabiel",
Expand Down Expand Up @@ -69,7 +69,7 @@
"environment": {
"name": "Omgeving",
"empty": "Er zijn geen omgevingsvariabelen",
"showAll": "Toon alle"
"showAll": "Toon alles"
},
"suites": {
"name": "Suites"
Expand Down Expand Up @@ -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"
Expand All @@ -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": {
Expand Down Expand Up @@ -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": {
Expand All @@ -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}}’",
Expand Down