Mailinglist Archive: zypp-commit (232 mails)

< Previous Next >
[zypp-commit] <zypper> master : Preparing texts for fixing bnc #279045
  • From: Ján Kupec <jkupec@xxxxxxx>
  • Date: Fri, 27 Nov 2009 14:14:53 +0100
  • Message-id: <E1NE0xZ-000766-Fe@xxxxxxxxxxxxxxxx>
ref: refs/heads/master
commit de9b040d091d5b28a1e30a21cbf8a731467d3513
Author: Ján Kupec <jkupec@xxxxxxx>
Date: Fri Nov 27 14:14:53 2009 +0100

Preparing texts for fixing bnc #279045
---
src/callbacks/media.h | 14 ++++++++++++++
1 files changed, 14 insertions(+), 0 deletions(-)

diff --git a/src/callbacks/media.h b/src/callbacks/media.h
index 6cd0225..2b8f6a6 100644
--- a/src/callbacks/media.h
+++ b/src/callbacks/media.h
@@ -115,6 +115,20 @@ namespace ZmartRecipients
// hide advanced options
popts.setShownCount(3);

+ // protocol-specific options
+
+ // cd/dvd options
+ // translators: a/r/i/u are replies to the "Abort, retry, ignore?"
prompt.
+ // Translate the a/r/i part exactly as you did the a/r/i string.
+ // The 'u' reply means 'Change URI'.
+ // cd/dvd protocol-specific options:
+ // 'e' stands for Eject medium
+ std::string dvdopts = _("a/r/i/u/e");
+ std::string ejecttext = _("Eject medium.");
+ std::string devicestext = _("Detected devices:");
+ std::string ejectprompttext = _("Select device to eject.");
+ // popts.setOptionHelp(4, _("Eject medium."));
+
// translators: this is a prompt text
zypper.out().prompt(PROMPT_ARI_MEDIA_PROBLEM, _("Abort, retry,
ignore?"), popts);
int reply = get_prompt_reply(zypper, PROMPT_ARI_MEDIA_PROBLEM, popts);
--
To unsubscribe, e-mail: zypp-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages