From 52c2a831d937f50ec8171830ed51032f6019ca01 Mon Sep 17 00:00:00 2001 From: True Zhuanjia Date: Wed, 10 Jul 2024 02:22:25 +0800 Subject: [PATCH] update statsOverlay localization --- Limelight/Localization/Localizable.xcstrings | 23 +++++++++++++++++++ .../ViewControllers/MainFrameViewController.m | 1 + 2 files changed, 24 insertions(+) diff --git a/Limelight/Localization/Localizable.xcstrings b/Limelight/Localization/Localizable.xcstrings index 5567159a..ea61bfce 100644 --- a/Limelight/Localization/Localizable.xcstrings +++ b/Limelight/Localization/Localizable.xcstrings @@ -76,6 +76,29 @@ } } }, + "%u ms (variance: %u ms)" : { + "extractionState" : "manual", + "localizations" : { + "zh-Hans" : { + "stringUnit" : { + "state" : "translated", + "value" : "%u ms (抖动: %u ms)" + } + }, + "zh-Hant" : { + "stringUnit" : { + "state" : "translated", + "value" : "%u ms (抖动: %u ms)" + } + }, + "zh-HK" : { + "stringUnit" : { + "state" : "translated", + "value" : "%u ms (抖动: %u ms)" + } + } + } + }, "Add Host Manually" : { "extractionState" : "manual", "localizations" : { diff --git a/Limelight/ViewControllers/MainFrameViewController.m b/Limelight/ViewControllers/MainFrameViewController.m index d4e0f83e..c2f90d9a 100644 --- a/Limelight/ViewControllers/MainFrameViewController.m +++ b/Limelight/ViewControllers/MainFrameViewController.m @@ -914,6 +914,7 @@ static NSMutableSet* hostList; [settingsViewController.optimizeSettingsSelector setEnabled:!self.settingsExpandedInStreamView]; [settingsViewController.audioOnPCSelector setEnabled:!self.settingsExpandedInStreamView]; [settingsViewController.codecSelector setEnabled:!self.settingsExpandedInStreamView]; + [settingsViewController.hdrSelector setEnabled:!self.settingsExpandedInStreamView]; [settingsViewController.framePacingSelector setEnabled:!self.settingsExpandedInStreamView]; [settingsViewController.btMouseSelector setEnabled:!self.settingsExpandedInStreamView];