Skip to content

Commit

Permalink
Merge branch 'master' of github.com:cosmostation/cosmostation-ios
Browse files Browse the repository at this point in the history
  • Loading branch information
soaryong-c committed Jul 18, 2023
2 parents 2db469b + acbc990 commit 6b902db
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 2 deletions.
12 changes: 10 additions & 2 deletions Cosmostation/Controller/Main/MainTabViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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()
}

Expand Down Expand Up @@ -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)
Expand Down
2 changes: 2 additions & 0 deletions Cosmostation/en.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down Expand Up @@ -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";
Expand Down
2 changes: 2 additions & 0 deletions Cosmostation/ja.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -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ใƒ™ใƒผใ‚นใฎๅˆ†ๆ•ฃๅž‹ใƒ–ใƒญใƒƒใ‚ฏใƒใ‚งใƒผใƒณใƒใƒƒใƒˆใƒฏใƒผใ‚ฏใ€‚";
Expand Down Expand Up @@ -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";
Expand Down
2 changes: 2 additions & 0 deletions Cosmostation/ko.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -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๊ธฐ๋ฐ˜์˜ ๋ถ„์‚ฐํ˜• ๋ธ”๋ก์ฒด์ธ ๋„คํŠธ์›Œํฌ.";
Expand Down Expand Up @@ -805,6 +806,7 @@
"title_neutron_vote_single" = "๋‹ค์˜ค ํˆฌํ‘œ (์‹ฑ๊ธ€)";
"title_neutron_vote_multi" = "๋‹ค์˜ค ํˆฌํ‘œ (๋ฉ€ํ‹ฐ)";
"title_neutron_vote_overrule" = "๋‹ค์˜ค ํˆฌํ‘œ (์˜ค๋ฒ„๋กค)";
"title_not_support" = "์ผ๋ถ€ ์„œ๋น„์Šค ์ค‘๋‹จ ์•ˆ๋‚ด";


"proposal_type_basic" = "๊ธฐ๋ณธ";
Expand Down

0 comments on commit 6b902db

Please sign in to comment.