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

Merge branch 'main' into release

This commit is contained in:
xmflsct
2022-12-16 10:47:34 +01:00
24 changed files with 76 additions and 26 deletions

View File

@ -29,6 +29,8 @@ Please **do not** create a pull request to update translation. tooot's translati
[@janlindblom](https://github.com/janlindblom) for Swedish [@janlindblom](https://github.com/janlindblom) for Swedish
[@ihoryan](https://crowdin.com/profile/ihoryan) for Ukrainian
[@duy@mas.to](https://mas.to/@duy) for Vietnamese translation [@duy@mas.to](https://mas.to/@duy) for Vietnamese translation
[@jimmyorz](https://github.com/jimmyorz) for Traditional Chinese translation [@jimmyorz](https://github.com/jimmyorz) for Traditional Chinese translation

View File

@ -17,7 +17,6 @@ const openLink = async (url: string, navigation?: any) => {
const handleNavigation = (page: 'Tab-Shared-Toot' | 'Tab-Shared-Account', options: {}) => { const handleNavigation = (page: 'Tab-Shared-Toot' | 'Tab-Shared-Account', options: {}) => {
if (navigation) { if (navigation) {
// @ts-ignore
navigation.push(page, options) navigation.push(page, options)
} else { } else {
// @ts-ignore // @ts-ignore

View File

@ -231,6 +231,9 @@
"status": { "status": {
"heading": "Publicació d'usuaris subscrits" "heading": "Publicació d'usuaris subscrits"
}, },
"update": {
"heading": "L'impuls ha sigut editat"
},
"admin.sign_up": { "admin.sign_up": {
"heading": "Administració: Registra" "heading": "Administració: Registra"
}, },
@ -348,7 +351,7 @@
"notInLists": "Altres llistes" "notInLists": "Altres llistes"
}, },
"attachments": { "attachments": {
"name": "" "name": "Multimèdia de <0 /><1></1>"
}, },
"hashtag": { "hashtag": {
"follow": "Segueix", "follow": "Segueix",

View File

@ -231,6 +231,9 @@
"status": { "status": {
"heading": "" "heading": ""
}, },
"update": {
"heading": ""
},
"admin.sign_up": { "admin.sign_up": {
"heading": "" "heading": ""
}, },

View File

@ -55,7 +55,7 @@
"accessibilityLabel": "Lesezeichen hinzufügen", "accessibilityLabel": "Lesezeichen hinzufügen",
"function": "Lesezeichen setzen" "function": "Lesezeichen setzen"
}, },
"openReport": "" "openReport": "Meldung öffnen"
}, },
"actionsUsers": { "actionsUsers": {
"reblogged_by": { "reblogged_by": {

View File

@ -231,6 +231,9 @@
"status": { "status": {
"heading": "Toot eines abonnierten Nutzers" "heading": "Toot eines abonnierten Nutzers"
}, },
"update": {
"heading": "Boost wurde bearbeitet"
},
"admin.sign_up": { "admin.sign_up": {
"heading": "Admin: Registrierung" "heading": "Admin: Registrierung"
}, },

View File

@ -231,6 +231,9 @@
"status": { "status": {
"heading": "Toot from subscribed users" "heading": "Toot from subscribed users"
}, },
"update": {
"heading": "Reblog has been edited"
},
"admin.sign_up": { "admin.sign_up": {
"heading": "Admin: sign up" "heading": "Admin: sign up"
}, },

View File

@ -3,8 +3,8 @@
"local": { "local": {
"name": "Siguiendo", "name": "Siguiendo",
"options": { "options": {
"showBoosts": "", "showBoosts": "Mostrar retoots",
"showReplies": "" "showReplies": "Mostrar respuestas"
} }
}, },
"public": { "public": {
@ -231,6 +231,9 @@
"status": { "status": {
"heading": "Toot de usuarios suscritos" "heading": "Toot de usuarios suscritos"
}, },
"update": {
"heading": "El impulso ha sido editado"
},
"admin.sign_up": { "admin.sign_up": {
"heading": "Administración: Registrarse" "heading": "Administración: Registrarse"
}, },
@ -348,7 +351,7 @@
"notInLists": "Otras listas" "notInLists": "Otras listas"
}, },
"attachments": { "attachments": {
"name": "" "name": "Multimedia de <0 /><1></1>"
}, },
"hashtag": { "hashtag": {
"follow": "Seguir", "follow": "Seguir",

View File

@ -231,6 +231,9 @@
"status": { "status": {
"heading": "Pouet des utilisateurs inscrits" "heading": "Pouet des utilisateurs inscrits"
}, },
"update": {
"heading": ""
},
"admin.sign_up": { "admin.sign_up": {
"heading": "" "heading": ""
}, },

View File

@ -231,6 +231,9 @@
"status": { "status": {
"heading": "Toot da utenti seguiti" "heading": "Toot da utenti seguiti"
}, },
"update": {
"heading": "Il link è stato modificato"
},
"admin.sign_up": { "admin.sign_up": {
"heading": "" "heading": ""
}, },
@ -348,7 +351,7 @@
"notInLists": "" "notInLists": ""
}, },
"attachments": { "attachments": {
"name": "" "name": "Media di <0 /><1>\"</1>"
}, },
"hashtag": { "hashtag": {
"follow": "Segui", "follow": "Segui",

View File

@ -231,6 +231,9 @@
"status": { "status": {
"heading": "購読したユーザーのトゥート" "heading": "購読したユーザーのトゥート"
}, },
"update": {
"heading": "ブーストしたトゥートが編集されました"
},
"admin.sign_up": { "admin.sign_up": {
"heading": "" "heading": ""
}, },

View File

@ -70,7 +70,7 @@
"name": "{{list}} 리스트의 사용자" "name": "{{list}} 리스트의 사용자"
}, },
"listAdd": { "listAdd": {
"name": "" "name": "목록 만들기"
}, },
"listEdit": { "listEdit": {
"name": "리스트 상세 편집" "name": "리스트 상세 편집"
@ -231,6 +231,9 @@
"status": { "status": {
"heading": "구독한 사용자의 툿" "heading": "구독한 사용자의 툿"
}, },
"update": {
"heading": "부스트한 툿이 수정됨"
},
"admin.sign_up": { "admin.sign_up": {
"heading": "" "heading": ""
}, },
@ -348,7 +351,7 @@
"notInLists": "다른 리스트" "notInLists": "다른 리스트"
}, },
"attachments": { "attachments": {
"name": "" "name": "<0 /><1>의 미디어</1>"
}, },
"hashtag": { "hashtag": {
"follow": "팔로우", "follow": "팔로우",

View File

@ -231,6 +231,9 @@
"status": { "status": {
"heading": "Toot van geabonneerde gebruikers" "heading": "Toot van geabonneerde gebruikers"
}, },
"update": {
"heading": "De reblog is bewerkt"
},
"admin.sign_up": { "admin.sign_up": {
"heading": "Admin: registreren" "heading": "Admin: registreren"
}, },
@ -396,7 +399,7 @@
"reblogged_by": "{{count}} boostten", "reblogged_by": "{{count}} boostten",
"favourited_by": "{{count}} markeerden als favoriet" "favourited_by": "{{count}} markeerden als favoriet"
}, },
"resultIncomplete": "" "resultIncomplete": "Resultaten van een externe instantie zijn onvolledig"
} }
} }
} }

View File

@ -231,6 +231,9 @@
"status": { "status": {
"heading": "" "heading": ""
}, },
"update": {
"heading": ""
},
"admin.sign_up": { "admin.sign_up": {
"heading": "" "heading": ""
}, },

View File

@ -231,6 +231,9 @@
"status": { "status": {
"heading": "Toot de usuários inscritos" "heading": "Toot de usuários inscritos"
}, },
"update": {
"heading": "Toot foi editado"
},
"admin.sign_up": { "admin.sign_up": {
"heading": "" "heading": ""
}, },
@ -348,7 +351,7 @@
"notInLists": "" "notInLists": ""
}, },
"attachments": { "attachments": {
"name": "" "name": "<0 /><1>\"s mídia</1>"
}, },
"hashtag": { "hashtag": {
"follow": "Seguir", "follow": "Seguir",

View File

@ -231,6 +231,9 @@
"status": { "status": {
"heading": "Inlägg från följda användare" "heading": "Inlägg från följda användare"
}, },
"update": {
"heading": "Boosten har redigerats"
},
"admin.sign_up": { "admin.sign_up": {
"heading": "Admin: registrera dig" "heading": "Admin: registrera dig"
}, },

View File

@ -231,6 +231,9 @@
"status": { "status": {
"heading": "Дмух від підписників" "heading": "Дмух від підписників"
}, },
"update": {
"heading": "Передмух був відредагований"
},
"admin.sign_up": { "admin.sign_up": {
"heading": "Адмін: реєстрація" "heading": "Адмін: реєстрація"
}, },

View File

@ -231,6 +231,9 @@
"status": { "status": {
"heading": "Tút từ người đã theo dõi" "heading": "Tút từ người đã theo dõi"
}, },
"update": {
"heading": "Đăng lại đã được sửa"
},
"admin.sign_up": { "admin.sign_up": {
"heading": "Admin: đăng ký" "heading": "Admin: đăng ký"
}, },

View File

@ -231,6 +231,9 @@
"status": { "status": {
"heading": "订阅用户的嘟文" "heading": "订阅用户的嘟文"
}, },
"update": {
"heading": "转嘟被编辑"
},
"admin.sign_up": { "admin.sign_up": {
"heading": "管理员:用户注册" "heading": "管理员:用户注册"
}, },

View File

@ -31,8 +31,8 @@
"notification": "{{name}} 轉嘟了您的嘟文" "notification": "{{name}} 轉嘟了您的嘟文"
}, },
"update": "轉嘟已編輯", "update": "轉嘟已編輯",
"admin.sign_up": "", "admin.sign_up": "{{name}} 加入了站點",
"admin.report": "" "admin.report": "{{name}} 檢舉:"
}, },
"actions": { "actions": {
"reply": { "reply": {
@ -55,7 +55,7 @@
"accessibilityLabel": "將嘟文加入書籤", "accessibilityLabel": "將嘟文加入書籤",
"function": "加入書籤" "function": "加入書籤"
}, },
"openReport": "" "openReport": "打開檢舉"
}, },
"actionsUsers": { "actionsUsers": {
"reblogged_by": { "reblogged_by": {

View File

@ -231,11 +231,14 @@
"status": { "status": {
"heading": "訂閱使用者的嘟文" "heading": "訂閱使用者的嘟文"
}, },
"update": {
"heading": "轉嘟被編輯"
},
"admin.sign_up": { "admin.sign_up": {
"heading": "管理員:註冊" "heading": "管理員:使用者註冊"
}, },
"admin.report": { "admin.report": {
"heading": "管理員:回報" "heading": "管理員:檢舉"
}, },
"howitworks": "了解通知訊息轉發如何工作" "howitworks": "了解通知訊息轉發如何工作"
}, },
@ -396,7 +399,7 @@
"reblogged_by": "{{count}} 人轉嘟", "reblogged_by": "{{count}} 人轉嘟",
"favourited_by": "{{count}} 人喜歡" "favourited_by": "{{count}} 人喜歡"
}, },
"resultIncomplete": "" "resultIncomplete": "來自遠端站點的結果不完整"
} }
} }
} }

