src/share/demo/jfc/Notepad/resources/Notepad_zh_CN.properties
Print this page
@@ -1,28 +1,21 @@
#
# Resource strings for Notepad example
Title=\u8BB0\u4E8B\u672C
ElementTreeFrameTitle=\u5143\u7D20
-ViewportBackingStore=false
-# menubar definition
-#
-# Each of the strings that follow form a key to be
-# used to the actual menu definition.
-menubar=file edit debug
-
# file Menu definition
#
# Each of the strings that follow form a key to be
# used as the basis of a menu item definition.
#
# open -> Notepad.openAction
# new -> Notepad.newAction
# save -> Notepad.saveAction
# exit -> Notepad.exitAction
-file=new open save - exit
+
fileLabel=\u6587\u4EF6
openLabel=\u6253\u5F00
openImage=resources/open.gif
newLabel=\u65B0\u5EFA
newImage=resources/new.gif
@@ -34,42 +27,36 @@
# edit Menu definition
#
# cut -> JTextComponent.cutAction
# copy -> JTextComponent.copyAction
# paste -> JTextComponent.pasteAction
-edit=cut copy paste - undo redo
+
editLabel=\u7F16\u8F91
cutLabel=\u526A\u5207
-cutAction=cut-to-clipboard
cutImage=resources/cut.gif
copyLabel=\u590D\u5236
-copyAction=copy-to-clipboard
copyImage=resources/copy.gif
pasteLabel=\u7C98\u8D34
-pasteAction=paste-from-clipboard
pasteImage=resources/paste.gif
undoLabel=\u64A4\u6D88
-undoAction=Undo
redoLabel=\u91CD\u505A
-redoAction=Redo
#
# debug Menu definition
#
-debug=dump showElementTree
+
debugLabel=\u8C03\u8BD5
dumpLabel=\u5C06\u6A21\u578B\u8F6C\u50A8\u5230 System.err
-dumpAction=dump-model
showElementTreeLabel=\u663E\u793A\u5143\u7D20
# toolbar definition
#
# Each of the strings that follow form a key to be
# used as the basis of the tool definition. Actions
# are of course sharable, and in this case are shared
# with the menu items.
-toolbar=new open save - cut copy paste
+
newTooltip=\u521B\u5EFA\u65B0\u6587\u4EF6
openTooltip=\u6253\u5F00\u6587\u4EF6
saveTooltip=\u4FDD\u5B58\u6587\u4EF6
cutTooltip=\u526A\u5207\u9009\u5B9A\u5185\u5BB9\u5230\u526A\u5E16\u677F\u4E2D
copyTooltip=\u590D\u5236\u9009\u5B9A\u5185\u5BB9\u5230\u526A\u5E16\u677F\u4E2D