libyui-ncurses-pkg  2.43.4.1
 All Classes Functions
NCPkgStrings.h
1 /****************************************************************************
2 |
3 | Copyright (c) [2002-2011] Novell, Inc.
4 | All Rights Reserved.
5 |
6 | This program is free software; you can redistribute it and/or
7 | modify it under the terms of version 2 of the GNU General Public License as
8 | published by the Free Software Foundation.
9 |
10 | This program is distributed in the hope that it will be useful,
11 | but WITHOUT ANY WARRANTY; without even the implied warranty of
12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 | GNU General Public License for more details.
14 |
15 | You should have received a copy of the GNU General Public License
16 | along with this program; if not, contact Novell, Inc.
17 |
18 | To contact Novell about this file by physical or electronic mail,
19 | you may find current contact information at www.novell.com
20 |
21 |***************************************************************************/
22 
23 
24 /*---------------------------------------------------------------------\
25 | |
26 | __ __ ____ _____ ____ |
27 | \ \ / /_ _/ ___|_ _|___ \ |
28 | \ V / _` \___ \ | | __) | |
29 | | | (_| |___) || | / __/ |
30 | |_|\__,_|____/ |_| |_____| |
31 | |
32 | core system |
33 | (C) SuSE GmbH |
34 \----------------------------------------------------------------------/
35 
36  File: NCPkgStrings.h
37 
38  Author: Gabriele Strattner <gs@suse.de>
39 
40 /-*/
41 #ifndef NCPkgStrings_h
42 #define NCPkgStrings_h
43 
44 #include "NCstring.h"
45 #include <string>
46 
47 
48 
49 // Class to make available globally used names in package selection dialog,
50 // such as widget ids, text which has to be translated and so on
51 
53 {
54 public:
55 
56  // Main menu entry Dependencies
57  static const std::string Deps();
58 
59  // Main menu entry View
60  static const std::string View();
61 
62  // Main menu entry 'Extras'
63  static const std::string Extras();
64 
65  //Package Filters combo box label
66  static const std::string Filter();
67 
68  static const std::string InstPkg();
69 
70  //Label below the table - pkg name follows
71  static const std::string PackageName();
72 
73  //Actions menu (what to do with the pkg)
74  static const std::string Actions();
75 
76  static const std::string Help();
77 
78  // The headline of the help popup
79  static const std::string PackageHelp();
80 
81  //strings in 'General Help'
82  static const std::string HelpPkgGen1();
83  static const std::string HelpPkgGen2();
84  static const std::string HelpPkgGen3();
85  static const std::string HelpPkgGen4();
86  static const std::string HelpPkgGen5();
87  static const std::string HelpPkgGen6();
88 
89  // The headline of the help popup
90  static const std::string PackageStatusHelp();
91 
92  //strings in 'Package Status and symbols'
93  static const std::string HelpOnStatus1();
94  static const std::string HelpOnStatus2();
95  static const std::string HelpOnStatus3();
96  static const std::string HelpOnStatus4();
97  static const std::string HelpOnStatus5();
98 
99  // The headline of the help popup
100  static const std::string PackageFiltersHelp();
101 
102  //string in 'How to use filters'
103  static const std::string HelpOnFilters1();
104  static const std::string HelpOnFilters2();
105  static const std::string HelpOnFilters3();
106  static const std::string HelpOnFilters4();
107  static const std::string HelpOnFilters5();
108 
109  // The headline of the help popup
110  static const std::string PackageMenuHelp();
111 
112  // strings in 'Useful functions in menu'
113  static const std::string HelpPkgMenu1();
114  static const std::string HelpPkgMenu2();
115  static const std::string HelpPkgMenu2_2();
116  static const std::string HelpPkgMenu2_3();
117  static const std::string HelpPkgMenu3();
118  static const std::string HelpPkgMenu4();
119  static const std::string HelpPkgMenu5();
120 
121  //Search settings
122  static const std::string SearchIn();
123  static const std::string SearchPhrase();
124 
125  // table column headlines
126  static const std::string PkgStatus();
127  static const std::string PatternsLabel();
128  static const std::string LangCode();
129  static const std::string LangName();
130  static const std::string RepoURL();
131  static const std::string PkgName();
132  static const std::string PkgSummary();
133  static const std::string PkgVersion();
134  static const std::string PkgInstSource();
135  static const std::string PkgVersionNew();
136  static const std::string PkgVersionInst();
137  static const std::string PkgSize();
138  static const std::string PkgArch();
139  static const std::string PkgSource();
140  static const std::string PatchKind();
141 
142  //Useful busy popups
143  static const std::string Solving();
144  static const std::string Saving();
145  static const std::string Loading();
146 
147  /**
148  * The headline of the disk space popup
149  */
150  static const std::string DiskspaceLabel();
151 
152  //column headers, diskspace table
153  static const std::string Partition();
154  static const std::string UsedSpace();
155  static const std::string FreeSpace();
156  static const std::string TotalSpace();
157  /**
158  * The headline of the disk space popup
159  */
160  static const std::string DiskSpaceError();
161  static const std::string DiskSpaceWarning();
162  static const std::string MoreText();
163  static const std::string MoreSpaceText();
164 
165  /**
166  * bold text Version: (richtext)
167  */
168  static const std::string Version();
169 
170  /**
171  * bold text Installed version: (richtext)
172  */
173  static const std::string InstVersion();
174 
175  /**
176  * bold text License: (richtext)
177  */
178  static const std::string License();
179 
180  /**
181  * bold text Media No.: (richtext)
182  */
183  static const std::string MediaNo();
184 
185  /**
186  * bold text Size: (richtext)
187  */
188  static const std::string Size();
189 
190  /**
191  * bold text Package Group: (richtext)
192  */
193  static const std::string RpmGroup();
194 
195  /**
196  * bold text Authors: (richtext)
197  */
198  static const std::string Authors();
199 
200  /**
201  * bold text Provides: (richtext)
202  */
203  static const std::string Provides();
204 
205  /**
206  * bold text Requires: (richtext)
207  */
208  static const std::string Requires();
209 
210  /**
211  * bold text Required by: (richtext)
212  */
213  static const std::string PreRequires();
214 
215  /**
216  * bold text Conflicts with: (richtext)
217  */
218  static const std::string Conflicts();
219 
220  static const std::string ListOfFiles();
221  static const std::string LanguageDescription();
222  /**
223  * text used for automatic changes popup
224  */
225  static const std::string AutoChangeLabel();
226  static const std::string AutoChangeText1();
227  static const std::string AutoChangeText2();
228 
229  /**
230  * The headline of the help YOU popup
231  */
232  static const std::string YouHelp();
233 
234  /**
235  * help text package status
236  */
237  static const std::string YouHelp1();
238  static const std::string YouHelp2();
239  static const std::string YouHelp3();
240 
241  static const std::string WarningLabel();
242  static const std::string ErrorLabel();
243  static const std::string NotifyLabel();
244 
245  /**
246  * The label of the OK button
247  */
248  static const std::string OKLabel();
249 
250  /**
251  * The label of the Cancel button
252  */
253  static const std::string CancelLabel();
254 
255  /**
256  * The label of the Yes button
257  */
258  static const std::string YesLabel();
259 
260  /**
261  * The label of the Accept button
262  */
263  static const std::string AcceptLabel();
264 
265  /**
266  * The label of the No button
267  */
268  static const std::string NoLabel();
269 
270  /**
271  * The label of the Solve button
272  */
273  static const std::string SolveLabel();
274 
275 
276  static const std::string CancelText();
277  /**
278  * The label of the language selections popup
279  */
280  static const std::string LanguageLabel();
281 
282  /**
283  * The label of the repositories selections popup
284  */
285  static const std::string RepoLabel();
286 
287  /**
288  * The label Filter: YOU Patches
289  */
290  static const std::string YOUPatches();
291  static const std::string InstPatches();
292  static const std::string Patches();
293 
294  /**
295  * The label for Filter: Search results
296  */
297  static const std::string SearchResults();
298 
299  /**
300  * The label for Filter: Update problem
301  */
302  static const std::string UpdateProblem();
303 
304  /**
305  * The headline of the dependency popup
306  */
307  static const std::string PackageDeps();
308 
309  static const std::string HelpOnUpdate();
310 
311  /**
312  * bold text Patch: (richtext)
313  */
314  static const std::string Patch();
315 
316  /**
317  * Info line in empty patch list
318  */
319  static const std::string NoPatches();
320 
321  static const std::string MenuList();
322  static const std::string Script();
323 
324 
325 
326 private:
327 
328  // Need no object of this class: hide default constructor
329  NCPkgStrings();
330 
331  static int do_something(){ return 0; }
332 
333 };
334 
335 
336 ///////////////////////////////////////////////////////////////////
337 
338 #endif // NCPkgStrings_h
339 
340 
341