diff options
| -rw-r--r-- | gui/locales/messages.pot | 45 | ||||
| -rw-r--r-- | gui/src/renderer/components/ExpiredAccountAddTime.tsx | 9 | ||||
| -rw-r--r-- | gui/src/renderer/components/RedeemVoucher.tsx | 9 |
3 files changed, 50 insertions, 13 deletions
diff --git a/gui/locales/messages.pot b/gui/locales/messages.pot index ab24bf500c..0ea0b1c0fd 100644 --- a/gui/locales/messages.pot +++ b/gui/locales/messages.pot @@ -2,6 +2,9 @@ msgid "" msgstr "" "Content-Type: text/plain; charset=UTF-8\n" +msgid "%(duration)s was added to your account." +msgstr "" + msgid "1 day" msgid_plural "%d days" msgstr[0] "" @@ -93,6 +96,9 @@ msgstr "" msgid "FAILED TO SECURE CONNECTION" msgstr "" +msgid "Got it!" +msgstr "" + msgid "Invalid account number" msgstr "" @@ -105,6 +111,9 @@ msgstr "" msgid "less than a minute ago" msgstr "" +msgid "Next" +msgstr "" + msgid "Open URL" msgstr "" @@ -385,10 +394,22 @@ msgid "Either buy credit on our website or redeem a voucher." msgstr "" msgctxt "connect-view" +msgid "Enter voucher code" +msgstr "" + +msgctxt "connect-view" +msgid "Go ahead and start using the app to begin reclaiming your online privacy." +msgstr "" + +msgctxt "connect-view" msgid "Here’s your account number. Save it!" msgstr "" msgctxt "connect-view" +msgid "Learn about privacy" +msgstr "" + +msgctxt "connect-view" msgid "Out of time" msgstr "" @@ -401,14 +422,30 @@ msgid "Remember, turning it off will allow network traffic while the VPN is disc msgstr "" msgctxt "connect-view" +msgid "Start using the app" +msgstr "" + +msgctxt "connect-view" +msgid "Time was successfully added" +msgstr "" + +msgctxt "connect-view" msgid "To add more, you will need to disconnect and access the Internet with an unsecure connection." msgstr "" msgctxt "connect-view" +msgid "To continue your journey as a privacy ninja, visit our website to pick up other privacy-friendly habits and tools." +msgstr "" + +msgctxt "connect-view" msgid "To start using the app, you first need to add time to your account." msgstr "" msgctxt "connect-view" +msgid "Voucher was successfully redeemed" +msgstr "" + +msgctxt "connect-view" msgid "You have no more VPN time left on this account." msgstr "" @@ -416,6 +453,10 @@ msgctxt "connect-view" msgid "You need to disable \"Always require VPN\" in order to access the Internet to add time." msgstr "" +msgctxt "connect-view" +msgid "You're all set!" +msgstr "" + #. The hostname line displayed below the country on the main screen #. Available placeholders: #. %(relay)s - the relay hostname @@ -814,6 +855,10 @@ msgid "Redeem" msgstr "" msgctxt "redeem-voucher-view" +msgid "Verifying voucher..." +msgstr "" + +msgctxt "redeem-voucher-view" msgid "Voucher code has already been used." msgstr "" diff --git a/gui/src/renderer/components/ExpiredAccountAddTime.tsx b/gui/src/renderer/components/ExpiredAccountAddTime.tsx index 12c34b2453..a9b83af6a6 100644 --- a/gui/src/renderer/components/ExpiredAccountAddTime.tsx +++ b/gui/src/renderer/components/ExpiredAccountAddTime.tsx @@ -120,9 +120,7 @@ export function VoucherInput() { export function VoucherVerificationSuccess() { return ( - <TimeAdded - title={messages.pgettext('redeem-voucher-view', 'Voucher was successfully redeemed')} - /> + <TimeAdded title={messages.pgettext('connect-view', 'Voucher was successfully redeemed')} /> ); } @@ -166,10 +164,7 @@ export function TimeAdded(props: ITimeAddedProps) { {props.title ?? messages.pgettext('connect-view', 'Time was successfully added')} </StyledTitle> <StyledLabel> - {sprintf( - messages.pgettext('connect-view', '%(duration)s was added to your account.'), - { duration }, - )} + {sprintf(messages.gettext('%(duration)s was added to your account.'), { duration })} </StyledLabel> </StyledBody> diff --git a/gui/src/renderer/components/RedeemVoucher.tsx b/gui/src/renderer/components/RedeemVoucher.tsx index 5521e66850..c7697f2f6f 100644 --- a/gui/src/renderer/components/RedeemVoucher.tsx +++ b/gui/src/renderer/components/RedeemVoucher.tsx @@ -236,12 +236,9 @@ export function RedeemVoucherAlert(props: IRedeemVoucherAlertProps) { {messages.pgettext('redeem-voucher-view', 'Voucher was successfully redeemed.')} </StyledTitle> <StyledLabel> - {sprintf( - messages.pgettext('redeem-voucher-view', '%(duration)s was added to your account.'), - { - duration, - }, - )} + {sprintf(messages.gettext('%(duration)s was added to your account.'), { + duration, + })} </StyledLabel> </ModalAlert> ); |
