Merge pull request #477 from tooot-app/main

Test v4.6.2
This commit is contained in:
xmflsct 2022-11-20 22:50:08 +01:00 committed by GitHub
commit 36f04ce720
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 24 additions and 22 deletions

View File

@ -166,9 +166,6 @@ const Screens: React.FC<Props> = ({ localCorrupt }) => {
}
| { data: string | string[]; mimeType: string }
) => {
if (Platform.OS === 'android') {
return
}
if (instanceActive < 0) {
return
}
@ -233,14 +230,18 @@ const Screens: React.FC<Props> = ({ localCorrupt }) => {
}
}
break
// case 'android':
// if (!item.mimeType) {
// return
// }
// for (const d of item.data) {
// filterMedia({ uri: d, mime: item.mimeType })
// }
// break
case 'android':
if (!item.mimeType) {
return
}
if (Array.isArray(item.data)) {
for (const d of item.data) {
filterMedia({ uri: d, mime: item.mimeType })
}
} else {
filterMedia({ uri: item.data, mime: item.mimeType })
}
break
}
if (!text && !media.length) {

View File

@ -64,6 +64,7 @@ const TimelineDefault: React.FC<Props> = ({
}
const onPress = () => {
if (highlighted) return
analytics('timeline_default_press', {
page: queryKey ? queryKey[1].page : origin
})

View File

@ -27,7 +27,7 @@
"follow_request": "{{name}} ha solicitado seguirte",
"poll": "Una encuesta en la que has votado ha terminado",
"reblog": {
"default": "{{name}} impulsado",
"default": "{{name}} ha impulsado",
"notification": "{{name}} ha impulsado tu toot"
},
"update": "El impulso ha sido editado"

View File

@ -1,7 +1,7 @@
{
"screenshot": {
"title": "Protección de la privacidad",
"message": "Por favor, no revele la identidad de otros usuarios, como nombre de usuario, avatar, etc. ¡Gracias!",
"message": "Por favor, no revele la identidad de otros usuarios, como el nombre de usuario, avatar, etc. ¡Gracias!",
"button": "Confirmar"
},
"localCorrupt": {

View File

@ -117,8 +117,8 @@
},
"fields": {
"title": "Metadatos",
"total_one": "Campo {{count}}",
"total_other": "Campos {{count}}"
"total_one": "{{count}} campo",
"total_other": "{{count}} campos"
},
"visibility": {
"title": "Visibilidad de publicación",
@ -346,7 +346,7 @@
},
"users": {
"accounts": {
"following": "Siguiendo {{count}}",
"following": "{{count}} seguidos",
"followers": "{{count}} seguidores"
},
"statuses": {

View File

@ -1,6 +1,6 @@
{
"follow": {
"function": "追蹤使用者"
"function": "跟隨使用者"
},
"block": {
"function": "封鎖使用者"
@ -9,8 +9,8 @@
"error": "載入錯誤",
"blocked_by": "已被使用者封鎖",
"blocking": "解除封鎖",
"following": "取消追蹤",
"following": "取消跟隨",
"requested": "收回要求",
"default": "追蹤"
"default": "跟隨"
}
}

View File

@ -311,8 +311,8 @@
"name": "<0 /><1>的媒體</1>"
},
"hashtag": {
"follow": "追蹤",
"unfollow": "取消追蹤"
"follow": "跟隨",
"unfollow": "取消跟隨"
},
"history": {
"name": "編輯歷史"

View File

@ -4,7 +4,7 @@ import log from './log'
const audio = () => {
log('log', 'audio', 'setting audio playback default options')
Audio.setAudioModeAsync({
interruptionModeIOS: InterruptionModeIOS.DoNotMix,
interruptionModeIOS: InterruptionModeIOS.MixWithOthers,
interruptionModeAndroid: InterruptionModeAndroid.DuckOthers,
staysActiveInBackground: false
})