From 3e5aea475463b1bdd396a9f8857be2e1bea2c975 Mon Sep 17 00:00:00 2001 From: daledah Date: Thu, 29 Jan 2026 00:12:23 +0700 Subject: [PATCH] fix: Enjoying Expensify popup for new user is not translated --- src/components/ProactiveAppReviewModal.tsx | 10 ++++++---- src/languages/de.ts | 6 ++++++ src/languages/en.ts | 6 ++++++ src/languages/es.ts | 6 ++++++ src/languages/fr.ts | 6 ++++++ src/languages/it.ts | 6 ++++++ src/languages/ja.ts | 6 ++++++ src/languages/nl.ts | 6 ++++++ src/languages/pl.ts | 6 ++++++ src/languages/pt-BR.ts | 6 ++++++ src/languages/zh-hans.ts | 1 + 11 files changed, 61 insertions(+), 4 deletions(-) diff --git a/src/components/ProactiveAppReviewModal.tsx b/src/components/ProactiveAppReviewModal.tsx index 6f2930b9511c..58530f93a8a3 100644 --- a/src/components/ProactiveAppReviewModal.tsx +++ b/src/components/ProactiveAppReviewModal.tsx @@ -1,6 +1,7 @@ import React from 'react'; import {View} from 'react-native'; import {useMemoizedLazyIllustrations} from '@hooks/useLazyAsset'; +import useLocalize from '@hooks/useLocalize'; import useResponsiveLayout from '@hooks/useResponsiveLayout'; import useThemeStyles from '@hooks/useThemeStyles'; import CONST from '@src/CONST'; @@ -27,6 +28,7 @@ function ProactiveAppReviewModal({isVisible, onPositive, onNegative, onSkip}: Pr const {shouldUseNarrowLayout} = useResponsiveLayout(); const styles = useThemeStyles(); const illustrations = useMemoizedLazyIllustrations(['ToddWithPhones']); + const {translate} = useLocalize(); return ( - Enjoying New Expensify? - {'Let us know so we can help make your\nexpensing experience even better.'} + {translate('proactiveAppReview.title')} + {translate('proactiveAppReview.description')} {/* Buttons */} @@ -58,13 +60,13 @@ function ProactiveAppReviewModal({isVisible, onPositive, onNegative, onSkip}: Pr style={[styles.mt5]} onPress={onPositive} pressOnEnter - text="Yeah!" + text={translate('proactiveAppReview.positiveButton')} large />