1
0
mirror of https://github.com/tooot-app/app synced 2025-06-05 22:19:13 +02:00

Try out clean Crowdin source strings

This commit is contained in:
Zhiyuan Zheng
2021-03-28 23:31:10 +02:00
parent 267832dd15
commit aab3d8d94d
106 changed files with 462 additions and 1219 deletions

View File

@ -10,7 +10,7 @@ import { useQueryClient } from 'react-query'
import { useDispatch, useSelector } from 'react-redux'
const Logout: React.FC = () => {
const { t } = useTranslation('meRoot')
const { t } = useTranslation('screenTabs')
const dispatch = useDispatch()
const queryClient = useQueryClient()
const instance = useSelector(getInstance)
@ -18,7 +18,7 @@ const Logout: React.FC = () => {
return (
<Button
type='text'
content={t('content.logout.button')}
content={t('me.root.logout.button')}
style={{
marginHorizontal: StyleConstants.Spacing.Global.PagePadding * 2,
marginBottom: StyleConstants.Spacing.Global.PagePadding * 2
@ -26,11 +26,11 @@ const Logout: React.FC = () => {
destructive
onPress={() =>
Alert.alert(
t('content.logout.alert.title'),
t('content.logout.alert.message'),
t('me.root.logout.alert.title'),
t('me.root.logout.alert.message'),
[
{
text: t('content.logout.alert.buttons.logout'),
text: t('me.root.logout.alert.buttons.logout'),
style: 'destructive' as const,
onPress: () => {
if (instance) {
@ -41,7 +41,7 @@ const Logout: React.FC = () => {
}
},
{
text: t('content.logout.alert.buttons.cancel'),
text: t('me.root.logout.alert.buttons.cancel'),
style: 'cancel' as const
}
]