Account context menu link to web based privacy settings

This commit is contained in:
Thomas Ricouard 2023-08-29 08:58:07 +02:00
parent 1901777eb0
commit 113b28db18
21 changed files with 38 additions and 11 deletions

View File

@ -3,10 +3,10 @@
{
"identity" : "bodega",
"kind" : "remoteSourceControl",
"location" : "https://github.com/mergesort/Bodega.git",
"location" : "https://github.com/mergesort/Bodega",
"state" : {
"revision" : "3e7c1c58ad9a46aa8551cebfe87770003cdaaaca",
"version" : "2.0.2"
"revision" : "f0554077c178088ba11557bbdbb71775cc6a1b84",
"version" : "2.1.0"
}
},
{
@ -41,8 +41,8 @@
"kind" : "remoteSourceControl",
"location" : "https://github.com/kean/Nuke",
"state" : {
"revision" : "c3864b8882bc69f5edfe5c70e18786c91d228b28",
"version" : "12.1.3"
"revision" : "3f666f120b63ea7de57d42e9a7c9b47f8e7a290b",
"version" : "12.1.6"
}
},
{
@ -50,8 +50,8 @@
"kind" : "remoteSourceControl",
"location" : "https://github.com/RevenueCat/purchases-ios.git",
"state" : {
"revision" : "8d16e02c96efbcf58eaf7eef2e595942d935f572",
"version" : "4.25.0"
"revision" : "4601c1e0c246f3d74094229737e894a9f2339e6a",
"version" : "4.25.7"
}
},
{
@ -68,8 +68,8 @@
"kind" : "remoteSourceControl",
"location" : "https://github.com/stephencelis/SQLite.swift.git",
"state" : {
"revision" : "4d543d811ee644fa4cc4bfa0be996b4dd6ba0f54",
"version" : "0.13.3"
"revision" : "7a2e3cd27de56f6d396e84f63beefd0267b55ccb",
"version" : "0.14.1"
}
},
{
@ -86,8 +86,8 @@
"kind" : "remoteSourceControl",
"location" : "https://github.com/siteline/SwiftUI-Introspect.git",
"state" : {
"revision" : "730ab9e6cdbb3122ad88277b295c4cecd284a311",
"version" : "0.9.1"
"revision" : "9da0f9b7bffe96a7c98a0128f1e214f62728a39a",
"version" : "0.11.1"
}
},
{

View File

@ -256,6 +256,7 @@
// MARK: Package: Account
"account.action.add-remove-list" = "Дадаць/Выдаліць са спісаў";
"account.action.edit-info" = "Рэдагаваць звесткі";
"account.action.privacy-settings" = "Privacy Settings";
"account.action.mention" = "Згадванне";
"account.action.message" = "Паведамленне";
"account.action.notify-enable" = "Уключыць апавяшчэнні";

View File

@ -250,6 +250,7 @@
// MARK: Package: Account
"account.action.add-remove-list" = "Afegeix/elimina de les llistes";
"account.action.edit-info" = "Edita la informació";
"account.action.privacy-settings" = "Privacy Settings";
"account.action.mention" = "Menciona";
"account.action.message" = "Envia un missatge";
"account.action.notify-enable" = "Activa les notificacions";

View File

@ -253,6 +253,7 @@
// MARK: Package: Account
"account.action.add-remove-list" = "Hinzufügen/Entfernen von Listen";
"account.action.edit-info" = "Info bearbeiten";
"account.action.privacy-settings" = "Privacy Settings";
"account.action.mention" = "Erwähnen";
"account.action.message" = "Nachricht";
"account.action.notify-enable" = "Mitteilungen aktivieren";

View File

@ -254,6 +254,7 @@
// MARK: Package: Account
"account.action.add-remove-list" = "Add/Remove from lists";
"account.action.edit-info" = "Edit Info";
"account.action.privacy-settings" = "Privacy Settings";
"account.action.mention" = "Mention";
"account.action.message" = "Message";
"account.action.notify-enable" = "Enable Notifications";

View File

@ -252,6 +252,7 @@
// MARK: Package: Account
"account.action.add-remove-list" = "Add/Remove from lists";
"account.action.edit-info" = "Edit Info";
"account.action.privacy-settings" = "Privacy Settings";
"account.action.mention" = "Mention";
"account.action.message" = "Message";
"account.action.notify-enable" = "Enable Notifications";

View File

@ -252,6 +252,7 @@
// MARK: Package: Account
"account.action.add-remove-list" = "Añadir/Eliminar de las listas";
"account.action.edit-info" = "Editar información";
"account.action.privacy-settings" = "Privacy Settings";
"account.action.mention" = "Mencionar";
"account.action.message" = "Enviar mensaje";
"account.action.notify-enable" = "Activar notificaciones";

View File

@ -253,6 +253,7 @@
// MARK: Package: Account
"account.action.add-remove-list" = "Gehitu/Kendu zerrendatik";
"account.action.edit-info" = "Editatu informazioa";
"account.action.privacy-settings" = "Privacy Settings";
"account.action.mention" = "Aipatu";
"account.action.message" = "Bidali mezua";
"account.action.notify-enable" = "Gaitu jakinarazpenak";

View File

@ -251,6 +251,7 @@
// MARK: Package: Account
"account.action.add-remove-list" = "Ajouter/Retirer des listes";
"account.action.edit-info" = "Modifier les informations";
"account.action.privacy-settings" = "Privacy Settings";
"account.action.mention" = "Mentionner";
"account.action.message" = "Message";
"account.action.notify-enable" = "Activer les notifications";

View File

@ -252,6 +252,7 @@
// MARK: Package: Account
"account.action.add-remove-list" = "Aggiungi/Rimuovi dalla lista";
"account.action.edit-info" = "Modifica informazioni";
"account.action.privacy-settings" = "Privacy Settings";
"account.action.mention" = "Menziona";
"account.action.message" = "Messaggio";
"account.action.notify-enable" = "Abilita le notifiche";

View File

@ -251,6 +251,7 @@
// MARK: Package: Account
"account.action.add-remove-list" = "リストへの追加/削除";
"account.action.edit-info" = "プロフィールを編集";
"account.action.privacy-settings" = "Privacy Settings";
"account.action.mention" = "返信";
"account.action.message" = "メッセージ";
"account.action.notify-enable" = "通知を有効にする";

View File

@ -252,6 +252,7 @@
// MARK: Package: Account
"account.action.add-remove-list" = "리스트에서 추가/제거";
"account.action.edit-info" = "프로필 편집";
"account.action.privacy-settings" = "Privacy Settings";
"account.action.mention" = "언급";
"account.action.message" = "메시지 작성";
"account.action.notify-enable" = "새 글 알림 켜기";

View File

@ -251,6 +251,7 @@
// MARK: Package: Account
"account.action.add-remove-list" = "Legg til/fjern fra lister";
"account.action.edit-info" = "Rediger info";
"account.action.privacy-settings" = "Privacy Settings";
"account.action.mention" = "Omtale";
"account.action.message" = "Melding";
"account.action.notify-enable" = "Aktiver varsler";

View File

@ -248,6 +248,7 @@
// MARK: Package: Account
"account.action.add-remove-list" = "Aan lijsten toevoegen of verwijderen";
"account.action.edit-info" = "Bewerken";
"account.action.privacy-settings" = "Privacy Settings";
"account.action.mention" = "Vermelden";
"account.action.message" = "Bericht sturen";
"account.action.notify-enable" = "Schakel meldingen in";

View File

@ -251,6 +251,7 @@
// MARK: Package: Account
"account.action.add-remove-list" = "Dodaj/usuń z listy";
"account.action.edit-info" = "Edytuj profil";
"account.action.privacy-settings" = "Privacy Settings";
"account.action.mention" = "Wymień osobę";
"account.action.message" = "Wyślij wiadomość";
"account.action.notify-enable" = "Włącz powiadomienia";

View File

@ -251,6 +251,7 @@
// MARK: Package: Account
"account.action.add-remove-list" = "Adicionar/Remover das listas";
"account.action.edit-info" = "Editar Informação";
"account.action.privacy-settings" = "Privacy Settings";
"account.action.mention" = "Menção";
"account.action.message" = "Mensagem";
"account.action.notify-enable" = "Habilitar Notificações";

View File

@ -251,6 +251,7 @@
// MARK: Package: Account
"account.action.add-remove-list" = "Listeye Ekle/Çıkar";
"account.action.edit-info" = "Bilgiyi Düzenle";
"account.action.privacy-settings" = "Privacy Settings";
"account.action.mention" = "Bahset";
"account.action.message" = "Mesaj Gönder";
"account.action.notify-enable" = "Enable Notifications";

View File

@ -252,6 +252,7 @@
// MARK: Package: Account
"account.action.add-remove-list" = "Додати/Видалити зі списку";
"account.action.edit-info" = "Редагувати інформацію";
"account.action.privacy-settings" = "Privacy Settings";
"account.action.mention" = "Згадати";
"account.action.message" = "Повідомлення";
"account.action.notify-enable" = "Увімкнути сповіщення";

View File

@ -249,6 +249,7 @@
// MARK: Package: Account
"account.action.add-remove-list" = "从列表中添加/移除";
"account.action.edit-info" = "编辑个人资料";
"account.action.privacy-settings" = "Privacy Settings";
"account.action.mention" = "提及";
"account.action.message" = "私信";
"account.action.notify-enable" = "启用通知";

View File

@ -253,6 +253,7 @@
// MARK: Package: Account
"account.action.add-remove-list" = "從列表中新增或刪除";
"account.action.edit-info" = "編輯個人檔案";
"account.action.privacy-settings" = "Privacy Settings";
"account.action.mention" = "提及";
"account.action.message" = "私訊";
"account.action.notify-enable" = "啟用通知";

View File

@ -334,6 +334,14 @@ public struct AccountDetailView: View {
} label: {
Label("account.action.edit-info", systemImage: "pencil")
}
Button {
if let url = URL(string: "https://\(client.server)/settings/privacy") {
openURL(url)
}
} label: {
Label("account.action.privacy-settings", systemImage: "lock")
}
if currentInstance.isFiltersSupported {
Button {