From ebec9877b0fca9e6c727dcd35e7774530518f655 Mon Sep 17 00:00:00 2001 From: TrueZhuangjia Date: Sun, 2 Mar 2025 18:02:10 +0800 Subject: [PATCH] fix some traditional Chinese localization errors --- Limelight/Base.lproj/iPad.storyboard | 6 +-- Limelight/Base.lproj/iPhone.storyboard | 40 +++++++++---------- Limelight/Localization/Localizable.xcstrings | 6 +-- .../ViewControllers/MainFrameViewController.m | 2 +- .../ViewControllers/SettingsViewController.h | 2 +- .../ViewControllers/SettingsViewController.m | 2 +- Limelight/mul.lproj/iPad.xcstrings | 24 ++++++----- Limelight/mul.lproj/iPhone.xcstrings | 22 +++++++++- 8 files changed, 64 insertions(+), 40 deletions(-) diff --git a/Limelight/Base.lproj/iPad.storyboard b/Limelight/Base.lproj/iPad.storyboard index 1f8319e6..a053cc44 100644 --- a/Limelight/Base.lproj/iPad.storyboard +++ b/Limelight/Base.lproj/iPad.storyboard @@ -414,14 +414,14 @@ ICAgICAgICAgICAgICA - + - + + + @@ -631,7 +632,6 @@ ICAgICAgICAgICAgIA - diff --git a/Limelight/Localization/Localizable.xcstrings b/Limelight/Localization/Localizable.xcstrings index 39e5d0cd..3d95b9e8 100644 --- a/Limelight/Localization/Localizable.xcstrings +++ b/Limelight/Localization/Localizable.xcstrings @@ -226,7 +226,7 @@ "zh-Hant" : { "stringUnit" : { "state" : "translated", - "value" : "灵敏度: %.2f" + "value" : "小球: 假定的触点 十字: 指示器偏离位置" } }, "zh-HK" : { @@ -1089,7 +1089,7 @@ "zh-Hant" : { "stringUnit" : { "state" : "translated", - "value" : "小球: 假定的触点 十字: 指示器偏离位置" + "value" : "指示器偏离: %.2f" } }, "zh-HK" : { @@ -2229,7 +2229,7 @@ "zh-Hant" : { "stringUnit" : { "state" : "translated", - "value" : "指示器偏离: %.2f" + "value" : "灵敏度: %.2f" } }, "zh-HK" : { diff --git a/Limelight/ViewControllers/MainFrameViewController.m b/Limelight/ViewControllers/MainFrameViewController.m index 16d47eba..f62aa517 100644 --- a/Limelight/ViewControllers/MainFrameViewController.m +++ b/Limelight/ViewControllers/MainFrameViewController.m @@ -975,7 +975,7 @@ static NSMutableSet* hostList; [settingsViewController.framePacingSelector setEnabled:!self.settingsExpandedInStreamView]; [settingsViewController.btMouseSelector setEnabled:!self.settingsExpandedInStreamView]; [settingsViewController.externalDisplayModeSelector setEnabled:!self.settingsExpandedInStreamView]; - [settingsViewController.goBackToStreamViewButton setEnabled:self.settingsExpandedInStreamView]; + [settingsViewController.backToStreamingButton setEnabled:self.settingsExpandedInStreamView]; // [settingsViewController.unlockDisplayOrientationSelector setEnabled:!self.settingsExpandedInStreamView && [self isFullScreenRequired]];//need "requires fullscreen" enabled in the app bunddle to make runtime orientation limitation woring if (position == FrontViewPositionLeft) { diff --git a/Limelight/ViewControllers/SettingsViewController.h b/Limelight/ViewControllers/SettingsViewController.h index 6ead3cae..cfad05de 100644 --- a/Limelight/ViewControllers/SettingsViewController.h +++ b/Limelight/ViewControllers/SettingsViewController.h @@ -54,7 +54,7 @@ @property (strong, nonatomic) IBOutlet UISlider *mousePointerVelocityFactorSlider; @property (strong, nonatomic) IBOutlet UILabel *mousePointerVelocityFactorUILabel; @property (strong, nonatomic) IBOutlet UISegmentedControl *unlockDisplayOrientationSelector; -@property (strong, nonatomic) IBOutlet UIButton *goBackToStreamViewButton; +@property (strong, nonatomic) IBOutlet UIButton *backToStreamingButton; @property (strong, nonatomic) LayoutOnScreenControlsViewController *layoutOnScreenControlsVC; @property (nonatomic, strong) MainFrameViewController *mainFrameViewController; diff --git a/Limelight/ViewControllers/SettingsViewController.m b/Limelight/ViewControllers/SettingsViewController.m index fa1b0695..1b464adc 100644 --- a/Limelight/ViewControllers/SettingsViewController.m +++ b/Limelight/ViewControllers/SettingsViewController.m @@ -314,7 +314,7 @@ BOOL isCustomResolution(CGSize res) { [[NSNotificationCenter defaultCenter] postNotificationName:@"SessionDisconnectedBySettingsViewNotification" object:self]; } -- (IBAction)goBackToStreamViewButtonTapped:(id)sender { +- (IBAction)backToStreamingButtonTapped:(id)sender { [self simulateSettingsButtonPress]; } diff --git a/Limelight/mul.lproj/iPad.xcstrings b/Limelight/mul.lproj/iPad.xcstrings index fad3bc76..a4f47f3f 100644 --- a/Limelight/mul.lproj/iPad.xcstrings +++ b/Limelight/mul.lproj/iPad.xcstrings @@ -103,7 +103,7 @@ }, "zh-Hans" : { "stringUnit" : { - "state" : "needs_review", + "state" : "translated", "value" : "被窗口捕获" } }, @@ -1789,7 +1789,7 @@ }, "zh-Hans" : { "stringUnit" : { - "state" : "needs_review", + "state" : "translated", "value" : "关闭" } }, @@ -2059,7 +2059,7 @@ }, "zh-Hans" : { "stringUnit" : { - "state" : "needs_review", + "state" : "translated", "value" : "屏显手柄与控件布局" } }, @@ -2408,18 +2408,18 @@ } }, "uSS-ev-IFe.configuration.title" : { - "comment" : "Class = \"UIButton\"; configuration.title = \"Go Back to Stream View\"; ObjectID = \"uSS-ev-IFe\";", + "comment" : "Class = \"UIButton\"; configuration.title = \"Back to Streaming\"; ObjectID = \"uSS-ev-IFe\";", "extractionState" : "extracted_with_value", "localizations" : { "en" : { "stringUnit" : { "state" : "new", - "value" : "Go Back to Stream View" + "value" : "Back to Streaming" } }, "zh-Hans" : { "stringUnit" : { - "state" : "translated", + "state" : "needs_review", "value" : "返回串流" } }, @@ -2431,7 +2431,7 @@ }, "zh-HK" : { "stringUnit" : { - "state" : "translated", + "state" : "needs_review", "value" : "返回串流" } } @@ -2456,7 +2456,13 @@ "zh-Hant" : { "stringUnit" : { "state" : "translated", - "value" : "关闭" + "value" : "返回串流" + } + }, + "zh-HK" : { + "stringUnit" : { + "state" : "translated", + "value" : "返回串流" } } } @@ -2823,4 +2829,4 @@ } }, "version" : "1.0" -} +} \ No newline at end of file diff --git a/Limelight/mul.lproj/iPhone.xcstrings b/Limelight/mul.lproj/iPhone.xcstrings index a234359e..c7eedcbe 100644 --- a/Limelight/mul.lproj/iPhone.xcstrings +++ b/Limelight/mul.lproj/iPhone.xcstrings @@ -10,6 +10,24 @@ "state" : "new", "value" : "Enable YUV 4:4:4 (Beta)" } + }, + "zh-Hans" : { + "stringUnit" : { + "state" : "translated", + "value" : "YUV 4:4:4 (测试功能)" + } + }, + "zh-Hant" : { + "stringUnit" : { + "state" : "translated", + "value" : "YUV 4:4:4 (测试功能)" + } + }, + "zh-HK" : { + "stringUnit" : { + "state" : "translated", + "value" : "YUV 4:4:4 (测试功能)" + } } } }, @@ -1064,13 +1082,13 @@ } }, "FqF-bM-afQ.configuration.title" : { - "comment" : "Class = \"UIButton\"; configuration.title = \"Go Back to Stream View\"; ObjectID = \"FqF-bM-afQ\";", + "comment" : "Class = \"UIButton\"; configuration.title = \"Back to Streaming\"; ObjectID = \"FqF-bM-afQ\";", "extractionState" : "extracted_with_value", "localizations" : { "en" : { "stringUnit" : { "state" : "new", - "value" : "Go Back to Stream View" + "value" : "Back to Streaming" } }, "zh-Hans" : {