Skip to content

Commit

Permalink
fixes label for Lurkars#456
Browse files Browse the repository at this point in the history
  • Loading branch information
Lurkars authored and rdoll committed Dec 31, 2023
1 parent 82e301a commit 42980fe
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 6 deletions.
13 changes: 7 additions & 6 deletions src/app/ui/footer/scenario/summary/scenario-summary.html
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,8 @@
</ng-container>

<ng-container *ngIf="success && rewards && rewards.collectiveGold">
<span class="head-col calc-col"><span [ghs-label]="'scenario.summary.rewards.collectiveGold'"></span></span>
<span class="head-col"><span class="text-white"
[ghs-label]="'scenario.summary.rewards.collectiveGold'"></span></span>
<span class="calc-col" *ngFor="let character of characters; let index = index;">
<input type="number" min="0" [max]="collectiveGold[index] + availableCollectiveGold()"
[value]="collectiveGold[index]" (change)="changeCollectiveGold($event, index)">
Expand All @@ -63,13 +64,13 @@

<ng-container *ngIf="success && rewards && rewards.collectiveResources">
<ng-container *ngFor="let value of rewards.collectiveResources">


<span class="head-col calc-col"><span [ghs-label]="'scenario.summary.rewards.collectiveResoruce'"
<span class="head-col"><span class="text-white" [ghs-label]="'scenario.summary.rewards.collectiveResource'"
[ghs-label-args]="[value.type]"></span></span>
<span class="calc-col" *ngFor="let character of characters; let index = index;">
<input type="number" min="0" [max]="(collectiveResources[index][value.type] || 0) + availableCollectiveResource(value.type)"
[value]="(collectiveResources[index][value.type] || 0)" (change)="changeCollectiveResource($event, index, value.type)">
<input type="number" min="0"
[max]="(collectiveResources[index][value.type] || 0) + availableCollectiveResource(value.type)"
[value]="(collectiveResources[index][value.type] || 0)"
(change)="changeCollectiveResource($event, index, value.type)">
</span>

</ng-container>
Expand Down
3 changes: 3 additions & 0 deletions src/assets/locales/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -1313,6 +1313,9 @@
"randomItemLooted": "Zufälligen Gegenstand erbeutet",
"randomItems": "Zufällige Gegenstände",
"rewards": {
".": "Szenario Belohnungen",
"collectiveGold": "gemeinschaftliches %game.resource.gold%",
"collectiveResource": "gemeinschaftliches %game.resource.{0}%",
"experience": "EP Belohnung",
"gold": "Gold Belohnung"
},
Expand Down
2 changes: 2 additions & 0 deletions src/assets/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -1463,6 +1463,8 @@
"randomItems": "Random Items",
"rewards": {
".": "Scenario Rewards",
"collectiveGold": "Collective %game.resource.gold%",
"collectiveResource": "Collective %game.resource.{0}%",
"experience": "Reward XP",
"gold": "Reward Gold"
},
Expand Down

0 comments on commit 42980fe

Please sign in to comment.