43 #include "NCPkgStrings.h"
54 const std::string NCPkgStrings::Deps()
57 static const std::string value = _(
"&Dependencies" );
61 const std::string NCPkgStrings::View()
64 static const std::string value = _(
"&View" );
68 const std::string NCPkgStrings::Extras()
71 static const std::string value = _(
"&Extras" );
75 const std::string NCPkgStrings::Filter()
78 static const std::string value = _(
"&Filter" );
83 const std::string NCPkgStrings::InstPkg()
86 static const std::string value = _(
"Installed Packages" );
90 const std::string NCPkgStrings::PackageName()
93 static const std::string value = _(
"Package: " );
97 const std::string NCPkgStrings::Actions()
100 static const std::string value = _(
"A&ctions" );
104 const std::string NCPkgStrings::Help()
107 static const std::string value = _(
"&Help" );
111 const std::string NCPkgStrings::PackageHelp()
114 static const std::string value = _(
"General Help" );
118 const std::string NCPkgStrings::HelpPkgGen1()
121 static const std::string value = _(
"<h3>Welcome to the package selector</h3><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>" );
126 const std::string NCPkgStrings::HelpPkgGen2()
129 static const std::string value = _(
"<p><b>Filters</b> (left panel) are 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>" );
133 const std::string NCPkgStrings::HelpPkgGen3()
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>" );
140 const std::string NCPkgStrings::HelpPkgGen4 ()
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>" );
148 const std::string NCPkgStrings::HelpPkgGen5()
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>" );
155 const std::string NCPkgStrings::HelpPkgGen6()
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>" );
162 const std::string NCPkgStrings::PackageStatusHelp()
165 static const std::string value = _(
"Package Status and Symbols" );
169 const std::string NCPkgStrings::HelpOnStatus1()
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>" );
176 const std::string NCPkgStrings::HelpOnStatus2()
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>" );
182 const std::string NCPkgStrings::HelpOnStatus3()
185 static const std::string value = _(
"<p>The meaning of the status flags:</p>" );
189 const std::string NCPkgStrings::HelpOnStatus4()
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>" );
196 const std::string NCPkgStrings::HelpOnStatus5()
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>" );
203 const std::string NCPkgStrings::PackageFiltersHelp()
206 static const std::string value = _(
"How to Use Filters" );
210 const std::string NCPkgStrings::HelpOnFilters1()
213 static const std::string value = _(
"<p><b>Filters</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>" );
217 const std::string NCPkgStrings::HelpOnFilters2()
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>" );
224 const std::string NCPkgStrings::HelpOnFilters3()
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>" );
231 const std::string NCPkgStrings::HelpOnFilters4()
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>" );
238 const std::string NCPkgStrings::HelpOnFilters5()
241 static const std::string value = _(
"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>" );
245 const std::string NCPkgStrings::PackageMenuHelp()
248 static const std::string value = _(
"Useful Functions in Menu" );
252 const std::string NCPkgStrings::HelpPkgMenu1()
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>" );
258 const std::string NCPkgStrings::HelpPkgMenu2()
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>" );
264 const std::string NCPkgStrings::HelpPkgMenu2_2()
266 static const std::string value = _(
"<p>Available options for dependency checking are:<br><i>Automatic Dependency Check</i> (see above), <i>Install Recommended for Already Installed Packages</i>: if ON, also recommended packages of already installed package will be installed, <i>System Verification Mode</i>: repair dependencies of installed packages and solve immediately. 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). These option are saved in the YaST configuration file <tt>/etc/sysconfig/yast2</tt>.</p>" );
270 const std::string NCPkgStrings::HelpPkgMenu2_3()
272 static const std::string value = _(
"<p>Advanced options:<br> <i>Cleanup when deleting packages</i>: remove dependent unused packages and <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>" );
276 const std::string NCPkgStrings::HelpPkgMenu3()
278 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>" );
282 const std::string NCPkgStrings::HelpPkgMenu4()
284 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>" );
287 const std::string NCPkgStrings::HelpPkgMenu5()
289 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>" );
294 const std::string NCPkgStrings::SearchIn()
297 static const std::string value = _(
"&Search in " );
301 const std::string NCPkgStrings::SearchPhrase()
305 static const std::string value = _(
"Search &Phrase" );
309 const std::string NCPkgStrings::PkgStatus()
312 static const std::string value = std::string(
" ");
316 const std::string NCPkgStrings::PatternsLabel()
319 static const std::string value = _(
"Patterns" );
323 const std::string NCPkgStrings::LangCode()
325 static const std::string value = _(
"Code" );
329 const std::string NCPkgStrings::LangName()
331 static const std::string value = _(
"Language" );
335 const std::string NCPkgStrings::RepoURL()
337 static const std::string value = _(
"URL" );
342 const std::string NCPkgStrings::PkgName()
345 static const std::string value = _(
"Name" );
349 const std::string NCPkgStrings::PkgVersion()
352 static const std::string value = _(
"Version" );
356 const std::string NCPkgStrings::PkgInstSource()
359 static const std::string value = _(
"Repository" );
363 const std::string NCPkgStrings::PkgVersionNew()
366 static const std::string value = _(
"Avail. Vers." );
370 const std::string NCPkgStrings::PkgVersionInst()
373 static const std::string value = _(
"Inst. Vers." );
377 const std::string NCPkgStrings::PkgSummary()
380 static const std::string value = _(
"Summary" );
385 const std::string NCPkgStrings::PkgSize()
388 static const std::string value = _(
"Size" );
392 const std::string NCPkgStrings::PkgArch()
395 static const std::string value = _(
"Architecture" );
399 const std::string NCPkgStrings::PatchKind()
402 static const std::string value = _(
"Kind" );
406 const std::string NCPkgStrings::Solving()
409 static const std::string value = _(
"Solving..." );
412 const std::string NCPkgStrings::Saving()
415 static const std::string value = _(
"Saving..." );
418 const std::string NCPkgStrings::Loading()
421 static const std::string value = _(
"Loading..." );
428 static const std::string value = _(
"Disk Usage Overview" );
432 const std::string NCPkgStrings::Partition()
435 static const std::string value = _(
"Partition" );
439 const std::string NCPkgStrings::UsedSpace()
442 static const std::string value = _(
"Used" );
446 const std::string NCPkgStrings::FreeSpace()
449 static const std::string value = _(
"Free" );
453 const std::string NCPkgStrings::TotalSpace()
456 static const std::string value = _(
"Total" );
463 static const std::string value = _(
"<i>Out of disk space!</i>" );
467 const std::string NCPkgStrings::DiskSpaceWarning()
470 static const std::string value = _(
"<b>Disk space is running out!</b>" );
474 const std::string NCPkgStrings::MoreText()
477 static const std::string value = _(
"needs" );
481 const std::string NCPkgStrings::MoreSpaceText()
484 static const std::string value = _(
"more disk space." );
491 static const std::string value = _(
"<b>Version: </b>" );
498 static const std::string value = _(
"<b>Size: </b>" );
505 static const std::string value = _(
"<b>Installed: </b>" );
512 static const std::string value = _(
"<b>Authors: </b>" );
519 static const std::string value = _(
"<b>License: </b>" );
526 static const std::string value = _(
"<b>Media No.: </b>" );
533 static const std::string value = _(
"<b>Package Group: </b>" );
540 static const std::string value = _(
"<b>Provides: </b>" );
547 static const std::string value = _(
"<b>Requires: </b>" );
554 static const std::string value = _(
"<b>Prerequires: </b>" );
562 static const std::string value = _(
"<b>Conflicts with: </b>" );
566 const std::string NCPkgStrings::ListOfFiles()
569 static const std::string value = _(
"<i>List of Installed Files:</i><br>" );
573 const std::string NCPkgStrings::LanguageDescription()
575 static const std::string value = _(
"Translations, dictionaries and other language-related files for " );
582 static const std::string value = _(
"Automatic Changes" );
586 const std::string NCPkgStrings::AutoChangeText1()
589 static const std::string value = _(
"In addition to your manual selections, the following" );
593 const std::string NCPkgStrings::AutoChangeText2()
596 static const std::string value = _(
"packages have been changed to resolve dependencies:" );
603 static const std::string value = _(
"Patch Status and Patch Installation" );
611 static const std::string value = _(
"<p>Kind \"recommended\" means you should install the patch. \"security\" is a security patch and we highly recommend to install it.</p>" );
615 const std::string NCPkgStrings::YouHelp2()
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>" );
622 const std::string NCPkgStrings::YouHelp3()
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>" );
632 const std::string NCPkgStrings::WarningLabel()
635 static const std::string value = _(
"Warning" );
639 const std::string NCPkgStrings::ErrorLabel()
642 static const std::string value = _(
"Error" );
646 const std::string NCPkgStrings::NotifyLabel()
649 static const std::string value = _(
"Notify" );
657 static const std::string value = _(
"&OK" );
664 static const std::string value = _(
"&Cancel" );
671 static const std::string value = _(
"&Yes" );
678 static const std::string value = _(
"&Accept" );
685 static const std::string value = _(
"&No" );
693 static const std::string value = _(
"&OK -- Try Again" );
698 const std::string NCPkgStrings::CancelText()
701 static const std::string value = _(
"<p>All changes in the package, patch or pattern selection will be lost.<br>Really exit?</p>" );
709 static const std::string value = _(
"Available Languages" );
716 static const std::string value = _(
"Available Repositories" );
726 static const std::string value = _(
"Needed Patches" );
730 const std::string NCPkgStrings::InstPatches()
735 static const std::string value = _(
"Unneeded Patches" );
740 const std::string NCPkgStrings::Patches()
743 static const std::string value = _(
"Online Update Patches" );
750 static const std::string value = _(
"Update Problem -- see help" );
757 static const std::string value = _(
"Search Results" );
764 static const std::string value = _(
"Package Dependencies" );
768 const std::string NCPkgStrings::HelpOnUpdate()
771 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>" );
775 const std::string NCPkgStrings::PkgSource()
778 static const std::string value = _(
"Source" );
783 const std::string NCPkgStrings::MenuEntryUpdateList()
786 static const std::string value = _(
"&Update List" );
793 static const std::string value = _(
"<b>Patch: </b>" );
800 static const std::string value = _(
"No patches available" );
804 const std::string NCPkgStrings::Script()
806 static const std::string value = _(
"Script" );