Improve strings a little

This commit is contained in:
Kylmakalle 2025-02-18 22:10:51 +02:00
parent cdd2bafe40
commit 15d76b2517
2 changed files with 5 additions and 5 deletions

View File

@ -256,7 +256,7 @@ private func SGControllerEntries(presentationData: PresentationData, callListSet
entries.append(.header(id: id.count, section: .other, text: presentationData.strings.Appearance_Other.uppercased(), badge: nil))
entries.append(.toggle(id: id.count, section: .other, settingName: .swipeForVideoPIP, value: SGSimpleSettings.shared.videoPIPSwipeDirection == SGSimpleSettings.VideoPIPSwipeDirection.up.rawValue, text: i18n("Settings.swipeForVideoPIP", lang), enabled: true))
entries.append(.notice(id: id.count, section: .other, text: i18n("Settings.swipeForVideoPIP.Notice", lang)))
entries.append(.toggle(id: id.count, section: .other, settingName: .hideChannelBottomButton, value: SGSimpleSettings.shared.hideChannelBottomButton, text: i18n("Settings.hideChannelBottomButton", lang), enabled: true))
entries.append(.toggle(id: id.count, section: .other, settingName: .hideChannelBottomButton, value: !SGSimpleSettings.shared.hideChannelBottomButton, text: i18n("Settings.showChannelBottomButton", lang), enabled: true))
entries.append(.toggle(id: id.count, section: .other, settingName: .wideChannelPosts, value: SGSimpleSettings.shared.wideChannelPosts, text: i18n("Settings.wideChannelPosts", lang), enabled: true))
entries.append(.toggle(id: id.count, section: .other, settingName: .forceBuiltInMic, value: SGSimpleSettings.shared.forceBuiltInMic, text: i18n("Settings.forceBuiltInMic", lang), enabled: true))
entries.append(.notice(id: id.count, section: .other, text: i18n("Settings.forceBuiltInMic.Notice", lang)))
@ -464,7 +464,7 @@ public func sgSettingsController(context: AccountContext/*, focusOnItemTag: Int?
case .forceBuiltInMic:
SGSimpleSettings.shared.forceBuiltInMic = value
case .hideChannelBottomButton:
SGSimpleSettings.shared.hideChannelBottomButton = value
SGSimpleSettings.shared.hideChannelBottomButton = !value
case .confirmCalls:
SGSimpleSettings.shared.confirmCalls = value
case .swipeForVideoPIP:

View File

@ -118,7 +118,7 @@
"Settings.RecordingButton" = "Voice Recording Button";
"Settings.DefaultEmojisFirst" = "Prioritize standard emojis";
"Settings.DefaultEmojisFirst" = "Standard emojis first";
"Settings.DefaultEmojisFirst.Notice" = "Show standard emojis before premium in emoji keyboard";
/* Date when chat was created. "created: 24 May 2016" */
@ -132,12 +132,12 @@
"Settings.messageDoubleTapActionOutgoingEdit" = "Double-tap to edit message";
"Settings.wideChannelPosts" = "Wide posts in channels";
"Settings.ForceEmojiTab" = "Emoji keyboard by default";
"Settings.ForceEmojiTab" = "Emoji tab first";
"Settings.forceBuiltInMic" = "Force Device Microphone";
"Settings.forceBuiltInMic.Notice" = "If enabled, app will use only device microphone even if headphones are connected.";
"Settings.hideChannelBottomButton" = "Hide Channel Bottom Panel";
"Settings.showChannelBottomButton" = "Channel Bottom Panel";
"Settings.CallConfirmation" = "Call Confirmation";
"Settings.CallConfirmation.Notice" = "Swiftgram will ask for your confirmation before making a call.";