libyui-ncurses-pkg
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 <string>
45 
46 #include <yui/ncurses/NCstring.h>
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 
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();
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 
168  static const std::string Version();
169 
173  static const std::string InstVersion();
174 
178  static const std::string License();
179 
183  static const std::string MediaNo();
184 
188  static const std::string Size();
189 
193  static const std::string Authors();
194 
198  static const std::string Provides();
199 
203  static const std::string Requires();
204 
208  static const std::string PreRequires();
209 
213  static const std::string Conflicts();
214 
215  static const std::string ListOfFiles();
216  static const std::string LanguageDescription();
220  static const std::string AutoChangeLabel();
221  static const std::string AutoChangeText1();
222  static const std::string AutoChangeText2();
223 
227  static const std::string YouHelp();
228 
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 
245  static const std::string OKLabel();
246 
250  static const std::string CancelLabel();
251 
255  static const std::string ContinueLabel();
256 
260  static const std::string YesLabel();
261 
265  static const std::string AcceptLabel();
266 
270  static const std::string NoLabel();
271 
275  static const std::string SolveLabel();
276 
277 
278  static const std::string CancelText();
282  static const std::string LanguageLabel();
283 
287  static const std::string RepoLabel();
288 
292  static const std::string YOUPatches();
293  static const std::string InstPatches();
294  static const std::string Patches();
295 
299  static const std::string SearchResults();
300 
304  static const std::string UpdateProblem();
305 
309  static const std::string PackageDeps();
310 
311  static const std::string HelpOnUpdate();
312 
316  static const std::string Patch();
317 
321  static const std::string NoPatches();
322 
323  static const std::string MenuList();
324  static const std::string Script();
325 
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 
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 
351 
352 #endif // NCPkgStrings_h
353 
354 
355 
static const std::string SolveLabel()
Definition: NCPkgStrings.cc:709
static const std::string AutoChangeLabel()
Definition: NCPkgStrings.cc:579
static const std::string YOUPatches()
Definition: NCPkgStrings.cc:740
static const std::string UpdateProblem()
Definition: NCPkgStrings.cc:766
static const std::string Requires()
Definition: NCPkgStrings.cc:544
static const std::string YouHelp()
Definition: NCPkgStrings.cc:600
static const std::string RetractedLabel()
Definition: NCPkgStrings.cc:856
static const std::string MediaNo()
Definition: NCPkgStrings.cc:530
static const std::string YouHelp1()
Definition: NCPkgStrings.cc:607
static const std::string Provides()
Definition: NCPkgStrings.cc:537
static const std::string PackageDeps()
Definition: NCPkgStrings.cc:780
static const std::string Authors()
Definition: NCPkgStrings.cc:516
static const std::string AcceptLabel()
Definition: NCPkgStrings.cc:695
static const std::string PreRequires()
Definition: NCPkgStrings.cc:551
static const std::string SearchResults()
Definition: NCPkgStrings.cc:773
Definition: NCPkgStrings.h:52
static const std::string Patch()
Definition: NCPkgStrings.cc:801
static const std::string MultiversionHead()
Definition: NCPkgStrings.cc:821
static const std::string LanguageLabel()
Definition: NCPkgStrings.cc:726
static const std::string NoPatches()
Definition: NCPkgStrings.cc:808
static const std::string YesLabel()
Definition: NCPkgStrings.cc:688
static const std::string NoLabel()
Definition: NCPkgStrings.cc:702
static const std::string DiskspaceLabel()
Definition: NCPkgStrings.cc:432
static const std::string InstVersion()
Definition: NCPkgStrings.cc:509
static const std::string RepoLabel()
Definition: NCPkgStrings.cc:733
static const std::string DiskSpaceError()
Definition: NCPkgStrings.cc:467
static const std::string License()
Definition: NCPkgStrings.cc:523
static const std::string ContinueLabel()
Definition: NCPkgStrings.cc:674
static const std::string Size()
Definition: NCPkgStrings.cc:502
static const std::string Conflicts()
Definition: NCPkgStrings.cc:559
static const std::string CancelLabel()
Definition: NCPkgStrings.cc:681
static const std::string Version()
Definition: NCPkgStrings.cc:495
static const std::string OKLabel()
Definition: NCPkgStrings.cc:667