Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions JoyKeyMapper.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,9 @@
475E07CC10AB2EDFD3A1DE83 /* Pods-JoyKeyMapper.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-JoyKeyMapper.release.xcconfig"; path = "Target Support Files/Pods-JoyKeyMapper/Pods-JoyKeyMapper.release.xcconfig"; sourceTree = "<group>"; };
480DB1F0DAF805C943A9656A /* Pods_JoyKeyMapper.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_JoyKeyMapper.framework; sourceTree = BUILT_PRODUCTS_DIR; };
AE0B679D3FC9AD29E57D0287 /* Pods-JoyKeyMapper.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-JoyKeyMapper.debug.xcconfig"; path = "Target Support Files/Pods-JoyKeyMapper/Pods-JoyKeyMapper.debug.xcconfig"; sourceTree = "<group>"; };
B5B7794F27FF4A3D00DF2083 /* zh-Hans */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = "zh-Hans"; path = "zh-Hans.lproj/Main.storyboard"; sourceTree = "<group>"; };
B5B7795027FF4A3D00DF2083 /* zh-Hans */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-Hans"; path = "zh-Hans.lproj/Localizable.strings"; sourceTree = "<group>"; };
B5B7795127FF4A3D00DF2083 /* zh-Hans */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = "zh-Hans"; path = "zh-Hans.lproj/Main.storyboard"; sourceTree = "<group>"; };
DD0389E72497D911009090BE /* MetaKeyState.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MetaKeyState.swift; sourceTree = "<group>"; };
DD05302D24272D7A0091B3C6 /* DataManager.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DataManager.swift; sourceTree = "<group>"; };
DD05302E24272D7A0091B3C6 /* GameController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = GameController.swift; sourceTree = "<group>"; };
Expand Down Expand Up @@ -338,6 +341,7 @@
knownRegions = (
en,
ja,
"zh-Hans",
);
mainGroup = DD0AE2D822DAB13100B68F05;
productRefGroup = DD0AE2E222DAB13100B68F05 /* Products */;
Expand Down Expand Up @@ -480,6 +484,7 @@
children = (
DD0530602427AB6B0091B3C6 /* en */,
DD0530612427AB7B0091B3C6 /* ja */,
B5B7794F27FF4A3D00DF2083 /* zh-Hans */,
);
name = Main.storyboard;
sourceTree = "<group>";
Expand All @@ -489,6 +494,7 @@
children = (
DD05305F2427AB6B0091B3C6 /* en */,
DD0530622427AB7B0091B3C6 /* ja */,
B5B7795127FF4A3D00DF2083 /* zh-Hans */,
);
name = Main.storyboard;
sourceTree = "<group>";
Expand All @@ -498,6 +504,7 @@
children = (
DDA072B2246699C500F9B80B /* en */,
DDA072B4246699CA00F9B80B /* ja */,
B5B7795027FF4A3D00DF2083 /* zh-Hans */,
);
name = Localizable.strings;
sourceTree = "<group>";
Expand Down
2 changes: 2 additions & 0 deletions JoyKeyMapper/JoyKeyMapper.entitlements
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
</array>
<key>com.apple.security.app-sandbox</key>
<true/>
<key>com.apple.security.device.bluetooth</key>
<true/>
<key>com.apple.security.device.usb</key>
<true/>
<key>com.apple.security.files.user-selected.read-only</key>
Expand Down
157 changes: 157 additions & 0 deletions JoyKeyMapper/Misc/zh-Hans.lproj/Localizable.strings
Original file line number Diff line number Diff line change
@@ -0,0 +1,157 @@
// Common
"Cancel" = "取消";
"OK" = "确定";

// AppDelegate.swift
"Enable key mappings" = "开启键盘映射";
"Disconnect" = "断开连接";
"charging" = "充电中";
"Battery" = "电池";
"No controllers connected" = "没有手柄连接";
"Could not save changes while quitting. Quit anyway?" = "还没保存设置,确定退出?";
"Quitting now will lose any changes you have made since the last successful save" = "现在退出将失去自上次成功保存以来您所做的任何更改";
"Quit anyway" = "确定退出";

// AppNotifications.swift
"Battery fully charged" = "电池充满";
"Battery level" = "电量低";
"Charge started" = "充电开始";
"Charge stopped" = "充电停止";
"Controller connected" = "手柄连接成功";
"Controller disconnected" = "手柄断开连接";

