Merge some gettext strings to one line so translation tools are happier
darcs-hash:20080713044608-533db-ee16aecee9b6d82b22ce6a25f6a9573c23eee9f8.gz
This commit is contained in:
parent
464e70ac5d
commit
834c21b2aa
|
@ -24,12 +24,7 @@ require_once(INSTALLDIR.'/lib/settingsaction.php');
|
|||
class AvatarAction extends SettingsAction {
|
||||
|
||||
function get_instructions() {
|
||||
return _('Upload a new "avatar" (user image) here. ' .
|
||||
'You can\'t edit the picture after you upload it, so ' .
|
||||
'make sure it\'s more or less square. ' .
|
||||
'It must be under the site license, also. ' .
|
||||
'Use a picture that belongs to you and that you ' .
|
||||
'want to share.');
|
||||
return _('Upload a new "avatar" (user image) here. You can\'t edit the picture after you upload it, so make sure it\'s more or less square. It must be under the site license, also. Use a picture that belongs to you and that you want to share.');
|
||||
}
|
||||
|
||||
function show_form($msg=NULL, $success=false) {
|
||||
|
|
|
@ -53,11 +53,7 @@ class FinishopenidloginAction extends Action {
|
|||
} else {
|
||||
global $config;
|
||||
common_element('div', 'instructions',
|
||||
sprintf(_('This is the first time you\'ve logged into %s' .
|
||||
' so we must connect your OpenID to a local account. ' .
|
||||
' You can either create a new account, or connect with ' .
|
||||
' your existing account, if you have one.'
|
||||
), $config['site']['name']));
|
||||
sprintf(_('This is the first time you\'ve logged into %s so we must connect your OpenID to a local account. You can either create a new account, or connect with your existing account, if you have one.'), $config['site']['name']));
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -89,8 +85,7 @@ class FinishopenidloginAction extends Action {
|
|||
common_element('h2', NULL,
|
||||
_('Connect existing account'));
|
||||
common_element('p', NULL,
|
||||
_('If you already have an account, login with your username and password '.
|
||||
'to connect it to your OpenID.'));
|
||||
_('If you already have an account, login with your username and password to connect it to your OpenID.'));
|
||||
common_input('nickname', _('Existing nickname'));
|
||||
common_password('password', _('Password'));
|
||||
common_submit('connect', _('Connect'));
|
||||
|
|
|
@ -25,9 +25,7 @@ require_once(INSTALLDIR.'/lib/jabber.php');
|
|||
class ImsettingsAction extends SettingsAction {
|
||||
|
||||
function get_instructions() {
|
||||
return _('You can send and receive notices through '.
|
||||
'Jabber/GTalk [instant messages](%%doc.im%%). Configure '.
|
||||
'your address and settings below.');
|
||||
return _('You can send and receive notices through Jabber/GTalk [instant messages](%%doc.im%%). Configure your address and settings below.');
|
||||
}
|
||||
|
||||
function show_form($msg=NULL, $success=false) {
|
||||
|
@ -56,17 +54,15 @@ class ImsettingsAction extends SettingsAction {
|
|||
common_element('span', 'input_instructions',
|
||||
sprintf(_('Awaiting confirmation on this address. Check your ' .
|
||||
'Jabber/GTalk account for a message with further ' .
|
||||
'instructions. (Did you add %s to your buddy list?)'),
|
||||
jabber_daemon_address()));
|
||||
'instructions. (Did you add %s to your buddy list?)',
|
||||
jabber_daemon_address())));
|
||||
common_hidden('jabber', $confirm->address);
|
||||
common_element_end('p');
|
||||
common_submit('cancel', _('Cancel'));
|
||||
} else {
|
||||
common_input('jabber', _('IM Address'),
|
||||
($this->arg('jabber')) ? $this->arg('jabber') : NULL,
|
||||
sprintf(_('Jabber or GTalk address, like "UserName@example.org". ' .
|
||||
'First, make sure to add %s' .
|
||||
' to your buddy list in your IM client or on GTalk.'), jabber_daemon_address()));
|
||||
sprintf(_('Jabber or GTalk address, like "UserName@example.org". First, make sure to add %s to your buddy list in your IM client or on GTalk.'), jabber_daemon_address()));
|
||||
common_submit('add', _('Add'));
|
||||
}
|
||||
}
|
||||
|
@ -191,8 +187,7 @@ class ImsettingsAction extends SettingsAction {
|
|||
$jabber);
|
||||
}
|
||||
|
||||
$msg = sprintf(_('A confirmation code was sent to the IM address you added. ' .
|
||||
'You must approve %s for sending messages to you.'), jabber_daemon_address());
|
||||
$msg = sprintf(_('A confirmation code was sent to the IM address you added. You must approve %s for sending messages to you.'), jabber_daemon_address());
|
||||
|
||||
$this->show_form($msg, TRUE);
|
||||
}
|
||||
|
|
|
@ -109,22 +109,11 @@ class LoginAction extends Action {
|
|||
}
|
||||
|
||||
function get_instructions() {
|
||||
if (common_logged_in() &&
|
||||
!common_is_real_login() &&
|
||||
common_get_returnto())
|
||||
{
|
||||
# rememberme logins have to reauthenticate before
|
||||
# changing any profile settings (cookie-stealing protection)
|
||||
return _('For security reasons, please re-enter your ' .
|
||||
'user name and password ' .
|
||||
'before changing your settings.');
|
||||
} else {
|
||||
return _('Login with your username and password. ' .
|
||||
'Don\'t have a username yet? ' .
|
||||
'[Register](%%action.register%%) a new account, or ' .
|
||||
'try [OpenID](%%action.openidlogin%%). ');
|
||||
}
|
||||
}
|
||||
|
||||
function show_top($error=NULL) {
|
||||
if ($error) {
|
||||
|
|
|
@ -27,8 +27,7 @@ define(NOTICES_PER_PAGE, 20);
|
|||
class NoticesearchAction extends SearchAction {
|
||||
|
||||
function get_instructions() {
|
||||
return _('Search for notices on %%site.name%% by their contents. ' .
|
||||
'Separate search terms by spaces; they must be 3 characters or more.');
|
||||
return _('Search for notices on %%site.name%% by their contents. Separate search terms by spaces; they must be 3 characters or more.');
|
||||
}
|
||||
|
||||
function get_title() {
|
||||
|
|
|
@ -181,8 +181,7 @@ class RegisterAction extends Action {
|
|||
common_input('email', _('Email'), NULL,
|
||||
_('Used only for updates, announcements, and password recovery'));
|
||||
common_checkbox('rememberme', _('Remember me'), false,
|
||||
_('Automatically login in the future; ' .
|
||||
'not for shared computers!'));
|
||||
_('Automatically login in the future; not for shared computers!'));
|
||||
common_element_start('p');
|
||||
common_element('input', array('type' => 'checkbox',
|
||||
'id' => 'license',
|
||||
|
|
|
@ -234,11 +234,7 @@ function common_show_footer() {
|
|||
} else {
|
||||
$instr = _('**%%site.name%%** is a microblogging service. ');
|
||||
}
|
||||
$instr .= sprintf(_('It runs the [Laconica](http://laconi.ca/) ' .
|
||||
'microblogging software, version %s, ' .
|
||||
'available under the ' .
|
||||
'[GNU Affero General Public License]' .
|
||||
'(http://www.fsf.org/licensing/licenses/agpl-3.0.html).'), LACONICA_VERSION);
|
||||
$instr .= sprintf(_('It runs the [Laconica](http://laconi.ca/) microblogging software, version %s, available under the [GNU Affero General Public License] (http://www.fsf.org/licensing/licenses/agpl-3.0.html).'), LACONICA_VERSION);
|
||||
$output = common_markup_to_html($instr);
|
||||
common_raw($output);
|
||||
common_element_end('div');
|
||||
|
|
Loading…
Reference in New Issue
Block a user