libyui-ncurses-pkg
Loading...
Searching...
No Matches
NCPkgStrings.h
1/*
2 Copyright (c) [2002-2011] Novell, Inc.
3 Copyright (c) 2021 SUSE LLC
4
5 This library is free software; you can redistribute it and/or modify
6 it under the terms of the GNU Lesser General Public License as
7 published by the Free Software Foundation; either version 2.1 of the
8 License, or (at your option) version 3.0 of the License. This library
9 is distributed in the hope that it will be useful, but WITHOUT ANY
10 WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
12 License for more details. You should have received a copy of the GNU
13 Lesser General Public License along with this library; if not, write
14 to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
15 Floor, Boston, MA 02110-1301 USA
16
17
18 File: NCPkgStrings.h
19 Author: Gabriele Strattner <gs@suse.de>
20
21*/
22
23
24#ifndef NCPkgStrings_h
25#define NCPkgStrings_h
26
27#include <string>
28
29#include <yui/ncurses/NCstring.h>
30
31
32// Class to make available globally used names in package selection dialog,
33// such as widget ids, text which has to be translated and so on
34
36{
37public:
38
39 // Main menu entry Dependencies
40 static const std::string Deps();
41
42 // Main menu entry View
43 static const std::string View();
44
45 // Main menu entry 'Extras'
46 static const std::string Extras();
47
48 // Package Filters combo box label
49 static const std::string Filter();
50
51 static const std::string InstPkg();
52
53 // Label below the table - pkg name follows
54 static const std::string PackageName();
55
56 // Actions menu (what to do with the pkg)
57 static const std::string Actions();
58
59 static const std::string Help();
60
61 // The headline of the help popup
62 static const std::string PackageHelp();
63
64 // strings in 'General Help'
65 static const std::string HelpPkgGen1();
66 static const std::string HelpPkgGen2();
67 static const std::string HelpPkgGen3();
68 static const std::string HelpPkgGen4();
69 static const std::string HelpPkgGen5();
70 static const std::string HelpPkgGen6();
71
72 // The headline of the help popup
73 static const std::string PackageStatusHelp();
74
75 // strings in 'Package Status and symbols'
76 static const std::string HelpOnStatus1();
77 static const std::string HelpOnStatus2();
78 static const std::string HelpOnStatus3();
79 static const std::string HelpOnStatus4();
80 static const std::string HelpOnStatus5();
81
82 // The headline of the help popup
83 static const std::string PackageFiltersHelp();
84
85 // string in 'How to use filters'
86 static const std::string HelpOnFilters1();
87 static const std::string HelpOnFilters2();
88 static const std::string HelpOnFilters3();
89 static const std::string HelpOnFilters4();
90 static const std::string HelpOnFilters5();
91
92 // The headline of the help popup
93 static const std::string PackageMenuHelp();
94
95 // strings in 'Useful functions in menu'
96 static const std::string HelpPkgMenu1();
97 static const std::string HelpPkgMenu2();
98 static const std::string HelpPkgMenu2_2();
99 static const std::string HelpPkgMenu2_3();
100 static const std::string HelpPkgMenu3();
101 static const std::string HelpPkgMenu4();
102 static const std::string HelpPkgMenu5();
103
104 // Search settings
105 static const std::string SearchIn();
106 static const std::string SearchPhrase();
107
108 // table column headlines
109 static const std::string PkgStatus();
110 static const std::string PatternsLabel();
111 static const std::string LangCode();
112 static const std::string LangName();
113 static const std::string RepoURL();
114 static const std::string PkgName();
115 static const std::string PkgSummary();
116 static const std::string PkgVersion();
117 static const std::string PkgInstSource();
118 static const std::string PkgVersionNew();
119 static const std::string PkgVersionInst();
120 static const std::string PkgSize();
121 static const std::string PkgArch();
122 static const std::string PkgSource();
123 static const std::string PatchKind();
124
125 // Useful busy popups
126 static const std::string Solving();
127 static const std::string Saving();
128 static const std::string Loading();
129
133 static const std::string DiskspaceLabel();
134
135 // column headers, diskspace table
136 static const std::string Partition();
137 static const std::string UsedSpace();
138 static const std::string FreeSpace();
139 static const std::string TotalSpace();
143 static const std::string DiskSpaceError();
144 static const std::string DiskSpaceWarning();
145 static const std::string MoreText();
146 static const std::string MoreSpaceText();
147
151 static const std::string Version();
152
156 static const std::string InstVersion();
157
161 static const std::string License();
162
166 static const std::string MediaNo();
167
171 static const std::string Size();
172
176 static const std::string Authors();
177
181 static const std::string Provides();
182
186 static const std::string Requires();
187
191 static const std::string PreRequires();
192
196 static const std::string Conflicts();
197
198 static const std::string ListOfFiles();
199 static const std::string LanguageDescription();
203 static const std::string AutoChangeLabel();
204 static const std::string AutoChangeText1();
205 static const std::string AutoChangeText2();
206
210 static const std::string YouHelp();
211
215 static const std::string YouHelp1();
216 static const std::string YouHelp2();
217 static const std::string YouHelp3();
218 static const std::string YouHelp4();
219 static const std::string YouHelp5();
220
221 static const std::string WarningLabel();
222 static const std::string ErrorLabel();
223 static const std::string NotifyLabel();
224
228 static const std::string OKLabel();
229
233 static const std::string CancelLabel();
234
238 static const std::string ContinueLabel();
239
243 static const std::string YesLabel();
244
248 static const std::string AcceptLabel();
249
253 static const std::string NoLabel();
254
258 static const std::string SolveLabel();
259
260
261 static const std::string CancelText();
265 static const std::string LanguageLabel();
266
270 static const std::string RepoLabel();
271
275 static const std::string YOUPatches();
276 static const std::string InstPatches();
277 static const std::string Patches();
278
282 static const std::string SearchResults();
283
287 static const std::string UpdateProblem();
288
292 static const std::string PackageDeps();
293
294 static const std::string HelpOnUpdate();
295
299 static const std::string Patch();
300
304 static const std::string NoPatches();
305
306 static const std::string MenuList();
307 static const std::string Script();
308
312 static const std::string MultiversionHead();
313 static const std::string MultiversionIntro();
314 static const std::string MultiversionText();
315 static const std::string NotMultiversionText();
316
320 static const std::string RetractedLabel();
321
322
323private:
324
325 // Need no object of this class: hide default constructor
326 NCPkgStrings();
327
328 static int do_something(){ return 0; }
329
330};
331
332
334
335#endif // NCPkgStrings_h
336
337
338
Definition NCPkgStrings.h:36
static const std::string YOUPatches()
Definition NCPkgStrings.cc:719
static const std::string License()
Definition NCPkgStrings.cc:502
static const std::string SearchResults()
Definition NCPkgStrings.cc:752
static const std::string PreRequires()
Definition NCPkgStrings.cc:530
static const std::string NoPatches()
Definition NCPkgStrings.cc:787
static const std::string Patch()
Definition NCPkgStrings.cc:780
static const std::string PackageDeps()
Definition NCPkgStrings.cc:759
static const std::string YouHelp()
Definition NCPkgStrings.cc:579
static const std::string MultiversionHead()
Definition NCPkgStrings.cc:800
static const std::string Version()
Definition NCPkgStrings.cc:474
static const std::string AcceptLabel()
Definition NCPkgStrings.cc:674
static const std::string RetractedLabel()
Definition NCPkgStrings.cc:835
static const std::string DiskspaceLabel()
Definition NCPkgStrings.cc:411
static const std::string MediaNo()
Definition NCPkgStrings.cc:509
static const std::string Size()
Definition NCPkgStrings.cc:481
static const std::string OKLabel()
Definition NCPkgStrings.cc:646
static const std::string Authors()
Definition NCPkgStrings.cc:495
static const std::string Provides()
Definition NCPkgStrings.cc:516
static const std::string YouHelp1()
Definition NCPkgStrings.cc:586
static const std::string CancelLabel()
Definition NCPkgStrings.cc:660
static const std::string SolveLabel()
Definition NCPkgStrings.cc:688
static const std::string ContinueLabel()
Definition NCPkgStrings.cc:653
static const std::string DiskSpaceError()
Definition NCPkgStrings.cc:446
static const std::string LanguageLabel()
Definition NCPkgStrings.cc:705
static const std::string YesLabel()
Definition NCPkgStrings.cc:667
static const std::string UpdateProblem()
Definition NCPkgStrings.cc:745
static const std::string Conflicts()
Definition NCPkgStrings.cc:538
static const std::string Requires()
Definition NCPkgStrings.cc:523
static const std::string NoLabel()
Definition NCPkgStrings.cc:681
static const std::string InstVersion()
Definition NCPkgStrings.cc:488
static const std::string AutoChangeLabel()
Definition NCPkgStrings.cc:558
static const std::string RepoLabel()
Definition NCPkgStrings.cc:712