diff --git a/Bark/en.lproj/Localizable.strings b/Bark/en.lproj/Localizable.strings index 862cc81..16cb345 100644 --- a/Bark/en.lproj/Localizable.strings +++ b/Bark/en.lproj/Localizable.strings @@ -142,6 +142,7 @@ encryptionNotice = "Uses a custom key to encrypt and decrypt the push content wh faqUrl = "https://bark.day.app/#/en-us/faq"; docUrl = "https://bark.day.app/#/en-us/?id=bark"; encryptionUrl = "https://bark.day.app/#/en-us/encryption"; +deployUrl = "https://bark.day.app/#/en-us/deploy"; documentation = "Documentation"; ivComment = "IV can be randomly generated, but if it is random, it needs to be passed in the iv parameter."; opensslEncodingComment = "openssl requires Hex encoding of manual keys and IVs, not ASCII encoding."; diff --git a/Bark/tr.lproj/Localizable.strings b/Bark/tr.lproj/Localizable.strings index d706651..87be5e1 100644 --- a/Bark/tr.lproj/Localizable.strings +++ b/Bark/tr.lproj/Localizable.strings @@ -139,9 +139,10 @@ preview = "Önizleme"; pushNotificationEncryption = "Anlık Bildirim Şifreleme"; encryptionNotice = "Gönderirken ve alırken push içeriğini şifrelemek ve şifresini çözmek için özel bir anahtar kullanır. Bu sayede push içeriği iletim sırasında Bark sunucusu ve Apple APNs sunucusu tarafından elde edilemez veya sızdırılamaz."; -faqUrl = "https://bark.day.app/#/en-us/faq"; -docUrl = "https://bark.day.app/#/en-us/?id=bark"; -encryptionUrl = "https://bark.day.app/#/en-us/encryption"; +faqUrl = "https://bark.day.app/#/tr/faq"; +docUrl = "https://bark.day.app/#/tr/?id=bark"; +encryptionUrl = "https://bark.day.app/#/tr/encryption"; +deployUrl = "https://bark.day.app/#/tr/deploy"; documentation = "Dokümantasyon"; ivComment = "IV rastgele oluşturulabilir, ancak rastgele ise iv parametresinde belirtilmesi gerekir."; opensslEncodingComment = "openssl, manuel anahtarların ve IV'lerin ASCII kodlamasını değil, Hex kodlamasını gerektirir."; diff --git a/Bark/zh-Hans.lproj/Localizable.strings b/Bark/zh-Hans.lproj/Localizable.strings index b3a5570..99dda0c 100644 --- a/Bark/zh-Hans.lproj/Localizable.strings +++ b/Bark/zh-Hans.lproj/Localizable.strings @@ -145,6 +145,7 @@ encryptionNotice = "在发送和接收推送时,对推送内容进行加密和 faqUrl = "https://bark.day.app/#/faq"; docUrl = "https://bark.day.app/#/?id=bark"; encryptionUrl = "https://bark.day.app/#/encryption"; +deployUrl = "https://bark.day.app/#/deploy"; documentation = "使用文档"; ivComment = "IV可以是随机生成的,但如果是随机的就需要放在 iv 参数里传递。"; opensslEncodingComment = "OpenSSL 要求输入的 Key 和 IV 需使用十六进制编码。"; diff --git a/Controller/NewServerViewModel.swift b/Controller/NewServerViewModel.swift index 7bffa58..8e5ff13 100644 --- a/Controller/NewServerViewModel.swift +++ b/Controller/NewServerViewModel.swift @@ -38,7 +38,7 @@ class NewServerViewModel: ViewModel, ViewModelType { let showSnackbar = PublishRelay() let notice = input.noticeClick - .map { URL(string: "https://day.app/2018/06/bark-server-document/")! } + .map { URL(string: NSLocalizedString("deployUrl"))! } .asDriver() input.viewDidAppear