From c5b6f88e9a694d79126af4f742e66833dfd528bd Mon Sep 17 00:00:00 2001 From: Ansh Date: Mon, 20 Nov 2023 13:29:27 -0800 Subject: Hindi Internationalization (#1914) * get basic hindi support to work * get web app language switcher in * Refactor i18n implementation and remove unused code * add missing strings * add dropdowns and modals missing strings * complete all hindi translations * fix merge conflicts * fix legeacy persisted state * fix data in RecommendedFeeds * fix lint --- src/lib/hooks/useOTAUpdate.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/lib/hooks/useOTAUpdate.ts') diff --git a/src/lib/hooks/useOTAUpdate.ts b/src/lib/hooks/useOTAUpdate.ts index a3584fc9d..55147329b 100644 --- a/src/lib/hooks/useOTAUpdate.ts +++ b/src/lib/hooks/useOTAUpdate.ts @@ -3,6 +3,7 @@ import {useCallback, useEffect} from 'react' import {AppState} from 'react-native' import {logger} from '#/logger' import {useModalControls} from '#/state/modals' +import {t} from '@lingui/macro' export function useOTAUpdate() { const {openModal} = useModalControls() @@ -11,9 +12,8 @@ export function useOTAUpdate() { const showUpdatePopup = useCallback(() => { openModal({ name: 'confirm', - title: 'Update Available', - message: - 'A new version of the app is available. Please update to continue using the app.', + title: t`Update Available`, + message: t`A new version of the app is available. Please update to continue using the app.`, onPressConfirm: async () => { Updates.reloadAsync().catch(err => { throw err -- cgit 1.4.1