From edd804537564ea0f517e49710cc355c745d92a27 Mon Sep 17 00:00:00 2001 From: Siebrand Mazeland Date: Thu, 18 Aug 2011 15:11:10 +0200 Subject: [PATCH] Message tweaks and elaborations as well as translator documentation tweaks. Based on comments by OsamaK. --- actions/accessadminpanel.php | 6 +++--- actions/deleteaccount.php | 2 +- actions/pathsadminpanel.php | 2 +- actions/sitenoticeadminpanel.php | 2 +- actions/snapshotadminpanel.php | 2 +- actions/useradminpanel.php | 2 +- lib/applicationeditform.php | 4 ++-- lib/disfavorform.php | 4 ++-- lib/favorform.php | 4 ++-- lib/groupblockform.php | 2 +- lib/makeadminform.php | 2 +- lib/noticelistitem.php | 4 ++-- lib/unsubscribeform.php | 2 +- 13 files changed, 19 insertions(+), 19 deletions(-) diff --git a/actions/accessadminpanel.php b/actions/accessadminpanel.php index 027c69c5e5..55fc349f25 100644 --- a/actions/accessadminpanel.php +++ b/actions/accessadminpanel.php @@ -187,9 +187,9 @@ class AccessAdminPanelForm extends AdminForm */ function formActions() { - // TRANS: Title for button to save access settings in site admin panel. - $title = _('Save access settings'); - // TRANS: Tooltip for button to save access settings in site admin panel. + // TRANS: Button title to save access settings in site admin panel. + $title = _('Save access settings.'); + // TRANS: Button text to save access settings in site admin panel. $this->out->submit('submit', _m('BUTTON', 'Save'), 'submit', null, $title); } } diff --git a/actions/deleteaccount.php b/actions/deleteaccount.php index 614519d474..8b80c6c6f2 100644 --- a/actions/deleteaccount.php +++ b/actions/deleteaccount.php @@ -320,6 +320,6 @@ class DeleteAccountForm extends Form 'submit', null, // TRANS: Button title for user account deletion. - _('Permanently delete your account')); + _('Permanently delete your account.')); } } diff --git a/actions/pathsadminpanel.php b/actions/pathsadminpanel.php index 83ab776a60..57f066bd22 100644 --- a/actions/pathsadminpanel.php +++ b/actions/pathsadminpanel.php @@ -462,7 +462,7 @@ class PathsAdminPanelForm extends AdminForm // TRANS: Button text to store form data in the Paths admin panel. $this->out->submit('save', _m('BUTTON','Save'), 'submit', // TRANS: Button title text to store form data in the Paths admin panel. - 'save', _('Save paths')); + 'save', _('Save path settings.')); } /** diff --git a/actions/sitenoticeadminpanel.php b/actions/sitenoticeadminpanel.php index b1ac441af7..145ae80d07 100644 --- a/actions/sitenoticeadminpanel.php +++ b/actions/sitenoticeadminpanel.php @@ -197,7 +197,7 @@ class SiteNoticeAdminPanelForm extends AdminForm _m('BUTTON','Save'), 'submit', null, - // TRANS: Title for button to save site notice in admin panel. + // TRANS: Button title to save site notice in admin panel. _('Save site notice.') ); } diff --git a/actions/snapshotadminpanel.php b/actions/snapshotadminpanel.php index 9790947071..751b1acd1e 100644 --- a/actions/snapshotadminpanel.php +++ b/actions/snapshotadminpanel.php @@ -252,7 +252,7 @@ class SnapshotAdminPanelForm extends AdminForm _m('BUTTON','Save'), 'submit', null, - // TRANS: Title for button to save snapshot settings. + // TRANS: Button title to save snapshot settings. _('Save snapshot settings.') ); } diff --git a/actions/useradminpanel.php b/actions/useradminpanel.php index 19673189f5..1eda1c0c82 100644 --- a/actions/useradminpanel.php +++ b/actions/useradminpanel.php @@ -300,7 +300,7 @@ class UserAdminPanelForm extends AdminForm _m('BUTTON','Save'), 'submit', null, - // TRANS: Title for button to save user settings in user admin panel. + // TRANS: Button title to save user settings in user admin panel. _('Save user settings.')); } } diff --git a/lib/applicationeditform.php b/lib/applicationeditform.php index dda61dbb69..4b4356e721 100644 --- a/lib/applicationeditform.php +++ b/lib/applicationeditform.php @@ -350,10 +350,10 @@ class ApplicationEditForm extends Form // TRANS: Button label in the "Edit application" form. $this->out->submit('cancel', _m('BUTTON','Cancel'), 'submit form_action-primary', // TRANS: Submit button title. - 'cancel', _('Cancel')); + 'cancel', _('Cancel application changes.')); // TRANS: Button label in the "Edit application" form. $this->out->submit('save', _m('BUTTON','Save'), 'submit form_action-secondary', // TRANS: Submit button title. - 'save', _('Save')); + 'save', _('Save application changes.')); } } diff --git a/lib/disfavorform.php b/lib/disfavorform.php index 9d0e39784e..9754dfc83b 100644 --- a/lib/disfavorform.php +++ b/lib/disfavorform.php @@ -136,8 +136,8 @@ class DisfavorForm extends Form _m('BUTTON','Disfavor favorite'), 'submit', null, - // TRANS: Title for button text for removing the favourite status for a favourite notice. - _('Disfavor this notice')); + // TRANS: Button title for removing the favourite status for a favourite notice. + _('Remove this notice from your list of favorite notices.')); } /** diff --git a/lib/favorform.php b/lib/favorform.php index c07ba6df59..d5805b2300 100644 --- a/lib/favorform.php +++ b/lib/favorform.php @@ -135,8 +135,8 @@ class FavorForm extends Form _m('BUTTON','Favor'), 'submit', null, - // TRANS: Title for button text for adding the favourite status to a notice. - _('Favor this notice')); + // TRANS: Button title for adding the favourite status to a notice. + _('Add this notice to your list of favorite notices.'); } /** diff --git a/lib/groupblockform.php b/lib/groupblockform.php index 918a5902fd..e60587d37b 100644 --- a/lib/groupblockform.php +++ b/lib/groupblockform.php @@ -125,6 +125,6 @@ class GroupBlockForm extends Form 'submit', null, // TRANS: Submit button title. - _m('TOOLTIP', 'Block this user')); + _m('TOOLTIP', 'Block this user so that they can no longer post messages to it.')); } } diff --git a/lib/makeadminform.php b/lib/makeadminform.php index f1280d3b69..f02bf396f7 100644 --- a/lib/makeadminform.php +++ b/lib/makeadminform.php @@ -121,6 +121,6 @@ class MakeAdminForm extends Form 'submit', null, // TRANS: Submit button title. - _m('TOOLTIP','Make this user an admin')); + _m('TOOLTIP','Make this user an admin.')); } } diff --git a/lib/noticelistitem.php b/lib/noticelistitem.php index 1cc1bc552d..8fc2f13ca2 100644 --- a/lib/noticelistitem.php +++ b/lib/noticelistitem.php @@ -626,7 +626,7 @@ class NoticeListItem extends Widget $this->out->elementStart('a', array('href' => $reply_url, 'class' => 'notice_reply', // TRANS: Link title in notice list item to reply to a notice. - 'title' => _('Reply to this notice'))); + 'title' => _('Reply to this notice.'))); // TRANS: Link text in notice list item to reply to a notice. $this->out->text(_('Reply')); $this->out->text(' '); @@ -654,7 +654,7 @@ class NoticeListItem extends Widget $this->out->element('a', array('href' => $deleteurl, 'class' => 'notice_delete', // TRANS: Link title in notice list item to delete a notice. - 'title' => _('Delete this notice')), + 'title' => _('Delete this notice from the timeline.')), // TRANS: Link text in notice list item to delete a notice. _('Delete')); } diff --git a/lib/unsubscribeform.php b/lib/unsubscribeform.php index 0332bd8ca6..3fa594b1b3 100644 --- a/lib/unsubscribeform.php +++ b/lib/unsubscribeform.php @@ -131,6 +131,6 @@ class UnsubscribeForm extends Form // TRANS: Button text on unsubscribe form. $this->out->submit('submit', _m('BUTTON','Unsubscribe'), 'submit', null, // TRANS: Button title on unsubscribe form. - _('Unsubscribe from this user')); + _('Unsubscribe from this user.')); } } -- 2.39.5