From 76dd606a487c2c39f7cb11df51f38adfca69c7ab Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Mon, 29 Oct 2018 10:07:03 -0400 Subject: [PATCH] additionalStorageIntervalDesc --- jslib | 2 +- src/app/settings/create-organization.component.html | 2 +- src/app/settings/premium.component.html | 2 +- src/locales/en/messages.json | 8 ++++++-- 4 files changed, 9 insertions(+), 5 deletions(-) diff --git a/jslib b/jslib index d4b3a16fd1..aa0b274f8f 160000 --- a/jslib +++ b/jslib @@ -1 +1 @@ -Subproject commit d4b3a16fd1196abd3134c23a9fa0b6c002790458 +Subproject commit aa0b274f8fd80db620abd4a85c3086f511e19c88 diff --git a/src/app/settings/create-organization.component.html b/src/app/settings/create-organization.component.html index 4691f0ac9d..7aed5268aa 100644 --- a/src/app/settings/create-organization.component.html +++ b/src/app/settings/create-organization.component.html @@ -121,7 +121,7 @@ - {{'additionalStorageDesc' | i18n : '1 GB' : (storageGb.price | currency:'$')}} + {{'additionalStorageIntervalDesc' | i18n : '1 GB' : (storageGb.price | currency:'$') : ('month' | i18n)}}

{{'summary' | i18n}}

diff --git a/src/app/settings/premium.component.html b/src/app/settings/premium.component.html index d3db9ba463..4ce4d1dc70 100644 --- a/src/app/settings/premium.component.html +++ b/src/app/settings/premium.component.html @@ -55,7 +55,7 @@ - {{'additionalStorageDesc' | i18n : '1 GB' : (storageGbPrice | currency:'$')}} + {{'additionalStorageIntervalDesc' | i18n : '1 GB' : (storageGbPrice | currency:'$') : ('year' | i18n)}}

{{'summary' | i18n}}

diff --git a/src/locales/en/messages.json b/src/locales/en/messages.json index c8d72b3d5b..9797b02d81 100644 --- a/src/locales/en/messages.json +++ b/src/locales/en/messages.json @@ -1388,8 +1388,8 @@ "additionalStorageGbDesc": { "message": "# of additional GB" }, - "additionalStorageDesc": { - "message": "Your plan comes with $SIZE$ of encrypted file storage. You can add additional storage for $PRICE$ per GB /year.", + "additionalStorageIntervalDesc": { + "message": "Your plan comes with $SIZE$ of encrypted file storage. You can add additional storage for $PRICE$ per GB /$INTERVAL$.", "placeholders": { "size": { "content": "$1", @@ -1398,6 +1398,10 @@ "price": { "content": "$2", "example": "$4.00" + }, + "interval": { + "content": "$3", + "example": "'month' or 'year'" } } },