View File

@ -118,7 +118,7 @@ const TabSharedToot: React.FC<TabSharedStackScreenProps<'Tab-Shared-Toot'>> = ({
return ( return (
<> <>
<TimelineDefault <TimelineDefault
item={{ ...item, content: `${item.content}${JSON.stringify(levels)}` }} item={item}
queryKey={queryKey} queryKey={queryKey}
rootQueryKey={rootQueryKey} rootQueryKey={rootQueryKey}
highlighted={toot.id === item.id} highlighted={toot.id === item.id}

View File

@ -62,10 +62,9 @@ const pushRegister = async (
'BMn2PLpZrMefG981elzG6SB1EY9gU7QZwmtZ/a/J2vUeWG+zXgeskMPwHh4T/bxsD4l7/8QT94F57CbZqYRRfJo=' 'BMn2PLpZrMefG981elzG6SB1EY9gU7QZwmtZ/a/J2vUeWG+zXgeskMPwHh4T/bxsD4l7/8QT94F57CbZqYRRfJo='
) )
formData.append('subscription[keys][auth]', auth) formData.append('subscription[keys][auth]', auth)
Object.keys(alerts).map(key => for (const [key, value] of Object.entries(alerts)) {
// @ts-ignore formData.append(`data[alerts][${key}]`, value.toString())
formData.append(`data[alerts][${key}]`, alerts[key].value.toString()) }
)
const res = await apiInstance<Mastodon.PushSubscription>({ const res = await apiInstance<Mastodon.PushSubscription>({
method: 'post', method: 'post',

View File

@ -10,10 +10,9 @@ export const updateInstancePushAlert = createAsyncThunk(
alerts: InstanceLatest['push']['alerts'] alerts: InstanceLatest['push']['alerts']
}): Promise<InstanceLatest['push']['alerts']> => { }): Promise<InstanceLatest['push']['alerts']> => {
const formData = new FormData() const formData = new FormData()
Object.keys(alerts).map(alert => for (const [key, value] of Object.entries(alerts)) {
// @ts-ignore formData.append(`data[alerts][${key}]`, value.toString())
formData.append(`data[alerts][${alert}]`, alerts[alert].value.toString()) }
)
await apiInstance<Mastodon.PushSubscription>({ await apiInstance<Mastodon.PushSubscription>({
method: 'put', method: 'put',