< prev index next >

src/share/demo/jfc/Notepad/resources/Notepad.properties

Print this page
rev 1473 : 7025267: NLS: t13y fix for 7021689 [ja] Notepad demo throws NPE
Reviewed-by: ogino
   1 #
   2 # Resource strings for Notepad example
   3 
   4 Title=Notepad
   5 ElementTreeFrameTitle=Elements

   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=File
  25 openLabel=Open
  26 openImage=resources/open.gif
  27 newLabel=New
  28 newImage=resources/new.gif
  29 saveLabel=Save
  30 saveImage=resources/save.gif
  31 exitLabel=Exit
  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=Edit
  41 cutLabel=Cut

  42 cutAction=cut-to-clipboard
  43 cutImage=resources/cut.gif
  44 copyLabel=Copy

  45 copyAction=copy-to-clipboard
  46 copyImage=resources/copy.gif
  47 pasteLabel=Paste

  48 pasteAction=paste-from-clipboard
  49 pasteImage=resources/paste.gif
  50 undoLabel=Undo

  51 undoAction=Undo
  52 redoLabel=Redo

  53 redoAction=Redo
  54 
  55 #
  56 # debug Menu definition
  57 #


  58 debug=dump showElementTree
  59 debugLabel=Debug
  60 dumpLabel=Dump model to System.err

  61 dumpAction=dump-model
  62 showElementTreeLabel=Show Elements
  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=Create a new file
  72 openTooltip=Open a file
  73 saveTooltip=Save to a file
  74 cutTooltip=Move selection to clipboard
  75 copyTooltip=Copy selection to clipboard
  76 pasteTooltip=Paste clipboard to selection
   1 #
   2 # Resource strings for Notepad example
   3 
   4 Title=Notepad
   5 ElementTreeFrameTitle=Elements
   6 # The following string should NOT be translated: ViewportBackingStore

   7 ViewportBackingStore=false
   8 
   9 # menubar definition
  10 #
  11 # Each of the strings that follow form a key to be 
  12 # used to the actual menu definition.
  13 

  14 # The following string should NOT be translated: menubar

  15 menubar=file edit debug
  16 
  17 # file Menu definition
  18 #
  19 # Each of the strings that follow form a key to be
  20 # used as the basis of a menu item definition.
  21 #
  22 # open ->  Notepad.openAction
  23 # new  ->  Notepad.newAction
  24 # save ->  Notepad.saveAction
  25 # exit ->  Notepad.exitAction
  26 

  27 # The following string should NOT be translated: file

  28 file=new open save - exit
  29 fileLabel=File
  30 openLabel=Open
  31 openImage=resources/open.gif
  32 newLabel=New
  33 newImage=resources/new.gif
  34 saveLabel=Save
  35 saveImage=resources/save.gif
  36 exitLabel=Exit
  37 
  38 #
  39 # edit Menu definition
  40 #
  41 # cut   -> JTextComponent.cutAction
  42 # copy  -> JTextComponent.copyAction
  43 # paste -> JTextComponent.pasteAction
  44 edit=cut copy paste - undo redo
  45 editLabel=Edit
  46 cutLabel=Cut
  47 # The following string should NOT be translated: cutAction

  48 cutAction=cut-to-clipboard
  49 cutImage=resources/cut.gif
  50 copyLabel=Copy
  51 # The following string should NOT be translated: copyAction

  52 copyAction=copy-to-clipboard
  53 copyImage=resources/copy.gif
  54 pasteLabel=Paste
  55 # The following string should NOT be translated: pasteAction

  56 pasteAction=paste-from-clipboard
  57 pasteImage=resources/paste.gif
  58 undoLabel=Undo
  59 # The following string should NOT be translated: undoAction

  60 undoAction=Undo
  61 redoLabel=Redo
  62 # The following string should NOT be translated: redoAction

  63 redoAction=Redo
  64 
  65 #
  66 # debug Menu definition
  67 #
  68 

  69 # The following string should NOT be translated: debug

  70 debug=dump showElementTree
  71 debugLabel=Debug
  72 dumpLabel=Dump model to System.err
  73 # The following string should NOT be translated: dumpAction

  74 dumpAction=dump-model
  75 showElementTreeLabel=Show Elements
  76 
  77 # toolbar definition
  78 #
  79 # Each of the strings that follow form a key to be
  80 # used as the basis of the tool definition.  Actions
  81 # are of course sharable, and in this case are shared
  82 # with the menu items.
  83 

  84 # The following string should NOT be translated: toolbar

  85 toolbar=new open save - cut copy paste
  86 newTooltip=Create a new file
  87 openTooltip=Open a file
  88 saveTooltip=Save to a file
  89 cutTooltip=Move selection to clipboard
  90 copyTooltip=Copy selection to clipboard
  91 pasteTooltip=Paste clipboard to selection
< prev index next >