001: /*
002: * Copyright 2007 Google Inc.
003: *
004: * Licensed under the Apache License, Version 2.0 (the "License"); you may not
005: * use this file except in compliance with the License. You may obtain a copy of
006: * the License at
007: *
008: * http://www.apache.org/licenses/LICENSE-2.0
009: *
010: * Unless required by applicable law or agreed to in writing, software
011: * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
012: * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
013: * License for the specific language governing permissions and limitations under
014: * the License.
015: */
016: package com.google.gwt.i18n.client.gen;
017:
018: /**
019: * Interface to represent the messages contained in resource bundle
020: * com/google/gwt/i18n/client/gen/TestMessages.properties.
021: */
022: public interface TestMessages extends
023: com.google.gwt.i18n.client.Messages {
024:
025: /**
026: * Translated "{0},{1}, "a","b", "{0}", "{1}", ''a'', 'b', '{0}', ''{1}''".
027: *
028: * @return translated "{0},{1}, "a","b", "{0}", "{1}", ''a'', 'b', '{0}',
029: * ''{1}''"
030: * @gwt.key argsWithQuotes
031: */
032: String argsWithQuotes(String arg0, String arg1);
033:
034: /**
035: * Translated "{1} is the second arg, {0} is the first".
036: *
037: * @return translated "{1} is the second arg, {0} is the first"
038: * @gwt.key args2
039: */
040: String args2(String arg0, String arg1);
041:
042: /**
043: * Translated "no args".
044: *
045: * @return translated "no args"
046: * @gwt.key args0
047: */
048: String args0();
049:
050: /**
051: * Translated "{0}".
052: *
053: * @return translated "{0}"
054: * @gwt.key simpleMessageTest
055: */
056: String simpleMessageTest(String arg0);
057:
058: /**
059: * Translated ""~" ~~ "~~~~ """.
060: *
061: * @return translated ""~" ~~ "~~~~ """
062: * @gwt.key testWithXs
063: */
064: String testWithXs();
065:
066: /**
067: * Translated "arg0arg1 arg0,arg1 {0}arg4".
068: *
069: * @return translated "arg0arg1 arg0,arg1 {0}arg4"
070: * @gwt.key argsTest
071: */
072: String argsTest(String arg0);
073:
074: /**
075: * Translated "repeatedArgs: {0}, {1}, {0}, {1}, {0}, {1}, {0}, {1}".
076: *
077: * @return translated "repeatedArgs: {0}, {1}, {0}, {1}, {0}, {1}, {0}, {1}"
078: * @gwt.key testLotsOfUsageOfArgs
079: */
080: String testLotsOfUsageOfArgs(String arg0, String arg1);
081:
082: /**
083: * Translated "{0},{1},{2},{3},{4},{5},{6},{7},{8},{9}".
084: *
085: * @return translated "{0},{1},{2},{3},{4},{5},{6},{7},{8},{9}"
086: * @gwt.key args10
087: */
088: String args10(String arg0, String arg1, String arg2, String arg3,
089: String arg4, String arg5, String arg6, String arg7,
090: String arg8, String arg9);
091:
092: /**
093: * Translated "ã?Š{0}ä½ {1}好".
094: *
095: * @return translated "ã?Š{0}ä½ {1}好"
096: * @gwt.key unicode
097: */
098: String unicode(String arg0, String arg1);
099:
100: /**
101: * Translated "{0} is a arg".
102: *
103: * @return translated "{0} is a arg"
104: * @gwt.key args1
105: */
106: String args1(String arg0);
107:
108: /**
109: * Translated "{quoted}".
110: *
111: * @return translated "{quoted}"
112: * @gwt.key quotedBraces
113: */
114: String quotedBraces();
115:
116: /**
117: * Translated "".
118: *
119: * @return translated ""
120: * @gwt.key empty
121: */
122: String empty();
123: }
|