Author: jkupec Date: Mon Apr 21 12:19:25 2008 New Revision: 9751 URL: http://svn.opensuse.org/viewcvs/zypp?rev=9751&view=rev Log: - some more strings Modified: trunk/zypper/src/zypper-info.cc trunk/zypper/src/zypper-misc.cc trunk/zypper/src/zypper.cc Modified: trunk/zypper/src/zypper-info.cc URL: http://svn.opensuse.org/viewcvs/zypp/trunk/zypper/src/zypper-info.cc?rev=9751&r1=9750&r2=9751&view=diff ============================================================================== --- trunk/zypper/src/zypper-info.cc (original) +++ trunk/zypper/src/zypper-info.cc Mon Apr 21 12:19:25 2008 @@ -101,6 +101,21 @@ cout << format(_("Info for type '%s' not implemented.")) % kind << endl; } } + + if (false) + { + string s00 = _("None"); + string s0 = _("Requires"); + string s1 = _("Provides"); + string s2 = _("Conflicts"); + string s3 = _("Obsoletes"); + // translators: package requirements table header + string s4 = _("Requirement"); + // translators: package requirements table header + string s5 = _("Provided By"); + // translators: package conflicts table header + string s6 = _("Conflict"); + } } Modified: trunk/zypper/src/zypper-misc.cc URL: http://svn.opensuse.org/viewcvs/zypp/trunk/zypper/src/zypper-misc.cc?rev=9751&r1=9750&r2=9751&view=diff ============================================================================== --- trunk/zypper/src/zypper-misc.cc (original) +++ trunk/zypper/src/zypper-misc.cc Mon Apr 21 12:19:25 2008 @@ -2163,6 +2163,8 @@ if (false) { + // translators: Translate 'p' to whathever you translated it in the y/n/p prompt text. + string prompt_lablel = _("Continue? (Choose 'p' to show dependency problems.)"); // translators: Yes / No / show Problems. This prompt will appear // after install/update command summary if there will be any package // to-be-removed automatically to show why, if asked. Modified: trunk/zypper/src/zypper.cc URL: http://svn.opensuse.org/viewcvs/zypp/trunk/zypper/src/zypper.cc?rev=9751&r1=9750&r2=9751&view=diff ============================================================================== --- trunk/zypper/src/zypper.cc (original) +++ trunk/zypper/src/zypper.cc Mon Apr 21 12:19:25 2008 @@ -1284,8 +1284,6 @@ }; specific_options = search_options; _command_help = _( - // TranslatorExplanation don't translate the resolvable types - // (see the install command comment) "search [options] [querystring...]\n" "\n" "Search for packages matching given search strings\n" @@ -1764,6 +1762,33 @@ break; } + case ZypperCommand::RUG_PATCH_SEARCH_e: + { + static struct option search_options[] = { + {"installed-only", no_argument, 0, 'i'}, + {"uninstalled-only", no_argument, 0, 'u'}, + {"match-all", no_argument, 0, 0}, + {"match-any", no_argument, 0, 0}, + {"match-substrings", no_argument, 0, 0}, + {"match-words", no_argument, 0, 0}, + {"match-exact", no_argument, 0, 0}, + {"search-descriptions", no_argument, 0, 'd'}, + {"case-sensitive", no_argument, 0, 'C'}, + {"sort-by-name", no_argument, 0, 0}, + {"sort-by-catalog", no_argument, 0, 0}, + {"help", no_argument, 0, 'h'}, + {0, 0, 0, 0} + }; + specific_options = search_options; + _command_help = str::form(_( + "patch-search [options] [querystring...]\n" + "\n" + "Search for patches matching given search strings. This is a" + " rug-compatibility alias for '%s'. See zypper's manual page for details.\n" + ), "zypper -r search -t patch --detail ..."); + break; + } + default: { if (runningHelp()) -- To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org For additional commands, e-mail: zypp-commit+help@opensuse.org