mastodon-ios
mastodon-ios copied to clipboard
“Translate to English” offered even for English posts
Is there an existing issue for this?
- [X] I have searched the existing issues
Current Behavior
When I open the menu for a post that is in my current interface language, I still see the translate button.
Expected Behavior
The logic here should probably match the logic on the front end: translationEnabled && signedIn && ['public', 'unlisted'].includes(status.visibility) && status.contentHtml.length > 0 && status.language !== null && intl.locale !== status.get('language');
Steps To Reproduce
- Set your device/interface language to Interface
- Find an English post
- Tap the menu button
Environment
- Device: iPhone 13 Pro
- OS: iOS 16.2 (20C65)
- Version: built off of latest `develop`
Anything else?
No response