J. Duke | 319a3b9 | 2007-12-01 00:00:00 +0000 | [diff] [blame^] | 1 | # |
| 2 | # Resource strings for Notepad example |
| 3 | |
| 4 | Title=\u5199\u5b57\u677f |
| 5 | ElementTreeFrameTitle=\u5143\u7d20 |
| 6 | ViewportBackingStore=false |
| 7 | |
| 8 | # menubar definition |
| 9 | # |
| 10 | # Each of the strings that follow form a key to be |
| 11 | # used to the actual menu definition. |
| 12 | menubar=file edit debug |
| 13 | |
| 14 | # file Menu definition |
| 15 | # |
| 16 | # Each of the strings that follow form a key to be |
| 17 | # used as the basis of a menu item definition. |
| 18 | # |
| 19 | # open -> Notepad.openAction |
| 20 | # new -> Notepad.newAction |
| 21 | # save -> Notepad.saveAction |
| 22 | # exit -> Notepad.exitAction |
| 23 | file=new open save - exit |
| 24 | fileLabel=\u6587\u4ef6 |
| 25 | openLabel=\u6253\u5f00 |
| 26 | openImage=resources/open.gif |
| 27 | newLabel=\u65b0\u5efa |
| 28 | newImage=resources/new.gif |
| 29 | saveLabel=\u4fdd\u5b58 |
| 30 | saveImage=resources/save.gif |
| 31 | exitLabel=\u9000\u51fa |
| 32 | |
| 33 | # |
| 34 | # edit Menu definition |
| 35 | # |
| 36 | # cut -> JTextComponent.cutAction |
| 37 | # copy -> JTextComponent.copyAction |
| 38 | # paste -> JTextComponent.pasteAction |
| 39 | edit=cut copy paste - undo redo |
| 40 | editLabel=\u7f16\u8f91 |
| 41 | cutLabel=\u526a\u5207 |
| 42 | cutAction=cut-to-clipboard |
| 43 | cutImage=resources/cut.gif |
| 44 | copyLabel=\u62f7\u8d1d |
| 45 | copyAction=copy-to-clipboard |
| 46 | copyImage=resources/copy.gif |
| 47 | pasteLabel=\u7c98\u8d34 |
| 48 | pasteAction=paste-from-clipboard |
| 49 | pasteImage=resources/paste.gif |
| 50 | undoLabel=\u64a4\u6d88 |
| 51 | undoAction=Undo |
| 52 | redoLabel=\u91cd\u505a |
| 53 | redoAction=Redo |
| 54 | |
| 55 | # |
| 56 | # debug Menu definition |
| 57 | # |
| 58 | debug=dump showElementTree |
| 59 | debugLabel=\u8c03\u8bd5 |
| 60 | dumpLabel=\u5c06\u6a21\u5f0f\u8f6c\u50a8\u5230System.err |
| 61 | dumpAction=dump-model |
| 62 | showElementTreeLabel=\u663e\u793a\u5143\u7d20 |
| 63 | |
| 64 | # toolbar definition |
| 65 | # |
| 66 | # Each of the strings that follow form a key to be |
| 67 | # used as the basis of the tool definition. Actions |
| 68 | # are of course sharable, and in this case are shared |
| 69 | # with the menu items. |
| 70 | toolbar=new open save - cut copy paste |
| 71 | newTooltip=\u521b\u5efa\u65b0\u6587\u4ef6 |
| 72 | openTooltip=\u6253\u5f00\u6587\u4ef6 |
| 73 | saveTooltip=\u4fdd\u5b58\u6587\u4ef6 |
| 74 | cutTooltip=\u526a\u5207\u9009\u62e9\u7684\u5185\u5bb9\u5230\u526a\u5e16\u677f\u4e2d |
| 75 | copyTooltip=\u62f7\u8d1d\u9009\u62e9\u7684\u5185\u5bb9\u5230\u526a\u5e16\u677f\u4e2d |
| 76 | pasteTooltip=\u7c98\u8d34\u9009\u62e9\u7684\u5185\u5bb9\u5230\u526a\u5e16\u677f\u4e2d |