From 984ab08e471fd6e7bd74907e873a000e9f163d7b Mon Sep 17 00:00:00 2001 From: Dustin Kirkland Date: Mon, 23 Feb 2009 11:22:25 -0600 Subject: [PATCH] improve the text in select-screen-profile Bug #333189 --- po/screen-profiles.pot | 10 ++++++++-- select-screen-profile | 6 +++++- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/po/screen-profiles.pot b/po/screen-profiles.pot index 73e4354d..e791c75a 100644 --- a/po/screen-profiles.pot +++ b/po/screen-profiles.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2009-02-23 11:05-0600\n" +"POT-Creation-Date: 2009-02-23 11:22-0600\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -169,6 +169,12 @@ msgstr "" msgid "Choose: " msgstr "" -#: select-screen-profile:125 +#: select-screen-profile:126 +msgid "" +"Close the current screen by typing \"exit\", and restart \"screen\" to " +"activate." +msgstr "" + +#: select-screen-profile:128 msgid "Run \"screen\" to activate" msgstr "" diff --git a/select-screen-profile b/select-screen-profile index 175e670c..bd5907f8 100755 --- a/select-screen-profile +++ b/select-screen-profile @@ -122,7 +122,11 @@ setprofile() { ln -s "$PROFILE_DIR/$x" "$HOME/.screenrc-profile" found=1 echo - echo `gettext 'Run "screen" to activate'` + if [ "$TERM" = "screen" ]; then + echo `gettext 'Close the current screen by typing "exit", and restart "screen" to activate.'` + else + echo `gettext 'Run "screen" to activate'` + fi echo break fi