libyui-ncurses-pkg  2.50.7
NCPkgStrings.cc
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.cc
37 
38  Author: Gabriele Strattner <gs@suse.de>
39 
40 /-*/
41 
42 
43 #include "NCPkgStrings.h"
44 
45 #include "NCi18n.h"
46 
47 #include <libintl.h>
48 
49 
50 /*
51  Textdomain "ncurses-pkg"
52 */
53 
54 const std::string NCPkgStrings::Deps()
55 {
56  // menu entry 1 - all about pkg dependencies
57  static const std::string value = _( "&Dependencies" );
58  return value;
59 }
60 
61 const std::string NCPkgStrings::View()
62 {
63  // menu entry 2 - display different kinds of info on pkgs
64  static const std::string value = _( "&View" );
65  return value;
66 }
67 
68 const std::string NCPkgStrings::Extras()
69 {
70  // menu entry 3 - miscellaneous stuff
71  static const std::string value = _( "&Extras" );
72  return value;
73 }
74 
75 const std::string NCPkgStrings::Filter()
76 {
77  // pick a package filter - patterns, langs, repos, search,...
78  static const std::string value = _( "&Filter" );
79  return value;
80 }
81 
82 
83 const std::string NCPkgStrings::InstPkg()
84 {
85  // All installed Packages
86  static const std::string value = _( "Installed Packages" );
87  return value;
88 }
89 
90 const std::string NCPkgStrings::PackageName()
91 {
92  // Label under the pkg table - pkg name follows
93  static const std::string value = _( "Package: " );
94  return value;
95 }
96 
97 const std::string NCPkgStrings::Actions()
98 {
99  // Actions on pkgs (install, remove,..)
100  static const std::string value = _( "A&ctions" );
101  return value;
102 }
103 
104 const std::string NCPkgStrings::Help()
105 {
106  // Help button
107  static const std::string value = _( "&Help" );
108  return value;
109 }
110 
111 const std::string NCPkgStrings::PackageHelp()
112 {
113  // the headline of the help window
114  static const std::string value = _( "General Help" );
115  return value;
116 }
117 
118 const std::string NCPkgStrings::HelpPkgGen1()
119 {
120  // part1 of help text package installation
121  static const std::string value = _( "<p><b>Welcome to the package selector</b></p><p>This tool will help you to manage the software on your system. You can install, update or remove single packages, as well as patterns (sets of packages serving certain purpose) or languages. Usually, you do not need to care about package dependencies when installing or removing anything, the solver will do it for you. The package selector consists of three main parts: <b>filters</b>, <b>package table</b> and <b>menu</b>.</p>" );
122  return value;
123 
124 }
125 
126 const std::string NCPkgStrings::HelpPkgGen2()
127 {
128  // part of help text package installation
129  static const std::string value = _( "<p><b>Filter</b> on left panel is designed for easy orientation in a large amount of packages. Use filters to display only packages from a certain repository or in a selected pattern (for example, Games or C/C++ Development) or to search for particular keywords. More information on filters can be found in <i>How to use filters</i>.</p>" );
130  return value;
131 }
132 
133 const std::string NCPkgStrings::HelpPkgGen3()
134 {
135  // additional help text for post installation
136  static const std::string value = _( "<p><b>Package table</b> is the main component of the package selector. You will see a list of packages matching the current filter (for example, the selected RPM group or search result). Each line of the package table has several columns:</p>" );
137  return value;
138 }
139 
140 const std::string NCPkgStrings::HelpPkgGen4()
141 {
142  // part2 of help text package installation
143  static const std::string value = _( "<ol><li>Package status (for more information see <i>Package Status and Symbols</i>)</li> <li>Package name</li><li>Package summary</li><li>Available version (in some of the configured repositories)</li> <li>Installed version(empty for not yet installed packages)</li> <li>Package size</li></ol>" );
144 
145  return value;
146 }
147 
148 const std::string NCPkgStrings::HelpPkgGen5()
149 {
150  // part3 of help text package installation
151  static const std::string value = _( "<p>The <b>Actions</b> menu below the table allows you to change the status of a selected package (or all packages in the list), for example, to delete a package or select an additional package for installation. The status change can also be done directly by pressing the key specified in the menu item (for detailed information about the package status, see <i>Package Status and Symbols</i>).</p>" );
152  return value;
153 }
154 
155 const std::string NCPkgStrings::HelpPkgGen6()
156 {
157  // part4 of help text package installation
158  static const std::string value = _( "<p><b>Menu</b> provides functions related to the handling of package dependencies. Display relevant information on packages or perform actions like opening the repository editor. For more information, see <i>Useful Functions in Menu</i>.</p>" );
159  return value;
160 }
161 
162 const std::string NCPkgStrings::PackageStatusHelp()
163 {
164  // the headline of the help window
165  static const std::string value = _( "Package Status and Symbols" );
166  return value;
167 }
168 
169 const std::string NCPkgStrings::HelpOnStatus1()
170 {
171  // part 1 of help text package status
172  static const std::string value = _( "<p>The package status can be changed using the <i>Actions</i> menu or the keys specified in the menu items. For example, use '+' to install an additional package.</p><p>The \"Taboo\" status means the package should never be installed. On the contrary, the \"Locked\" status means that the installed version of a package should always be kept.</p>" );
173  return value;
174 }
175 
176 const std::string NCPkgStrings::HelpOnStatus2()
177 {
178  // part 2 of help text package status
179  static const std::string value = _( "<p>You can also use <b>RET</b> or <b>SPACE</b> to toggle the package status. The <i>Actions</i> menu also allows you to change the status for all packages in the list (select 'All Listed Packages').</p>" );
180  return value;
181 }
182 const std::string NCPkgStrings::HelpOnStatus3()
183 {
184  // part 3 of help text package status
185  static const std::string value = _( "<p>The meaning of the status flags:</p>" );
186  return value;
187 }
188 
189 const std::string NCPkgStrings::HelpOnStatus4()
190 {
191  // help text package status
192  static const std::string value = _( "<p><b> + </b>: package will be installed</p><p><b>a+ </b>: package will be installed automatically</p><p><b> > </b>: package will be updated</p><p><b>a> </b>: package will be automatically updated</p><p><b> i </b>: package is installed</p><p><b> - </b>: package will be deleted</p><p><b>---</b>: never install this package (taboo)</p>" );
193  return value;
194 }
195 
196 const std::string NCPkgStrings::HelpOnStatus5()
197 {
198  // help text package status
199  static const std::string value = _( "<p><b>-i-</b>: keep the installed version and never update or delete it ( package locked )</p><p>Status information for pattern and languages:</p><p><b> i </b>: All requirements of this pattern/language are satisfied</p>" );
200  return value;
201 }
202 
203 const std::string NCPkgStrings::PackageFiltersHelp()
204 {
205  // label for an error popup
206  static const std::string value = _( "How to Use Filters" );
207  return value;
208 }
209 
210 const std::string NCPkgStrings::HelpOnFilters1()
211 {
212  // help text package status
213  static const std::string value = _( "<p><b>Filter</b> allow you to filter all available packages according to the selected criteria. Package filters are based on package properties (repository, RPM group), package \"containers\" (patterns, languages), package classification or search results. Select the desired filter from the drop-down menu. Specific filters are described below.</p>" );
214  return value;
215 }
216 
217 const std::string NCPkgStrings::HelpOnFilters2()
218 {
219  // help text package status
220  static const std::string value = _( "<p><b>Patterns</b> describe the features and functions a system should have (for example, X server or Console tools). Each pattern contains a set of packages it requires (must have), recommends (should have) and suggests (may have). If you select a pattern for installation, update, or deletion, the solver will run and change the status of subordinate packages accordingly.</p>" );
221  return value;
222 }
223 
224 const std::string NCPkgStrings::HelpOnFilters3()
225 {
226  // help text package status
227  static const std::string value = _( "<p><b>Languages</b> are package containers very much like patterns. They contain packages with translations, dictionaries and other language-specific files for a selected language. <b>RPM Groups</b> are not package containers that can be installed. Instead, membership in a certain RPM group is a property of the package itself. They have a hierarchical (tree) structure. The <b>Repositories</b> filter displays packages available from a specific repository. </p>" );
228  return value;
229 }
230 
231 const std::string NCPkgStrings::HelpOnFilters4()
232 {
233  // help text package search
234  static const std::string value = _( "<p>To use the <b>Search</b> filter, enter a keyword (or part of keyword) for the package search. For example, search for all 3D packages using the expression \"3d\". You can also search in package descriptions, RPM provides or requires. Select the appropriate check box and click the 'Search' button.</p>" );
235  return value;
236 }
237 
238 const std::string NCPkgStrings::HelpOnFilters5()
239 {
240  // help text package status
241 static const std::string value = _( "<p>The <b>Installation summary</b> presents an overview of packages whose status has changed during this session (e.g. marked for installation or removal), either by the user or automatically by the solver. The filter <b>Package Classification</b> provides information about <i>Recommended</i>, <i>Suggested</i>, <i>Orphaned</i> and <i>Unneeded</i> packages.</p>" );
242  return value;
243 }
244 
245 const std::string NCPkgStrings::PackageMenuHelp()
246 {
247  // label for an error popup
248  static const std::string value = _( "Useful Functions in Menu" );
249  return value;
250 }
251 
252 const std::string NCPkgStrings::HelpPkgMenu1()
253 {
254  static const std::string value = _( "<p><b>Dependencies:</b><br> This menu offers various actions related to the handling of package dependencies. By default, package dependencies are checked with every status change. You will be informed about package conflicts in a dialog proposing possible conflict resolutions. To resolve the conflict, select one of the offered solutions and press 'OK -- Try Again'.</p>" );
255  return value;
256 }
257 
258 const std::string NCPkgStrings::HelpPkgMenu2()
259 {
260  static const std::string value = _( "<p>To disable dependency checking on every status change, toggle <i>Automatic Dependency Check</i> OFF. You can check dependencies manually by selecting <i>Check Dependencies Now</i>. The <i>Verify system</i> entry will check the dependencies of already installed packages and resolve conflicts non-interactively, marking missing packages for automatic installation if necessary. For debugging purposes, use <i>Generate Dependency Solver Testcase</i>. It will dump package dependencies data into the directory <tt>/var/log/YaST2/solverTestcase</tt>. This is usually what you need when asked for a \"solver testcase\" in Bugzilla.</p>" );
261  return value;
262 }
263 
264 const std::string NCPkgStrings::HelpPkgMenu2_2()
265 {
266  static const std::string value = _(
267  "<p>Available options for dependency checking are:<br>"
268  "<i>Automatic Dependency Check</i> (see above), "
269  "<i>Install Recommended Packages</i>: if ON, weak dependencies will be honored, "
270  "<i>System Verification Mode</i>: repair dependencies of installed packages and solve immediately. "
271  "Please note: after checking the system with <i>Verify System Now</i> the option <i>System Verification Mode</i> is ON (uncheck the option, if desired). "
272  "These options are saved in the YaST configuration file <tt>/etc/sysconfig/yast2</tt>.</p>"
273  );
274  return value;
275 }
276 
277 const std::string NCPkgStrings::HelpPkgMenu2_3()
278  {
279  static const std::string value = _("<p>Advanced options:<br> <i>Cleanup when deleting packages</i>: remove dependent unused packages. <i>Allow vendor change</i>: package vendor may differ from vendor of installed package. These options will not be saved, they can only be set in the configuration file of the package library <tt>/etc/zypp/zypp.conf</tt>.</p>" );
280  return value;
281 }
282 
283 const std::string NCPkgStrings::HelpPkgMenu3()
284 {
285  static const std::string value = _( "<p><b>View:</b><br>Choose which information about the selected package will be displayed in the window below the package table. Available options are: package description, technical data (version, size, license etc.) package versions (all available), file list (all files included in the package) and dependencies (provides, requires etc.).</p>" );
286  return value;
287 }
288 
289 const std::string NCPkgStrings::HelpPkgMenu4()
290 {
291  static const std::string value = _( "<p><b>Configuration:</b><br>This menu integrates package selector with the rest of package management utils. From here, you can <b>Launch Repository Manager</b> and edit configured repositories or register to update repository and configure periodic download of available updates (<b>Launch Online Update Configuration</b>). Also, you can pick one of the three possible behaviours of package selector at exit - in <b>Action after Package Installation</b> menu.</p>" );
292  return value;
293 }
294 const std::string NCPkgStrings::HelpPkgMenu5()
295 {
296  static const std::string value = _( "<p><b>Extras:</b><br>Miscellaneous functions reside here. <i>Export Package List to File</i> will dump data on installed packages, patterns and languages into specified XML file. This file can be later read by <i>Import Package List from File</i> option e.g. on different computer. It will bring the set of packages on the target computer into the same state as described in provided XML file. <i>Show Available Disk Space</i> will show a popup table displaying disk usage and free disk space on currently mounted partition.</p>" );
297  return value;
298 }
299 
300 
301 const std::string NCPkgStrings::SearchIn()
302 {
303  // label of a frame with search settings
304  static const std::string value = _( "&Search in " );
305  return value;
306 }
307 
308 const std::string NCPkgStrings::SearchPhrase()
309 {
310  // begin: text/labels for search popups (use unique hotkeys until the end:)
311  // text for the package search popup
312  static const std::string value = _( "Search &Phrase" );
313  return value;
314 }
315 
316 const std::string NCPkgStrings::PkgStatus()
317 {
318  // column header status
319  static const std::string value = std::string(" ");
320  return value;
321 }
322 
323 const std::string NCPkgStrings::PatternsLabel()
324 {
325  // the label of the selections
326  static const std::string value = _( "Patterns" );
327  return value;
328 }
329 
330 const std::string NCPkgStrings::LangCode()
331 {
332  static const std::string value = _( "Code" );
333  return value;
334 }
335 
336 const std::string NCPkgStrings::LangName()
337 {
338  static const std::string value = _( "Language" );
339  return value;
340 }
341 
342 const std::string NCPkgStrings::RepoURL()
343 {
344  static const std::string value = _( "URL" );
345  return value;
346 
347 }
348 
349 const std::string NCPkgStrings::PkgName()
350 {
351  // column header package name (keep it short!)
352  static const std::string value = _( "Name" );
353  return value;
354 }
355 
356 const std::string NCPkgStrings::PkgVersion()
357 {
358  // column header installed package version (keep it short!)
359  static const std::string value = _( "Version" );
360  return value;
361 }
362 
363 const std::string NCPkgStrings::PkgInstSource()
364 {
365  // column header - repository of the package (e.g. openSUSE 10.3)
366  static const std::string value = _( "Repository" );
367  return value;
368 }
369 
370 const std::string NCPkgStrings::PkgVersionNew()
371 {
372  // column header available package version (keep it short - use abbreviation!)
373  static const std::string value = _( "Avail. Vers." );
374  return value;
375 }
376 
377 const std::string NCPkgStrings::PkgVersionInst()
378 {
379  // column header installed package version (keep it short - use abbreviation!)
380  static const std::string value = _( "Inst. Vers." );
381  return value;
382 }
383 
384 const std::string NCPkgStrings::PkgSummary()
385 {
386  // column header package description (keep it short!)
387  static const std::string value = _( "Summary" );
388  return value;
389 }
390 
391 
392 const std::string NCPkgStrings::PkgSize()
393 {
394  // column header package size (keep it short!)
395  static const std::string value = _( "Size" );
396  return value;
397 }
398 
399 const std::string NCPkgStrings::PkgArch()
400 {
401  // column header package architecture (keep it short!)
402  static const std::string value = _( "Architecture" );
403  return value;
404 }
405 
406 const std::string NCPkgStrings::PatchKind()
407 {
408  // column header patch kind (keep it short!)
409  static const std::string value = _( "Kind" );
410  return value;
411 }
412 
413 const std::string NCPkgStrings::Solving()
414 {
415  // a text for a small popup which is shown during package dependency checking
416  static const std::string value = _( "Solving..." );
417  return value;
418 }
419 const std::string NCPkgStrings::Saving()
420 {
421  // a text for a small popup which is shown during writing package selection to a file
422  static const std::string value = _( "Saving..." );
423  return value;
424 }
425 const std::string NCPkgStrings::Loading()
426 {
427  // a text for a samll popup which is shown during loading package selections from a file
428  static const std::string value = _( "Loading..." );
429  return value;
430 }
431 
432 const std::string NCPkgStrings::DiskspaceLabel()
433 {
434  // the headline of the disk space popup
435  static const std::string value = _( "Disk Usage Overview" );
436  return value;
437 }
438 
439 const std::string NCPkgStrings::Partition()
440 {
441  // column header name of the partition (keep it short!)
442  static const std::string value = _( "Partition" );
443  return value;
444 }
445 
446 const std::string NCPkgStrings::UsedSpace()
447 {
448  // column header used disk space (keep it short!)
449  static const std::string value = _( "Used" );
450  return value;
451 }
452 
453 const std::string NCPkgStrings::FreeSpace()
454 {
455  // column header free disk space (keep it short!)
456  static const std::string value = _( "Free" );
457  return value;
458 }
459 
460 const std::string NCPkgStrings::TotalSpace()
461 {
462  // column header total disk space (keep it short!)
463  static const std::string value = _( "Total" );
464  return value;
465 }
466 
467 const std::string NCPkgStrings::DiskSpaceError()
468 {
469  //
470  static const std::string value = _( "<i>Out of disk space!</i>" );
471  return value;
472 }
473 
474 const std::string NCPkgStrings::DiskSpaceWarning()
475 {
476  //
477  static const std::string value = _( "<b>Disk space is running out!</b>" );
478  return value;
479 }
480 
481 const std::string NCPkgStrings::MoreText()
482 {
483  // part of a text
484  static const std::string value = _( "needs" );
485  return value;
486 }
487 
488 const std::string NCPkgStrings::MoreSpaceText()
489 {
490  // part of a text
491  static const std::string value = _( "more disk space." );
492  return value;
493 }
494 
495 const std::string NCPkgStrings::Version()
496 {
497  // part of the package description
498  static const std::string value = _( "<b>Version: </b>" );
499  return value;
500 }
501 
502 const std::string NCPkgStrings::Size()
503 {
504  // part of the package description
505  static const std::string value = _( "<b>Size: </b>" );
506  return value;
507 }
508 
509 const std::string NCPkgStrings::InstVersion()
510 {
511  // part of the package description
512  static const std::string value = _( "<b>Installed: </b>" );
513  return value;
514 }
515 
516 const std::string NCPkgStrings::Authors()
517 {
518  // part of the package description
519  static const std::string value = _( "<b>Authors: </b>" );
520  return value;
521 }
522 
523 const std::string NCPkgStrings::License()
524 {
525  // part of the package description
526  static const std::string value = _( "<b>License: </b>" );
527  return value;
528 }
529 
530 const std::string NCPkgStrings::MediaNo()
531 {
532  // part of the package description
533  static const std::string value = _( "<b>Media No.: </b>" );
534  return value;
535 }
536 
537 const std::string NCPkgStrings::Provides()
538 {
539  // part of the package description
540  static const std::string value = _( "<b>Provides: </b>" );
541  return value;
542 }
543 
544 const std::string NCPkgStrings::Requires()
545 {
546  // part of the package description
547  static const std::string value = _( "<b>Requires: </b>" );
548  return value;
549 }
550 
551 const std::string NCPkgStrings::PreRequires()
552 {
553  // part of the package description
554  static const std::string value = _( "<b>Prerequires: </b>" );
555  return value;
556 
557 }
558 
559 const std::string NCPkgStrings::Conflicts()
560 {
561  // part of the package description
562  static const std::string value = _( "<b>Conflicts with: </b>" );
563  return value;
564 }
565 
566 const std::string NCPkgStrings::ListOfFiles()
567 {
568  // headline for a list of installed files
569  static const std::string value = _( "<i>List of Installed Files:</i><br>" );
570  return value;
571 }
572 
573 const std::string NCPkgStrings::LanguageDescription()
574 {
575  static const std::string value = _( "Translations, dictionaries and other language-related files for " );
576  return value;
577 }
578 
579 const std::string NCPkgStrings::AutoChangeLabel()
580 {
581  // the headline of the popup containing a list with packages with status changes
582  static const std::string value = _( "Automatic Changes" );
583  return value;
584 }
585 
586 const std::string NCPkgStrings::AutoChangeText1()
587 {
588  // text part1 of popup with automatic changes (it's a label; text continous)
589  static const std::string value = _( "In addition to your manual selections, the following" );
590  return value;
591 }
592 
593 const std::string NCPkgStrings::AutoChangeText2()
594 {
595  // text part1 of popup with automatic changes continous
596  static const std::string value = _( "packages have been changed to resolve dependencies:" );
597  return value;
598 }
599 
600 const std::string NCPkgStrings::YouHelp()
601 {
602  // the headline of the help popup
603  static const std::string value = _( "Patch Status and Patch Installation" );
604  return value;
605 }
606 
607 const std::string NCPkgStrings::YouHelp1()
608 {
609  // help text online udpate
610  // Do NOT translate 'recommended' and 'security'! because the patch kind is always shown as english text.
611  static const std::string value = _( "<p>General information about patches:</p><p>The patches of kind <b>security</b> are solving security issues and we highly recommend to install it. You should also install <b>recommended</b> patches, they usually contain important bug-fixes. Install <b>feature</b> patches if you are interested in the feature.</p>" );
612  return value;
613 }
614 
615 const std::string NCPkgStrings::YouHelp2()
616 {
617  // help text online udpate continue
618  static const std::string value = _( "<p>Patches for \"libzypp\" (Package, Patch, Pattern and Product Management) will always get installed first. Other patches must be installed on a second run.</p>" );
619  return value;
620 }
621 
622 const std::string NCPkgStrings::YouHelp3()
623 {
624  // help text online udpate continue
625  static const std::string value = _( "<p>Meaning of the status flags:</p><p><b>a+ </b>: Patches concerning your installation are preselected. They will be downloaded and installed on your system. If you do not want a certain patch, deselect it with '-'.</p><p><b> i </b>: All requirements of this patch are satisfied.</p><p><b> + </b>: You have selected this patch for installation.</p>" );
626  return value;
627 }
628 
629 const std::string NCPkgStrings::YouHelp4()
630 {
631  // help text online udpate continue
632  static const std::string value = _( "<p>More details about the status:<br>If there are several patches for a package (or a set of packages) which aren't yet applied to the system all got preselected and have status <b>a+</b>. If one of these patches is deselected with '-' it might show the status <b>i</b> afterwards. This is because any of the other patches concerning the same package(s) is still selected. The newer version(s) of the package(s) will be installed and with it this patch is satisfied. Deselecting of all patches is required if the patches are not wanted.</p>");
633  return value;
634 }
635 
636 const std::string NCPkgStrings::YouHelp5()
637 {
638  // help text online udpate continue
639  static const std::string value = _( "<p>The menus:</p><p>The <b>Filter</b> menu allows to filter the patches, e.g. show the 'Installed' ones or list 'Security' patches. It also provides to search for patches.<br>Use the <b>Actions</b> menu to change the status of a patch.<br>The <b>View</b> menu offers the possibility to see which packages are concerned by the patch. Please note: If the filter is 'All Patches' the package list for some patches might be empty. This means no packages are concerned because none of the patch packages is installed on the system.<br>The <b>Dependencies</b> menu contains dependencies checks and the 'Generate Solver Testcase' entry.</p>");
640  return value;
641 }
642 //
643 // label, text for translation
644 //
645 const std::string NCPkgStrings::WarningLabel()
646 {
647  // label for a warning popup
648  static const std::string value = _( "Warning" );
649  return value;
650 }
651 
652 const std::string NCPkgStrings::ErrorLabel()
653 {
654  // label for an error popup
655  static const std::string value = _( "Error" );
656  return value;
657 }
658 
659 const std::string NCPkgStrings::NotifyLabel()
660 {
661  // label for a notify popup
662  static const std::string value = _( "Notify" );
663  return value;
664 }
665 
666 
667 const std::string NCPkgStrings::OKLabel()
668 {
669  // the label of an OK button
670  static const std::string value = _( "&OK" );
671  return value;
672 }
673 
674 const std::string NCPkgStrings::ContinueLabel()
675 {
676  // begin: the label of the Contiunue button
677  static const std::string value = _( "C&ontinue" );
678  return value;
679 }
680 
681 const std::string NCPkgStrings::CancelLabel()
682 {
683  // begin: the label of the Cancel button
684  static const std::string value = _( "&Cancel" );
685  return value;
686 }
687 
688 const std::string NCPkgStrings::YesLabel()
689 {
690  // the label of the Yes button
691  static const std::string value = _( "&Yes" );
692  return value;
693 }
694 
695 const std::string NCPkgStrings::AcceptLabel()
696 {
697  // the label of an Accept button
698  static const std::string value = _( "&Accept" );
699  return value;
700 }
701 
702 const std::string NCPkgStrings::NoLabel()
703 {
704  // the label of the No button
705  static const std::string value = _( "&No" );
706  return value;
707 }
708 
709 const std::string NCPkgStrings::SolveLabel()
710 {
711  // the label of the Solve button - 'try again' implies that user
712  // has to make some action (#213602)
713  static const std::string value = _( "&OK -- Try Again" );
714  return value;
715 }
716 
717 
718 const std::string NCPkgStrings::CancelText()
719 {
720  // text for a Notify popup
721  static const std::string value = _( "<p>All changes in the package, patch or pattern selection will be lost.<br>Really exit?</p>" );
722  return value;
723 }
724 
725 // FIXME: remove these if possible
726 const std::string NCPkgStrings::LanguageLabel()
727 {
728  // the label of language table
729  static const std::string value = _( "Available Languages" );
730  return value;
731 }
732 
733 const std::string NCPkgStrings::RepoLabel()
734 {
735  // the label of language table
736  static const std::string value = _( "Available Repositories" );
737  return value;
738 }
739 
740 const std::string NCPkgStrings::YOUPatches()
741 {
742  // A label for a list of YOU Patches - keep it short - max 25 chars!
743  // (the list shows all patches which are needed)
744  // static const std::string value = _( "Installable Patches" );
745  // static const std::string value = _( "Relevant Patches" );
746  static const std::string value = _( "Needed Patches" );
747  return value;
748 }
749 
750 const std::string NCPkgStrings::InstPatches()
751 {
752  // A label for a list of YOU Patches - keep it short - max. 25 chars!
753  // (the list shows all patches which are already installed)
754  static const std::string value = _( "Installed Patches" );
755  // static const std::string value = _( "Satisfied Patches" );
756  return value;
757 }
758 
759 const std::string NCPkgStrings::Patches()
760 {
761  // A common label for a list of YOU Patches - keep it short - max. 25 chars!
762  static const std::string value = _( "Online Update Patches" );
763  return value;
764 }
765 
766 const std::string NCPkgStrings::UpdateProblem()
767 {
768  // the label Filter: Update Problem ( keep it short - max. 25 chars )
769  static const std::string value = _( "Update Problem -- see help" );
770  return value;
771 }
772 
773 const std::string NCPkgStrings::SearchResults()
774 {
775  // the label for Filter: Search results
776  static const std::string value = _( "Search Results" );
777  return value;
778 }
779 
780 const std::string NCPkgStrings::PackageDeps()
781 {
782  // the headline of the dependency popup
783  static const std::string value = _( "Package Dependencies" );
784  return value;
785 }
786 
787 const std::string NCPkgStrings::HelpOnUpdate()
788 {
789  // help text package status
790  static const std::string value = _( "<b>Update Problem List</b><br><p>The packages in the list cannot be updated automatically.</p><p>Possible reasons:</p><p>They are obsoleted by other packages.</p><p>There is no newer version to which to update on any installation media.</p><p>They are third-party packages</p><p>Manually select what to do with them. The safest course of action is to delete them.</p>" );
791  return value;
792 }
793 
794 const std::string NCPkgStrings::PkgSource()
795 {
796  // column header source RPM installation (keep it short!)
797  static const std::string value = _( "Source" );
798  return value;
799 }
800 
801 const std::string NCPkgStrings::Patch()
802 {
803  // part of the patch description
804  static const std::string value = _( "<b>Patch: </b>" );
805  return value;
806 }
807 
808 const std::string NCPkgStrings::NoPatches()
809 {
810  // info line is shown if YOU patch list is empty
811  static const std::string value = _( "No patches available" );
812  return value;
813 }
814 
815 const std::string NCPkgStrings::Script()
816 {
817  static const std::string value = _( "Script" );
818  return value;
819 }
820 
822 {
823  static const std::string value = _( "Incompatible Package Versions" );
824  return value;
825 }
826 
827 const std::string NCPkgStrings::MultiversionIntro()
828 {
829  static const std::string value =
830  _( "<p>You are trying to install multiversion-capable "
831  "and non-multiversion-capable versions of this "
832  "package at the same time.</p>" );
833  return value;
834 }
835 
836 const std::string NCPkgStrings::MultiversionText()
837 {
838  static const std::string value =
839  _( "<p>This version is multiversion-capable.</p>"
840  "<p>Press \"Continue\" to install this version "
841  "and unselect the non-multiversion-capable version, "
842  "\"Cancel\" to unselect this version and keep the other one.</p>" );
843  return value;
844 }
845 
846 const std::string NCPkgStrings::NotMultiversionText()
847 {
848  static const std::string value =
849  _( "<p>This version is not multiversion-capable.</p>"
850  "<p>Press \"Continue\" to install only this version "
851  "and unselect all other versions, "
852  "\"Cancel\" to unselect this version and keep the other ones.<p>" );
853  return value;
854 }
855 
856 const std::string NCPkgStrings::RetractedLabel()
857 {
858  // Special status for versions of a package that are retracted, i.e. that
859  // were released, but it was later realized that a broken version was
860  // published that should rather not be used. This is a very exceptional
861  // case that requires special attention by the user.
862  static const std::string value = _( "[RETRACTED]" );
863  return value;
864 }
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.