libyui-ncurses-pkg  2.50.7
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 Authors: (richtext)
192  */
193  static const std::string Authors();
194 
195  /**
196  * bold text Provides: (richtext)
197  */
198  static const std::string Provides();
199 
200  /**
201  * bold text Requires: (richtext)
202  */
203  static const std::string Requires();
204 
205  /**
206  * bold text Required by: (richtext)
207  */
208  static const std::string PreRequires();
209 
210  /**
211  * bold text Conflicts with: (richtext)
212  */
213  static const std::string Conflicts();
214 
215  static const std::string ListOfFiles();
216  static const std::string LanguageDescription();
217  /**
218  * text used for automatic changes popup
219  */
220  static const std::string AutoChangeLabel();
221  static const std::string AutoChangeText1();
222  static const std::string AutoChangeText2();
223 
224  /**
225  * The headline of the help YOU popup
226  */
227  static const std::string YouHelp();
228 
229  /**
230  * help text package status
231  */
232  static const std::string YouHelp1();
233  static const std::string YouHelp2();
234  static const std::string YouHelp3();
235  static const std::string YouHelp4();
236  static const std::string YouHelp5();
237 
238  static const std::string WarningLabel();
239  static const std::string ErrorLabel();
240  static const std::string NotifyLabel();
241 
242  /**
243  * The label of the OK button
244  */
245  static const std::string OKLabel();
246 
247  /**
248  * The label of the Cancel button
249  */
250  static const std::string CancelLabel();
251 
252  /**
253  * The label of the Continue button
254  */
255  static const std::string ContinueLabel();
256 
257  /**
258  * The label of the Yes button
259  */
260  static const std::string YesLabel();
261 
262  /**
263  * The label of the Accept button
264  */
265  static const std::string AcceptLabel();
266 
267  /**
268  * The label of the No button
269  */
270  static const std::string NoLabel();
271 
272  /**
273  * The label of the Solve button
274  */
275  static const std::string SolveLabel();
276 
277 
278  static const std::string CancelText();
279  /**
280  * The label of the language selections popup
281  */
282  static const std::string LanguageLabel();
283 
284  /**
285  * The label of the repositories selections popup
286  */
287  static const std::string RepoLabel();
288 
289  /**
290  * The label Filter: YOU Patches
291  */
292  static const std::string YOUPatches();
293  static const std::string InstPatches();
294  static const std::string Patches();
295 
296  /**
297  * The label for Filter: Search results
298  */
299  static const std::string SearchResults();
300 
301  /**
302  * The label for Filter: Update problem
303  */
304  static const std::string UpdateProblem();
305 
306  /**
307  * The headline of the dependency popup
308  */
309  static const std::string PackageDeps();
310 
311  static const std::string HelpOnUpdate();
312 
313  /**
314  * bold text Patch: (richtext)
315  */
316  static const std::string Patch();
317 
318  /**
319  * Info line in empty patch list
320  */
321  static const std::string NoPatches();
322 
323  static const std::string MenuList();
324  static const std::string Script();
325 
326  /**
327  * Info about multiversion packages
328  */
329  static const std::string MultiversionHead();
330  static const std::string MultiversionIntro();
331  static const std::string MultiversionText();
332  static const std::string NotMultiversionText();
333 
334  /**
335  * Marking for package versions that are retracted.
336  **/
337  static const std::string RetractedLabel();
338 
339 
340 private:
341 
342  // Need no object of this class: hide default constructor
343  NCPkgStrings();
344 
345  static int do_something(){ return 0; }
346 
347 };
348 
349 
350 ///////////////////////////////////////////////////////////////////
351 
352 #endif // NCPkgStrings_h
353 
354 
355 
static const std::string SolveLabel()
The label of the Solve button.
static const std::string AutoChangeLabel()
text used for automatic changes popup
static const std::string YOUPatches()
The label Filter: YOU Patches.
static const std::string UpdateProblem()
The label for Filter: Update problem.
static const std::string Requires()
bold text Requires: (richtext)
static const std::string YouHelp()
The headline of the help YOU popup.
static const std::string RetractedLabel()
Marking for package versions that are retracted.
static const std::string MediaNo()
bold text Media No.
static const std::string YouHelp1()
help text package status
static const std::string Provides()
bold text Provides: (richtext)
static const std::string PackageDeps()
The headline of the dependency popup.
static const std::string Authors()
bold text Authors: (richtext)
static const std::string AcceptLabel()
The label of the Accept button.
static const std::string PreRequires()
bold text Required by: (richtext)
static const std::string SearchResults()
The label for Filter: Search results.
static const std::string Patch()
bold text Patch: (richtext)
static const std::string MultiversionHead()
Info about multiversion packages.
static const std::string LanguageLabel()
The label of the language selections popup.
static const std::string NoPatches()
Info line in empty patch list.
static const std::string YesLabel()
The label of the Yes button.
static const std::string NoLabel()
The label of the No button.
static const std::string DiskspaceLabel()
The headline of the disk space popup.
static const std::string InstVersion()
bold text Installed version: (richtext)
static const std::string RepoLabel()
The label of the repositories selections popup.
static const std::string DiskSpaceError()
The headline of the disk space popup.
static const std::string License()
bold text License: (richtext)
static const std::string ContinueLabel()
The label of the Continue button.
static const std::string Size()
bold text Size: (richtext)
static const std::string Conflicts()
bold text Conflicts with: (richtext)
static const std::string CancelLabel()
The label of the Cancel button.
static const std::string Version()
bold text Version: (richtext)
static const std::string OKLabel()
The label of the OK button.