diff --git a/YPaste.xcodeproj/project.pbxproj b/YPaste.xcodeproj/project.pbxproj index 965c5c1..fd5b853 100644 --- a/YPaste.xcodeproj/project.pbxproj +++ b/YPaste.xcodeproj/project.pbxproj @@ -21,6 +21,7 @@ 67136E302359E04F00EFB448 /* Preferences.xib in Resources */ = {isa = PBXBuildFile; fileRef = 67136E322359E04F00EFB448 /* Preferences.xib */; }; 67446E7A235F3EAE0050AB96 /* HotkeyHandler.swift in Sources */ = {isa = PBXBuildFile; fileRef = 67446E79235F3EAE0050AB96 /* HotkeyHandler.swift */; }; 67784476235F376800970786 /* PasteboardHandler.swift in Sources */ = {isa = PBXBuildFile; fileRef = 67784475235F376800970786 /* PasteboardHandler.swift */; }; + 678C62AF23680DB10036A81A /* Localizable.strings in Resources */ = {isa = PBXBuildFile; fileRef = 678C62B123680DB10036A81A /* Localizable.strings */; }; 67904080235D8C1D00B0C74E /* PasteItemsController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6790407F235D8C1D00B0C74E /* PasteItemsController.swift */; }; 67C3262C2359D86300248CDE /* PreferencesWindowController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 67C3262B2359D86300248CDE /* PreferencesWindowController.swift */; }; 67C640E2235DE41D00649FD3 /* ScrollView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 67C640E1235DE41D00649FD3 /* ScrollView.swift */; }; @@ -61,6 +62,7 @@ 67136E372359E66C00EFB448 /* zh-Hans */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-Hans"; path = "zh-Hans.lproj/Preferences.strings"; sourceTree = ""; }; 67446E79235F3EAE0050AB96 /* HotkeyHandler.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = HotkeyHandler.swift; sourceTree = ""; }; 67784475235F376800970786 /* PasteboardHandler.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PasteboardHandler.swift; sourceTree = ""; }; + 678C62B023680DB10036A81A /* zh-Hans */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-Hans"; path = "zh-Hans.lproj/Localizable.strings"; sourceTree = ""; }; 6790407F235D8C1D00B0C74E /* PasteItemsController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PasteItemsController.swift; sourceTree = ""; }; 67C3262B2359D86300248CDE /* PreferencesWindowController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PreferencesWindowController.swift; sourceTree = ""; }; 67C640E1235DE41D00649FD3 /* ScrollView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ScrollView.swift; sourceTree = ""; }; @@ -128,6 +130,7 @@ 4596AE46232025A700F63EBF /* YPaste */ = { isa = PBXGroup; children = ( + 678C62B123680DB10036A81A /* Localizable.strings */, 67096211235EC0B0009068B9 /* Window */, 4596AE47232025A700F63EBF /* AppDelegate.swift */, 4596AE4E232025A800F63EBF /* Assets.xcassets */, @@ -184,11 +187,12 @@ buildConfigurationList = 4596AE57232025A800F63EBF /* Build configuration list for PBXNativeTarget "YPaste" */; buildPhases = ( CA29C5B8D0777403973216CA /* [CP] Check Pods Manifest.lock */, + 678C62AC23680A190036A81A /* bartycrouch */, 4596AE40232025A700F63EBF /* Sources */, 4596AE41232025A700F63EBF /* Frameworks */, 4596AE42232025A700F63EBF /* Resources */, 3F3099D1713A8269175D3708 /* [CP] Embed Pods Frameworks */, - 45B27B312345C92000A06A94 /* ShellScript */, + 45B27B312345C92000A06A94 /* update version */, ); buildRules = ( ); @@ -269,6 +273,7 @@ isa = PBXResourcesBuildPhase; buildActionMask = 2147483647; files = ( + 678C62AF23680DB10036A81A /* Localizable.strings in Resources */, 67CFA4872351F4FB0058CF29 /* README.md in Resources */, 4596AE4F232025A800F63EBF /* Assets.xcassets in Resources */, 67136E302359E04F00EFB448 /* Preferences.xib in Resources */, @@ -325,7 +330,7 @@ shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-YPaste/Pods-YPaste-frameworks.sh\"\n"; showEnvVarsInLog = 0; }; - 45B27B312345C92000A06A94 /* ShellScript */ = { + 45B27B312345C92000A06A94 /* update version */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; files = ( @@ -334,6 +339,7 @@ ); inputPaths = ( ); + name = "update version"; outputFileListPaths = ( ); outputPaths = ( @@ -342,6 +348,24 @@ shellPath = /bin/sh; shellScript = "version=`/usr/libexec/PlistBuddy -c \"Print CFBundleVersion\" $PRODUCT_SETTINGS_PATH`\nversion=`expr $version + 1`\n/usr/libexec/PlistBuddy -c \"Set :CFBundleVersion $version\" $PRODUCT_SETTINGS_PATH\n"; }; + 678C62AC23680A190036A81A /* bartycrouch */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputFileListPaths = ( + ); + inputPaths = ( + ); + name = bartycrouch; + outputFileListPaths = ( + ); + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "# Type a script or drag a script file from your workspace to insert its path.\nif which bartycrouch > /dev/null; then\n bartycrouch update -x\n bartycrouch lint -x\nelse\n echo \"warning: BartyCrouch not installed, download it from https://github.com/Flinesoft/BartyCrouch\"\nfi\n"; + }; CA29C5B8D0777403973216CA /* [CP] Check Pods Manifest.lock */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; @@ -424,6 +448,14 @@ name = Preferences.xib; sourceTree = ""; }; + 678C62B123680DB10036A81A /* Localizable.strings */ = { + isa = PBXVariantGroup; + children = ( + 678C62B023680DB10036A81A /* zh-Hans */, + ); + name = Localizable.strings; + sourceTree = ""; + }; /* End PBXVariantGroup section */ /* Begin XCBuildConfiguration section */ diff --git a/YPaste/Base.lproj/Preferences.xib b/YPaste/Base.lproj/Preferences.xib index 4222af6..56824c6 100644 --- a/YPaste/Base.lproj/Preferences.xib +++ b/YPaste/Base.lproj/Preferences.xib @@ -119,7 +119,7 @@ - + diff --git a/YPaste/Info.plist b/YPaste/Info.plist index 23bf4cb..4eefea8 100644 --- a/YPaste/Info.plist +++ b/YPaste/Info.plist @@ -19,7 +19,7 @@ CFBundleShortVersionString Explosion v0.1.8 CFBundleVersion - 100646 + 100659 LSApplicationCategoryType public.app-category.utilities LSMinimumSystemVersion diff --git a/YPaste/en.lproj/Main.strings b/YPaste/en.lproj/Main.strings index f694536..66ecf9e 100644 --- a/YPaste/en.lproj/Main.strings +++ b/YPaste/en.lproj/Main.strings @@ -1,438 +1,39 @@ -/* Class = "NSMenuItem"; title = "Customize Toolbar…"; ObjectID = "1UK-8n-QPP"; */ -"1UK-8n-QPP.title" = "Customize Toolbar…"; - /* Class = "NSMenuItem"; title = "YPaste"; ObjectID = "1Xt-HY-uBw"; */ "1Xt-HY-uBw.title" = "YPaste"; -/* Class = "NSMenu"; title = "Find"; ObjectID = "1b7-l0-nxx"; */ -"1b7-l0-nxx.title" = "Find"; - -/* Class = "NSMenuItem"; title = "Lower"; ObjectID = "1tx-W0-xDw"; */ -"1tx-W0-xDw.title" = "Lower"; - -/* Class = "NSMenuItem"; title = "Weekly"; ObjectID = "2Fh-Eg-6wM"; */ -"2Fh-Eg-6wM.title" = "Weekly"; - -/* Class = "NSMenuItem"; title = "Raise"; ObjectID = "2h7-ER-AoG"; */ -"2h7-ER-AoG.title" = "Raise"; - -/* Class = "NSMenuItem"; title = "Transformations"; ObjectID = "2oI-Rn-ZJC"; */ -"2oI-Rn-ZJC.title" = "Transformations"; - -/* Class = "NSMenu"; title = "Spelling"; ObjectID = "3IN-sU-3Bg"; */ -"3IN-sU-3Bg.title" = "Spelling"; - -/* Class = "NSMenuItem"; title = "Use Default"; ObjectID = "3Om-Ey-2VK"; */ -"3Om-Ey-2VK.title" = "Use Default"; - -/* Class = "NSMenu"; title = "Speech"; ObjectID = "3rS-ZA-NoH"; */ -"3rS-ZA-NoH.title" = "Speech"; - -/* Class = "NSMenuItem"; title = "Tighten"; ObjectID = "46P-cB-AYj"; */ -"46P-cB-AYj.title" = "Tighten"; - -/* Class = "NSMenuItem"; title = "Find"; ObjectID = "4EN-yA-p0u"; */ -"4EN-yA-p0u.title" = "Find"; - -/* Class = "NSMenuItem"; title = "Enter Full Screen"; ObjectID = "4J7-dP-txa"; */ -"4J7-dP-txa.title" = "Enter Full Screen"; - /* Class = "NSMenuItem"; title = "Quit YPaste"; ObjectID = "4sb-4s-VLi"; */ "4sb-4s-VLi.title" = "Quit YPaste"; -/* Class = "NSMenuItem"; title = "Edit"; ObjectID = "5QF-Oa-p0T"; */ -"5QF-Oa-p0T.title" = "Edit"; - -/* Class = "NSMenuItem"; title = "Copy Style"; ObjectID = "5Vv-lz-BsD"; */ -"5Vv-lz-BsD.title" = "Copy Style"; - /* Class = "NSMenuItem"; title = "About YPaste"; ObjectID = "5kV-Vb-QxS"; */ "5kV-Vb-QxS.title" = "About YPaste"; -/* Class = "NSMenuItem"; title = "Redo"; ObjectID = "6dh-zS-Vam"; */ -"6dh-zS-Vam.title" = "Redo"; - -/* Class = "NSMenuItem"; title = "Correct Spelling Automatically"; ObjectID = "78Y-hA-62v"; */ -"78Y-hA-62v.title" = "Correct Spelling Automatically"; - -/* Class = "NSMenuItem"; title = "Monthly"; ObjectID = "7dS-7V-KhE"; */ -"7dS-7V-KhE.title" = "Monthly"; - -/* Class = "NSMenu"; title = "Writing Direction"; ObjectID = "8mr-sm-Yjd"; */ -"8mr-sm-Yjd.title" = "Writing Direction"; - /* Class = "NSTextFieldCell"; title = "Text Cell"; ObjectID = "92q-C9-B8o"; */ "92q-C9-B8o.title" = "Text Cell"; -/* Class = "NSMenuItem"; title = "Never"; ObjectID = "9cf-2w-uyQ"; */ -"9cf-2w-uyQ.title" = "Never"; - -/* Class = "NSMenuItem"; title = "Substitutions"; ObjectID = "9ic-FL-obx"; */ -"9ic-FL-obx.title" = "Substitutions"; - -/* Class = "NSMenuItem"; title = "Smart Copy/Paste"; ObjectID = "9yt-4B-nSM"; */ -"9yt-4B-nSM.title" = "Smart Copy/Paste"; - /* Class = "NSMenu"; title = "Main Menu"; ObjectID = "AYu-sK-qS6"; */ "AYu-sK-qS6.title" = "Main Menu"; /* Class = "NSMenuItem"; title = "Preferences…"; ObjectID = "BOF-NM-1cW"; */ "BOF-NM-1cW.title" = "Preferences…"; -/* Class = "NSMenuItem"; title = "\tLeft to Right"; ObjectID = "BgM-ve-c93"; */ -"BgM-ve-c93.title" = "\tLeft to Right"; - -/* Class = "NSMenuItem"; title = "Save As…"; ObjectID = "Bw7-FT-i3A"; */ -"Bw7-FT-i3A.title" = "Save As…"; - -/* Class = "NSMenuItem"; title = "Close"; ObjectID = "DVo-aG-piG"; */ -"DVo-aG-piG.title" = "Close"; - -/* Class = "NSMenuItem"; title = "Spelling and Grammar"; ObjectID = "Dv1-io-Yv7"; */ -"Dv1-io-Yv7.title" = "Spelling and Grammar"; - -/* Class = "NSMenu"; title = "Help"; ObjectID = "F2S-fz-NVQ"; */ -"F2S-fz-NVQ.title" = "Help"; - -/* Class = "NSMenuItem"; title = "YPaste Help"; ObjectID = "FKE-Sm-Kum"; */ -"FKE-Sm-Kum.title" = "YPaste Help"; - -/* Class = "NSMenuItem"; title = "Text"; ObjectID = "Fal-I4-PZk"; */ -"Fal-I4-PZk.title" = "Text"; - -/* Class = "NSMenu"; title = "Substitutions"; ObjectID = "FeM-D8-WVr"; */ -"FeM-D8-WVr.title" = "Substitutions"; - -/* Class = "NSMenuItem"; title = "Bold"; ObjectID = "GB9-OM-e27"; */ -"GB9-OM-e27.title" = "Bold"; - -/* Class = "NSMenu"; title = "Format"; ObjectID = "GEO-Iw-cKr"; */ -"GEO-Iw-cKr.title" = "Format"; - -/* Class = "NSMenuItem"; title = "Use Default"; ObjectID = "GUa-eO-cwY"; */ -"GUa-eO-cwY.title" = "Use Default"; - -/* Class = "NSMenuItem"; title = "Font"; ObjectID = "Gi5-1S-RQB"; */ -"Gi5-1S-RQB.title" = "Font"; - -/* Class = "NSMenuItem"; title = "Writing Direction"; ObjectID = "H1b-Si-o9J"; */ -"H1b-Si-o9J.title" = "Writing Direction"; - -/* Class = "NSMenuItem"; title = "View"; ObjectID = "H8h-7b-M4v"; */ -"H8h-7b-M4v.title" = "View"; - -/* Class = "NSMenuItem"; title = "Text Replacement"; ObjectID = "HFQ-gK-NFA"; */ -"HFQ-gK-NFA.title" = "Text Replacement"; - -/* Class = "NSMenuItem"; title = "Show Spelling and Grammar"; ObjectID = "HFo-cy-zxI"; */ -"HFo-cy-zxI.title" = "Show Spelling and Grammar"; - -/* Class = "NSTextFieldCell"; title = "Check Update"; ObjectID = "Hek-Ub-jcx"; */ -"Hek-Ub-jcx.title" = "Check Update"; - -/* Class = "NSMenu"; title = "View"; ObjectID = "HyV-fh-RgO"; */ -"HyV-fh-RgO.title" = "View"; - -/* Class = "NSMenuItem"; title = "Subscript"; ObjectID = "I0S-gh-46l"; */ -"I0S-gh-46l.title" = "Subscript"; +/* Class = "NSTextFieldCell"; title = "Time"; ObjectID = "dSS-b1-vUc"; */ +"dSS-b1-vUc.title" = "Time"; /* Class = "NSTextFieldCell"; title = "Text Cell"; ObjectID = "I37-gj-KWi"; */ "I37-gj-KWi.title" = "Text Cell"; -/* Class = "NSMenuItem"; title = "Open…"; ObjectID = "IAo-SY-fd9"; */ -"IAo-SY-fd9.title" = "Open…"; - /* Class = "NSWindow"; title = "YPaste"; ObjectID = "IQv-IB-iLA"; */ "IQv-IB-iLA.title" = "YPaste"; -/* Class = "NSWindow"; title = "Preferences"; ObjectID = "J2L-Gm-BGd"; */ -"J2L-Gm-BGd.title" = "Preferences"; - -/* Class = "NSMenuItem"; title = "Justify"; ObjectID = "J5U-5w-g23"; */ -"J5U-5w-g23.title" = "Justify"; - -/* Class = "NSMenuItem"; title = "Use None"; ObjectID = "J7y-lM-qPV"; */ -"J7y-lM-qPV.title" = "Use None"; - -/* Class = "NSMenuItem"; title = "Revert to Saved"; ObjectID = "KaW-ft-85H"; */ -"KaW-ft-85H.title" = "Revert to Saved"; - -/* Class = "NSMenuItem"; title = "Show All"; ObjectID = "Kd2-mp-pUS"; */ -"Kd2-mp-pUS.title" = "Show All"; - -/* Class = "NSMenuItem"; title = "Bring All to Front"; ObjectID = "LE2-aR-0XJ"; */ -"LE2-aR-0XJ.title" = "Bring All to Front"; - -/* Class = "NSMenuItem"; title = "Paste Ruler"; ObjectID = "LVM-kO-fVI"; */ -"LVM-kO-fVI.title" = "Paste Ruler"; - -/* Class = "NSMenuItem"; title = "\tLeft to Right"; ObjectID = "Lbh-J2-qVU"; */ -"Lbh-J2-qVU.title" = "\tLeft to Right"; - -/* Class = "NSMenuItem"; title = "Copy Ruler"; ObjectID = "MkV-Pr-PK5"; */ -"MkV-Pr-PK5.title" = "Copy Ruler"; - -/* Class = "NSMenuItem"; title = "Services"; ObjectID = "NMo-om-nkz"; */ -"NMo-om-nkz.title" = "Services"; - -/* Class = "NSMenuItem"; title = "\tDefault"; ObjectID = "Nop-cj-93Q"; */ -"Nop-cj-93Q.title" = "\tDefault"; - -/* Class = "NSMenuItem"; title = "Minimize"; ObjectID = "OY7-WF-poV"; */ -"OY7-WF-poV.title" = "Minimize"; - -/* Class = "NSMenuItem"; title = "Baseline"; ObjectID = "OaQ-X3-Vso"; */ -"OaQ-X3-Vso.title" = "Baseline"; - -/* Class = "NSMenuItem"; title = "Hide YPaste"; ObjectID = "Olw-nP-bQN"; */ -"Olw-nP-bQN.title" = "Hide YPaste"; - -/* Class = "NSMenuItem"; title = "Find Previous"; ObjectID = "OwM-mh-QMV"; */ -"OwM-mh-QMV.title" = "Find Previous"; - -/* Class = "NSMenuItem"; title = "Stop Speaking"; ObjectID = "Oyz-dy-DGm"; */ -"Oyz-dy-DGm.title" = "Stop Speaking"; - -/* Class = "NSMenuItem"; title = "Bigger"; ObjectID = "Ptp-SP-VEL"; */ -"Ptp-SP-VEL.title" = "Bigger"; - -/* Class = "NSMenuItem"; title = "Show Fonts"; ObjectID = "Q5e-8K-NDq"; */ -"Q5e-8K-NDq.title" = "Show Fonts"; - -/* Class = "NSMenuItem"; title = "Zoom"; ObjectID = "R4o-n2-Eq4"; */ -"R4o-n2-Eq4.title" = "Zoom"; - -/* Class = "NSMenuItem"; title = "\tRight to Left"; ObjectID = "RB4-Sm-HuC"; */ -"RB4-Sm-HuC.title" = "\tRight to Left"; - -/* Class = "NSMenuItem"; title = "Superscript"; ObjectID = "Rqc-34-cIF"; */ -"Rqc-34-cIF.title" = "Superscript"; - -/* Class = "NSMenuItem"; title = "Select All"; ObjectID = "Ruw-6m-B2m"; */ -"Ruw-6m-B2m.title" = "Select All"; - -/* Class = "NSMenuItem"; title = "Jump to Selection"; ObjectID = "S0p-oC-mLd"; */ -"S0p-oC-mLd.title" = "Jump to Selection"; - -/* Class = "NSMenuItem"; title = "Hourly"; ObjectID = "TEO-zW-tiz"; */ -"TEO-zW-tiz.title" = "Hourly"; - -/* Class = "NSMenu"; title = "Window"; ObjectID = "Td7-aD-5lo"; */ -"Td7-aD-5lo.title" = "Window"; - -/* Class = "NSMenuItem"; title = "Capitalize"; ObjectID = "UEZ-Bs-lqG"; */ -"UEZ-Bs-lqG.title" = "Capitalize"; - -/* Class = "NSMenuItem"; title = "Center"; ObjectID = "VIY-Ag-zcb"; */ -"VIY-Ag-zcb.title" = "Center"; - -/* Class = "NSMenuItem"; title = "Hide Others"; ObjectID = "Vdr-fp-XzO"; */ -"Vdr-fp-XzO.title" = "Hide Others"; - -/* Class = "NSMenuItem"; title = "Italic"; ObjectID = "Vjx-xi-njq"; */ -"Vjx-xi-njq.title" = "Italic"; - -/* Class = "NSMenu"; title = "Edit"; ObjectID = "W48-6f-4Dl"; */ -"W48-6f-4Dl.title" = "Edit"; - -/* Class = "NSMenuItem"; title = "Underline"; ObjectID = "WRG-CD-K1S"; */ -"WRG-CD-K1S.title" = "Underline"; - -/* Class = "NSMenuItem"; title = "New"; ObjectID = "Was-JA-tGl"; */ -"Was-JA-tGl.title" = "New"; - -/* Class = "NSMenuItem"; title = "Paste and Match Style"; ObjectID = "WeT-3V-zwk"; */ -"WeT-3V-zwk.title" = "Paste and Match Style"; - -/* Class = "NSButtonCell"; title = "Launch at Login"; ObjectID = "XeA-Pa-vo1"; */ -"XeA-Pa-vo1.title" = "Launch at Login"; - -/* Class = "NSMenuItem"; title = "Find…"; ObjectID = "Xz5-n4-O0W"; */ -"Xz5-n4-O0W.title" = "Find…"; - -/* Class = "NSMenuItem"; title = "Find and Replace…"; ObjectID = "YEy-JH-Tfz"; */ -"YEy-JH-Tfz.title" = "Find and Replace…"; - -/* Class = "NSMenuItem"; title = "\tDefault"; ObjectID = "YGs-j5-SAR"; */ -"YGs-j5-SAR.title" = "\tDefault"; - -/* Class = "NSMenuItem"; title = "Start Speaking"; ObjectID = "Ynk-f8-cLZ"; */ -"Ynk-f8-cLZ.title" = "Start Speaking"; - -/* Class = "NSMenuItem"; title = "Align Left"; ObjectID = "ZM1-6Q-yy1"; */ -"ZM1-6Q-yy1.title" = "Align Left"; - -/* Class = "NSMenuItem"; title = "Paragraph"; ObjectID = "ZvO-Gk-QUH"; */ -"ZvO-Gk-QUH.title" = "Paragraph"; - -/* Class = "NSMenuItem"; title = "Print…"; ObjectID = "aTl-1u-JFS"; */ -"aTl-1u-JFS.title" = "Print…"; - -/* Class = "NSMenuItem"; title = "Window"; ObjectID = "aUF-d1-5bR"; */ -"aUF-d1-5bR.title" = "Window"; - -/* Class = "NSMenu"; title = "Font"; ObjectID = "aXa-aM-Jaq"; */ -"aXa-aM-Jaq.title" = "Font"; - -/* Class = "NSMenuItem"; title = "Use Default"; ObjectID = "agt-UL-0e3"; */ -"agt-UL-0e3.title" = "Use Default"; - -/* Class = "NSMenuItem"; title = "Show Colors"; ObjectID = "bgn-CT-cEk"; */ -"bgn-CT-cEk.title" = "Show Colors"; - -/* Class = "NSMenu"; title = "File"; ObjectID = "bib-Uj-vzu"; */ -"bib-Uj-vzu.title" = "File"; - -/* Class = "NSMenuItem"; title = "Use Selection for Find"; ObjectID = "buJ-ug-pKt"; */ -"buJ-ug-pKt.title" = "Use Selection for Find"; - -/* Class = "NSMenu"; title = "Transformations"; ObjectID = "c8a-y6-VQd"; */ -"c8a-y6-VQd.title" = "Transformations"; - -/* Class = "NSMenuItem"; title = "Use None"; ObjectID = "cDB-IK-hbR"; */ -"cDB-IK-hbR.title" = "Use None"; - -/* Class = "NSMenuItem"; title = "Selection"; ObjectID = "cqv-fj-IhA"; */ -"cqv-fj-IhA.title" = "Selection"; - -/* Class = "NSMenuItem"; title = "Smart Links"; ObjectID = "cwL-P1-jid"; */ -"cwL-P1-jid.title" = "Smart Links"; - -/* Class = "NSMenuItem"; title = "Make Lower Case"; ObjectID = "d9M-CD-aMd"; */ -"d9M-CD-aMd.title" = "Make Lower Case"; - -/* Class = "NSMenu"; title = "Text"; ObjectID = "d9c-me-L2H"; */ -"d9c-me-L2H.title" = "Text"; - -/* Class = "NSMenuItem"; title = "File"; ObjectID = "dMs-cI-mzQ"; */ -"dMs-cI-mzQ.title" = "File"; - -/* Class = "NSMenuItem"; title = "Undo"; ObjectID = "dRJ-4n-Yzg"; */ -"dRJ-4n-Yzg.title" = "Undo"; - -/* Class = "NSTextFieldCell"; title = "type"; ObjectID = "dSS-b1-vUc"; */ -"dSS-b1-vUc.title" = "type"; - -/* Class = "NSMenuItem"; title = "Paste"; ObjectID = "gVA-U4-sdL"; */ -"gVA-U4-sdL.title" = "Paste"; - -/* Class = "NSMenuItem"; title = "Smart Quotes"; ObjectID = "hQb-2v-fYv"; */ -"hQb-2v-fYv.title" = "Smart Quotes"; - -/* Class = "NSMenuItem"; title = "Check Document Now"; ObjectID = "hz2-CU-CR7"; */ -"hz2-CU-CR7.title" = "Check Document Now"; - -/* Class = "NSMenu"; title = "Services"; ObjectID = "hz9-B4-Xy5"; */ -"hz9-B4-Xy5.title" = "Services"; - -/* Class = "NSMenuItem"; title = "Smaller"; ObjectID = "i1d-Er-qST"; */ -"i1d-Er-qST.title" = "Smaller"; - -/* Class = "NSMenu"; title = "Baseline"; ObjectID = "ijk-EB-dga"; */ -"ijk-EB-dga.title" = "Baseline"; - -/* Class = "NSMenuItem"; title = "Kern"; ObjectID = "jBQ-r6-VK2"; */ -"jBQ-r6-VK2.title" = "Kern"; - -/* Class = "NSMenuItem"; title = "\tRight to Left"; ObjectID = "jFq-tB-4Kx"; */ -"jFq-tB-4Kx.title" = "\tRight to Left"; - -/* Class = "NSMenuItem"; title = "Format"; ObjectID = "jxT-CU-nIS"; */ -"jxT-CU-nIS.title" = "Format"; - -/* Class = "NSMenuItem"; title = "Show Sidebar"; ObjectID = "kIP-vf-haE"; */ -"kIP-vf-haE.title" = "Show Sidebar"; - -/* Class = "NSMenuItem"; title = "Daily"; ObjectID = "mBE-Ru-XPc"; */ -"mBE-Ru-XPc.title" = "Daily"; - -/* Class = "NSMenuItem"; title = "Check Grammar With Spelling"; ObjectID = "mK6-2p-4JG"; */ -"mK6-2p-4JG.title" = "Check Grammar With Spelling"; - -/* Class = "NSMenuItem"; title = "Ligatures"; ObjectID = "o6e-r0-MWq"; */ -"o6e-r0-MWq.title" = "Ligatures"; - -/* Class = "NSMenu"; title = "Open Recent"; ObjectID = "oas-Oc-fiZ"; */ -"oas-Oc-fiZ.title" = "Open Recent"; - -/* Class = "NSMenuItem"; title = "Loosen"; ObjectID = "ogc-rX-tC1"; */ -"ogc-rX-tC1.title" = "Loosen"; - -/* Class = "NSMenuItem"; title = "Delete"; ObjectID = "pa3-QI-u2k"; */ -"pa3-QI-u2k.title" = "Delete"; - -/* Class = "NSMenuItem"; title = "Save…"; ObjectID = "pxx-59-PXV"; */ -"pxx-59-PXV.title" = "Save…"; - -/* Class = "NSMenuItem"; title = "Find Next"; ObjectID = "q09-fT-Sye"; */ -"q09-fT-Sye.title" = "Find Next"; - -/* Class = "NSMenuItem"; title = "Page Setup…"; ObjectID = "qIS-W8-SiK"; */ -"qIS-W8-SiK.title" = "Page Setup…"; - -/* Class = "NSMenuItem"; title = "Check Spelling While Typing"; ObjectID = "rbD-Rh-wIN"; */ -"rbD-Rh-wIN.title" = "Check Spelling While Typing"; - -/* Class = "NSMenuItem"; title = "Smart Dashes"; ObjectID = "rgM-f4-ycn"; */ -"rgM-f4-ycn.title" = "Smart Dashes"; - /* Class = "NSTextFieldCell"; title = "Table View Cell"; ObjectID = "sih-Tj-WrW"; */ "sih-Tj-WrW.title" = "Table View Cell"; -/* Class = "NSMenuItem"; title = "Show Toolbar"; ObjectID = "snW-S8-Cw5"; */ -"snW-S8-Cw5.title" = "Show Toolbar"; - -/* Class = "NSMenuItem"; title = "Data Detectors"; ObjectID = "tRr-pd-1PS"; */ -"tRr-pd-1PS.title" = "Data Detectors"; - -/* Class = "NSMenuItem"; title = "Open Recent"; ObjectID = "tXI-mr-wws"; */ -"tXI-mr-wws.title" = "Open Recent"; - -/* Class = "NSMenu"; title = "Kern"; ObjectID = "tlD-Oa-oAM"; */ -"tlD-Oa-oAM.title" = "Kern"; - /* Class = "NSMenu"; title = "YPaste"; ObjectID = "uQy-DD-JDr"; */ "uQy-DD-JDr.title" = "YPaste"; -/* Class = "NSMenuItem"; title = "Cut"; ObjectID = "uRl-iY-unG"; */ -"uRl-iY-unG.title" = "Cut"; - -/* Class = "NSMenuItem"; title = "Paste Style"; ObjectID = "vKC-jM-MkH"; */ -"vKC-jM-MkH.title" = "Paste Style"; - -/* Class = "NSMenuItem"; title = "Show Ruler"; ObjectID = "vLm-3I-IUL"; */ -"vLm-3I-IUL.title" = "Show Ruler"; - -/* Class = "NSMenuItem"; title = "Clear Menu"; ObjectID = "vNY-rz-j42"; */ -"vNY-rz-j42.title" = "Clear Menu"; - -/* Class = "NSMenuItem"; title = "Make Upper Case"; ObjectID = "vmV-6d-7jI"; */ -"vmV-6d-7jI.title" = "Make Upper Case"; - -/* Class = "NSMenu"; title = "Ligatures"; ObjectID = "w0m-vy-SC9"; */ -"w0m-vy-SC9.title" = "Ligatures"; - -/* Class = "NSMenuItem"; title = "Align Right"; ObjectID = "wb2-vD-lq4"; */ -"wb2-vD-lq4.title" = "Align Right"; - -/* Class = "NSMenuItem"; title = "Help"; ObjectID = "wpr-3q-Mcd"; */ -"wpr-3q-Mcd.title" = "Help"; - -/* Class = "CocoaBindingsConnection"; ibShadowedDisplayName = "predicate"; ObjectID = "wuC-PI-5el"; */ -"wuC-PI-5el.ibShadowedDisplayName" = "predicate"; - -/* Class = "NSMenuItem"; title = "Copy"; ObjectID = "x3v-GG-iWU"; */ -"x3v-GG-iWU.title" = "Copy"; - -/* Class = "NSMenuItem"; title = "Use All"; ObjectID = "xQD-1f-W4t"; */ -"xQD-1f-W4t.title" = "Use All"; - -/* Class = "NSMenuItem"; title = "Speech"; ObjectID = "xrE-MZ-jX0"; */ -"xrE-MZ-jX0.title" = "Speech"; - /* Class = "NSMenuItem"; title = "Check for Updates..."; ObjectID = "yaf-RW-gyC"; */ "yaf-RW-gyC.title" = "Check for Updates..."; -/* Class = "NSMenuItem"; title = "Show Substitutions"; ObjectID = "z6F-FW-3nz"; */ -"z6F-FW-3nz.title" = "Show Substitutions"; +/* Class = "CocoaBindingsConnection"; ibShadowedDisplayName = "predicate"; ObjectID = "oEg-4y-qRo"; */ +"oEg-4y-qRo.ibShadowedDisplayName" = ""; diff --git a/YPaste/en.lproj/Preferences.strings b/YPaste/en.lproj/Preferences.strings index b0fa5a2..b898277 100644 --- a/YPaste/en.lproj/Preferences.strings +++ b/YPaste/en.lproj/Preferences.strings @@ -5,26 +5,32 @@ /* Class = "NSTextFieldCell"; title = "Hot Key"; ObjectID = "50p-6v-7SJ"; */ "50p-6v-7SJ.title" = "Hot Key"; +/* Class = "NSTextFieldCell"; title = "Check Update"; ObjectID = "dWG-eZ-o58"; */ +"dWG-eZ-o58.title" = "Check Update"; + /* Class = "NSMenuItem"; title = "Hourly"; ObjectID = "EE6-Ss-Gw7"; */ "EE6-Ss-Gw7.title" = "Hourly"; +/* Class = "NSMenuItem"; title = "Daily"; ObjectID = "eEf-BQ-9PH"; */ +"eEf-BQ-9PH.title" = "Daily"; + +/* Class = "NSMenuItem"; title = "Weekly"; ObjectID = "fcM-sZ-IDB"; */ +"fcM-sZ-IDB.title" = "Weekly"; + /* Class = "NSButtonCell"; title = "Launch at Login"; ObjectID = "LeK-Xa-5ej"; */ "LeK-Xa-5ej.title" = "Launch at Login"; /* Class = "NSMenuItem"; title = "Monthly"; ObjectID = "Lew-rN-naA"; */ "Lew-rN-naA.title" = "Monthly"; +/* Class = "NSButtonCell"; title = "Button"; ObjectID = "nxD-fc-hgi"; */ +"nxD-fc-hgi.title" = "Button"; + /* Class = "NSWindow"; title = "Preferences"; ObjectID = "QvC-M9-y7g"; */ "QvC-M9-y7g.title" = "Preferences"; -/* Class = "NSTextFieldCell"; title = "Check Update"; ObjectID = "dWG-eZ-o58"; */ -"dWG-eZ-o58.title" = "Check Update"; - -/* Class = "NSMenuItem"; title = "Daily"; ObjectID = "eEf-BQ-9PH"; */ -"eEf-BQ-9PH.title" = "Daily"; +/* Class = "NSButtonCell"; title = "Button"; ObjectID = "be5-qF-ZfL"; */ +"be5-qF-ZfL.title" = ""; -/* Class = "NSMenuItem"; title = "Weekly"; ObjectID = "fcM-sZ-IDB"; */ -"fcM-sZ-IDB.title" = "Weekly"; - -/* Class = "NSButtonCell"; title = "Button"; ObjectID = "nxD-fc-hgi"; */ -"nxD-fc-hgi.title" = "Button"; +/* Class = "NSTextFieldCell"; title = "Favorite Hot Key"; ObjectID = "Md5-LI-tBD"; */ +"Md5-LI-tBD.title" = ""; diff --git a/YPaste/zh-Hans.lproj/Localizable.strings b/YPaste/zh-Hans.lproj/Localizable.strings new file mode 100644 index 0000000..5777815 --- /dev/null +++ b/YPaste/zh-Hans.lproj/Localizable.strings @@ -0,0 +1,12 @@ + +/* Cancel button title */ +"Cancel" = "取消"; + +/* Quit without saves error question message */ +"Could not save changes while quitting. Quit anyway?" = ""; + +/* Quit anyway button title */ +"Quit anyway" = "强制退出"; + +/* Quit without saves error question info */ +"Quitting now will lose any changes you have made since the last successful save" = ""; diff --git a/YPaste/zh-Hans.lproj/Main.strings b/YPaste/zh-Hans.lproj/Main.strings index ba746b3..be6b343 100644 --- a/YPaste/zh-Hans.lproj/Main.strings +++ b/YPaste/zh-Hans.lproj/Main.strings @@ -17,30 +17,23 @@ /* Class = "NSMenuItem"; title = "Preferences…"; ObjectID = "BOF-NM-1cW"; */ "BOF-NM-1cW.title" = "首选项"; +/* Class = "NSTextFieldCell"; title = "Time"; ObjectID = "dSS-b1-vUc"; */ +"dSS-b1-vUc.title" = "类型"; + /* Class = "NSTextFieldCell"; title = "Text Cell"; ObjectID = "I37-gj-KWi"; */ "I37-gj-KWi.title" = "Text Cell"; /* Class = "NSWindow"; title = "YPaste"; ObjectID = "IQv-IB-iLA"; */ "IQv-IB-iLA.title" = "YPaste"; -/* Class = "NSTextFieldCell"; title = "type"; ObjectID = "dSS-b1-vUc"; */ -"dSS-b1-vUc.title" = "类型"; - -/* Class = "NSMenu"; title = "Services"; ObjectID = "hz9-B4-Xy5"; */ -"hz9-B4-Xy5.title" = "服务"; - -/* Class = "NSMenuItem"; title = "Daily"; ObjectID = "mBE-Ru-XPc"; */ -"mBE-Ru-XPc.title" = "每天 "; - /* Class = "NSTextFieldCell"; title = "Table View Cell"; ObjectID = "sih-Tj-WrW"; */ "sih-Tj-WrW.title" = "Table View Cell"; /* Class = "NSMenu"; title = "YPaste"; ObjectID = "uQy-DD-JDr"; */ "uQy-DD-JDr.title" = "YPaste"; -/* Class = "CocoaBindingsConnection"; ibShadowedDisplayName = "predicate"; ObjectID = "wuC-PI-5el"; */ -"wuC-PI-5el.ibShadowedDisplayName" = "predicate"; - /* Class = "NSMenuItem"; title = "Check for Updates..."; ObjectID = "yaf-RW-gyC"; */ "yaf-RW-gyC.title" = "检查更新"; +/* Class = "CocoaBindingsConnection"; ibShadowedDisplayName = "predicate"; ObjectID = "oEg-4y-qRo"; */ +"oEg-4y-qRo.ibShadowedDisplayName" = ""; diff --git a/YPaste/zh-Hans.lproj/Preferences.strings b/YPaste/zh-Hans.lproj/Preferences.strings index 8e79064..172662c 100644 --- a/YPaste/zh-Hans.lproj/Preferences.strings +++ b/YPaste/zh-Hans.lproj/Preferences.strings @@ -3,28 +3,34 @@ "3TG-ts-gEq.title" = "从不"; /* Class = "NSTextFieldCell"; title = "Hot Key"; ObjectID = "50p-6v-7SJ"; */ -"50p-6v-7SJ.title" = "快捷键"; +"50p-6v-7SJ.title" = "打开历史"; + +/* Class = "NSTextFieldCell"; title = "Check Update"; ObjectID = "dWG-eZ-o58"; */ +"dWG-eZ-o58.title" = "检查更新"; /* Class = "NSMenuItem"; title = "Hourly"; ObjectID = "EE6-Ss-Gw7"; */ "EE6-Ss-Gw7.title" = "每小时"; +/* Class = "NSMenuItem"; title = "Daily"; ObjectID = "eEf-BQ-9PH"; */ +"eEf-BQ-9PH.title" = "每天"; + +/* Class = "NSMenuItem"; title = "Weekly"; ObjectID = "fcM-sZ-IDB"; */ +"fcM-sZ-IDB.title" = "每周"; + /* Class = "NSButtonCell"; title = "Launch at Login"; ObjectID = "LeK-Xa-5ej"; */ "LeK-Xa-5ej.title" = "开机启动"; /* Class = "NSMenuItem"; title = "Monthly"; ObjectID = "Lew-rN-naA"; */ "Lew-rN-naA.title" = "每月"; -/* Class = "NSWindow"; title = "Preferences"; ObjectID = "QvC-M9-y7g"; */ -"QvC-M9-y7g.title" = "首选项"; - -/* Class = "NSTextFieldCell"; title = "Check Update"; ObjectID = "dWG-eZ-o58"; */ -"dWG-eZ-o58.title" = "检查更新"; - -/* Class = "NSMenuItem"; title = "Daily"; ObjectID = "eEf-BQ-9PH"; */ -"eEf-BQ-9PH.title" = "每天"; - -/* Class = "NSMenuItem"; title = "Weekly"; ObjectID = "fcM-sZ-IDB"; */ -"fcM-sZ-IDB.title" = "每周"; +/* Class = "NSTextFieldCell"; title = "Favorite Hot Key"; ObjectID = "Md5-LI-tBD"; */ +"Md5-LI-tBD.title" = "打开收藏"; /* Class = "NSButtonCell"; title = "Button"; ObjectID = "nxD-fc-hgi"; */ "nxD-fc-hgi.title" = "button"; + +/* Class = "NSWindow"; title = "Preferences"; ObjectID = "QvC-M9-y7g"; */ +"QvC-M9-y7g.title" = "首选项"; + +/* Class = "NSButtonCell"; title = "Button"; ObjectID = "be5-qF-ZfL"; */ +"be5-qF-ZfL.title" = "";