From d7783430222a5c2d4195b7813cd231a18e111862 Mon Sep 17 00:00:00 2001 From: Tkng <13506491+shsw228@users.noreply.github.com> Date: Mon, 26 Aug 2024 04:26:34 +0900 Subject: [PATCH] add Tab pattern for Grok. add some translates --- CustomTabBar/BHCustomTabBarViewController.m | 4 +++- .../BHT/BHTwitter.bundle/ar.lproj/Localizable.strings | 2 ++ .../BHT/BHTwitter.bundle/en.lproj/Localizable.strings | 1 + .../BHT/BHTwitter.bundle/es.lproj/Localizable.strings | 1 + .../BHT/BHTwitter.bundle/fr.lproj/Localizable.strings | 1 + .../BHT/BHTwitter.bundle/ja.lproj/Localizable.strings | 1 + .../BHT/BHTwitter.bundle/ru.lproj/Localizable.strings | 1 + .../BHT/BHTwitter.bundle/tr.lproj/Localizable.strings | 1 + .../BHT/BHTwitter.bundle/zh-Hant.lproj/Localizable.strings | 1 + .../BHT/BHTwitter.bundle/zh_CN.lproj/Localizable.strings | 1 + 10 files changed, 13 insertions(+), 1 deletion(-) diff --git a/CustomTabBar/BHCustomTabBarViewController.m b/CustomTabBar/BHCustomTabBarViewController.m index 3c6dddb9..2a43c4a3 100644 --- a/CustomTabBar/BHCustomTabBarViewController.m +++ b/CustomTabBar/BHCustomTabBarViewController.m @@ -93,7 +93,9 @@ - (void)getData { [[BHCustomTabBarItem alloc] initWithTitle:[[BHTBundle sharedBundle] localizedStringForKey:@"CUSTOM_TAB_BAR_OPTION_3"] pageID:@"audiospace"], [[BHCustomTabBarItem alloc] initWithTitle:[[BHTBundle sharedBundle] localizedStringForKey:@"CUSTOM_TAB_BAR_OPTION_4"] pageID:@"communities"], [[BHCustomTabBarItem alloc] initWithTitle:[[BHTBundle sharedBundle] localizedStringForKey:@"CUSTOM_TAB_BAR_OPTION_5"] pageID:@"ntab"], - [[BHCustomTabBarItem alloc] initWithTitle:[[BHTBundle sharedBundle] localizedStringForKey:@"CUSTOM_TAB_BAR_OPTION_6"] pageID:@"messages"] + [[BHCustomTabBarItem alloc] initWithTitle:[[BHTBundle sharedBundle] localizedStringForKey:@"CUSTOM_TAB_BAR_OPTION_6"] pageID:@"messages"], + [[BHCustomTabBarItem alloc] initWithTitle:[[BHTBundle sharedBundle] localizedStringForKey:@"CUSTOM_TAB_BAR_OPTION_7"] pageID:@"grok"], + ]], [[BHCustomTabBarSection alloc] initWithTitle:[[BHTBundle sharedBundle] localizedStringForKey:@"CUSTOM_TAB_BAR_SECTION_2_TITLE"] items:@[]] ] mutableCopy]; diff --git a/layout/Library/Application Support/BHT/BHTwitter.bundle/ar.lproj/Localizable.strings b/layout/Library/Application Support/BHT/BHTwitter.bundle/ar.lproj/Localizable.strings index 7f3d9c84..eb6a698d 100644 --- a/layout/Library/Application Support/BHT/BHTwitter.bundle/ar.lproj/Localizable.strings +++ b/layout/Library/Application Support/BHT/BHTwitter.bundle/ar.lproj/Localizable.strings @@ -128,6 +128,8 @@ "CUSTOM_TAB_BAR_OPTION_4" = "المجتمعات"; "CUSTOM_TAB_BAR_OPTION_5" = "التنبيهات"; "CUSTOM_TAB_BAR_OPTION_6" = "الرسائل"; +"CUSTOM_TAB_BAR_OPTION_7" = "grok"; + "TWITTER_BLUE_SECTION_FOOTER_TITLE" = "قم بإغلاق التطبيق لحفظ التغييرات ."; diff --git a/layout/Library/Application Support/BHT/BHTwitter.bundle/en.lproj/Localizable.strings b/layout/Library/Application Support/BHT/BHTwitter.bundle/en.lproj/Localizable.strings index f7279902..d45c4036 100644 --- a/layout/Library/Application Support/BHT/BHTwitter.bundle/en.lproj/Localizable.strings +++ b/layout/Library/Application Support/BHT/BHTwitter.bundle/en.lproj/Localizable.strings @@ -128,6 +128,7 @@ "CUSTOM_TAB_BAR_OPTION_4" = "Communities"; "CUSTOM_TAB_BAR_OPTION_5" = "Notifications"; "CUSTOM_TAB_BAR_OPTION_6" = "Messages"; +"CUSTOM_TAB_BAR_OPTION_7" = "Grok"; "TWITTER_BLUE_SECTION_FOOTER_TITLE" = "You may need to restart Twitter app to apply changes."; diff --git a/layout/Library/Application Support/BHT/BHTwitter.bundle/es.lproj/Localizable.strings b/layout/Library/Application Support/BHT/BHTwitter.bundle/es.lproj/Localizable.strings index 083ecfc2..1e2ae7b0 100644 --- a/layout/Library/Application Support/BHT/BHTwitter.bundle/es.lproj/Localizable.strings +++ b/layout/Library/Application Support/BHT/BHTwitter.bundle/es.lproj/Localizable.strings @@ -128,6 +128,7 @@ "CUSTOM_TAB_BAR_OPTION_4" = "Comunidades"; "CUSTOM_TAB_BAR_OPTION_5" = "Notificaciones"; "CUSTOM_TAB_BAR_OPTION_6" = "Mensajes"; +"CUSTOM_TAB_BAR_OPTION_7" = "Grok"; "TWITTER_BLUE_SECTION_FOOTER_TITLE" = "Es posible que deba reiniciar la aplicación de Twitter para aplicar los cambios"; diff --git a/layout/Library/Application Support/BHT/BHTwitter.bundle/fr.lproj/Localizable.strings b/layout/Library/Application Support/BHT/BHTwitter.bundle/fr.lproj/Localizable.strings index 960bf4a1..03d10b7b 100644 --- a/layout/Library/Application Support/BHT/BHTwitter.bundle/fr.lproj/Localizable.strings +++ b/layout/Library/Application Support/BHT/BHTwitter.bundle/fr.lproj/Localizable.strings @@ -128,6 +128,7 @@ "CUSTOM_TAB_BAR_OPTION_4" = "Communautés"; "CUSTOM_TAB_BAR_OPTION_5" = "Notifications"; "CUSTOM_TAB_BAR_OPTION_6" = "Messages"; +"CUSTOM_TAB_BAR_OPTION_7" = "Grok"; "TWITTER_BLUE_SECTION_FOOTER_TITLE" = "Vous devrez peut-être redémarrer l'application Twitter pour appliquer les changements."; diff --git a/layout/Library/Application Support/BHT/BHTwitter.bundle/ja.lproj/Localizable.strings b/layout/Library/Application Support/BHT/BHTwitter.bundle/ja.lproj/Localizable.strings index d05e002b..18640b8b 100644 --- a/layout/Library/Application Support/BHT/BHTwitter.bundle/ja.lproj/Localizable.strings +++ b/layout/Library/Application Support/BHT/BHTwitter.bundle/ja.lproj/Localizable.strings @@ -128,6 +128,7 @@ "CUSTOM_TAB_BAR_OPTION_4" = "コミュニティ"; "CUSTOM_TAB_BAR_OPTION_5" = "通知"; "CUSTOM_TAB_BAR_OPTION_6" = "メッセージ"; +"CUSTOM_TAB_BAR_OPTION_7" = "Grok"; "TWITTER_BLUE_SECTION_FOOTER_TITLE" = "変更を適用させるにはアプリを再起動する必要があります。"; diff --git a/layout/Library/Application Support/BHT/BHTwitter.bundle/ru.lproj/Localizable.strings b/layout/Library/Application Support/BHT/BHTwitter.bundle/ru.lproj/Localizable.strings index 36f78f35..5efc91be 100644 --- a/layout/Library/Application Support/BHT/BHTwitter.bundle/ru.lproj/Localizable.strings +++ b/layout/Library/Application Support/BHT/BHTwitter.bundle/ru.lproj/Localizable.strings @@ -127,6 +127,7 @@ "CUSTOM_TAB_BAR_OPTION_4" = "Сообщества"; "CUSTOM_TAB_BAR_OPTION_5" = "Уведомления"; "CUSTOM_TAB_BAR_OPTION_6" = "Сообщения"; +"CUSTOM_TAB_BAR_OPTION_7" = "Grok"; "TWITTER_BLUE_SECTION_FOOTER_TITLE" = "Для вступления настроек в силу может потребоваться перезапуск приложения."; diff --git a/layout/Library/Application Support/BHT/BHTwitter.bundle/tr.lproj/Localizable.strings b/layout/Library/Application Support/BHT/BHTwitter.bundle/tr.lproj/Localizable.strings index a9bad2a4..8384e599 100644 --- a/layout/Library/Application Support/BHT/BHTwitter.bundle/tr.lproj/Localizable.strings +++ b/layout/Library/Application Support/BHT/BHTwitter.bundle/tr.lproj/Localizable.strings @@ -127,6 +127,7 @@ "CUSTOM_TAB_BAR_OPTION_4" = "Topluluklar"; "CUSTOM_TAB_BAR_OPTION_5" = "Bildirimler"; "CUSTOM_TAB_BAR_OPTION_6" = "Mesajlar"; +"CUSTOM_TAB_BAR_OPTION_7" = "Grok"; "TWITTER_BLUE_SECTION_FOOTER_TITLE" = "Değişiklikleri uygulamak için X uygulamasını yeniden başlatman gerekebilir."; diff --git a/layout/Library/Application Support/BHT/BHTwitter.bundle/zh-Hant.lproj/Localizable.strings b/layout/Library/Application Support/BHT/BHTwitter.bundle/zh-Hant.lproj/Localizable.strings index 407393b4..73820386 100644 --- a/layout/Library/Application Support/BHT/BHTwitter.bundle/zh-Hant.lproj/Localizable.strings +++ b/layout/Library/Application Support/BHT/BHTwitter.bundle/zh-Hant.lproj/Localizable.strings @@ -128,6 +128,7 @@ "CUSTOM_TAB_BAR_OPTION_4" = "社群"; "CUSTOM_TAB_BAR_OPTION_5" = "通知"; "CUSTOM_TAB_BAR_OPTION_6" = "私人訊息"; +"CUSTOM_TAB_BAR_OPTION_7" = "Grok"; "TWITTER_BLUE_SECTION_FOOTER_TITLE" = "必須重啟 Twitter 才能套用變更"; diff --git a/layout/Library/Application Support/BHT/BHTwitter.bundle/zh_CN.lproj/Localizable.strings b/layout/Library/Application Support/BHT/BHTwitter.bundle/zh_CN.lproj/Localizable.strings index 79165069..c11de6fc 100644 --- a/layout/Library/Application Support/BHT/BHTwitter.bundle/zh_CN.lproj/Localizable.strings +++ b/layout/Library/Application Support/BHT/BHTwitter.bundle/zh_CN.lproj/Localizable.strings @@ -127,6 +127,7 @@ "CUSTOM_TAB_BAR_OPTION_4" = "社群"; "CUSTOM_TAB_BAR_OPTION_5" = "通知"; "CUSTOM_TAB_BAR_OPTION_6" = "私信"; +"CUSTOM_TAB_BAR_OPTION_7" = "Grok"; "TWITTER_BLUE_SECTION_FOOTER_TITLE" = "须重启 Twitter 生效;";