diff --git a/Cosmostation/Controller/Main/MainTabViewController.swift b/Cosmostation/Controller/Main/MainTabViewController.swift index a081b5bd2..0ff9b981b 100644 --- a/Cosmostation/Controller/Main/MainTabViewController.swift +++ b/Cosmostation/Controller/Main/MainTabViewController.swift @@ -376,7 +376,8 @@ class MainTabViewController: UITabBarController, UITabBarControllerDelegate, Acc } } - if (self.mChainConfig.chainType == .CERBERUS_MAIN) { + if (self.mChainConfig.chainType == .CERBERUS_MAIN || self.mChainConfig.chainType == .KONSTELLATION_MAIN || + self.mChainConfig.chainType == .KUJIRA_MAIN || self.mChainConfig.chainType == .SIF_MAIN) { showNoSupportedWarn() } @@ -1326,9 +1327,16 @@ class MainTabViewController: UITabBarController, UITabBarControllerDelegate, Acc public func showNoSupportedWarn() { DispatchQueue.main.asyncAfter(deadline: .now() + .milliseconds(500), execute: { - let alert = UIAlertController(title: NSLocalizedString("title_inactive_network", comment: ""), + let alert: UIAlertController + if (self.mChainType == .CERBERUS_MAIN) { + alert = UIAlertController(title: NSLocalizedString("title_inactive_network", comment: ""), message: NSLocalizedString("msg_no_supported_chain", comment: ""), preferredStyle: .alert) + } else { + alert = UIAlertController(title: NSLocalizedString("title_not_support", comment: ""), + message: NSLocalizedString("msg_not_support", comment: ""), + preferredStyle: .alert) + } alert.overrideUserInterfaceStyle = BaseData.instance.getThemeType() alert.addAction(UIAlertAction(title: NSLocalizedString("confirm", comment: ""), style: .default, handler: nil)) self.present(alert, animated: true, completion: nil) diff --git a/Cosmostation/en.lproj/Localizable.strings b/Cosmostation/en.lproj/Localizable.strings index 7b6fb8bbd..ec0f84a19 100644 --- a/Cosmostation/en.lproj/Localizable.strings +++ b/Cosmostation/en.lproj/Localizable.strings @@ -289,6 +289,7 @@ "msg_okc_deprecated_msg" = "You selected deprecated path wallet.\nFor your convenience, highly recommend using current official address type.\n\n(You can add a wallet with default Address type in [Setting] > [Manage Mnemonic / Add Wallet])"; "msg_no_supported_chain" = "This network is no longer operational.\n\nNote that Cosmostation Wallet is showing archived data only."; "msg_search_chain" = "Search by Chain or Token"; +"msg_not_support" = "\nThe address you are currently using will no longer be available.\n\nIf you wish to continue using your current wallet, we kindly recommend reviewing the wallet platforms recommended by the foundation."; "guide_msg_cosmos" = "Decentralized network of blockchains \npowered by Tendermint BFT and ABCI"; @@ -805,6 +806,7 @@ "title_neutron_vote_single" = "Dao Vote (Single)"; "title_neutron_vote_multi" = "Dao Vote (Multi)"; "title_neutron_vote_overrule" = "Dao Vote (Overrule)"; +"title_not_support" = "Partial Service Termination Notice"; "proposal_type_basic" = "Basic"; diff --git a/Cosmostation/ja.lproj/Localizable.strings b/Cosmostation/ja.lproj/Localizable.strings index 299714057..c9a4e309f 100644 --- a/Cosmostation/ja.lproj/Localizable.strings +++ b/Cosmostation/ja.lproj/Localizable.strings @@ -289,6 +289,7 @@ "msg_okc_deprecated_msg" = "そのアドレスはチェーンでそれ以上サポートしません。\n円滑な使用のために公式アドレスを生成して資産を異伝することを強くお勧めします。\n(設定>ウォレット追加メニューから公式アドレスを追加できます。)"; "msg_no_supported_chain" = "このネットワークはもう機能しません。\n\nCosmostationウォレットはアーカイブされたデータのみを表示していますのでご注意ください。"; "msg_search_chain" = "チェーンやトークンを検索してください。"; +"msg_not_support" = "\n現在接続しているアドレスはまもなくサポートが終了する予定です。\n\n現在のウォレットを使い続けるには、当財団が推奨するウォレットプラットフォームをご検討ください。"; "guide_msg_cosmos" = "Tendermint BFTとABCIベースの分散型ブロックチェーンネットワーク。"; @@ -805,6 +806,7 @@ "title_neutron_vote_single" = "Dao Vote (Single)"; "title_neutron_vote_multi" = "Dao Vote (Multi)"; "title_neutron_vote_overrule" = "Dao Vote (Overrule)"; +"title_not_support" = "一部のサービス中断のご案内です"; "proposal_type_basic" = "Basic"; diff --git a/Cosmostation/ko.lproj/Localizable.strings b/Cosmostation/ko.lproj/Localizable.strings index 0b4390437..019a35a6c 100644 --- a/Cosmostation/ko.lproj/Localizable.strings +++ b/Cosmostation/ko.lproj/Localizable.strings @@ -289,6 +289,7 @@ "msg_okc_deprecated_msg" = "해당 주소는 체인에서 더 이상 추가 지원을 하지 않습니다.\n원활한 사용을 위해 공식 주소를 생성하여 자산을 이전하는 것을 강력히 권장합니다.\n\n(설정>지갑 추가 메뉴를 통해 공식 주소를 추가할 수 있습니다.)"; "msg_no_supported_chain" = "이 네트워크는 더 이상 작동하지 않습니다.\n\n코스모스테이션 월렛은 보관된 데이터만 보여드리고 있으니 참고하세요."; "msg_search_chain" = "체인이나 토큰을 검색하세요"; +"msg_not_support" = "\n현재 접속하신 주소는 지원종료 될 예정입니다.\n\n현재 지갑을 계속 사용하시려면 재단에서 권장하는 지갑 플랫폼을 검토해 보시기 바랍니다."; "guide_msg_cosmos" = "Tendermint BFT와 ABCI \n기반의 분산형 블록체인 네트워크."; @@ -805,6 +806,7 @@ "title_neutron_vote_single" = "다오 투표 (싱글)"; "title_neutron_vote_multi" = "다오 투표 (멀티)"; "title_neutron_vote_overrule" = "다오 투표 (오버롤)"; +"title_not_support" = "일부 서비스 중단 안내"; "proposal_type_basic" = "기본";