comparison flys-client/src/main/java/de/intevation/flys/client/client/FLYSMessages.java @ 102:33e24b33fc38

Improved the way how to i18n strings in our application. flys-client/trunk@1619 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Wed, 30 Mar 2011 08:33:24 +0000
parents 0bec0112c8b3
children
comparison
equal deleted inserted replaced
101:f7967d12ce6e 102:33e24b33fc38
1 package de.intevation.flys.client.client; 1 package de.intevation.flys.client.client;
2 2
3 import com.google.gwt.i18n.client.Messages; 3 import com.google.gwt.i18n.client.ConstantsWithLookup;
4 4
5 5
6 /** 6 /**
7 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a> 7 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a>
8 */ 8 */
9 public interface FLYSMessages extends Messages { 9 public interface FLYSMessages extends ConstantsWithLookup {
10 10
11 @DefaultMessage("FLYS-3.0")
12 String title(); 11 String title();
13 12
14 @DefaultMessage("Flusshydrologische Software")
15 String fullname(); 13 String fullname();
16 14
17 @DefaultMessage("User: ''{0}''") 15 String user();
18 String user(String user);
19 16
20 @DefaultMessage("guest")
21 String guest(); 17 String guest();
22 18
23 @DefaultMessage("Projects")
24 String projects(); 19 String projects();
25 20
26 @DefaultMessage("Manage Projects")
27 String manage_projects(); 21 String manage_projects();
28 22
29 @DefaultMessage("Logout")
30 String logout(); 23 String logout();
31 24
32 @DefaultMessage("German")
33 String switch_language(); 25 String switch_language();
34 26
35 @DefaultMessage("Info")
36 String info(); 27 String info();
37 28
38 @DefaultMessage("No existing projects found.")
39 String no_projects(); 29 String no_projects();
40 30
41 @DefaultMessage("Loading projects...")
42 String load_projects(); 31 String load_projects();
43 32
44 @DefaultMessage("yyyy-MM-dd")
45 String date_format(); 33 String date_format();
46 34
47 @DefaultMessage("yyyy-MM-dd HH:mm")
48 String datetime_format(); 35 String datetime_format();
49 36
50 @DefaultMessage("New Project")
51 String new_project(); 37 String new_project();
52 38
53 @DefaultMessage("New Calculation")
54 String new_calculation(); 39 String new_calculation();
55 40
56 @DefaultMessage("Modul")
57 String module_selection(); 41 String module_selection();
58 42
59 @DefaultMessage("Rivers")
60 String river_selection(); 43 String river_selection();
61 44
62 @DefaultMessage("WINFO")
63 String winfo(); 45 String winfo();
64 46
65 @DefaultMessage("MINFO")
66 String minfo(); 47 String minfo();
67 48
68 @DefaultMessage("New Map")
69 String map(); 49 String map();
70 50
71 @DefaultMessage("New Chart")
72 String chart(); 51 String chart();
73 52
74 @DefaultMessage("TODO FIX ANALYSE TODO")
75 String fix(); 53 String fix();
76 54
77 @DefaultMessage("Next")
78 String next(); 55 String next();
79 56
80 @DefaultMessage("Choose calculation location/distance")
81 String location_distance_state(); 57 String location_distance_state();
82 58
83 @DefaultMessage("Location")
84 String location(); 59 String location();
85 60
86 @DefaultMessage("Distance")
87 String distance(); 61 String distance();
88 62
89 @DefaultMessage("km")
90 String unitFrom(); 63 String unitFrom();
91 64
92 @DefaultMessage("km a")
93 String unitTo(); 65 String unitTo();
94 66
95 @DefaultMessage("m")
96 String unitWidth(); 67 String unitWidth();
97 68
98 @DefaultMessage("km")
99 String unitLocation(); 69 String unitLocation();
100 70
101 @DefaultMessage("Wrong format")
102 String wrongFormat(); 71 String wrongFormat();
103 72
104 @DefaultMessage("Input for W/Q Data")
105 String wqTitle(); 73 String wqTitle();
106 74
107 @DefaultMessage("W at gauge [cm]")
108 String wqW(); 75 String wqW();
109 76
110 @DefaultMessage("Q [m³/s]")
111 String wqQ(); 77 String wqQ();
112 78
113 @DefaultMessage("Single values")
114 String wqSingle(); 79 String wqSingle();
115 80
116 @DefaultMessage("Range")
117 String wqRange(); 81 String wqRange();
118 82
119 @DefaultMessage("cm")
120 String unitWSingle(); 83 String unitWSingle();
121 84
122 @DefaultMessage("cm -")
123 String unitWFrom(); 85 String unitWFrom();
124 86
125 @DefaultMessage("cm a")
126 String unitWTo(); 87 String unitWTo();
127 88
128 @DefaultMessage("cm")
129 String unitWStep(); 89 String unitWStep();
130 90
131 @DefaultMessage("m³/s")
132 String unitQSingle(); 91 String unitQSingle();
133 92
134 @DefaultMessage("m³/s -")
135 String unitQFrom(); 93 String unitQFrom();
136 94
137 @DefaultMessage("m³/s a")
138 String unitQTo(); 95 String unitQTo();
139 96
140 @DefaultMessage("m³/s")
141 String unitQStep(); 97 String unitQStep();
142 98
143 @DefaultMessage("Home")
144 String footerHome(); 99 String footerHome();
145 100
146 @DefaultMessage("Contact")
147 String footerContact(); 101 String footerContact();
148 102
149 @DefaultMessage("Impressum")
150 String footerImpressum(); 103 String footerImpressum();
151 104
152 @DefaultMessage("Next")
153 String buttonNext(); 105 String buttonNext();
154 106
155 @DefaultMessage("images/back.png")
156 String imageBack(); 107 String imageBack();
108
109 String discharge_curve();
157 } 110 }
158 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : 111 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :

http://dive4elements.wald.intevation.org