diff options
author | dteske <dteske@FreeBSD.org> | 2013-04-22 05:52:06 +0000 |
---|---|---|
committer | dteske <dteske@FreeBSD.org> | 2013-04-22 05:52:06 +0000 |
commit | 8f385d0e89111ca1716767f7dc0bdffe3225b3d0 (patch) | |
tree | cbdec6b0e95d9d7f693f2585627e66aaf3fa13ff /usr.sbin/bsdconfig/password | |
parent | 2cbbbe9342ffd4b6a5fc07b551f747bfb7d8172c (diff) | |
download | FreeBSD-src-8f385d0e89111ca1716767f7dc0bdffe3225b3d0.zip FreeBSD-src-8f385d0e89111ca1716767f7dc0bdffe3225b3d0.tar.gz |
UI improvements. First, implement --default-item whenever and wherever
possible to save keystrokes. Second, overhaul startup/rcdelete for much
improved performance. Last, but not least, kill-off useage of --clear
and implement --keep-tite in harmony to minimize jarring transitions.
Also, fix local variable names where necessary while we're here with
other minor comment-enhancements/typo-corrections.
Diffstat (limited to 'usr.sbin/bsdconfig/password')
-rw-r--r-- | usr.sbin/bsdconfig/password/include/messages.subr | 4 | ||||
-rw-r--r-- | usr.sbin/bsdconfig/password/share/password.subr | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/bsdconfig/password/include/messages.subr b/usr.sbin/bsdconfig/password/include/messages.subr index ac01ccc..655160d 100644 --- a/usr.sbin/bsdconfig/password/include/messages.subr +++ b/usr.sbin/bsdconfig/password/include/messages.subr @@ -1,4 +1,4 @@ -# Copyright (c) 2012 Devin Teske +# Copyright (c) 2012-2013 Devin Teske # All rights reserved. # # Redistribution and use in source and binary forms, with or without @@ -26,8 +26,8 @@ hline_alnum_punc_tab_enter="Use alpha-numeric, punctuation, TAB or ENTER" msg_cancel="Cancel" +msg_enter_new_password="Enter New Password" msg_ok="OK" -msg_password="Password" msg_password_changed="Password successfully changed." msg_password_is_empty="Password is empty." msg_passwords_do_not_match="Passwords do not match." diff --git a/usr.sbin/bsdconfig/password/share/password.subr b/usr.sbin/bsdconfig/password/share/password.subr index f4ebaab9..ba1f612 100644 --- a/usr.sbin/bsdconfig/password/share/password.subr +++ b/usr.sbin/bsdconfig/password/share/password.subr @@ -1,6 +1,6 @@ if [ ! "$_PASSWORD_PASSWORD_SUBR" ]; then _PASSWORD_PASSWORD_SUBR=1 # -# Copyright (c) 2012 Devin Teske +# Copyright (c) 2012-2013 Devin Teske # All rights reserved. # # Redistribution and use in source and binary forms, with or without @@ -48,7 +48,7 @@ f_dialog_input_password() local hline="$hline_alnum_punc_tab_enter" local msg size rmsg rsize - msg=$( printf "$msg_password" ) + msg=$( printf "$msg_enter_new_password" ) size=$( f_dialog_inputbox_size \ "$DIALOG_TITLE" \ "$DIALOG_BACKTITLE" \ |