Add text to translation file

pull/2467/head
Kenton Royal 6 years ago
parent 71009f4942
commit c12cb10972

@ -1,15 +1,15 @@
<div *ngIf="remaining?.hasLimit">
<h4 id="remainingRequests" class="text-center">
{{remaining.remaining}}/{{remaining.limit}} requests remaining
{{'Requests.Remaining.Quota' | translate: {remaining: remaining.remaining, total: remaining.limit} }}
</h4>
<h4 class="text-center" *ngIf="daysUntil > 1">
Another request will be added in {{daysUntil}} {{daysUntil == 1 ? "day" : "days"}}
{{daysUntil == 1 ? 'Requests.Remaining.NextDay' : "Requests.Remaining.NextDays" | translate: {time: daysUntil} }}
</h4>
<h4 class="text-center" *ngIf="hoursUntil > 1 && daysUntil <= 1">
Another request will be added in {{hoursUntil}} {{hoursUntil == 1 ? "hour" : "hours"}}
{{hoursUntil == 1 ? 'Requests.Remaining.NextHour' : "Requests.Remaining.NextHours" | translate: {time: hoursUntil} }}
</h4>
<h4 class="text-center" *ngIf="minutesUntil > 1 && hoursUntil <= 1 && daysUntil <= 1" #minutes>
Another request will be added in {{minutesUntil}} {{minutesUntil == 1 ? "minute" : "minutes"}}
{{minutesUntil == 1 ? 'Requests.Remaining.NextMinute' : "Requests.Remaining.NextMinutes" | translate: {time: minutesUntil} }}
</h4>
</div>

@ -145,7 +145,16 @@
"SortRequestDateAsc": "Request Date ▲",
"SortRequestDateDesc": "Request Date ▼",
"SortStatusAsc":"Status ▲",
"SortStatusDesc":"Status ▼"
"SortStatusDesc":"Status ▼",
"Remaining": {
"Quota": "{{remaining}}/{{total}} requests remaining",
"NextDays": "Another request will be added in {{time}} days",
"NextDay": "Another request will be added in {{time}} day",
"NextHours": "Another request will be added in {{time} hours",
"NextHour": "Another request will be added in {{time} hour",
"NextMinutes": "Another request will be added in {{time}} minutes",
"NextMinute": "Another request will be added in {{time}} minute"
}
},
"Issues":{
"Title":"Issues",

Loading…
Cancel
Save