additionalStorageIntervalDesc

This commit is contained in:
Kyle Spearrin 2018-10-29 10:07:03 -04:00
parent 8998798fa4
commit 76dd606a48
4 changed files with 9 additions and 5 deletions

2
jslib

@ -1 +1 @@
Subproject commit d4b3a16fd1196abd3134c23a9fa0b6c002790458 Subproject commit aa0b274f8fd80db620abd4a85c3086f511e19c88

View File

@ -121,7 +121,7 @@
<label for="additionalStorage">{{'additionalStorageGb' | i18n}}</label> <label for="additionalStorage">{{'additionalStorageGb' | i18n}}</label>
<input id="additionalStorage" class="form-control" type="number" name="AdditionalStorageGb" [(ngModel)]="additionalStorage" <input id="additionalStorage" class="form-control" type="number" name="AdditionalStorageGb" [(ngModel)]="additionalStorage"
min="0" max="99" step="1" placeholder="{{'additionalStorageGbDesc' | i18n}}"> min="0" max="99" step="1" placeholder="{{'additionalStorageGbDesc' | i18n}}">
<small class="text-muted form-text">{{'additionalStorageDesc' | i18n : '1 GB' : (storageGb.price | currency:'$')}}</small> <small class="text-muted form-text">{{'additionalStorageIntervalDesc' | i18n : '1 GB' : (storageGb.price | currency:'$') : ('month' | i18n)}}</small>
</div> </div>
</div> </div>
<h2 class="spaced-header">{{'summary' | i18n}}</h2> <h2 class="spaced-header">{{'summary' | i18n}}</h2>

View File

@ -55,7 +55,7 @@
<label for="additionalStorage">{{'additionalStorageGb' | i18n}}</label> <label for="additionalStorage">{{'additionalStorageGb' | i18n}}</label>
<input id="additionalStorage" class="form-control" type="number" name="AdditionalStorageGb" [(ngModel)]="additionalStorage" <input id="additionalStorage" class="form-control" type="number" name="AdditionalStorageGb" [(ngModel)]="additionalStorage"
min="0" max="99" step="1" placeholder="{{'additionalStorageGbDesc' | i18n}}"> min="0" max="99" step="1" placeholder="{{'additionalStorageGbDesc' | i18n}}">
<small class="text-muted form-text">{{'additionalStorageDesc' | i18n : '1 GB' : (storageGbPrice | currency:'$')}}</small> <small class="text-muted form-text">{{'additionalStorageIntervalDesc' | i18n : '1 GB' : (storageGbPrice | currency:'$') : ('year' | i18n)}}</small>
</div> </div>
</div> </div>
<h2 class="spaced-header">{{'summary' | i18n}}</h2> <h2 class="spaced-header">{{'summary' | i18n}}</h2>

View File

@ -1388,8 +1388,8 @@
"additionalStorageGbDesc": { "additionalStorageGbDesc": {
"message": "# of additional GB" "message": "# of additional GB"
}, },
"additionalStorageDesc": { "additionalStorageIntervalDesc": {
"message": "Your plan comes with $SIZE$ of encrypted file storage. You can add additional storage for $PRICE$ per GB /year.", "message": "Your plan comes with $SIZE$ of encrypted file storage. You can add additional storage for $PRICE$ per GB /$INTERVAL$.",
"placeholders": { "placeholders": {
"size": { "size": {
"content": "$1", "content": "$1",
@ -1398,6 +1398,10 @@
"price": { "price": {
"content": "$2", "content": "$2",
"example": "$4.00" "example": "$4.00"
},
"interval": {
"content": "$3",
"example": "'month' or 'year'"
} }
} }
}, },