Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: missing Japanese translation #2243

Merged
merged 2 commits into from
Sep 28, 2023

Conversation

atsss
Copy link
Contributor

@atsss atsss commented Sep 27, 2023

🎯 Goal

  • To remove the following warning
 WARN  Streami18n: Missing translation for key: 3 Replies 
    at ThreadFooterComponentWithContext (http://localhost:8081/index.bundle//&platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=com.cookwithmoment.ios:253771:24)
    at ThreadFooterComponent (http://localhost:8081/index.bundle//&platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=com.cookwithmoment.ios:253856:71)
    at RCTView
    at View (http://localhost:8081/index.bundle//&platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=com.cookwithmoment.ios:48920:43)
    at RCTView
    at View (http://localhost:8081/index.bundle//&platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=com.cookwithmoment.ios:48920:43)
    at VirtualizedListCellContextProvider (http://localhost:8081/index.bundle//&platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=com.cookwithmoment.ios:58851:24)
    at RCTScrollContentView
    at RCTScrollView
    at ScrollView (http://localhost:8081/index.bundle//&platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=com.cookwithmoment.ios:50324:36)
    at ScrollView
    at VirtualizedListContextProvider (http://localhost:8081/index.bundle//&platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=com.cookwithmoment.ios:58833:25)
    at VirtualizedList (http://localhost:8081/index.bundle//&platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=com.cookwithmoment.ios:56655:36)
    at FlatList (http://localhost:8081/index.bundle//&platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=com.cookwithmoment.ios:56313:36)
    at RCTView
    at View (http://localhost:8081/index.bundle//&platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=com.cookwithmoment.ios:48920:43)
    at MessageListWithContext (http://localhost:8081/index.bundle//&platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=com.cookwithmoment.ios:243471:37)
    at MessageList (http://localhost:8081/index.bundle//&platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=com.cookwithmoment.ios:244082:89)
    at ThreadWithContext (http://localhost:8081/index.bundle//&platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=com.cookwithmoment.ios:253652:44)
    at Thread (http://localhost:8081/index.bundle//&platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=com.cookwithmoment.ios:253704:59)
    at RCTView
    at View (http://localhost:8081/index.bundle//&platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=com.cookwithmoment.ios:48920:43)
    at RCTView
    at View (http://localhost:8081/index.bundle//&platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=com.cookwithmoment.ios:48920:43)
    at MessageInputProvider (http://localhost:8081/index.bundle//&platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=com.cookwithmoment.ios:161852:24)
    at SuggestionsProvider (http://localhost:8081/index.bundle//&platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=com.cookwithmoment.ios:231213:24)
    at ThreadProvider (http://localhost:8081/index.bundle//&platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=com.cookwithmoment.ios:182310:24)
    at MessagesProvider (http://localhost:8081/index.bundle//&platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=com.cookwithmoment.ios:124942:24)
    at PaginatedMessageListProvider (http://localhost:8081/index.bundle//&platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=com.cookwithmoment.ios:182507:24)
    at TypingProvider (http://localhost:8081/index.bundle//&platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=com.cookwithmoment.ios:231291:24)
    at OwnCapabilitiesProvider (http://localhost:8081/index.bundle//&platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=com.cookwithmoment.ios:182274:24)
    at ChannelProvider (http://localhost:8081/index.bundle//&platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=com.cookwithmoment.ios:161332:24)
    at RCTView
    at View (http://localhost:8081/index.bundle//&platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=com.cookwithmoment.ios:48920:43)
    at KeyboardProvider (http://localhost:8081/index.bundle//&platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=com.cookwithmoment.ios:161466:24)
    at KeyboardCompatibleView (http://localhost:8081/index.bundle//&platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=com.cookwithmoment.ios:238158:36)
    at ChannelWithContext (http://localhost:8081/index.bundle//&platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=com.cookwithmoment.ios:232812:52)
    at Channel (http://localhost:8081/index.bundle//&platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=com.cookwithmoment.ios:234324:59)
    at ActiveChannelsProvider (http://localhost:8081/index.bundle//&platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=com.cookwithmoment.ios:235152:24)
    at ChannelsStateProvider (http://localhost:8081/index.bundle//&platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=com.cookwithmoment.ios:235072:24)
    at ThemeProvider (http://localhost:8081/index.bundle//&platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=com.cookwithmoment.ios:106605:25)
    at TranslationProvider (http://localhost:8081/index.bundle//&platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=com.cookwithmoment.ios:182370:24)
    at ChatProvider (http://localhost:8081/index.bundle//&platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=com.cookwithmoment.ios:124897:24)
    at ChatWithContext (http://localhost:8081/index.bundle//&platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=com.cookwithmoment.ios:247990:25)
    at Chat (http://localhost:8081/index.bundle//&platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=com.cookwithmoment.ios:248073:68)
    at RCTSafeAreaView
    at Index (http://localhost:8081/src/screens/threads/Index.bundle//&platform=ios&modulesOnly=true&app=com.cookwithmoment.ios&dev=true&minify=false&runModule=true&shallow=true:25:45)
    at StaticContainer (http://localhost:8081/index.bundle//&platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=com.cookwithmoment.ios:262358:17)
    at EnsureSingleNavigator (http://localhost:8081/index.bundle//&platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=com.cookwithmoment.ios:259465:24)
    at SceneView (http://localhost:8081/index.bundle//&platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=com.cookwithmoment.ios:262269:22)
    at RCTView
    at View (http://localhost:8081/index.bundle//&platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=com.cookwithmoment.ios:48920:43)
    at RCTView
    at View (http://localhost:8081/index.bundle//&platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=com.cookwithmoment.ios:48920:43)
    at RCTView
    at View (http://localhost:8081/index.bundle//&platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=com.cookwithmoment.ios:48920:43)
    at CardSheet (http://localhost:8081/index.bundle//&platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=com.cookwithmoment.ios:367027:23)
    at RCTView
    at View (http://localhost:8081/index.bundle//&platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=com.cookwithmoment.ios:48920:43)
    at AnimatedComponent (http://localhost:8081/index.bundle//&platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=com.cookwithmoment.ios:54075:38)
    at AnimatedComponentWrapper
    at PanGestureHandler (http://localhost:8081/index.bundle//&platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=com.cookwithmoment.ios:203962:38)
    at PanGestureHandler (http://localhost:8081/index.bundle//&platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=com.cookwithmoment.ios:363522:34)
    at RCTView
    at View (http://localhost:8081/index.bundle//&platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=com.cookwithmoment.ios:48920:43)
    at AnimatedComponent (http://localhost:8081/index.bundle//&platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=com.cookwithmoment.ios:54075:38)
    at AnimatedComponentWrapper
    at RCTView
    at View (http://localhost:8081/index.bundle//&platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=com.cookwithmoment.ios:48920:43)
    at Card (http://localhost:8081/index.bundle//&platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=com.cookwithmoment.ios:366531:36)
    at CardContainer (http://localhost:8081/index.bundle//&platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=com.cookwithmoment.ios:367078:34)
    at RNSScreen
    at AnimatedComponent (http://localhost:8081/index.bundle//&platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=com.cookwithmoment.ios:54075:38)
    at AnimatedComponentWrapper
    at Suspender (http://localhost:8081/index.bundle//&platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=com.cookwithmoment.ios:366406:22)
    at Suspense
    at Freeze (http://localhost:8081/index.bundle//&platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=com.cookwithmoment.ios:366425:23)
    at DelayedFreeze (http://localhost:8081/index.bundle//&platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=com.cookwithmoment.ios:366121:22)
    at InnerScreen (http://localhost:8081/index.bundle//&platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=com.cookwithmoment.ios:366161:36)
    at Screen (http://localhost:8081/index.bundle//&platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=com.cookwithmoment.ios:366340:36)
    at MaybeScreen (http://localhost:8081/index.bundle//&platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=com.cookwithmoment.ios:366015:24)
    at RNSScreenContainer
    at ScreenContainer (http://localhost:8081/index.bundle//&platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=com.cookwithmoment.ios:366265:31)
    at MaybeScreenContainer (http://localhost:8081/index.bundle//&platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=com.cookwithmoment.ios:366004:23)
    at RCTView
    at View (http://localhost:8081/index.bundle//&platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=com.cookwithmoment.ios:48920:43)
    at Background (http://localhost:8081/index.bundle//&platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=com.cookwithmoment.ios:362407:21)
    at CardStack (http://localhost:8081/index.bundle//&platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=com.cookwithmoment.ios:364026:36)
    at RCTView
    at View (http://localhost:8081/index.bundle//&platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=com.cookwithmoment.ios:48920:43)
    at SafeAreaProviderCompat (http://localhost:8081/index.bundle//&platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=com.cookwithmoment.ios:363347:25)
    at RCTView
    at View (http://localhost:8081/index.bundle//&platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=com.cookwithmoment.ios:48920:43)
    at GestureHandlerRootView
    at StackView (http://localhost:8081/index.bundle//&platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=com.cookwithmoment.ios:361909:36)
    at anonymous (http://localhost:8081/index.bundle//&platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=com.cookwithmoment.ios:262101:24)
    at StackNavigator (http://localhost:8081/index.bundle//&platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=com.cookwithmoment.ios:361794:18)
    at Navigator (http://localhost:8081/src/Navigator.bundle//&platform=ios&modulesOnly=true&app=com.cookwithmoment.ios&dev=true&minify=false&runModule=true&shallow=true:55:29)
    at WaitingForChatbotResponseProvider (http://localhost:8081/src/contexts/WaitingForChatbotResponseContext.bundle//&platform=ios&modulesOnly=true&app=com.cookwithmoment.ios&dev=true&minify=false&runModule=true&shallow=true:34:24)
    at MultimediaMessageProvider (http://localhost:8081/index.bundle//&platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=com.cookwithmoment.ios:358019:24)
    at MarkUnreadCountProvider (http://localhost:8081/index.bundle//&platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=com.cookwithmoment.ios:353768:24)
    at ImageGalleryProvider (http://localhost:8081/index.bundle//&platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=com.cookwithmoment.ios:159459:24)
    at AttachmentPickerProvider (http://localhost:8081/index.bundle//&platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=com.cookwithmoment.ios:161240:24)
    at MessageOverlayProvider (http://localhost:8081/index.bundle//&platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=com.cookwithmoment.ios:182416:24)
    at TranslationProvider (http://localhost:8081/index.bundle//&platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=com.cookwithmoment.ios:182370:24)
    at OverlayProvider (http://localhost:8081/index.bundle//&platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=com.cookwithmoment.ios:182573:56)
    at RCTView
    at View (http://localhost:8081/index.bundle//&platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=com.cookwithmoment.ios:48920:43)
    at GestureHandlerRootView
    at VideoControlProvider (http://localhost:8081/index.bundle//&platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=com.cookwithmoment.ios:352532:24)
    at StreamChatContextProvider (http://localhost:8081/index.bundle//&platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=com.cookwithmoment.ios:358073:24)
    at SWRConfig$1 (http://localhost:8081/index.bundle//&platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=com.cookwithmoment.ios:305755:22)
    at $29383e587d62412a$export$9f8ac96af4b1b2ae (http://localhost:8081/index.bundle//&platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=com.cookwithmoment.ios:285562:38)
    at ToastProvider (http://localhost:8081/index.bundle//&platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=com.cookwithmoment.ios:296775:25)
    at PortalProvider (http://localhost:8081/index.bundle//&platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=com.cookwithmoment.ios:293783:50)
    at HybridProvider (http://localhost:8081/index.bundle//&platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=com.cookwithmoment.ios:303571:24)
    at ResponsiveQueryProvider (http://localhost:8081/index.bundle//&platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=com.cookwithmoment.ios:272563:14)
    at RNCSafeAreaProvider
    at SafeAreaProvider (http://localhost:8081/index.bundle//&platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=com.cookwithmoment.ios:263755:24)
    at NativeBaseConfigProviderProvider (http://localhost:8081/index.bundle//&platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=com.cookwithmoment.ios:266223:27)
    at NativeBaseProvider (http://localhost:8081/index.bundle//&platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=com.cookwithmoment.ios:303503:33)
    at EnsureSingleNavigator (http://localhost:8081/index.bundle//&platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=com.cookwithmoment.ios:259465:24)
    at BaseNavigationContainer (http://localhost:8081/index.bundle//&platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=com.cookwithmoment.ios:258092:28)
    at ThemeProvider (http://localhost:8081/index.bundle//&platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=com.cookwithmoment.ios:263172:21)
    at NavigationContainerInner (http://localhost:8081/index.bundle//&platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=com.cookwithmoment.ios:263064:26)
    at Providers (http://localhost:8081/index.bundle//&platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=com.cookwithmoment.ios:257491:55)
    at RNCSafeAreaProvider
    at SafeAreaProvider (http://localhost:8081/index.bundle//&platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=com.cookwithmoment.ios:263755:24)
    at App (http://localhost:8081/index.bundle//&platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=com.cookwithmoment.ios:257578:60)
    at ReactNativeProfiler (http://localhost:8081/index.bundle//&platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=com.cookwithmoment.ios:319770:36)
    at RCTView
    at View (http://localhost:8081/index.bundle//&platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=com.cookwithmoment.ios:48920:43)
    at __Sentry.TouchEventBoundary (http://localhost:8081/index.bundle//&platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=com.cookwithmoment.ios:332514:36)
    at RootApp
    at withDevTools(RootApp) (http://localhost:8081/index.bundle//&platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=com.cookwithmoment.ios:103685:27)
    at RCTView
    at View (http://localhost:8081/index.bundle//&platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=com.cookwithmoment.ios:48920:43)
    at RCTView
    at View (http://localhost:8081/index.bundle//&platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=com.cookwithmoment.ios:48920:43)
    at AppContainer (http://localhost:8081/index.bundle//&platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=com.cookwithmoment.ios:48797:36)
    at main(RootComponent) (http://localhost:8081/index.bundle//&platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=com.cookwithmoment.ios:85902:28)

🛠 Implementation details

  • Add the missing Japanese translation

🎨 UI Changes

iOS
Before After
iPhone_13 iPhone_13
Android
Before After
moment_–_AndroidManifest_xml__moment_expo-media-library_main_ moment_–_AndroidManifest_xml__moment_expo-media-library_main_

🧪 Testing

☑️ Checklist

  • I have signed the Stream CLA (required)
  • PR targets the develop branch
  • Documentation is updated
  • New code is tested in main example apps, including all possible scenarios
    • SampleApp iOS and Android
    • Expo iOS and Android

@@ -52,7 +52,7 @@
"You": "あなた",
"{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "{{ firstUser }}と{{ nonSelfUserLength }}人がタイピングしています",
"{{ index }} of {{ photoLength }}": "{{ index }} / {{ photoLength }}",
"{{ replyCount }} Thread Replies": "{{ replyCount }}件のスレード返信",
"{{ replyCount }} Thread Replies": "{{ replyCount }}件のスレッド返信",
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is incorrect Japanese. I also corrected it while I was fixing the warning.

@atsss atsss changed the title Fix Japanese i18n Fix: missing Japanese translation Sep 28, 2023
@vishalnarkhede vishalnarkhede merged commit ed2754f into GetStream:develop Sep 28, 2023
3 of 4 checks passed
@atsss atsss deleted the atsss/fix-japanese-i18n branch September 28, 2023 21:13
@github-actions github-actions bot mentioned this pull request Oct 3, 2023
6 tasks
vishalnarkhede added a commit that referenced this pull request Oct 3, 2023
* fix: long message content overflowing issue in overlay (#2244)

* fix: missing Japanese translation (#2243)

* Correct Japanese translation for thread

* Add missing Japanese translation for thread

* fix: url param serialisation issue on iOS 17 (#2246)

---------

Co-authored-by: atsss <atsushi0623itoh@gmail.com>
@stream-ci-bot
Copy link
Contributor

🎉 This PR is included in version 5.18.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants