Message tweaks and elaborations as well as translator documentation tweaks. Based on comments by OsamaK.

This commit is contained in:
Siebrand Mazeland 2011-08-18 15:11:10 +02:00
parent 30d0a1d3d9
commit edd8045375
13 changed files with 19 additions and 19 deletions

View File

@ -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);
}
}

View File

@ -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.'));
}
}

View File

@ -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.'));
}
/**

View File

@ -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.')
);
}

View File

@ -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.')
);
}

View File

@ -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.'));
}
}

View File

@ -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.'));
}
}

View File

@ -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.'));
}
/**

View File

@ -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.');
}
/**

View File

@ -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.'));
}
}

View File

@ -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.'));
}
}

View File

@ -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'));
}

View File

@ -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.'));
}
}