summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apt-pkg/acquire-worker.cc2
-rw-r--r--apt-private/acqprogress.cc2
-rw-r--r--cmdline/apt-cdrom.cc2
-rwxr-xr-xdselect/install10
-rwxr-xr-xdselect/update2
-rw-r--r--po/apt-all.pot8
-rwxr-xr-xtest/integration/test-apt-cdrom2
7 files changed, 14 insertions, 14 deletions
diff --git a/apt-pkg/acquire-worker.cc b/apt-pkg/acquire-worker.cc
index 2c84020fe..e9ef4e9ac 100644
--- a/apt-pkg/acquire-worker.cc
+++ b/apt-pkg/acquire-worker.cc
@@ -538,7 +538,7 @@ bool pkgAcquire::Worker::MediaChange(string Message)
ostringstream msg,status;
ioprintf(msg,_("Please insert the disc labeled: "
"'%s' "
- "in the drive '%s' and press enter."),
+ "in the drive '%s' and press [Enter]."),
Media.c_str(),Drive.c_str());
status << "media-change: " // message
<< Media << ":" // media
diff --git a/apt-private/acqprogress.cc b/apt-private/acqprogress.cc
index f6c3d1204..62b2c13d0 100644
--- a/apt-private/acqprogress.cc
+++ b/apt-private/acqprogress.cc
@@ -296,7 +296,7 @@ bool AcqTextStatus::MediaChange(std::string Media, std::string Drive)
clearLastLine();
ioprintf(out,_("Media change: please insert the disc labeled\n"
" '%s'\n"
- "in the drive '%s' and press enter\n"),
+ "in the drive '%s' and press [Enter]\n"),
Media.c_str(),Drive.c_str());
char C = 0;
diff --git a/cmdline/apt-cdrom.cc b/cmdline/apt-cdrom.cc
index c0541d196..dcc784746 100644
--- a/cmdline/apt-cdrom.cc
+++ b/cmdline/apt-cdrom.cc
@@ -89,7 +89,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;
}
diff --git a/dselect/install b/dselect/install
index ef8de9b73..75f0c0fc4 100755
--- a/dselect/install
+++ b/dselect/install
@@ -49,7 +49,7 @@ yesno() {
if [ "$WAIT" = "true" ]; then
$APTGET $DSELECT_UPGRADE_OPTS $OPTS "$APT_OPT0" "$APT_OPT1" -d dselect-upgrade
- echo $"Press enter to continue." && read RES
+ echo $"Press [Enter] to continue." && read RES
$APTGET $DSELECT_UPGRADE_OPTS $OPTS "$APT_OPT0" "$APT_OPT1" dselect-upgrade
RES=$?
else
@@ -81,18 +81,18 @@ if [ $RES -eq 0 ]; then
case $(echo $CLEAN | tr '[:upper:]' '[:lower:]') in
auto)
$APTGET "$APT_OPT0" "$APT_OPT1" autoclean &&
- echo $"Press enter to continue." && read RES && exit 0;
+ echo $"Press [Enter] to continue." && read RES && exit 0;
;;
always)
$APTGET "$APT_OPT0" "$APT_OPT1" clean &&
- echo $"Press enter to continue." && read RES && exit 0;
+ echo $"Press [Enter] to continue." && read RES && exit 0;
;;
prompt)
exec 3>&1
echo -n $"Do you want to erase any previously downloaded .deb files?"
if [ $(yesno "" y) = y ]; then
$APTGET "$APT_OPT0" "$APT_OPT1" clean &&
- echo $"Press enter to continue." && read RES && exit 0;
+ echo $"Press [Enter] to continue." && read RES && exit 0;
fi
;;
*)
@@ -103,7 +103,7 @@ else
echo $"will be configured. This may result in duplicate errors"
echo $"or errors caused by missing dependencies. This is OK, only the errors"
echo $"above this message are important. Please fix them and run [I]nstall again"
- echo $"Press enter to continue."
+ echo $"Press [Enter] to continue."
read RES && $DPKG "$DPKG_OPTS" --configure -a
exit 100
fi
diff --git a/dselect/update b/dselect/update
index 487fbf226..0ab317ee4 100755
--- a/dselect/update
+++ b/dselect/update
@@ -42,7 +42,7 @@ then
fi
if [ x$PROMPT = "xtrue" ]; then
- echo $"Press enter to continue." && read RES;
+ echo $"Press [Enter] to continue." && read RES;
fi
exit $STATUS
diff --git a/po/apt-all.pot b/po/apt-all.pot
index e2d09401b..4a70213f4 100644
--- a/po/apt-all.pot
+++ b/po/apt-all.pot
@@ -200,7 +200,7 @@ msgid "Please provide a name for this Disc, such as 'Debian 5.0.3 Disk 1'"
msgstr ""
#: cmdline/apt-cdrom.cc:92
-msgid "Please insert a Disc in the drive and press enter"
+msgid "Please insert a Disc in the drive and press [Enter]"
msgstr ""
#: cmdline/apt-cdrom.cc:140
@@ -1563,7 +1563,7 @@ msgstr ""
msgid ""
"Media change: please insert the disc labeled\n"
" '%s'\n"
-"in the drive '%s' and press enter\n"
+"in the drive '%s' and press [Enter]\n"
msgstr ""
#. Only warn if there are no sources.list.d.
@@ -1623,7 +1623,7 @@ msgstr ""
#: dselect/install:52 dselect/install:84 dselect/install:88 dselect/install:95
#: dselect/install:106 dselect/update:45
-msgid "Press enter to continue."
+msgid "Press [Enter] to continue."
msgstr ""
#: dselect/install:92
@@ -2057,7 +2057,7 @@ msgstr ""
#: apt-pkg/acquire-worker.cc:485
#, c-format
-msgid "Please insert the disc labeled: '%s' in the drive '%s' and press enter."
+msgid "Please insert the disc labeled: '%s' in the drive '%s' and press [Enter]."
msgstr ""
#: apt-pkg/cachefile.cc:94
diff --git a/test/integration/test-apt-cdrom b/test/integration/test-apt-cdrom
index 108805daa..ce31b5934 100755
--- a/test/integration/test-apt-cdrom
+++ b/test/integration/test-apt-cdrom
@@ -38,7 +38,7 @@ aptautotest_aptcdromlog_add() { aptautotest_aptget_update "$@"; }
CDROM_PRE="Using CD-ROM mount point $(readlink -f ./rootdir/media)/cdrom/
Unmounting CD-ROM...
Waiting for disc...
-Please insert a Disc in the drive and press enter
+Please insert a Disc in the drive and press [Enter]
Mounting CD-ROM...
Scanning disc for index files..."
CDROM_POST="This disc is called: