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 # Resource strings for Notepad example
  32 
  33 Title=\u30E1\u30E2\u5E33
  34 ElementTreeFrameTitle=\u8981\u7D20
  35 
  36 # file Menu definition
  37 #
  38 # Each of the strings that follow form a key to be
  39 # used as the basis of a menu item definition.
  40 #
  41 # open ->  Notepad.openAction
  42 # new  ->  Notepad.newAction
  43 # save ->  Notepad.saveAction
  44 # exit ->  Notepad.exitAction
  45 
  46 fileLabel=\u30D5\u30A1\u30A4\u30EB
  47 openLabel=\u958B\u304F
  48 openImage=resources/open.gif
  49 newLabel=\u65B0\u898F
  50 newImage=resources/new.gif
  51 saveLabel=\u4FDD\u5B58
  52 saveImage=resources/save.gif
  53 exitLabel=\u7D42\u4E86
  54 
  55 #
  56 # edit Menu definition
  57 #
  58 # cut   -> JTextComponent.cutAction
  59 # copy  -> JTextComponent.copyAction
  60 # paste -> JTextComponent.pasteAction
  61 
  62 editLabel=\u7DE8\u96C6
  63 cutLabel=\u5207\u53D6\u308A
  64 cutImage=resources/cut.gif
  65 copyLabel=\u30B3\u30D4\u30FC
  66 copyImage=resources/copy.gif
  67 pasteLabel=\u8CBC\u4ED8\u3051
  68 pasteImage=resources/paste.gif
  69 undoLabel=\u5143\u306B\u623B\u3059
  70 redoLabel=\u518D\u5B9F\u884C
  71 
  72 #
  73 # debug Menu definition
  74 #
  75 
  76 debugLabel=\u30C7\u30D0\u30C3\u30B0
  77 dumpLabel=\u30E2\u30C7\u30EB\u3092System.err\u306B\u30C0\u30F3\u30D7
  78 showElementTreeLabel=\u8981\u7D20\u306E\u8868\u793A
  79 
  80 # toolbar definition
  81 #
  82 # Each of the strings that follow form a key to be
  83 # used as the basis of the tool definition.  Actions
  84 # are of course sharable, and in this case are shared
  85 # with the menu items.
  86 
  87 newTooltip=\u30D5\u30A1\u30A4\u30EB\u3092\u65B0\u898F\u4F5C\u6210\u3059\u308B
  88 openTooltip=\u30D5\u30A1\u30A4\u30EB\u3092\u958B\u304F
  89 saveTooltip=\u30D5\u30A1\u30A4\u30EB\u306B\u4FDD\u5B58
  90 cutTooltip=\u9078\u629E\u3092\u30AF\u30EA\u30C3\u30D7\u30DC\u30FC\u30C9\u306B\u79FB\u52D5
  91 copyTooltip=\u9078\u629E\u3092\u30AF\u30EA\u30C3\u30D7\u30DC\u30FC\u30C9\u306B\u30B3\u30D4\u30FC
  92 pasteTooltip=\u30AF\u30EA\u30C3\u30D7\u30DC\u30FC\u30C9\u3092\u9078\u629E\u306B\u8CBC\u4ED8\u3051