Skip to content

Commit

Permalink
修改部署文档地址
Browse files Browse the repository at this point in the history
  • Loading branch information
Finb committed Aug 23, 2023
1 parent f8caf77 commit 1b36372
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
1 change: 1 addition & 0 deletions Bark/en.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -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.";
Expand Down
7 changes: 4 additions & 3 deletions Bark/tr.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -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.";
Expand Down
1 change: 1 addition & 0 deletions Bark/zh-Hans.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -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 需使用十六进制编码。";
Expand Down
2 changes: 1 addition & 1 deletion Controller/NewServerViewModel.swift
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class NewServerViewModel: ViewModel, ViewModelType {
let showSnackbar = PublishRelay<String>()

let notice = input.noticeClick
.map { URL(string: "https://day.app/2018/06/bark-server-document/")! }
.map { URL(string: NSLocalizedString("deployUrl"))! }
.asDriver()

input.viewDidAppear
Expand Down

0 comments on commit 1b36372

Please sign in to comment.