1 # Resource strings for Notepad example 2 3 Title=\u8BB0\u4E8B\u672C 4 ElementTreeFrameTitle=\u5143\u7D20 5 ViewportBackingStore=false 6 7 # menubar definition 8 # 9 # Each of the strings that follow form a key to be 10 # used to the actual menu definition. 11 menubar=file edit debug 12 13 # file Menu definition 14 # 15 # Each of the strings that follow form a key to be 16 # used as the basis of a menu item definition. 17 # 18 # open -> Notepad.openAction 19 # new -> Notepad.newAction 20 # save -> Notepad.saveAction 21 # exit -> Notepad.exitAction 22 file=new open save - exit 23 fileLabel=\u6587\u4EF6 24 openLabel=\u6253\u5F00 25 openImage=resources/open.gif 26 newLabel=\u65B0\u5EFA 27 newImage=resources/new.gif 28 saveLabel=\u4FDD\u5B58 29 saveImage=resources/save.gif 30 exitLabel=\u9000\u51FA 31 32 # 33 # edit Menu definition 34 # 35 # cut -> JTextComponent.cutAction 36 # copy -> JTextComponent.copyAction 37 # paste -> JTextComponent.pasteAction 38 edit=cut copy paste - undo redo 39 editLabel=\u7F16\u8F91 40 cutLabel=\u526A\u5207 41 cutAction=cut-to-clipboard 42 cutImage=resources/cut.gif 43 copyLabel=\u590D\u5236 44 copyAction=copy-to-clipboard 45 copyImage=resources/copy.gif 46 pasteLabel=\u7C98\u8D34 47 pasteAction=paste-from-clipboard 48 pasteImage=resources/paste.gif 49 undoLabel=\u64A4\u6D88 50 undoAction=\u64A4\u6D88 51 redoLabel=\u91CD\u505A 52 redoAction=\u91CD\u505A 53 54 # 55 # debug Menu definition 56 # 57 debug=dump showElementTree 58 debugLabel=\u8C03\u8BD5 59 dumpLabel=\u5C06\u6A21\u578B\u8F6C\u50A8\u5230 System.err 60 dumpAction=dump-model 61 showElementTreeLabel=\u663E\u793A\u5143\u7D20 62 63 # toolbar definition 64 # 65 # Each of the strings that follow form a key to be 66 # used as the basis of the tool definition. Actions 67 # are of course sharable, and in this case are shared 68 # with the menu items. 69 toolbar=new open save - cut copy paste 70 newTooltip=\u521B\u5EFA\u65B0\u6587\u4EF6 71 openTooltip=\u6253\u5F00\u6587\u4EF6 72 saveTooltip=\u4FDD\u5B58\u6587\u4EF6 73 cutTooltip=\u526A\u5207\u9009\u5B9A\u5185\u5BB9\u5230\u526A\u5E16\u677F\u4E2D 74 copyTooltip=\u590D\u5236\u9009\u5B9A\u5185\u5BB9\u5230\u526A\u5E16\u677F\u4E2D 75 pasteTooltip=\u7C98\u8D34\u9009\u5B9A\u5185\u5BB9\u5230\u526A\u5E16\u677F\u4E2D