Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions src/languages/de.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6450,9 +6450,7 @@ const translations = {
authenticatePayment: 'Zahlung authentifizieren',
requestRefund: 'Rückerstattung anfordern',
requestRefundModal: {
phrase1: 'Eine Rückerstattung zu erhalten ist einfach: Downgraden Sie einfach Ihr Konto vor Ihrem nächsten Abrechnungsdatum und Sie erhalten eine Rückerstattung.',
phrase2:
'Achtung: Wenn Sie Ihr Konto herabstufen, werden Ihre Arbeitsbereiche gelöscht. Diese Aktion kann nicht rückgängig gemacht werden, aber Sie können jederzeit einen neuen Arbeitsbereich erstellen, wenn Sie Ihre Meinung ändern.',
full: 'Eine Rückerstattung zu erhalten ist einfach: Downgraden Sie einfach Ihr Konto vor Ihrem nächsten Abrechnungsdatum und Sie erhalten eine Rückerstattung. <br /> <br /> Achtung: Wenn Sie Ihr Konto herabstufen, werden Ihre Arbeitsbereiche gelöscht. Diese Aktion kann nicht rückgängig gemacht werden, aber Sie können jederzeit einen neuen Arbeitsbereich erstellen, wenn Sie Ihre Meinung ändern.',

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why do we need a double break line here?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@allgandalf I think currently in requestRefundModal, we have gap b/w those text that's why i'd put that but lemme check that once again and will fix that accordingly (also share the screenshot here) to match staging/production

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

okay sure

confirm: 'Arbeitsbereich(e) löschen und herabstufen',
},
viewPaymentHistory: 'Zahlungsverlauf anzeigen',
Expand Down
4 changes: 1 addition & 3 deletions src/languages/en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6376,9 +6376,7 @@ const translations = {
authenticatePayment: 'Authenticate payment',
requestRefund: 'Request refund',
requestRefundModal: {
phrase1: 'Getting a refund is easy, just downgrade your account before your next billing date and you’ll receive a refund.',
phrase2:
'Heads up: Downgrading your account means your workspace(s) will be deleted. This action can’t be undone, but you can always create a new workspace if you change your mind.',
full: 'Getting a refund is easy, just downgrade your account before your next billing date and you’ll receive a refund. <br /> <br /> Heads up: Downgrading your account means your workspace(s) will be deleted. This action can’t be undone, but you can always create a new workspace if you change your mind.',

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

full isn't the best key, but it's NAB

confirm: 'Delete workspace(s) and downgrade',
},
viewPaymentHistory: 'View payment history',
Expand Down
4 changes: 1 addition & 3 deletions src/languages/es.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6898,9 +6898,7 @@ const translations = {
authenticatePayment: 'Autenticar el pago',
requestRefund: 'Solicitar reembolso',
requestRefundModal: {
phrase1: 'Obtener un reembolso es fácil, simplemente baja tu cuenta de categoría antes de la próxima fecha de facturación y recibirás un reembolso.',
phrase2:
'Atención: Bajar tu cuenta de categoría significa que tu(s) espacio(s) de trabajo será(n) eliminado(s). Esta acción no se puede deshacer, pero siempre puedes crear un nuevo espacio de trabajo si cambias de opinión.',
full: 'Obtener un reembolso es fácil, simplemente baja tu cuenta de categoría antes de la próxima fecha de facturación y recibirás un reembolso. <br /> <br /> Atención: Bajar tu cuenta de categoría significa que tu(s) espacio(s) de trabajo será(n) eliminado(s). Esta acción no se puede deshacer, pero siempre puedes crear un nuevo espacio de trabajo si cambias de opinión.',
confirm: 'Eliminar y bajar de categoría',
},
viewPaymentHistory: 'Ver historial de pagos',
Expand Down
4 changes: 1 addition & 3 deletions src/languages/fr.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6458,9 +6458,7 @@ const translations = {
authenticatePayment: 'Authentifier le paiement',
requestRefund: 'Demander un remboursement',
requestRefundModal: {
phrase1: 'Obtenir un remboursement est facile, il suffit de rétrograder votre compte avant votre prochaine date de facturation et vous recevrez un remboursement.',
phrase2:
"Attention : La rétrogradation de votre compte entraînera la suppression de votre/vos espace(s) de travail. Cette action est irréversible, mais vous pouvez toujours créer un nouvel espace de travail si vous changez d'avis.",
full: "Obtenir un remboursement est facile, il suffit de rétrograder votre compte avant votre prochaine date de facturation et vous recevrez un remboursement. <br /> <br /> Attention : La rétrogradation de votre compte entraînera la suppression de votre/vos espace(s) de travail. Cette action est irréversible, mais vous pouvez toujours créer un nouvel espace de travail si vous changez d'avis.",
confirm: 'Supprimer le(s) espace(s) de travail et rétrograder',
},
viewPaymentHistory: "Voir l'historique des paiements",
Expand Down
4 changes: 1 addition & 3 deletions src/languages/it.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6433,9 +6433,7 @@ const translations = {
authenticatePayment: 'Autentica pagamento',
requestRefund: 'Richiedi rimborso',
requestRefundModal: {
phrase1: 'Ottenere un rimborso è facile, basta declassare il tuo account prima della prossima data di fatturazione e riceverai un rimborso.',
phrase2:
"Attenzione: il downgrade del tuo account comporta l'eliminazione del/dei tuo/i spazio/i di lavoro. Questa azione non può essere annullata, ma puoi sempre creare un nuovo spazio di lavoro se cambi idea.",
full: "Ottenere un rimborso è facile, basta declassare il tuo account prima della prossima data di fatturazione e riceverai un rimborso. <br /> <br /> Attenzione: il downgrade del tuo account comporta l'eliminazione del/dei tuo/i spazio/i di lavoro. Questa azione non può essere annullata, ma puoi sempre creare un nuovo spazio di lavoro se cambi idea.",
confirm: 'Elimina workspace e declassa',
},
viewPaymentHistory: 'Visualizza cronologia dei pagamenti',
Expand Down
3 changes: 1 addition & 2 deletions src/languages/ja.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6372,8 +6372,7 @@ const translations = {
authenticatePayment: '支払いを認証する',
requestRefund: '返金をリクエスト',
requestRefundModal: {
phrase1: '返金を受けるのは簡単です。次の請求日までにアカウントをダウングレードするだけで、返金されます。',
phrase2: 'ご注意: アカウントをダウングレードすると、ワークスペースが削除されます。この操作は元に戻せませんが、気が変わった場合はいつでも新しいワークスペースを作成できます。',
full: '返金を受けるのは簡単です。次の請求日までにアカウントをダウングレードするだけで、返金されます。<br /> <br /> ご注意: アカウントをダウングレードすると、ワークスペースが削除されます。この操作は元に戻せませんが、気が変わった場合はいつでも新しいワークスペースを作成できます。',
confirm: 'ワークスペースを削除してダウングレード',
},
viewPaymentHistory: '支払い履歴を表示',
Expand Down
4 changes: 1 addition & 3 deletions src/languages/nl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6418,9 +6418,7 @@ const translations = {
authenticatePayment: 'Authenticeer betaling',
requestRefund: 'Terugbetaling aanvragen',
requestRefundModal: {
phrase1: 'Een terugbetaling krijgen is eenvoudig, verlaag gewoon uw account voordat uw volgende factuurdatum en u ontvangt een terugbetaling.',
phrase2:
'Let op: Als je je account downgrade, worden je werkruimtes verwijderd. Deze actie kan niet ongedaan worden gemaakt, maar je kunt altijd een nieuwe werkruimte aanmaken als je van gedachten verandert.',
full: 'Een terugbetaling krijgen is eenvoudig, verlaag gewoon uw account voordat uw volgende factuurdatum en u ontvangt een terugbetaling. <br /> <br /> Let op: Als je je account downgrade, worden je werkruimtes verwijderd. Deze actie kan niet ongedaan worden gemaakt, maar je kunt altijd een nieuwe werkruimte aanmaken als je van gedachten verandert.',
confirm: 'Werkruimte(s) verwijderen en downgraden',
},
viewPaymentHistory: 'Bekijk betalingsgeschiedenis',
Expand Down
4 changes: 1 addition & 3 deletions src/languages/pl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6402,9 +6402,7 @@ const translations = {
authenticatePayment: 'Uwierzytelnij płatność',
requestRefund: 'Poproś o zwrot pieniędzy',
requestRefundModal: {
phrase1: 'Otrzymanie zwrotu jest proste, wystarczy obniżyć poziom konta przed następną datą rozliczenia, a otrzymasz zwrot.',
phrase2:
'Uwaga: Obniżenie poziomu konta oznacza, że Twoje przestrzenie robocze zostaną usunięte. Tej akcji nie można cofnąć, ale zawsze możesz utworzyć nową przestrzeń roboczą, jeśli zmienisz zdanie.',
full: 'Otrzymanie zwrotu jest proste, wystarczy obniżyć poziom konta przed następną datą rozliczenia, a otrzymasz zwrot. <br /> <br /> Uwaga: Obniżenie poziomu konta oznacza, że Twoje przestrzenie robocze zostaną usunięte. Tej akcji nie można cofnąć, ale zawsze możesz utworzyć nową przestrzeń roboczą, jeśli zmienisz zdanie.',
confirm: 'Usuń przestrzeń(e) roboczą i obniż plan',
},
viewPaymentHistory: 'Wyświetl historię płatności',
Expand Down
4 changes: 1 addition & 3 deletions src/languages/pt-BR.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6414,9 +6414,7 @@ const translations = {
authenticatePayment: 'Autenticar pagamento',
requestRefund: 'Solicitar reembolso',
requestRefundModal: {
phrase1: 'Obter um reembolso é fácil, basta rebaixar sua conta antes da próxima data de cobrança e você receberá um reembolso.',
phrase2:
'Atenção: Rebaixar sua conta significa que seu(s) espaço(s) de trabalho será(ão) excluído(s). Esta ação não pode ser desfeita, mas você sempre pode criar um novo espaço de trabalho se mudar de ideia.',
full: 'Obter um reembolso é fácil, basta rebaixar sua conta antes da próxima data de cobrança e você receberá um reembolso. <br /> <br /> Atenção: Rebaixar sua conta significa que seu(s) espaço(s) de trabalho será(ão) excluído(s). Esta ação não pode ser desfeita, mas você sempre pode criar um novo espaço de trabalho se mudar de ideia.',
confirm: 'Excluir espaço(s) de trabalho e rebaixar',
},
viewPaymentHistory: 'Ver histórico de pagamentos',
Expand Down
3 changes: 1 addition & 2 deletions src/languages/zh-hans.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6292,8 +6292,7 @@ const translations = {
authenticatePayment: '验证付款',
requestRefund: '请求退款',
requestRefundModal: {
phrase1: '获取退款很简单,只需在下一个账单日期之前降级您的账户,您就会收到退款。',
phrase2: '注意:降级您的账户将导致您的工作区被删除。此操作无法撤销,但如果您改变主意,您可以随时创建一个新的工作区。',
full: '获取退款很简单,只需在下一个账单日期之前降级您的账户,您就会收到退款。 <br /> <br /> 注意:降级您的账户将导致您的工作区被删除。此操作无法撤销,但如果您改变主意,您可以随时创建一个新的工作区。',
confirm: '删除工作区并降级',
},
viewPaymentHistory: '查看付款历史记录',
Expand Down
8 changes: 2 additions & 6 deletions src/pages/settings/Subscription/CardSection/CardSection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import ConfirmModal from '@components/ConfirmModal';
import Icon from '@components/Icon';
import * as Expensicons from '@components/Icon/Expensicons';
import MenuItem from '@components/MenuItem';
import RenderHTML from '@components/RenderHTML';
import Section from '@components/Section';
import Text from '@components/Text';
import useHasTeam2025Pricing from '@hooks/useHasTeam2025Pricing';
Expand Down Expand Up @@ -226,12 +227,7 @@ function CardSection() {
isVisible={isRequestRefundModalVisible}
onConfirm={requestRefund}
onCancel={() => setIsRequestRefundModalVisible(false)}
prompt={
<>
<Text style={styles.mb4}>{translate('subscription.cardSection.requestRefundModal.phrase1')}</Text>
<Text>{translate('subscription.cardSection.requestRefundModal.phrase2')}</Text>
</>
}
prompt={<RenderHTML html={translate('subscription.cardSection.requestRefundModal.full')} />}
confirmText={translate('subscription.cardSection.requestRefundModal.confirm')}
cancelText={translate('common.cancel')}
danger
Expand Down
Loading