1 # Copyright (c) 2010, 2019, Oracle and/or its affiliates. All rights reserved.
   2 #
   3 # Redistribution and use in source and binary forms, with or without
   4 # modification, are permitted provided that the following conditions
   5 # are met:
   6 #
   7 #   - Redistributions of source code must retain the above copyright
   8 #     notice, this list of conditions and the following disclaimer.
   9 #
  10 #   - Redistributions in binary form must reproduce the above copyright
  11 #     notice, this list of conditions and the following disclaimer in the
  12 #     documentation and/or other materials provided with the distribution.
  13 #
  14 #   - Neither the name of Oracle nor the names of its
  15 #     contributors may be used to endorse or promote products derived
  16 #     from this software without specific prior written permission.
  17 #
  18 # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
  19 # IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
  20 # THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
  21 # PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE COPYRIGHT OWNER OR
  22 # CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
  23 # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
  24 # PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
  25 # PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
  26 # LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
  27 # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
  28 # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  29 #
  30 
  31 #
  32 # Resource strings for Notepad example
  33 
  34 Title=\u30E1\u30E2\u5E33
  35 ElementTreeFrameTitle=\u8981\u7D20
  36 
  37 # file Menu definition
  38 #
  39 # Each of the strings that follow form a key to be
  40 # used as the basis of a menu item definition.
  41 #
  42 # open ->  Notepad.openAction
  43 # new  ->  Notepad.newAction
  44 # save ->  Notepad.saveAction
  45 # exit ->  Notepad.exitAction
  46 
  47 fileLabel=\u30D5\u30A1\u30A4\u30EB
  48 openLabel=\u958B\u304F
  49 openImage=resources/open.gif
  50 newLabel=\u65B0\u898F
  51 newImage=resources/new.gif
  52 saveLabel=\u4FDD\u5B58
  53 saveImage=resources/save.gif
  54 exitLabel=\u7D42\u4E86
  55 
  56 #
  57 # edit Menu definition
  58 #
  59 # cut   -> JTextComponent.cutAction
  60 # copy  -> JTextComponent.copyAction
  61 # paste -> JTextComponent.pasteAction
  62 
  63 editLabel=\u7DE8\u96C6
  64 cutLabel=\u5207\u53D6\u308A
  65 cutImage=resources/cut.gif
  66 copyLabel=\u30B3\u30D4\u30FC
  67 copyImage=resources/copy.gif
  68 pasteLabel=\u8CBC\u4ED8\u3051
  69 pasteImage=resources/paste.gif
  70 undoLabel=\u5143\u306B\u623B\u3059
  71 redoLabel=\u518D\u5B9F\u884C
  72 
  73 #
  74 # debug Menu definition
  75 #
  76 
  77 debugLabel=\u30C7\u30D0\u30C3\u30B0
  78 dumpLabel=\u30E2\u30C7\u30EB\u3092System.err\u306B\u30C0\u30F3\u30D7
  79 showElementTreeLabel=\u8981\u7D20\u306E\u8868\u793A
  80 
  81 # toolbar definition
  82 #
  83 # Each of the strings that follow form a key to be
  84 # used as the basis of the tool definition.  Actions
  85 # are of course sharable, and in this case are shared
  86 # with the menu items.
  87 
  88 newTooltip=\u30D5\u30A1\u30A4\u30EB\u3092\u65B0\u898F\u4F5C\u6210\u3059\u308B
  89 openTooltip=\u30D5\u30A1\u30A4\u30EB\u3092\u958B\u304F
  90 saveTooltip=\u30D5\u30A1\u30A4\u30EB\u306B\u4FDD\u5B58
  91 cutTooltip=\u9078\u629E\u3092\u30AF\u30EA\u30C3\u30D7\u30DC\u30FC\u30C9\u306B\u79FB\u52D5
  92 copyTooltip=\u9078\u629E\u3092\u30AF\u30EA\u30C3\u30D7\u30DC\u30FC\u30C9\u306B\u30B3\u30D4\u30FC
  93 pasteTooltip=\u30AF\u30EA\u30C3\u30D7\u30DC\u30FC\u30C9\u3092\u9078\u629E\u306B\u8CBC\u4ED8\u3051