File: BirthdayResource.xml

package info (click to toggle)
eigenbase-resgen 1.3.0.13229-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 796 kB
  • ctags: 863
  • sloc: java: 7,839; xml: 686; makefile: 16; sh: 6
file content (47 lines) | stat: -rw-r--r-- 2,039 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<?xml version="1.0" ?>
<!--
// $Id: //open/util/resgen/example/source/happy/BirthdayResource.xml#3 $
// package org.eigenbase.resgen is an i18n resource generator
// Copyright (C) 2005-2005 The Eigenbase Project
// Copyright (C) 2005-2005 Disruptive Tech
// Copyright (C) 2005-2005 Red Square, Inc.
// Portions Copyright (C) 2000-2005 Kana Software, Inc. and others.
// All Rights Reserved.
//
// This library is free software; you can redistribute it and/or modify it
// under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation; either version 2.1 of the License, or
// (at your option) any later version.
//
// This library is distributed in the hope that it will be useful, but
// WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
// or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
// License for more details.
//
// You should have received a copy of the GNU Lesser General Public License
// along with this library; if not, write to the Free Software Foundation, Inc.,
// 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
//
// Base resource file for ResGen example.
  -->
<resourceBundle locale="en_US">
  <message name="HappyBirthday">
    <text>Happy Birthday, {0}! You don''t look {1,number}.</text>
  </message>
  <exception name="TooYoung" className="RuntimeException">
    <text>{0} has not been born yet.</text>
  </exception>

  <!-- The following example contains a single apostrophe, which will cause
       the rest of the message to be misinterpreted. The author of the message
       should probably have doubled up the apostrophe. -->
  <exception name="ShouldGiveWarning" className="RuntimeException">
    <text>You don't look {1,number}, {0}!</text>
  </exception>

  <!-- The following resource contains HTML markup, to test that it is escaped
       correctly when generating javadoc. -->
  <message name="WithMarkup">
    <text><![CDATA[This <tag is="not">very</kosher>.]]></text>
  </message>
</resourceBundle>