summaryrefslogtreecommitdiff
path: root/cmdline
diff options
context:
space:
mode:
authorMichael Vogt <mvo@debian.org>2005-10-19 20:00:55 +0000
committerMichael Vogt <mvo@debian.org>2005-10-19 20:00:55 +0000
commit51f1500e616ff38350b65594810c89fb4cada16d (patch)
tree1fb16074ad2cad0125fb49ac745a41ba969680f5 /cmdline
parent4a379ef32b9aa6182fb7087c5978ff08e9aafb64 (diff)
parent468155b77499bf1ecbfe29a318768d07a7a33919 (diff)
* merged with apt--mvo--0
Patches applied: * michael.vogt@ubuntu.com--2005/apt--mvo--0--patch-72 * corrections in the changelog * michael.vogt@ubuntu.com--2005/apt--mvo--0--patch-73 * init the default ScreenWidth to 79 columns by default (Closes: #324921) * michael.vogt@ubuntu.com--2005/apt--mvo--0--patch-74 apt-cdrom.cc:fix some missing gettext() calls (closes: #334539); doc/apt-cache.8.xml: fix typo (closes: #334714) * michael.vogt@ubuntu.com--2005/apt--mvo--0--patch-75 * seting section to "admin" to match override file
Diffstat (limited to 'cmdline')
-rw-r--r--cmdline/apt-cdrom.cc6
-rw-r--r--cmdline/apt-get.cc2
2 files changed, 4 insertions, 4 deletions
diff --git a/cmdline/apt-cdrom.cc b/cmdline/apt-cdrom.cc
index 2578f9c6b..7434a7225 100644
--- a/cmdline/apt-cdrom.cc
+++ b/cmdline/apt-cdrom.cc
@@ -75,7 +75,7 @@ string pkgCdromTextStatus::PromptLine(const char *Text)
bool pkgCdromTextStatus::AskCdromName(string &name)
{
- cout << "Please provide a name for this Disc, such as 'Debian 2.1r1 Disk 1'" << flush;
+ cout << _("Please provide a name for this Disc, such as 'Debian 2.1r1 Disk 1'") << flush;
name = PromptLine("");
return true;
@@ -90,7 +90,7 @@ void pkgCdromTextStatus::Update(string text, int current)
bool pkgCdromTextStatus::ChangeCdrom()
{
- Prompt("Please insert a Disc in the drive and press enter");
+ Prompt(_("Please insert a Disc in the drive and press enter"));
return true;
}
@@ -114,7 +114,7 @@ bool DoAdd(CommandLine &)
pkgCdrom cdrom;
res = cdrom.Add(&log);
if(res)
- cout << "Repeat this process for the rest of the CDs in your set." << endl;
+ cout << _("Repeat this process for the rest of the CDs in your set.") << endl;
return res;
}
/*}}}*/
diff --git a/cmdline/apt-get.cc b/cmdline/apt-get.cc
index 6e17611cb..3475d79ae 100644
--- a/cmdline/apt-get.cc
+++ b/cmdline/apt-get.cc
@@ -66,7 +66,7 @@ ostream c0out(0);
ostream c1out(0);
ostream c2out(0);
ofstream devnull("/dev/null");
-unsigned int ScreenWidth = 80;
+unsigned int ScreenWidth = 80 - 1; /* - 1 for the cursor */
// class CacheFile - Cover class for some dependency cache functions /*{{{*/
// ---------------------------------------------------------------------