This commit is contained in:
Thomas Ricouard 2023-01-27 06:57:12 +01:00
commit 0a7ef1a2fb
8 changed files with 24 additions and 10 deletions

View file

@ -2,6 +2,7 @@ import Account
import AppAccount import AppAccount
import DesignSystem import DesignSystem
import Env import Env
import Foundation
import Models import Models
import Network import Network
import SwiftUI import SwiftUI
@ -104,6 +105,12 @@ struct SettingsTabs: View {
NavigationLink(destination: ContentSettingsView()) { NavigationLink(destination: ContentSettingsView()) {
Label("settings.general.content", systemImage: "rectangle.fill.on.rectangle.fill") Label("settings.general.content", systemImage: "rectangle.fill.on.rectangle.fill")
} }
Link(destination: URL(string: UIApplication.openSettingsURLString)!) {
Label("settings.system", systemImage: "gear")
// Tint our label black, so that it matches the other NavigationLink instead of
// defaulting to highlighted like a Link
.tint(.black)
}
} }
.listRowBackground(theme.primaryBackgroundColor) .listRowBackground(theme.primaryBackgroundColor)
} }

View file

@ -111,6 +111,7 @@
"settings.other.hide-openai" = "Aktiviere 🤖 Helfer"; "settings.other.hide-openai" = "Aktiviere 🤖 Helfer";
"settings.other.social-keyboard" = "Soziale Tastatur aktivieren"; "settings.other.social-keyboard" = "Soziale Tastatur aktivieren";
"settings.general.content" = "Inhaltseinstellungen"; "settings.general.content" = "Inhaltseinstellungen";
"settings.system" = "System Settings";
"settings.content.navigation-title" = "Inhaltseinstellungen"; "settings.content.navigation-title" = "Inhaltseinstellungen";
"settings.content.use-instance-settings" = "Servereinstellungen verwenden"; "settings.content.use-instance-settings" = "Servereinstellungen verwenden";
"settings.content.main-toggle.description" = "Die Einstellungen von der Heiminstanz übernehmen"; "settings.content.main-toggle.description" = "Die Einstellungen von der Heiminstanz übernehmen";

View file

@ -87,6 +87,7 @@
"settings.push.new-posts" = "New Posts"; "settings.push.new-posts" = "New Posts";
"settings.push.polls" = "Poll Results"; "settings.push.polls" = "Poll Results";
"settings.general.content" = "Content Settings"; "settings.general.content" = "Content Settings";
"settings.system" = "System Settings";
"settings.content.navigation-title" = "Content Settings"; "settings.content.navigation-title" = "Content Settings";
"settings.content.use-instance-settings" = "Use server settings"; "settings.content.use-instance-settings" = "Use server settings";
"settings.content.main-toggle.description" = "Use the settings from your home Instance"; "settings.content.main-toggle.description" = "Use the settings from your home Instance";

View file

@ -111,6 +111,7 @@
"settings.other.hide-openai" = "Activar ayudante 🤖"; "settings.other.hide-openai" = "Activar ayudante 🤖";
"settings.other.social-keyboard" = "Activar teclado social"; "settings.other.social-keyboard" = "Activar teclado social";
"settings.general.content" = "Ajustes de contenido"; "settings.general.content" = "Ajustes de contenido";
"settings.system" = "System Settings";
"settings.content.navigation-title" = "Ajustes de contenido"; "settings.content.navigation-title" = "Ajustes de contenido";
"settings.content.use-instance-settings" = "Usar ajustes del servidor"; "settings.content.use-instance-settings" = "Usar ajustes del servidor";
"settings.content.main-toggle.description" = "Usar ajustes de tu instancia inicial"; "settings.content.main-toggle.description" = "Usar ajustes de tu instancia inicial";

View file

@ -111,6 +111,7 @@
"settings.other.hide-openai" = "Abilita l'aiuto del 🤖"; "settings.other.hide-openai" = "Abilita l'aiuto del 🤖";
"settings.other.social-keyboard" = "Abilita social keyboard"; "settings.other.social-keyboard" = "Abilita social keyboard";
"settings.general.content" = "Impostazioni dei contenuti"; "settings.general.content" = "Impostazioni dei contenuti";
"settings.system" = "System Settings";
"settings.content.navigation-title" = "Impostazioni dei contenuti"; "settings.content.navigation-title" = "Impostazioni dei contenuti";
"settings.content.use-instance-settings" = "Utilizza le impostazioni del server"; "settings.content.use-instance-settings" = "Utilizza le impostazioni del server";
"settings.content.main-toggle.description" = "Utilizza le impostazioni provenienti dalla tua istanza Mastodon"; "settings.content.main-toggle.description" = "Utilizza le impostazioni provenienti dalla tua istanza Mastodon";

View file

@ -341,6 +341,7 @@
"status.visibility.public" = "全員"; "status.visibility.public" = "全員";
"status.visibility.unlisted" = "リスト外"; "status.visibility.unlisted" = "リスト外";
"settings.general.content" = "コンテンツ設定"; "settings.general.content" = "コンテンツ設定";
"settings.system" = "System Settings";
"settings.content.navigation-title" = "コンテンツ設定"; "settings.content.navigation-title" = "コンテンツ設定";
"settings.content.use-instance-settings" = "サーバー設定を使用する"; "settings.content.use-instance-settings" = "サーバー設定を使用する";
"settings.content.main-toggle.description" = "ホームインスタンスの設定を使用する"; "settings.content.main-toggle.description" = "ホームインスタンスの設定を使用する";

View file

@ -111,6 +111,7 @@
"settings.other.hide-openai" = "Schakel 🤖-hulp in"; "settings.other.hide-openai" = "Schakel 🤖-hulp in";
"settings.other.social-keyboard" = "Schakel social-toetsenbord in"; "settings.other.social-keyboard" = "Schakel social-toetsenbord in";
"settings.general.content" = "Inhoud"; "settings.general.content" = "Inhoud";
"settings.system" = "System Settings";
"settings.content.navigation-title" = "Inhoud"; "settings.content.navigation-title" = "Inhoud";
"settings.content.use-instance-settings" = "Gebruik serverinstellingen"; "settings.content.use-instance-settings" = "Gebruik serverinstellingen";
"settings.content.main-toggle.description" = "Gebruik de instellingen van jouw thuisinstantie."; "settings.content.main-toggle.description" = "Gebruik de instellingen van jouw thuisinstantie.";

View file

@ -62,7 +62,7 @@
"settings.display.restore" = "恢复默认设置"; "settings.display.restore" = "恢复默认设置";
"settings.display.section.display" = "显示"; "settings.display.section.display" = "显示";
"settings.display.section.theme" = "主题"; "settings.display.section.theme" = "主题";
"settings.display.section.theme.footer" = "Custom colors can only be set if match system color scheme is disabled"; "settings.display.section.theme.footer" = "只有在“匹配系统”关闭时才能设置自定义颜色";
"settings.display.status.action-buttons" = "导航栏选项"; "settings.display.status.action-buttons" = "导航栏选项";
"settings.display.status.media-style" = "导航栏排列"; "settings.display.status.media-style" = "导航栏排列";
"settings.display.translate-button" = "显示翻译按钮"; "settings.display.translate-button" = "显示翻译按钮";
@ -112,6 +112,7 @@
"settings.other.social-keyboard" = "启用社交键盘"; "settings.other.social-keyboard" = "启用社交键盘";
"settings.general.content" = "内容设置"; "settings.general.content" = "内容设置";
"settings.system" = "System Settings";
"settings.content.navigation-title" = "内容设置"; "settings.content.navigation-title" = "内容设置";
"settings.content.use-instance-settings" = "使用服务器设置"; "settings.content.use-instance-settings" = "使用服务器设置";
"settings.content.main-toggle.description" = "使用你主服务器的设置"; "settings.content.main-toggle.description" = "使用你主服务器的设置";
@ -122,8 +123,8 @@
"settings.content.reading" = "阅读设置"; "settings.content.reading" = "阅读设置";
"settings.content.posting" = "发布设置"; "settings.content.posting" = "发布设置";
"settings.push.duplicate.title" = "重复推送修复器"; "settings.push.duplicate.title" = "重复推送通知修复器";
"settings.push.duplicate.footer" = "有收到重复推送?试试用这个魔法按钮去修复吧"; "settings.push.duplicate.footer" = "有收到重复推送通知?试试用这个魔法按钮去修复吧";
"settings.push.duplicate.button.fix" = "🪄 修复"; "settings.push.duplicate.button.fix" = "🪄 修复";
// MARK: Tabs // MARK: Tabs
@ -158,8 +159,8 @@
"account.action.notify-disable" = "关闭通知"; "account.action.notify-disable" = "关闭通知";
"account.action.reboosts-show" = "显示转发"; "account.action.reboosts-show" = "显示转发";
"account.action.reboosts-hide" = "隐藏转发"; "account.action.reboosts-hide" = "隐藏转发";
"account.action.block" = "拉黑"; "account.action.block" = "屏蔽";
"account.action.unblock" = "取消拉黑"; "account.action.unblock" = "取消屏蔽";
"account.action.mute" = "免打扰"; "account.action.mute" = "免打扰";
"account.action.unmute" = "取消免打扰"; "account.action.unmute" = "取消免打扰";
"account.boosted-by" = "转发"; "account.boosted-by" = "转发";
@ -202,7 +203,7 @@
// MARK: Package: Conversations // MARK: Package: Conversations
"conversations.action.delete" = "删除"; "conversations.action.delete" = "删除";
"conversations.action.mark-read" = "标记为已读"; "conversations.action.mark-read" = "标记为已读";
"conversations.empty.message" = "正在社交媒体上寻找乐趣? 你所有的私信和单独提及都在这里。 聊得开心! 📱❤️"; "conversations.empty.message" = "正在社交媒体上寻找乐趣?你所有的私信和单独提及都在这里。聊得开心!📱❤️";
"conversations.empty.title" = "收件箱为空"; "conversations.empty.title" = "收件箱为空";
"conversations.error.button" = "重试"; "conversations.error.button" = "重试";
"conversations.error.message" = "加载私信时出错"; "conversations.error.message" = "加载私信时出错";
@ -367,6 +368,6 @@
"filter.edit.action" = "过滤器行为"; "filter.edit.action" = "过滤器行为";
"account.action.edit-filters" = "编辑过滤器"; "account.action.edit-filters" = "编辑过滤器";
"enum.expand-media.show" = "Show All"; "enum.expand-media.show" = "显示所有";
"enum.expand-media.hide" = "Hide All"; "enum.expand-media.hide" = "隐藏所有";
"enum.expand-media.hide-sensitive" = "Hide Sensitive"; "enum.expand-media.hide-sensitive" = "隐藏敏感内容";