// GameController.swift
"Empty" = "空";
"Critical" = "严重";
"Low" = "低";
"Medium" = "中";
"Full" = "满电";
"Unknown" = "未知";

// ViewController.swift
"Choose an app to add" = "选择APP";
"Do you really want to delete the settings for %@?" = "Do you really want to delete the settings for %@?";

// ViewController+NSCollectionViewDelegate
"Connected" = "已连接";

// ControllerViewItem.swift
"Enable key mappings" = "开启键盘映射";
"Disconnect" = "断开连接";
"Remove" = "删除";
"Do you really want to remove the controller?" = "确定删除该手柄?";

// StickConfigCellView.swift
"Mouse" = "鼠标";
"Key" = "键盘";

// SpecialKeyName.swiift
"Section" = "Section";
"Return" = "Return";
"Tab" = "Tab";
"Space" = "Space";
"Delete" = "Delete";
"Escape" = "Escape";
"⌘" = "⌘";
"⇧" = "⇧";
"CapsLock" = "CapsLock";
"⌥" = "⌥";
"⌃" = "⌃";
"Right⇧" = "Right⇧";
"Right⌥" = "Right⌥";
"Right⌃" = "Right⌃";
"fn" = "fn";
"F1" = "F1";
"F2" = "F2";
"F3" = "F3";
"F4" = "F4";
"F5" = "F5";
"F6" = "F6";
"F7" = "F7";
"F8" = "F8";
"F9" = "F9";
"F10" = "F10";
"F11" = "F11";
"F12" = "F12";
"F13" = "F13";
"F14" = "F14";
"F15" = "F15";
"F16" = "F16";
"F17" = "F17";
"F18" = "F18";
"F19" = "F19";
"F20" = "F20";
"Keypad 0" = "Keypad 0";
"Keypad 1" = "Keypad 1";
"Keypad 2" = "Keypad 2";
"Keypad 3" = "Keypad 3";
"Keypad 4" = "Keypad 4";
"Keypad 5" = "Keypad 5";
"Keypad 6" = "Keypad 6";
"Keypad 7" = "Keypad 7";
"Keypad 8" = "Keypad 8";
"Keypad 9" = "Keypad 9";
"Keypad *" = "Keypad *";
"Keypad +" = "Keypad +";
"Keypad Clear" = "Keypad Clear";
"Keypad ," = "Keypad ,";
"Keypad Enter" = "Keypad Enter";
"Keypad -" = "Keypad -";
"Keypad /" = "Keypad /";
"Keypad =" = "Keypad =";
"Keypad Decimal" = "Keypad Decimal";
"VolumeUp" = "VolumeUp";
"VolumeDown" = "VolumeDown";
"Mute" = "Mute";
"¥" = "¥";
"_" = "_";
"Eisu" = "Eisu";
"Kana" = "Kana";
"Help" = "Help";
"Home" = "Home";
"PageUp" = "PageUp";
"PageDown" = "PageDown";
"ForwardDelete" = "ForwardDelete";
"End" = "End";
"←" = "←";
"→" = "→";
"↓" = "↓";
"↑" = "↑";

// ViewController+NSOutlineViewDelegate.swift
"Up" = "Up";
"Right" = "Right";
"Down" = "Down";
"Left" = "Left";
"A" = "A";
"B" = "B";
"X" = "X";
"Y" = "Y";
"L" = "L";
"ZL" = "ZL";
"R" = "R";
"ZR" = "ZR";
"Minus" = "Minus";
"Plus" = "Plus";
"Capture" = "Capture";
"Home" = "Home";
"LStick Push" = "LStick Push";
"RStick Push" = "RStick Push";
"Left SL" = "Left SL";
"Left SR" = "Left SR";
"Right SL" = "Right SL";
"Right SR" = "Right SR";
"Left Stick" = "Left Stick";
"Right Stick" = "Right Stick";
"Mouse Wheel" = "Mouse Wheel";
"None" = "None";
"Speed" = "Speed";

// KeyConfigViewController.swift
"%@ Button Key Config" = "%@ Button Key Config";

// Utils.swift
"none" = "none";
"Left Click" = "鼠标左键";
"Right Click" = "鼠标右键";
"Center Click" = "中间按键";
Loading