Skip to content
This repository has been archived by the owner on Oct 18, 2022. It is now read-only.

Commit

Permalink
Add Localizable.strings, run open panel on start
Browse files Browse the repository at this point in the history
  • Loading branch information
uiryuu committed Jan 13, 2018
1 parent dbc88ef commit 6f37a09
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 0 deletions.
4 changes: 4 additions & 0 deletions iina-translation-utility.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
objects = {

/* Begin PBXBuildFile section */
8403CEAC2009896200645516 /* Localizable.strings in Resources */ = {isa = PBXBuildFile; fileRef = 8403CEAB2009896200645516 /* Localizable.strings */; };
84CC48361F9E428F00D130B7 /* XIBLoader.swift in Sources */ = {isa = PBXBuildFile; fileRef = 84CC48351F9E428F00D130B7 /* XIBLoader.swift */; };
84CC48381F9E5E5A00D130B7 /* Utils.swift in Sources */ = {isa = PBXBuildFile; fileRef = 84CC48371F9E5E5A00D130B7 /* Utils.swift */; };
84FF60861F9DBD1A001A3A93 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 84FF60851F9DBD1A001A3A93 /* AppDelegate.swift */; };
Expand All @@ -20,6 +21,7 @@
/* End PBXBuildFile section */

/* Begin PBXFileReference section */
8403CEAB2009896200645516 /* Localizable.strings */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; path = Localizable.strings; sourceTree = "<group>"; };
84CC48351F9E428F00D130B7 /* XIBLoader.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = XIBLoader.swift; sourceTree = "<group>"; };
84CC48371F9E5E5A00D130B7 /* Utils.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Utils.swift; sourceTree = "<group>"; };
84FF60821F9DBD1A001A3A93 /* IINA Translation Utility.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "IINA Translation Utility.app"; sourceTree = BUILT_PRODUCTS_DIR; };
Expand Down Expand Up @@ -69,6 +71,7 @@
84FF60871F9DBD1A001A3A93 /* Assets.xcassets */,
84FF60891F9DBD1A001A3A93 /* MainMenu.xib */,
84FF608C1F9DBD1A001A3A93 /* Info.plist */,
8403CEAB2009896200645516 /* Localizable.strings */,
84FF608D1F9DBD1A001A3A93 /* iina_translation_utility.entitlements */,
84FF60931F9DBD38001A3A93 /* MainWindowController.swift */,
84FF60941F9DBD38001A3A93 /* MainWindowController.xib */,
Expand Down Expand Up @@ -146,6 +149,7 @@
buildActionMask = 2147483647;
files = (
84FF60881F9DBD1A001A3A93 /* Assets.xcassets in Resources */,
8403CEAC2009896200645516 /* Localizable.strings in Resources */,
84FF60961F9DBD38001A3A93 /* MainWindowController.xib in Resources */,
84FF608B1F9DBD1A001A3A93 /* MainMenu.xib in Resources */,
);
Expand Down
1 change: 1 addition & 0 deletions iina-translation-utility/AppDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ class AppDelegate: NSObject, NSApplicationDelegate {

func applicationDidFinishLaunching(_ aNotification: Notification) {
window = MainWindowController()
openDocument(self)
}

func applicationWillTerminate(_ aNotification: Notification) {
Expand Down
11 changes: 11 additions & 0 deletions iina-translation-utility/Localizable.strings
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
/*
Localizable.strings
iina-translation-utility

Created by Yuze Jiang on 1/12/18.
Copyright © 2018 Collider LI. All rights reserved.
*/

"alert.title_error" = "Error";
"alert.title_info" = "Information";
"alert.title_warning" = "Warning";

0 comments on commit 6f37a09

Please sign in to comment.