diff --git a/README.md b/README.md index 0e64ec9f..dd99cf9d 100644 --- a/README.md +++ b/README.md @@ -4,12 +4,19 @@ ![GitHub Workflow Status](https://img.shields.io/github/workflow/status/tooot-app/app/build) ![GitHub Workflow Status (branch)](https://img.shields.io/github/workflow/status/tooot-app/app/build/candidate?label=build%20candidate) ![GitHub Workflow Status (branch)](https://img.shields.io/github/workflow/status/tooot-app/app/build/release?label=build%20release) +## Contribute to translation + +Please **do not** create a pull request to update translation. tooot's translation is managed through [https://crowdin.tooot.app/](https://crowdin.tooot.app/) and Crowdin struggles to properly sync two ways. If there is a minor update and you do not want to register an account on Crowdin, please open an issue. + + ## Special thanks [@forenta](https://github.com/forenta) for German translation [@andrigamerita](https://github.com/andrigamerita) for Italian translation +[@Hikaru](https://github.com/Hikali-47041) and [@la_la](https://mstdn.jp/@la_la_la) for Japanese translation + [@hellojaccc](https://github.com/hellojaccc) for Korean translation [@luizpicolo](https://github.com/luizpicolo) for Brazilian Portuguese diff --git a/fastlane/Deliverfile b/fastlane/Deliverfile index 30cb08e4..e86817ae 100644 --- a/fastlane/Deliverfile +++ b/fastlane/Deliverfile @@ -1,4 +1,4 @@ -languages(['zh-Hans', 'vi', 'ko', 'en-US', 'de-DE']) +languages(['de-DE', 'en-US', 'it', 'ko', 'pt-BR', 'vi', 'zh-Hans']) name({ 'default' => "tooot" diff --git a/package.json b/package.json index bc4a51a2..4281b154 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "versions": { "major": 4, "minor": 3, - "patch": 0 + "patch": 1 }, "description": "tooot app for Mastodon", "author": "xmflsct ", @@ -86,6 +86,7 @@ "react-native-language-detection": "^0.1.0", "react-native-pager-view": "^5.4.25", "react-native-reanimated": "^2.9.1", + "react-native-reanimated-zoom": "^0.3.0", "react-native-safe-area-context": "^4.3.1", "react-native-screens": "^3.16.0", "react-native-share-menu": "^6.0.0", diff --git a/src/components/GracefullyImage.tsx b/src/components/GracefullyImage.tsx index 01db6c04..5afcbff6 100644 --- a/src/components/GracefullyImage.tsx +++ b/src/components/GracefullyImage.tsx @@ -67,9 +67,7 @@ const GracefullyImage = ({ const onLoad = () => { setImageLoaded(true) if (setImageDimensions && source.uri) { - Image.getSize(source.uri, (width, height) => - setImageDimensions({ width, height }) - ) + Image.getSize(source.uri, (width, height) => setImageDimensions({ width, height })) } } const onError = () => { @@ -81,22 +79,9 @@ const GracefullyImage = ({ const blurhashView = useMemo(() => { if (hidden || !imageLoaded) { if (blurhash) { - return ( - - ) + return } else { - return ( - - ) + return } } else { return null @@ -105,26 +90,17 @@ const GracefullyImage = ({ return (