From ea9e335a36010e112b674de6aadad2946921f3bd Mon Sep 17 00:00:00 2001 From: True Zhuanjia Date: Thu, 25 Jul 2024 21:57:31 +0800 Subject: [PATCH] refactor Cancel button in osc layout tool to Exit button --- Limelight/Base.lproj/iPad.storyboard | 6 ++-- Limelight/Base.lproj/iPhone.storyboard | 4 +-- .../OSCProfilesTableViewController.m | 2 +- Limelight/mul.lproj/iPad.xcstrings | 16 +++++----- Limelight/mul.lproj/iPhone.xcstrings | 30 +++++++++++++++++++ 5 files changed, 44 insertions(+), 14 deletions(-) diff --git a/Limelight/Base.lproj/iPad.storyboard b/Limelight/Base.lproj/iPad.storyboard index 11fae8b5..26cdb543 100644 --- a/Limelight/Base.lproj/iPad.storyboard +++ b/Limelight/Base.lproj/iPad.storyboard @@ -798,9 +798,9 @@ ICAgICAgICAgICAgICA - + - + @@ -852,7 +852,7 @@ ICAgICAgICAgICAgICA - + diff --git a/Limelight/Base.lproj/iPhone.storyboard b/Limelight/Base.lproj/iPhone.storyboard index 687f4854..d8d4878b 100644 --- a/Limelight/Base.lproj/iPhone.storyboard +++ b/Limelight/Base.lproj/iPhone.storyboard @@ -796,9 +796,9 @@ ICAgICAgICAgICAgIA - + - + diff --git a/Limelight/ViewControllers/CustomOSCViewControl/OSCProfilesTableViewController.m b/Limelight/ViewControllers/CustomOSCViewControl/OSCProfilesTableViewController.m index 07e3a5db..705ddfc4 100644 --- a/Limelight/ViewControllers/CustomOSCViewControl/OSCProfilesTableViewController.m +++ b/Limelight/ViewControllers/CustomOSCViewControl/OSCProfilesTableViewController.m @@ -151,7 +151,7 @@ const double NAV_BAR_HEIGHT = 50; } -- (IBAction) cancelTapped:(id)sender { +- (IBAction) exitTapped:(id)sender { [self dismissViewControllerAnimated:YES completion:nil]; } diff --git a/Limelight/mul.lproj/iPad.xcstrings b/Limelight/mul.lproj/iPad.xcstrings index 0aad09f8..a1ace791 100644 --- a/Limelight/mul.lproj/iPad.xcstrings +++ b/Limelight/mul.lproj/iPad.xcstrings @@ -326,31 +326,31 @@ } }, "Bhn-IO-Wlt.title" : { - "comment" : "Class = \"UIBarButtonItem\"; title = \"Cancel\"; ObjectID = \"Bhn-IO-Wlt\";", + "comment" : "Class = \"UIBarButtonItem\"; title = \"Exit\"; ObjectID = \"Bhn-IO-Wlt\";", "extractionState" : "extracted_with_value", "localizations" : { "en" : { "stringUnit" : { "state" : "new", - "value" : "Cancel" + "value" : "Exit" } }, "zh-Hans" : { "stringUnit" : { - "state" : "translated", - "value" : "取消" + "state" : "needs_review", + "value" : "退出" } }, "zh-Hant" : { "stringUnit" : { - "state" : "translated", - "value" : "取消" + "state" : "needs_review", + "value" : "退出" } }, "zh-HK" : { "stringUnit" : { - "state" : "translated", - "value" : "取消" + "state" : "needs_review", + "value" : "退出" } } } diff --git a/Limelight/mul.lproj/iPhone.xcstrings b/Limelight/mul.lproj/iPhone.xcstrings index a7a4e7bf..46df8d9a 100644 --- a/Limelight/mul.lproj/iPhone.xcstrings +++ b/Limelight/mul.lproj/iPhone.xcstrings @@ -799,6 +799,36 @@ } } }, + "D9X-7p-9oc.title" : { + "comment" : "Class = \"UIBarButtonItem\"; title = \"Exit\"; ObjectID = \"D9X-7p-9oc\";", + "extractionState" : "extracted_with_value", + "localizations" : { + "en" : { + "stringUnit" : { + "state" : "new", + "value" : "Exit" + } + }, + "zh-Hans" : { + "stringUnit" : { + "state" : "needs_review", + "value" : "退出" + } + }, + "zh-Hant" : { + "stringUnit" : { + "state" : "needs_review", + "value" : "退出" + } + }, + "zh-HK" : { + "stringUnit" : { + "state" : "needs_review", + "value" : "退出" + } + } + } + }, "dLF-qJ-2nY.segmentTitles[0]" : { "comment" : "Class = \"UISegmentedControl\"; dLF-qJ-2nY.segmentTitles[0] = \"30 FPS\"; ObjectID = \"dLF-qJ-2nY\";", "extractionState" : "extracted_with_value",