bifurqué depuis GNUsocial/gnu-social
Merge branch '0.9.x' into facebook-upgrade
Cette révision appartient à :
révision
e716c3ebaf
@ -142,7 +142,7 @@ class InviteAction extends CurrentUserDesignAction
|
||||
$this->elementStart('ul');
|
||||
foreach ($this->already as $other) {
|
||||
// TRANS: Used as list item for already subscribed users (%1$s is nickname, %2$s is e-mail address).
|
||||
$this->element('li', null, sprintf(_('%1$s (%2$s)'), $other->nickname, $other->email));
|
||||
$this->element('li', null, sprintf(_m('INVITE','%1$s (%2$s)'), $other->nickname, $other->email));
|
||||
}
|
||||
$this->elementEnd('ul');
|
||||
}
|
||||
@ -156,7 +156,7 @@ class InviteAction extends CurrentUserDesignAction
|
||||
$this->elementStart('ul');
|
||||
foreach ($this->subbed as $other) {
|
||||
// TRANS: Used as list item for already registered people (%1$s is nickname, %2$s is e-mail address).
|
||||
$this->element('li', null, sprintf(_('%1$s (%2$s)'), $other->nickname, $other->email));
|
||||
$this->element('li', null, sprintf(_m('INVITE','%1$s (%2$s)'), $other->nickname, $other->email));
|
||||
}
|
||||
$this->elementEnd('ul');
|
||||
}
|
||||
|
@ -151,7 +151,7 @@ class NewgroupAction extends Action
|
||||
// TRANS: %d is the maximum number of allowed characters.
|
||||
$this->showForm(sprintf(_m('Description is too long (maximum %d character).',
|
||||
'Description is too long (maximum %d characters).',
|
||||
User_group::maxDescription(),
|
||||
User_group::maxDescription()),
|
||||
User_group::maxDescription()));
|
||||
return;
|
||||
} else if (!is_null($location) && mb_strlen($location) > 255) {
|
||||
|
@ -63,21 +63,26 @@ class ShowstreamAction extends ProfileAction
|
||||
|
||||
function title()
|
||||
{
|
||||
if (!empty($this->profile->fullname)) {
|
||||
$base = $this->profile->fullname . ' (' . $this->user->nickname . ') ';
|
||||
} else {
|
||||
$base = $this->user->nickname;
|
||||
}
|
||||
$base = $this->profile->getFancyName();
|
||||
if (!empty($this->tag)) {
|
||||
$base .= sprintf(_(' tagged %s'), $this->tag);
|
||||
}
|
||||
|
||||
if ($this->page == 1) {
|
||||
return $base;
|
||||
if ($this->page == 1) {
|
||||
// TRANS: Page title showing tagged notices in one user's stream. %1$s is the username, %2$s is the hash tag.
|
||||
return sprintf(_('%1$s tagged %2$s'), $base, $this->tag);
|
||||
} else {
|
||||
// TRANS: Page title showing tagged notices in one user's stream.
|
||||
// TRANS: %1$s is the username, %2$s is the hash tag, %1$d is the page number.
|
||||
return sprintf(_('%1$s tagged %2$s, page %3$d'), $base, $this->tag, $this->page);
|
||||
}
|
||||
} else {
|
||||
return sprintf(_('%1$s, page %2$d'),
|
||||
$base,
|
||||
$this->page);
|
||||
if ($this->page == 1) {
|
||||
return $base;
|
||||
} else {
|
||||
// TRANS: Extended page title showing tagged notices in one user's stream.
|
||||
// TRANS: %1$s is the username, %2$d is the page number.
|
||||
return sprintf(_('%1$s, page %2$d'),
|
||||
$base,
|
||||
$this->page);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -117,6 +122,8 @@ class ShowstreamAction extends ProfileAction
|
||||
common_local_url('userrss',
|
||||
array('nickname' => $this->user->nickname,
|
||||
'tag' => $this->tag)),
|
||||
// TRANS: Title for link to notice feed.
|
||||
// TRANS: %1$s is a user nickname, %2$s is a hashtag.
|
||||
sprintf(_('Notice feed for %1$s tagged %2$s (RSS 1.0)'),
|
||||
$this->user->nickname, $this->tag)));
|
||||
}
|
||||
@ -124,6 +131,8 @@ class ShowstreamAction extends ProfileAction
|
||||
return array(new Feed(Feed::RSS1,
|
||||
common_local_url('userrss',
|
||||
array('nickname' => $this->user->nickname)),
|
||||
// TRANS: Title for link to notice feed.
|
||||
// TRANS: %s is a user nickname.
|
||||
sprintf(_('Notice feed for %s (RSS 1.0)'),
|
||||
$this->user->nickname)),
|
||||
new Feed(Feed::RSS2,
|
||||
@ -131,6 +140,8 @@ class ShowstreamAction extends ProfileAction
|
||||
array(
|
||||
'id' => $this->user->id,
|
||||
'format' => 'rss')),
|
||||
// TRANS: Title for link to notice feed.
|
||||
// TRANS: %s is a user nickname.
|
||||
sprintf(_('Notice feed for %s (RSS 2.0)'),
|
||||
$this->user->nickname)),
|
||||
new Feed(Feed::ATOM,
|
||||
@ -143,6 +154,8 @@ class ShowstreamAction extends ProfileAction
|
||||
new Feed(Feed::FOAF,
|
||||
common_local_url('foaf', array('nickname' =>
|
||||
$this->user->nickname)),
|
||||
// TRANS: Title for link to notice feed. FOAF stands for Friend of a Friend.
|
||||
// TRANS: More information at http://www.foaf-project.org. %s is a user nickname.
|
||||
sprintf(_('FOAF for %s'), $this->user->nickname)));
|
||||
}
|
||||
|
||||
@ -194,17 +207,23 @@ class ShowstreamAction extends ProfileAction
|
||||
|
||||
function showEmptyListMessage()
|
||||
{
|
||||
$message = sprintf(_('This is the timeline for %1$s but %2$s hasn\'t posted anything yet.'), $this->user->nickname, $this->user->nickname) . ' ';
|
||||
// TRANS: First sentence of empty list message for a stream. $1%s is a user nickname.
|
||||
$message = sprintf(_('This is the timeline for %1$s, but %1$s hasn\'t posted anything yet.'), $this->user->nickname) . ' ';
|
||||
|
||||
if (common_logged_in()) {
|
||||
$current_user = common_current_user();
|
||||
if ($this->user->id === $current_user->id) {
|
||||
// TRANS: Second sentence of empty list message for a stream for the user themselves.
|
||||
$message .= _('Seen anything interesting recently? You haven\'t posted any notices yet, now would be a good time to start :)');
|
||||
} else {
|
||||
// TRANS: Second sentence of empty list message for a non-self stream. %1$s is a user nickname, %2$s is a part of a URL.
|
||||
// TRANS: This message contains a Markdown link. Keep "](" together.
|
||||
$message .= sprintf(_('You can try to nudge %1$s or [post something to them](%%%%action.newnotice%%%%?status_textarea=%2$s).'), $this->user->nickname, '@' . $this->user->nickname);
|
||||
}
|
||||
}
|
||||
else {
|
||||
// TRANS: Second sentence of empty message for anonymous users. %s is a user nickname.
|
||||
// TRANS: This message contains a Markdown link. Keep "](" together.
|
||||
$message .= sprintf(_('Why not [register an account](%%%%action.register%%%%) and then nudge %s or post a notice to them.'), $this->user->nickname);
|
||||
}
|
||||
|
||||
@ -240,11 +259,15 @@ class ShowstreamAction extends ProfileAction
|
||||
function showAnonymousMessage()
|
||||
{
|
||||
if (!(common_config('site','closed') || common_config('site','inviteonly'))) {
|
||||
// TRANS: Announcement for anonymous users showing a stream if site registrations are open.
|
||||
// TRANS: This message contains a Markdown link. Keep "](" together.
|
||||
$m = sprintf(_('**%s** has an account on %%%%site.name%%%%, a [micro-blogging](http://en.wikipedia.org/wiki/Micro-blogging) service ' .
|
||||
'based on the Free Software [StatusNet](http://status.net/) tool. ' .
|
||||
'[Join now](%%%%action.register%%%%) to follow **%s**\'s notices and many more! ([Read more](%%%%doc.help%%%%))'),
|
||||
$this->user->nickname, $this->user->nickname);
|
||||
} else {
|
||||
// TRANS: Announcement for anonymous users showing a stream if site registrations are closed or invite only.
|
||||
// TRANS: This message contains a Markdown link. Keep "](" together.
|
||||
$m = sprintf(_('**%s** has an account on %%%%site.name%%%%, a [micro-blogging](http://en.wikipedia.org/wiki/Micro-blogging) service ' .
|
||||
'based on the Free Software [StatusNet](http://status.net/) tool. '),
|
||||
$this->user->nickname, $this->user->nickname);
|
||||
@ -284,7 +307,6 @@ class ProfileNoticeListItem extends DoFollowListItem
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
|
||||
function showRepeat()
|
||||
{
|
||||
if (!empty($this->repeat)) {
|
||||
@ -295,13 +317,14 @@ class ProfileNoticeListItem extends DoFollowListItem
|
||||
'class' => 'url');
|
||||
|
||||
if (!empty($this->profile->fullname)) {
|
||||
$attrs['title'] = $this->profile->fullname . ' (' . $this->profile->nickname . ')';
|
||||
$attrs['title'] = $this->getFancyName();
|
||||
}
|
||||
|
||||
$this->out->elementStart('span', 'repeat');
|
||||
|
||||
$text_link = XMLStringer::estring('a', $attrs, $this->profile->nickname);
|
||||
|
||||
// TRANS: Link to the author of a repeated notice. %s is a linked nickname.
|
||||
$this->out->raw(sprintf(_('Repeat of %s'), $text_link));
|
||||
|
||||
$this->out->elementEnd('span');
|
||||
|
@ -141,11 +141,32 @@ class Profile extends Memcached_DataObject
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets either the full name (if filled) or the nickname.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
function getBestName()
|
||||
{
|
||||
return ($this->fullname) ? $this->fullname : $this->nickname;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the full name (if filled) with nickname as a parenthetical, or the nickname alone
|
||||
* if no fullname is provided.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
function getFancyName()
|
||||
{
|
||||
if ($this->fullname) {
|
||||
// TRANS: Full name of a profile or group followed by nickname in parens
|
||||
return sprintf(_m('FANCYNAME','%1$s (%2$s)'), $this->fullname, $this->nickname);
|
||||
} else {
|
||||
return $this->nickname;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the most recent notice posted by this user, if any.
|
||||
*
|
||||
|
11
js/util.js
11
js/util.js
@ -56,6 +56,15 @@ var SN = { // StatusNet
|
||||
NoticeDataGeoCookie: 'NoticeDataGeo',
|
||||
NoticeDataGeoSelected: 'notice_data-geo_selected',
|
||||
StatusNetInstance:'StatusNetInstance'
|
||||
},
|
||||
},
|
||||
|
||||
messages: {},
|
||||
msg: function(key) {
|
||||
if (typeof SN.messages[key] == "undefined") {
|
||||
return '[' + key + ']';
|
||||
} else {
|
||||
return SN.messages[key];
|
||||
}
|
||||
},
|
||||
|
||||
@ -416,7 +425,7 @@ var SN = { // StatusNet
|
||||
});
|
||||
|
||||
return false;
|
||||
});
|
||||
}).attr('title', SN.msg('showmore_tooltip'));
|
||||
}
|
||||
else {
|
||||
$.fn.jOverlay.options = {
|
||||
|
@ -283,6 +283,7 @@ class Action extends HTMLOutputter // lawsuit
|
||||
if (Event::handle('StartShowStatusNetScripts', array($this)) &&
|
||||
Event::handle('StartShowLaconicaScripts', array($this))) {
|
||||
$this->script('util.js');
|
||||
$this->showScriptMessages();
|
||||
// Frame-busting code to avoid clickjacking attacks.
|
||||
$this->inlineScript('if (window.top !== window.self) { window.top.location.href = window.self.location.href; }');
|
||||
Event::handle('EndShowStatusNetScripts', array($this));
|
||||
@ -292,6 +293,54 @@ class Action extends HTMLOutputter // lawsuit
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Exports a map of localized text strings to JavaScript code.
|
||||
*
|
||||
* Plugins can add to what's exported by hooking the StartScriptMessages or EndScriptMessages
|
||||
* events and appending to the array. Try to avoid adding strings that won't be used, as
|
||||
* they'll be added to HTML output.
|
||||
*/
|
||||
function showScriptMessages()
|
||||
{
|
||||
$messages = array();
|
||||
if (Event::handle('StartScriptMessages', array($this, &$messages))) {
|
||||
// Common messages needed for timeline views etc...
|
||||
|
||||
// TRANS: Localized tooltip for '...' expansion button on overlong remote messages.
|
||||
$messages['showmore_tooltip'] = _m('TOOLTIP', 'Show more');
|
||||
|
||||
$messages = array_merge($messages, $this->getScriptMessages());
|
||||
}
|
||||
Event::handle('EndScriptMessages', array($this, &$messages));
|
||||
if ($messages) {
|
||||
$this->inlineScript('SN.messages=' . json_encode($messages));
|
||||
}
|
||||
return $messages;
|
||||
}
|
||||
|
||||
/**
|
||||
* If the action will need localizable text strings, export them here like so:
|
||||
*
|
||||
* return array('pool_deepend' => _('Deep end'),
|
||||
* 'pool_shallow' => _('Shallow end'));
|
||||
*
|
||||
* The exported map will be available via SN.msg() to JS code:
|
||||
*
|
||||
* $('#pool').html('<div class="deepend"></div><div class="shallow"></div>');
|
||||
* $('#pool .deepend').text(SN.msg('pool_deepend'));
|
||||
* $('#pool .shallow').text(SN.msg('pool_shallow'));
|
||||
*
|
||||
* Exports a map of localized text strings to JavaScript code.
|
||||
*
|
||||
* Plugins can add to what's exported on any action by hooking the StartScriptMessages or
|
||||
* EndScriptMessages events and appending to the array. Try to avoid adding strings that won't
|
||||
* be used, as they'll be added to HTML output.
|
||||
*/
|
||||
function getScriptMessages()
|
||||
{
|
||||
return array();
|
||||
}
|
||||
|
||||
/**
|
||||
* Show OpenSearch headers
|
||||
*
|
||||
@ -824,16 +873,17 @@ class Action extends HTMLOutputter // lawsuit
|
||||
// TRANS: Secondary navigation menu option leading to privacy policy.
|
||||
_('Privacy'));
|
||||
$this->menuItem(common_local_url('doc', array('title' => 'source')),
|
||||
// TRANS: Secondary navigation menu option.
|
||||
// TRANS: Secondary navigation menu option. Leads to information about StatusNet and its license.
|
||||
_('Source'));
|
||||
$this->menuItem(common_local_url('version'),
|
||||
// TRANS: Secondary navigation menu option leading to version information on the StatusNet site.
|
||||
_('Version'));
|
||||
$this->menuItem(common_local_url('doc', array('title' => 'contact')),
|
||||
// TRANS: Secondary navigation menu option leading to contact information on the StatusNet site.
|
||||
// TRANS: Secondary navigation menu option leading to e-mail contact information on the
|
||||
// TRANS: StatusNet site, where to report bugs, ...
|
||||
_('Contact'));
|
||||
$this->menuItem(common_local_url('doc', array('title' => 'badge')),
|
||||
// TRANS: Secondary navigation menu option.
|
||||
// TRANS: Secondary navigation menu option. Leads to information about embedding a timeline widget.
|
||||
_('Badge'));
|
||||
Event::handle('EndSecondaryNav', array($this));
|
||||
}
|
||||
|
@ -423,7 +423,7 @@ class WhoisCommand extends Command
|
||||
|
||||
// TRANS: Whois output.
|
||||
// TRANS: %1$s nickname of the queried user, %2$s is their profile URL.
|
||||
$whois = sprintf(_("%1\$s (%2\$s)"), $recipient->nickname,
|
||||
$whois = sprintf(_m('WHOIS',"%1\$s (%2\$s)"), $recipient->nickname,
|
||||
$recipient->profileurl);
|
||||
if ($recipient->fullname) {
|
||||
// TRANS: Whois output. %s is the full name of the queried user.
|
||||
|
Fichier diff supprimé car celui-ci est trop grand
Voir la Diff
Fichier diff supprimé car celui-ci est trop grand
Voir la Diff
Fichier diff supprimé car celui-ci est trop grand
Voir la Diff
Fichier diff supprimé car celui-ci est trop grand
Voir la Diff
Fichier diff supprimé car celui-ci est trop grand
Voir la Diff
Fichier diff supprimé car celui-ci est trop grand
Voir la Diff
Fichier diff supprimé car celui-ci est trop grand
Voir la Diff
Fichier diff supprimé car celui-ci est trop grand
Voir la Diff
Fichier diff supprimé car celui-ci est trop grand
Voir la Diff
Fichier diff supprimé car celui-ci est trop grand
Voir la Diff
Fichier diff supprimé car celui-ci est trop grand
Voir la Diff
Fichier diff supprimé car celui-ci est trop grand
Voir la Diff
Fichier diff supprimé car celui-ci est trop grand
Voir la Diff
Fichier diff supprimé car celui-ci est trop grand
Voir la Diff
Fichier diff supprimé car celui-ci est trop grand
Voir la Diff
Fichier diff supprimé car celui-ci est trop grand
Voir la Diff
Fichier diff supprimé car celui-ci est trop grand
Voir la Diff
Fichier diff supprimé car celui-ci est trop grand
Voir la Diff
Fichier diff supprimé car celui-ci est trop grand
Voir la Diff
Fichier diff supprimé car celui-ci est trop grand
Voir la Diff
Fichier diff supprimé car celui-ci est trop grand
Voir la Diff
Fichier diff supprimé car celui-ci est trop grand
Voir la Diff
Fichier diff supprimé car celui-ci est trop grand
Voir la Diff
Fichier diff supprimé car celui-ci est trop grand
Voir la Diff
Fichier diff supprimé car celui-ci est trop grand
Voir la Diff
Fichier diff supprimé car celui-ci est trop grand
Voir la Diff
Fichier diff supprimé car celui-ci est trop grand
Voir la Diff
Fichier diff supprimé car celui-ci est trop grand
Voir la Diff
Fichier diff supprimé car celui-ci est trop grand
Voir la Diff
Fichier diff supprimé car celui-ci est trop grand
Voir la Diff
Fichier diff supprimé car celui-ci est trop grand
Voir la Diff
Fichier diff supprimé car celui-ci est trop grand
Voir la Diff
Fichier diff supprimé car celui-ci est trop grand
Voir la Diff
Fichier diff supprimé car celui-ci est trop grand
Voir la Diff
Fichier diff supprimé car celui-ci est trop grand
Voir la Diff
Fichier diff supprimé car celui-ci est trop grand
Voir la Diff
Fichier diff supprimé car celui-ci est trop grand
Voir la Diff
Fichier diff supprimé car celui-ci est trop grand
Voir la Diff
@ -188,10 +188,10 @@ class Ostatus_profile extends Memcached_DataObject
|
||||
} else if ($this->group_id && !$this->profile_id) {
|
||||
return true;
|
||||
} else if ($this->group_id && $this->profile_id) {
|
||||
// TRANS: Server exception.
|
||||
// TRANS: Server exception. %s is a URI.
|
||||
throw new ServerException(sprintf(_m('Invalid ostatus_profile state: both group and profile IDs set for %s.'),$this->uri));
|
||||
} else {
|
||||
// TRANS: Server exception.
|
||||
// TRANS: Server exception. %s is a URI.
|
||||
throw new ServerException(sprintf(_m('Invalid ostatus_profile state: both group and profile IDs empty for %s.'),$this->uri));
|
||||
}
|
||||
}
|
||||
@ -405,6 +405,7 @@ class Ostatus_profile extends Memcached_DataObject
|
||||
} else if ($feed->localName == 'rss') { // @fixme check namespace
|
||||
$this->processRssFeed($feed, $source);
|
||||
} else {
|
||||
// TRANS: Exception.
|
||||
throw new Exception(_m('Unknown feed format.'));
|
||||
}
|
||||
}
|
||||
@ -428,6 +429,7 @@ class Ostatus_profile extends Memcached_DataObject
|
||||
$channels = $rss->getElementsByTagName('channel');
|
||||
|
||||
if ($channels->length == 0) {
|
||||
// TRANS: Exception.
|
||||
throw new Exception(_m('RSS feed without a channel.'));
|
||||
} else if ($channels->length > 1) {
|
||||
common_log(LOG_WARNING, __METHOD__ . ": more than one channel in an RSS feed");
|
||||
@ -555,7 +557,7 @@ class Ostatus_profile extends Memcached_DataObject
|
||||
$sourceContent = $note->title;
|
||||
} else {
|
||||
// @fixme fetch from $sourceUrl?
|
||||
// TRANS: Client exception. %s is a source URL.
|
||||
// TRANS: Client exception. %s is a source URI.
|
||||
throw new ClientException(sprintf(_m('No content for notice %s.'),$sourceUri));
|
||||
}
|
||||
|
||||
@ -588,7 +590,9 @@ class Ostatus_profile extends Memcached_DataObject
|
||||
// We mark up the attachment link specially for the HTML output
|
||||
// so we can fold-out the full version inline.
|
||||
|
||||
// TRANS: Shown when a notice is longer than supported and/or when attachments are present.
|
||||
// @fixme I18N this tooltip will be saved with the site's default language
|
||||
// TRANS: Shown when a notice is longer than supported and/or when attachments are present. At runtime
|
||||
// TRANS: this will usually be replaced with localised text from StatusNet core messages.
|
||||
$showMoreText = _m('Show more');
|
||||
$attachUrl = common_local_url('attachment',
|
||||
array('attachment' => $attachment->id));
|
||||
@ -839,7 +843,7 @@ class Ostatus_profile extends Memcached_DataObject
|
||||
return self::ensureFeedURL($feedurl, $hints);
|
||||
}
|
||||
|
||||
// TRANS: Exception.
|
||||
// TRANS: Exception. %s is a URL.
|
||||
throw new Exception(sprintf(_m('Could not find a feed URL for profile page %s.'),$finalUrl));
|
||||
}
|
||||
|
||||
@ -977,6 +981,7 @@ class Ostatus_profile extends Memcached_DataObject
|
||||
}
|
||||
|
||||
// XXX: make some educated guesses here
|
||||
// TRANS: Feed sub exception.
|
||||
throw new FeedSubException(_m('Can\'t find enough profile information to make a feed.'));
|
||||
}
|
||||
|
||||
@ -1036,6 +1041,7 @@ class Ostatus_profile extends Memcached_DataObject
|
||||
return;
|
||||
}
|
||||
if (!common_valid_http_url($url)) {
|
||||
// TRANS: Server exception. %s is a URL.
|
||||
throw new ServerException(sprintf(_m("Invalid avatar URL %s."), $url));
|
||||
}
|
||||
|
||||
@ -1046,6 +1052,7 @@ class Ostatus_profile extends Memcached_DataObject
|
||||
}
|
||||
if (!$self) {
|
||||
throw new ServerException(sprintf(
|
||||
// TRANS: Server exception. %s is a URI.
|
||||
_m("Tried to update avatar for unsaved remote profile %s."),
|
||||
$this->uri));
|
||||
}
|
||||
@ -1055,6 +1062,7 @@ class Ostatus_profile extends Memcached_DataObject
|
||||
$temp_filename = tempnam(sys_get_temp_dir(), 'listener_avatar');
|
||||
try {
|
||||
if (!copy($url, $temp_filename)) {
|
||||
// TRANS: Server exception. %s is a URL.
|
||||
throw new ServerException(sprintf(_m("Unable to fetch avatar from %s."), $url));
|
||||
}
|
||||
|
||||
@ -1337,7 +1345,7 @@ class Ostatus_profile extends Memcached_DataObject
|
||||
|
||||
$oprofile->profile_id = $profile->insert();
|
||||
if (!$oprofile->profile_id) {
|
||||
// TRANS: Exception.
|
||||
// TRANS: Server exception.
|
||||
throw new ServerException(_m('Can\'t save local profile.'));
|
||||
}
|
||||
} else {
|
||||
@ -1348,7 +1356,7 @@ class Ostatus_profile extends Memcached_DataObject
|
||||
|
||||
$oprofile->group_id = $group->insert();
|
||||
if (!$oprofile->group_id) {
|
||||
// TRANS: Exception.
|
||||
// TRANS: Server exception.
|
||||
throw new ServerException(_m('Can\'t save local profile.'));
|
||||
}
|
||||
}
|
||||
@ -1356,7 +1364,7 @@ class Ostatus_profile extends Memcached_DataObject
|
||||
$ok = $oprofile->insert();
|
||||
|
||||
if (!$ok) {
|
||||
// TRANS: Exception.
|
||||
// TRANS: Server exception.
|
||||
throw new ServerException(_m('Can\'t save OStatus profile.'));
|
||||
}
|
||||
|
||||
@ -1795,6 +1803,7 @@ class Ostatus_profile extends Memcached_DataObject
|
||||
|
||||
if ($file_id === false) {
|
||||
common_log_db_error($file, "INSERT", __FILE__);
|
||||
// TRANS: Server exception.
|
||||
throw new ServerException(_m('Could not store HTML content of long post as file.'));
|
||||
}
|
||||
|
||||
|
@ -8,7 +8,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2010-10-27 23:43+0000\n"
|
||||
"POT-Creation-Date: 2010-11-02 22:51+0000\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
@ -119,13 +119,13 @@ msgstr ""
|
||||
msgid "Attempting to end PuSH subscription for feed with no hub."
|
||||
msgstr ""
|
||||
|
||||
#. TRANS: Server exception.
|
||||
#. TRANS: Server exception. %s is a URI.
|
||||
#: classes/Ostatus_profile.php:192
|
||||
#, php-format
|
||||
msgid "Invalid ostatus_profile state: both group and profile IDs set for %s."
|
||||
msgstr ""
|
||||
|
||||
#. TRANS: Server exception.
|
||||
#. TRANS: Server exception. %s is a URI.
|
||||
#: classes/Ostatus_profile.php:195
|
||||
#, php-format
|
||||
msgid "Invalid ostatus_profile state: both group and profile IDs empty for %s."
|
||||
@ -145,105 +145,113 @@ msgid ""
|
||||
"Activity entry."
|
||||
msgstr ""
|
||||
|
||||
#: classes/Ostatus_profile.php:408
|
||||
#. TRANS: Exception.
|
||||
#: classes/Ostatus_profile.php:409
|
||||
msgid "Unknown feed format."
|
||||
msgstr ""
|
||||
|
||||
#: classes/Ostatus_profile.php:431
|
||||
#. TRANS: Exception.
|
||||
#: classes/Ostatus_profile.php:433
|
||||
msgid "RSS feed without a channel."
|
||||
msgstr ""
|
||||
|
||||
#. TRANS: Client exception.
|
||||
#: classes/Ostatus_profile.php:476
|
||||
#: classes/Ostatus_profile.php:478
|
||||
msgid "Can't handle that kind of post."
|
||||
msgstr ""
|
||||
|
||||
#. TRANS: Client exception. %s is a source URL.
|
||||
#: classes/Ostatus_profile.php:559
|
||||
#. TRANS: Client exception. %s is a source URI.
|
||||
#: classes/Ostatus_profile.php:561
|
||||
#, php-format
|
||||
msgid "No content for notice %s."
|
||||
msgstr ""
|
||||
|
||||
#. TRANS: Shown when a notice is longer than supported and/or when attachments are present.
|
||||
#: classes/Ostatus_profile.php:592
|
||||
#. TRANS: Shown when a notice is longer than supported and/or when attachments are present. At runtime
|
||||
#. TRANS: this will usually be replaced with localised text from StatusNet core messages.
|
||||
#: classes/Ostatus_profile.php:596
|
||||
msgid "Show more"
|
||||
msgstr ""
|
||||
|
||||
#. TRANS: Exception. %s is a profile URL.
|
||||
#: classes/Ostatus_profile.php:785
|
||||
#: classes/Ostatus_profile.php:789
|
||||
#, php-format
|
||||
msgid "Could not reach profile page %s."
|
||||
msgstr ""
|
||||
|
||||
#. TRANS: Exception.
|
||||
#: classes/Ostatus_profile.php:843
|
||||
#. TRANS: Exception. %s is a URL.
|
||||
#: classes/Ostatus_profile.php:847
|
||||
#, php-format
|
||||
msgid "Could not find a feed URL for profile page %s."
|
||||
msgstr ""
|
||||
|
||||
#: classes/Ostatus_profile.php:980
|
||||
#. TRANS: Feed sub exception.
|
||||
#: classes/Ostatus_profile.php:985
|
||||
msgid "Can't find enough profile information to make a feed."
|
||||
msgstr ""
|
||||
|
||||
#: classes/Ostatus_profile.php:1039
|
||||
#. TRANS: Server exception. %s is a URL.
|
||||
#: classes/Ostatus_profile.php:1045
|
||||
#, php-format
|
||||
msgid "Invalid avatar URL %s."
|
||||
msgstr ""
|
||||
|
||||
#: classes/Ostatus_profile.php:1049
|
||||
#. TRANS: Server exception. %s is a URI.
|
||||
#: classes/Ostatus_profile.php:1056
|
||||
#, php-format
|
||||
msgid "Tried to update avatar for unsaved remote profile %s."
|
||||
msgstr ""
|
||||
|
||||
#: classes/Ostatus_profile.php:1058
|
||||
#. TRANS: Server exception. %s is a URL.
|
||||
#: classes/Ostatus_profile.php:1066
|
||||
#, php-format
|
||||
msgid "Unable to fetch avatar from %s."
|
||||
msgstr ""
|
||||
|
||||
#. TRANS: Exception.
|
||||
#: classes/Ostatus_profile.php:1284
|
||||
#: classes/Ostatus_profile.php:1292
|
||||
msgid "Local user can't be referenced as remote."
|
||||
msgstr ""
|
||||
|
||||
#. TRANS: Exception.
|
||||
#: classes/Ostatus_profile.php:1289
|
||||
#: classes/Ostatus_profile.php:1297
|
||||
msgid "Local group can't be referenced as remote."
|
||||
msgstr ""
|
||||
|
||||
#. TRANS: Exception.
|
||||
#: classes/Ostatus_profile.php:1341 classes/Ostatus_profile.php:1352
|
||||
#. TRANS: Server exception.
|
||||
#: classes/Ostatus_profile.php:1349 classes/Ostatus_profile.php:1360
|
||||
msgid "Can't save local profile."
|
||||
msgstr ""
|
||||
|
||||
#. TRANS: Exception.
|
||||
#: classes/Ostatus_profile.php:1360
|
||||
#. TRANS: Server exception.
|
||||
#: classes/Ostatus_profile.php:1368
|
||||
msgid "Can't save OStatus profile."
|
||||
msgstr ""
|
||||
|
||||
#. TRANS: Exception.
|
||||
#: classes/Ostatus_profile.php:1619 classes/Ostatus_profile.php:1647
|
||||
#: classes/Ostatus_profile.php:1627 classes/Ostatus_profile.php:1655
|
||||
msgid "Not a valid webfinger address."
|
||||
msgstr ""
|
||||
|
||||
#. TRANS: Exception. %s is a webfinger address.
|
||||
#: classes/Ostatus_profile.php:1729
|
||||
#: classes/Ostatus_profile.php:1737
|
||||
#, php-format
|
||||
msgid "Couldn't save profile for \"%s\"."
|
||||
msgstr ""
|
||||
|
||||
#. TRANS: Exception. %s is a webfinger address.
|
||||
#: classes/Ostatus_profile.php:1748
|
||||
#: classes/Ostatus_profile.php:1756
|
||||
#, php-format
|
||||
msgid "Couldn't save ostatus_profile for \"%s\"."
|
||||
msgstr ""
|
||||
|
||||
#. TRANS: Exception. %s is a webfinger address.
|
||||
#: classes/Ostatus_profile.php:1756
|
||||
#: classes/Ostatus_profile.php:1764
|
||||
#, php-format
|
||||
msgid "Couldn't find a valid profile for \"%s\"."
|
||||
msgstr ""
|
||||
|
||||
#: classes/Ostatus_profile.php:1798
|
||||
#. TRANS: Server exception.
|
||||
#: classes/Ostatus_profile.php:1807
|
||||
msgid "Could not store HTML content of long post as file."
|
||||
msgstr ""
|
||||
|
||||
|
@ -10,13 +10,13 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: StatusNet - OStatus\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2010-10-27 23:43+0000\n"
|
||||
"PO-Revision-Date: 2010-10-27 23:47:14+0000\n"
|
||||
"POT-Creation-Date: 2010-11-02 22:51+0000\n"
|
||||
"PO-Revision-Date: 2010-11-02 22:54:51+0000\n"
|
||||
"Language-Team: French <http://translatewiki.net/wiki/Portal:fr>\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-POT-Import-Date: 2010-10-23 19:00:35+0000\n"
|
||||
"X-Generator: MediaWiki 1.17alpha (r75596); Translate extension (2010-09-17)\n"
|
||||
"X-POT-Import-Date: 2010-10-29 16:13:55+0000\n"
|
||||
"X-Generator: MediaWiki 1.17alpha (r75875); Translate extension (2010-09-17)\n"
|
||||
"X-Translation-Project: translatewiki.net at http://translatewiki.net\n"
|
||||
"X-Language-Code: fr\n"
|
||||
"X-Message-Group: #out-statusnet-plugin-ostatus\n"
|
||||
@ -131,7 +131,7 @@ msgstr ""
|
||||
"Tente d’arrêter l’inscription PuSH à un flux d’information sans "
|
||||
"concentrateur."
|
||||
|
||||
#. TRANS: Server exception.
|
||||
#. TRANS: Server exception. %s is a URI.
|
||||
#: classes/Ostatus_profile.php:192
|
||||
#, php-format
|
||||
msgid "Invalid ostatus_profile state: both group and profile IDs set for %s."
|
||||
@ -139,7 +139,7 @@ msgstr ""
|
||||
"État invalide du profil OStatus : identifiants à la fois de groupe et de "
|
||||
"profil définis pour « %s »."
|
||||
|
||||
#. TRANS: Server exception.
|
||||
#. TRANS: Server exception. %s is a URI.
|
||||
#: classes/Ostatus_profile.php:195
|
||||
#, php-format
|
||||
msgid "Invalid ostatus_profile state: both group and profile IDs empty for %s."
|
||||
@ -163,111 +163,119 @@ msgstr ""
|
||||
"Type invalide passé à la méthode « Ostatus_profile::notify ». Ce doit être "
|
||||
"une chaîne XML ou une entrée « Activity »."
|
||||
|
||||
#: classes/Ostatus_profile.php:408
|
||||
#. TRANS: Exception.
|
||||
#: classes/Ostatus_profile.php:409
|
||||
msgid "Unknown feed format."
|
||||
msgstr "Format de flux d’information inconnu."
|
||||
|
||||
#: classes/Ostatus_profile.php:431
|
||||
#. TRANS: Exception.
|
||||
#: classes/Ostatus_profile.php:433
|
||||
msgid "RSS feed without a channel."
|
||||
msgstr "Flux RSS sans canal."
|
||||
|
||||
#. TRANS: Client exception.
|
||||
#: classes/Ostatus_profile.php:476
|
||||
#: classes/Ostatus_profile.php:478
|
||||
msgid "Can't handle that kind of post."
|
||||
msgstr "Impossible de gérer cette sorte de publication."
|
||||
|
||||
#. TRANS: Client exception. %s is a source URL.
|
||||
#: classes/Ostatus_profile.php:559
|
||||
#. TRANS: Client exception. %s is a source URI.
|
||||
#: classes/Ostatus_profile.php:561
|
||||
#, php-format
|
||||
msgid "No content for notice %s."
|
||||
msgstr "Aucun contenu dans l’avis « %s »."
|
||||
|
||||
#. TRANS: Shown when a notice is longer than supported and/or when attachments are present.
|
||||
#: classes/Ostatus_profile.php:592
|
||||
#. TRANS: Shown when a notice is longer than supported and/or when attachments are present. At runtime
|
||||
#. TRANS: this will usually be replaced with localised text from StatusNet core messages.
|
||||
#: classes/Ostatus_profile.php:596
|
||||
msgid "Show more"
|
||||
msgstr "Voir davantage"
|
||||
|
||||
#. TRANS: Exception. %s is a profile URL.
|
||||
#: classes/Ostatus_profile.php:785
|
||||
#: classes/Ostatus_profile.php:789
|
||||
#, php-format
|
||||
msgid "Could not reach profile page %s."
|
||||
msgstr "Impossible d’atteindre la page de profil « %s »."
|
||||
|
||||
#. TRANS: Exception.
|
||||
#: classes/Ostatus_profile.php:843
|
||||
#. TRANS: Exception. %s is a URL.
|
||||
#: classes/Ostatus_profile.php:847
|
||||
#, php-format
|
||||
msgid "Could not find a feed URL for profile page %s."
|
||||
msgstr ""
|
||||
"Impossible de trouver une adresse URL de flux d’information pour la page de "
|
||||
"profil « %s »."
|
||||
|
||||
#: classes/Ostatus_profile.php:980
|
||||
#. TRANS: Feed sub exception.
|
||||
#: classes/Ostatus_profile.php:985
|
||||
msgid "Can't find enough profile information to make a feed."
|
||||
msgstr ""
|
||||
"Impossible de trouver assez d’informations de profil pour créer un flux "
|
||||
"d’information."
|
||||
|
||||
#: classes/Ostatus_profile.php:1039
|
||||
#. TRANS: Server exception. %s is a URL.
|
||||
#: classes/Ostatus_profile.php:1045
|
||||
#, php-format
|
||||
msgid "Invalid avatar URL %s."
|
||||
msgstr "Adresse URL d’avatar « %s » invalide."
|
||||
|
||||
#: classes/Ostatus_profile.php:1049
|
||||
#. TRANS: Server exception. %s is a URI.
|
||||
#: classes/Ostatus_profile.php:1056
|
||||
#, php-format
|
||||
msgid "Tried to update avatar for unsaved remote profile %s."
|
||||
msgstr ""
|
||||
"Tente de mettre à jour l’avatar associé au profil distant non sauvegardé « %s "
|
||||
"»."
|
||||
|
||||
#: classes/Ostatus_profile.php:1058
|
||||
#. TRANS: Server exception. %s is a URL.
|
||||
#: classes/Ostatus_profile.php:1066
|
||||
#, php-format
|
||||
msgid "Unable to fetch avatar from %s."
|
||||
msgstr "Impossible de récupérer l’avatar depuis « %s »."
|
||||
|
||||
#. TRANS: Exception.
|
||||
#: classes/Ostatus_profile.php:1284
|
||||
#: classes/Ostatus_profile.php:1292
|
||||
msgid "Local user can't be referenced as remote."
|
||||
msgstr "L’utilisateur local ne peut être référencé comme distant."
|
||||
|
||||
#. TRANS: Exception.
|
||||
#: classes/Ostatus_profile.php:1289
|
||||
#: classes/Ostatus_profile.php:1297
|
||||
msgid "Local group can't be referenced as remote."
|
||||
msgstr "Le groupe local ne peut être référencé comme distant."
|
||||
|
||||
#. TRANS: Exception.
|
||||
#: classes/Ostatus_profile.php:1341 classes/Ostatus_profile.php:1352
|
||||
#. TRANS: Server exception.
|
||||
#: classes/Ostatus_profile.php:1349 classes/Ostatus_profile.php:1360
|
||||
msgid "Can't save local profile."
|
||||
msgstr "Impossible de sauvegarder le profil local."
|
||||
|
||||
#. TRANS: Exception.
|
||||
#: classes/Ostatus_profile.php:1360
|
||||
#. TRANS: Server exception.
|
||||
#: classes/Ostatus_profile.php:1368
|
||||
msgid "Can't save OStatus profile."
|
||||
msgstr "Impossible de sauvegarder le profil OStatus."
|
||||
|
||||
#. TRANS: Exception.
|
||||
#: classes/Ostatus_profile.php:1619 classes/Ostatus_profile.php:1647
|
||||
#: classes/Ostatus_profile.php:1627 classes/Ostatus_profile.php:1655
|
||||
msgid "Not a valid webfinger address."
|
||||
msgstr "Ce n’est pas une adresse « webfinger » valide."
|
||||
|
||||
#. TRANS: Exception. %s is a webfinger address.
|
||||
#: classes/Ostatus_profile.php:1729
|
||||
#: classes/Ostatus_profile.php:1737
|
||||
#, php-format
|
||||
msgid "Couldn't save profile for \"%s\"."
|
||||
msgstr "Impossible de sauvegarder le profil pour « %s »."
|
||||
|
||||
#. TRANS: Exception. %s is a webfinger address.
|
||||
#: classes/Ostatus_profile.php:1748
|
||||
#: classes/Ostatus_profile.php:1756
|
||||
#, php-format
|
||||
msgid "Couldn't save ostatus_profile for \"%s\"."
|
||||
msgstr "Impossible d’enregistrer le profil OStatus pour « %s »."
|
||||
|
||||
#. TRANS: Exception. %s is a webfinger address.
|
||||
#: classes/Ostatus_profile.php:1756
|
||||
#: classes/Ostatus_profile.php:1764
|
||||
#, php-format
|
||||
msgid "Couldn't find a valid profile for \"%s\"."
|
||||
msgstr "Impossible de trouver un profil valide pour « %s »."
|
||||
|
||||
#: classes/Ostatus_profile.php:1798
|
||||
#. TRANS: Server exception.
|
||||
#: classes/Ostatus_profile.php:1807
|
||||
msgid "Could not store HTML content of long post as file."
|
||||
msgstr ""
|
||||
"Impossible de stocker le contenu HTML d’une longue publication en un fichier."
|
||||
|
@ -9,13 +9,13 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: StatusNet - OStatus\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2010-10-27 23:43+0000\n"
|
||||
"PO-Revision-Date: 2010-10-27 23:47:15+0000\n"
|
||||
"POT-Creation-Date: 2010-11-02 22:51+0000\n"
|
||||
"PO-Revision-Date: 2010-11-02 22:54:51+0000\n"
|
||||
"Language-Team: Interlingua <http://translatewiki.net/wiki/Portal:ia>\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-POT-Import-Date: 2010-10-23 19:00:35+0000\n"
|
||||
"X-Generator: MediaWiki 1.17alpha (r75596); Translate extension (2010-09-17)\n"
|
||||
"X-POT-Import-Date: 2010-10-29 16:13:55+0000\n"
|
||||
"X-Generator: MediaWiki 1.17alpha (r75875); Translate extension (2010-09-17)\n"
|
||||
"X-Translation-Project: translatewiki.net at http://translatewiki.net\n"
|
||||
"X-Language-Code: ia\n"
|
||||
"X-Message-Group: #out-statusnet-plugin-ostatus\n"
|
||||
@ -126,14 +126,14 @@ msgstr "Tentativa de comenciar subscription PuSH pro syndication sin centro."
|
||||
msgid "Attempting to end PuSH subscription for feed with no hub."
|
||||
msgstr "Tentativa de terminar subscription PuSH pro syndication sin centro."
|
||||
|
||||
#. TRANS: Server exception.
|
||||
#. TRANS: Server exception. %s is a URI.
|
||||
#: classes/Ostatus_profile.php:192
|
||||
#, php-format
|
||||
msgid "Invalid ostatus_profile state: both group and profile IDs set for %s."
|
||||
msgstr ""
|
||||
"Stato ostatus_profile invalide: IDs e de gruppo e de profilo definite pro %s."
|
||||
|
||||
#. TRANS: Server exception.
|
||||
#. TRANS: Server exception. %s is a URI.
|
||||
#: classes/Ostatus_profile.php:195
|
||||
#, php-format
|
||||
msgid "Invalid ostatus_profile state: both group and profile IDs empty for %s."
|
||||
@ -156,106 +156,114 @@ msgstr ""
|
||||
"Typo invalide passate a Ostatos_profile::notify. Illo debe esser catena XML "
|
||||
"o entrata Activity."
|
||||
|
||||
#: classes/Ostatus_profile.php:408
|
||||
#. TRANS: Exception.
|
||||
#: classes/Ostatus_profile.php:409
|
||||
msgid "Unknown feed format."
|
||||
msgstr "Formato de syndication incognite."
|
||||
|
||||
#: classes/Ostatus_profile.php:431
|
||||
#. TRANS: Exception.
|
||||
#: classes/Ostatus_profile.php:433
|
||||
msgid "RSS feed without a channel."
|
||||
msgstr "Syndication RSS sin canal."
|
||||
|
||||
#. TRANS: Client exception.
|
||||
#: classes/Ostatus_profile.php:476
|
||||
#: classes/Ostatus_profile.php:478
|
||||
msgid "Can't handle that kind of post."
|
||||
msgstr "Non pote tractar iste typo de message."
|
||||
|
||||
#. TRANS: Client exception. %s is a source URL.
|
||||
#: classes/Ostatus_profile.php:559
|
||||
#. TRANS: Client exception. %s is a source URI.
|
||||
#: classes/Ostatus_profile.php:561
|
||||
#, php-format
|
||||
msgid "No content for notice %s."
|
||||
msgstr "Nulle contento pro nota %s."
|
||||
|
||||
#. TRANS: Shown when a notice is longer than supported and/or when attachments are present.
|
||||
#: classes/Ostatus_profile.php:592
|
||||
#. TRANS: Shown when a notice is longer than supported and/or when attachments are present. At runtime
|
||||
#. TRANS: this will usually be replaced with localised text from StatusNet core messages.
|
||||
#: classes/Ostatus_profile.php:596
|
||||
msgid "Show more"
|
||||
msgstr "Monstrar plus"
|
||||
|
||||
#. TRANS: Exception. %s is a profile URL.
|
||||
#: classes/Ostatus_profile.php:785
|
||||
#: classes/Ostatus_profile.php:789
|
||||
#, php-format
|
||||
msgid "Could not reach profile page %s."
|
||||
msgstr "Non poteva attinger pagina de profilo %s."
|
||||
|
||||
#. TRANS: Exception.
|
||||
#: classes/Ostatus_profile.php:843
|
||||
#. TRANS: Exception. %s is a URL.
|
||||
#: classes/Ostatus_profile.php:847
|
||||
#, php-format
|
||||
msgid "Could not find a feed URL for profile page %s."
|
||||
msgstr "Non poteva trovar un URL de syndication pro pagina de profilo %s."
|
||||
|
||||
#: classes/Ostatus_profile.php:980
|
||||
#. TRANS: Feed sub exception.
|
||||
#: classes/Ostatus_profile.php:985
|
||||
msgid "Can't find enough profile information to make a feed."
|
||||
msgstr ""
|
||||
"Non pote trovar satis de information de profilo pro facer un syndication."
|
||||
|
||||
#: classes/Ostatus_profile.php:1039
|
||||
#. TRANS: Server exception. %s is a URL.
|
||||
#: classes/Ostatus_profile.php:1045
|
||||
#, php-format
|
||||
msgid "Invalid avatar URL %s."
|
||||
msgstr "URL de avatar %s invalide."
|
||||
|
||||
#: classes/Ostatus_profile.php:1049
|
||||
#. TRANS: Server exception. %s is a URI.
|
||||
#: classes/Ostatus_profile.php:1056
|
||||
#, php-format
|
||||
msgid "Tried to update avatar for unsaved remote profile %s."
|
||||
msgstr "Tentava actualisar avatar pro profilo remote non salveguardate %s."
|
||||
|
||||
#: classes/Ostatus_profile.php:1058
|
||||
#. TRANS: Server exception. %s is a URL.
|
||||
#: classes/Ostatus_profile.php:1066
|
||||
#, php-format
|
||||
msgid "Unable to fetch avatar from %s."
|
||||
msgstr "Incapace de obtener avatar ab %s."
|
||||
|
||||
#. TRANS: Exception.
|
||||
#: classes/Ostatus_profile.php:1284
|
||||
#: classes/Ostatus_profile.php:1292
|
||||
msgid "Local user can't be referenced as remote."
|
||||
msgstr "Usator local non pote esser referentiate como remote."
|
||||
|
||||
#. TRANS: Exception.
|
||||
#: classes/Ostatus_profile.php:1289
|
||||
#: classes/Ostatus_profile.php:1297
|
||||
msgid "Local group can't be referenced as remote."
|
||||
msgstr "Gruppo local non pote esser referentiate como remote."
|
||||
|
||||
#. TRANS: Exception.
|
||||
#: classes/Ostatus_profile.php:1341 classes/Ostatus_profile.php:1352
|
||||
#. TRANS: Server exception.
|
||||
#: classes/Ostatus_profile.php:1349 classes/Ostatus_profile.php:1360
|
||||
msgid "Can't save local profile."
|
||||
msgstr "Non pote salveguardar profilo local."
|
||||
|
||||
#. TRANS: Exception.
|
||||
#: classes/Ostatus_profile.php:1360
|
||||
#. TRANS: Server exception.
|
||||
#: classes/Ostatus_profile.php:1368
|
||||
msgid "Can't save OStatus profile."
|
||||
msgstr "Non pote salveguardar profilo OStatus."
|
||||
|
||||
#. TRANS: Exception.
|
||||
#: classes/Ostatus_profile.php:1619 classes/Ostatus_profile.php:1647
|
||||
#: classes/Ostatus_profile.php:1627 classes/Ostatus_profile.php:1655
|
||||
msgid "Not a valid webfinger address."
|
||||
msgstr "Adresse webfinger invalide."
|
||||
|
||||
#. TRANS: Exception. %s is a webfinger address.
|
||||
#: classes/Ostatus_profile.php:1729
|
||||
#: classes/Ostatus_profile.php:1737
|
||||
#, php-format
|
||||
msgid "Couldn't save profile for \"%s\"."
|
||||
msgstr "Non poteva salveguardar profilo pro \"%s\"."
|
||||
|
||||
#. TRANS: Exception. %s is a webfinger address.
|
||||
#: classes/Ostatus_profile.php:1748
|
||||
#: classes/Ostatus_profile.php:1756
|
||||
#, php-format
|
||||
msgid "Couldn't save ostatus_profile for \"%s\"."
|
||||
msgstr "Non poteva salveguardar osatus_profile pro %s."
|
||||
|
||||
#. TRANS: Exception. %s is a webfinger address.
|
||||
#: classes/Ostatus_profile.php:1756
|
||||
#: classes/Ostatus_profile.php:1764
|
||||
#, php-format
|
||||
msgid "Couldn't find a valid profile for \"%s\"."
|
||||
msgstr "Non poteva trovar un profilo valide pro \"%s\"."
|
||||
|
||||
#: classes/Ostatus_profile.php:1798
|
||||
#. TRANS: Server exception.
|
||||
#: classes/Ostatus_profile.php:1807
|
||||
msgid "Could not store HTML content of long post as file."
|
||||
msgstr "Non poteva immagazinar contento HTML de longe message como file."
|
||||
|
||||
|
@ -9,13 +9,13 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: StatusNet - OStatus\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2010-10-27 23:43+0000\n"
|
||||
"PO-Revision-Date: 2010-10-27 23:47:15+0000\n"
|
||||
"POT-Creation-Date: 2010-11-02 22:51+0000\n"
|
||||
"PO-Revision-Date: 2010-11-02 22:54:51+0000\n"
|
||||
"Language-Team: Macedonian <http://translatewiki.net/wiki/Portal:mk>\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-POT-Import-Date: 2010-10-23 19:00:35+0000\n"
|
||||
"X-Generator: MediaWiki 1.17alpha (r75596); Translate extension (2010-09-17)\n"
|
||||
"X-POT-Import-Date: 2010-10-29 16:13:55+0000\n"
|
||||
"X-Generator: MediaWiki 1.17alpha (r75875); Translate extension (2010-09-17)\n"
|
||||
"X-Translation-Project: translatewiki.net at http://translatewiki.net\n"
|
||||
"X-Language-Code: mk\n"
|
||||
"X-Message-Group: #out-statusnet-plugin-ostatus\n"
|
||||
@ -127,7 +127,7 @@ msgid "Attempting to end PuSH subscription for feed with no hub."
|
||||
msgstr ""
|
||||
"Се обидувам да ставам крај на PuSH-претплатата за емитување без средиште."
|
||||
|
||||
#. TRANS: Server exception.
|
||||
#. TRANS: Server exception. %s is a URI.
|
||||
#: classes/Ostatus_profile.php:192
|
||||
#, php-format
|
||||
msgid "Invalid ostatus_profile state: both group and profile IDs set for %s."
|
||||
@ -135,7 +135,7 @@ msgstr ""
|
||||
"Неважечка ostatus_profile-состојба: назнаките (ID) на групата и профилот се "
|
||||
"наместени за %s."
|
||||
|
||||
#. TRANS: Server exception.
|
||||
#. TRANS: Server exception. %s is a URI.
|
||||
#: classes/Ostatus_profile.php:195
|
||||
#, php-format
|
||||
msgid "Invalid ostatus_profile state: both group and profile IDs empty for %s."
|
||||
@ -159,106 +159,114 @@ msgstr ""
|
||||
"На Ostatus_profile::notify е пренесен неважечки тип. Мора да биде XML-низа "
|
||||
"или ставка во Activity."
|
||||
|
||||
#: classes/Ostatus_profile.php:408
|
||||
#. TRANS: Exception.
|
||||
#: classes/Ostatus_profile.php:409
|
||||
msgid "Unknown feed format."
|
||||
msgstr "Непознат формат на каналско емитување."
|
||||
|
||||
#: classes/Ostatus_profile.php:431
|
||||
#. TRANS: Exception.
|
||||
#: classes/Ostatus_profile.php:433
|
||||
msgid "RSS feed without a channel."
|
||||
msgstr "RSS-емитување без канал."
|
||||
|
||||
#. TRANS: Client exception.
|
||||
#: classes/Ostatus_profile.php:476
|
||||
#: classes/Ostatus_profile.php:478
|
||||
msgid "Can't handle that kind of post."
|
||||
msgstr "Не можам да работам со таква објава."
|
||||
|
||||
#. TRANS: Client exception. %s is a source URL.
|
||||
#: classes/Ostatus_profile.php:559
|
||||
#. TRANS: Client exception. %s is a source URI.
|
||||
#: classes/Ostatus_profile.php:561
|
||||
#, php-format
|
||||
msgid "No content for notice %s."
|
||||
msgstr "Нема содржина за забелешката %s."
|
||||
|
||||
#. TRANS: Shown when a notice is longer than supported and/or when attachments are present.
|
||||
#: classes/Ostatus_profile.php:592
|
||||
#. TRANS: Shown when a notice is longer than supported and/or when attachments are present. At runtime
|
||||
#. TRANS: this will usually be replaced with localised text from StatusNet core messages.
|
||||
#: classes/Ostatus_profile.php:596
|
||||
msgid "Show more"
|
||||
msgstr "Повеќе"
|
||||
|
||||
#. TRANS: Exception. %s is a profile URL.
|
||||
#: classes/Ostatus_profile.php:785
|
||||
#: classes/Ostatus_profile.php:789
|
||||
#, php-format
|
||||
msgid "Could not reach profile page %s."
|
||||
msgstr "Не можев да ја добијам профилната страница %s."
|
||||
|
||||
#. TRANS: Exception.
|
||||
#: classes/Ostatus_profile.php:843
|
||||
#. TRANS: Exception. %s is a URL.
|
||||
#: classes/Ostatus_profile.php:847
|
||||
#, php-format
|
||||
msgid "Could not find a feed URL for profile page %s."
|
||||
msgstr "Не можев да пронајдам каналска URL-адреса за профилната страница %s."
|
||||
|
||||
#: classes/Ostatus_profile.php:980
|
||||
#. TRANS: Feed sub exception.
|
||||
#: classes/Ostatus_profile.php:985
|
||||
msgid "Can't find enough profile information to make a feed."
|
||||
msgstr "Не можев да најдам доволно профилни податоци за да направам канал."
|
||||
|
||||
#: classes/Ostatus_profile.php:1039
|
||||
#. TRANS: Server exception. %s is a URL.
|
||||
#: classes/Ostatus_profile.php:1045
|
||||
#, php-format
|
||||
msgid "Invalid avatar URL %s."
|
||||
msgstr "Неважечка URL-адреса за аватарот: %s."
|
||||
|
||||
#: classes/Ostatus_profile.php:1049
|
||||
#. TRANS: Server exception. %s is a URI.
|
||||
#: classes/Ostatus_profile.php:1056
|
||||
#, php-format
|
||||
msgid "Tried to update avatar for unsaved remote profile %s."
|
||||
msgstr ""
|
||||
"Се обидов да го подновам аватарот за незачуваниот далечински профил %s."
|
||||
|
||||
#: classes/Ostatus_profile.php:1058
|
||||
#. TRANS: Server exception. %s is a URL.
|
||||
#: classes/Ostatus_profile.php:1066
|
||||
#, php-format
|
||||
msgid "Unable to fetch avatar from %s."
|
||||
msgstr "Не можам да го добијам аватарот од %s."
|
||||
|
||||
#. TRANS: Exception.
|
||||
#: classes/Ostatus_profile.php:1284
|
||||
#: classes/Ostatus_profile.php:1292
|
||||
msgid "Local user can't be referenced as remote."
|
||||
msgstr "Локалниот корисник не може да се наведе како далечински."
|
||||
|
||||
#. TRANS: Exception.
|
||||
#: classes/Ostatus_profile.php:1289
|
||||
#: classes/Ostatus_profile.php:1297
|
||||
msgid "Local group can't be referenced as remote."
|
||||
msgstr "Локалната група не може да се наведе како далечинска."
|
||||
|
||||
#. TRANS: Exception.
|
||||
#: classes/Ostatus_profile.php:1341 classes/Ostatus_profile.php:1352
|
||||
#. TRANS: Server exception.
|
||||
#: classes/Ostatus_profile.php:1349 classes/Ostatus_profile.php:1360
|
||||
msgid "Can't save local profile."
|
||||
msgstr "Не можам да го зачувам локалниот профил."
|
||||
|
||||
#. TRANS: Exception.
|
||||
#: classes/Ostatus_profile.php:1360
|
||||
#. TRANS: Server exception.
|
||||
#: classes/Ostatus_profile.php:1368
|
||||
msgid "Can't save OStatus profile."
|
||||
msgstr "Не можам да го зачувам профилот од OStatus."
|
||||
|
||||
#. TRANS: Exception.
|
||||
#: classes/Ostatus_profile.php:1619 classes/Ostatus_profile.php:1647
|
||||
#: classes/Ostatus_profile.php:1627 classes/Ostatus_profile.php:1655
|
||||
msgid "Not a valid webfinger address."
|
||||
msgstr "Ова не е важечка Webfinger-адреса"
|
||||
|
||||
#. TRANS: Exception. %s is a webfinger address.
|
||||
#: classes/Ostatus_profile.php:1729
|
||||
#: classes/Ostatus_profile.php:1737
|
||||
#, php-format
|
||||
msgid "Couldn't save profile for \"%s\"."
|
||||
msgstr "Не можам да го зачувам профилот за „%s“."
|
||||
|
||||
#. TRANS: Exception. %s is a webfinger address.
|
||||
#: classes/Ostatus_profile.php:1748
|
||||
#: classes/Ostatus_profile.php:1756
|
||||
#, php-format
|
||||
msgid "Couldn't save ostatus_profile for \"%s\"."
|
||||
msgstr "Не можам да го зачувам ostatus_profile за „%s“."
|
||||
|
||||
#. TRANS: Exception. %s is a webfinger address.
|
||||
#: classes/Ostatus_profile.php:1756
|
||||
#: classes/Ostatus_profile.php:1764
|
||||
#, php-format
|
||||
msgid "Couldn't find a valid profile for \"%s\"."
|
||||
msgstr "Не можев да пронајдам важечки профил за „%s“."
|
||||
|
||||
#: classes/Ostatus_profile.php:1798
|
||||
#. TRANS: Server exception.
|
||||
#: classes/Ostatus_profile.php:1807
|
||||
msgid "Could not store HTML content of long post as file."
|
||||
msgstr ""
|
||||
"Не можам да ја складирам HTML-содржината на долгата објава како податотека."
|
||||
|
@ -10,13 +10,13 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: StatusNet - OStatus\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2010-10-27 23:43+0000\n"
|
||||
"PO-Revision-Date: 2010-10-27 23:47:16+0000\n"
|
||||
"POT-Creation-Date: 2010-11-02 22:51+0000\n"
|
||||
"PO-Revision-Date: 2010-11-02 22:54:51+0000\n"
|
||||
"Language-Team: Dutch <http://translatewiki.net/wiki/Portal:nl>\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-POT-Import-Date: 2010-10-23 19:00:35+0000\n"
|
||||
"X-Generator: MediaWiki 1.17alpha (r75596); Translate extension (2010-09-17)\n"
|
||||
"X-POT-Import-Date: 2010-10-29 16:13:55+0000\n"
|
||||
"X-Generator: MediaWiki 1.17alpha (r75875); Translate extension (2010-09-17)\n"
|
||||
"X-Translation-Project: translatewiki.net at http://translatewiki.net\n"
|
||||
"X-Language-Code: nl\n"
|
||||
"X-Message-Group: #out-statusnet-plugin-ostatus\n"
|
||||
@ -133,7 +133,7 @@ msgid "Attempting to end PuSH subscription for feed with no hub."
|
||||
msgstr ""
|
||||
"Aan het proberen een PuSH-abonnement te verwijderen voor een feed zonder hub."
|
||||
|
||||
#. TRANS: Server exception.
|
||||
#. TRANS: Server exception. %s is a URI.
|
||||
#: classes/Ostatus_profile.php:192
|
||||
#, php-format
|
||||
msgid "Invalid ostatus_profile state: both group and profile IDs set for %s."
|
||||
@ -141,7 +141,7 @@ msgstr ""
|
||||
"Ongeldige ostatus_profile status: het ID voor zowel de groep als het profiel "
|
||||
"voor %s is ingesteld."
|
||||
|
||||
#. TRANS: Server exception.
|
||||
#. TRANS: Server exception. %s is a URI.
|
||||
#: classes/Ostatus_profile.php:195
|
||||
#, php-format
|
||||
msgid "Invalid ostatus_profile state: both group and profile IDs empty for %s."
|
||||
@ -165,112 +165,120 @@ msgstr ""
|
||||
"Ongeldig type doorgegeven aan Ostatus_profile::notify. Het moet een XML-"
|
||||
"string of Activity zijn."
|
||||
|
||||
#: classes/Ostatus_profile.php:408
|
||||
#. TRANS: Exception.
|
||||
#: classes/Ostatus_profile.php:409
|
||||
msgid "Unknown feed format."
|
||||
msgstr "Onbekend feedformaat"
|
||||
|
||||
#: classes/Ostatus_profile.php:431
|
||||
#. TRANS: Exception.
|
||||
#: classes/Ostatus_profile.php:433
|
||||
msgid "RSS feed without a channel."
|
||||
msgstr "RSS-feed zonder kanaal."
|
||||
|
||||
#. TRANS: Client exception.
|
||||
#: classes/Ostatus_profile.php:476
|
||||
#: classes/Ostatus_profile.php:478
|
||||
msgid "Can't handle that kind of post."
|
||||
msgstr "Dat type post kan niet verwerkt worden."
|
||||
|
||||
#. TRANS: Client exception. %s is a source URL.
|
||||
#: classes/Ostatus_profile.php:559
|
||||
#. TRANS: Client exception. %s is a source URI.
|
||||
#: classes/Ostatus_profile.php:561
|
||||
#, php-format
|
||||
msgid "No content for notice %s."
|
||||
msgstr "Geen inhoud voor mededeling %s."
|
||||
|
||||
#. TRANS: Shown when a notice is longer than supported and/or when attachments are present.
|
||||
#: classes/Ostatus_profile.php:592
|
||||
#. TRANS: Shown when a notice is longer than supported and/or when attachments are present. At runtime
|
||||
#. TRANS: this will usually be replaced with localised text from StatusNet core messages.
|
||||
#: classes/Ostatus_profile.php:596
|
||||
msgid "Show more"
|
||||
msgstr "Meer weergeven"
|
||||
|
||||
#. TRANS: Exception. %s is a profile URL.
|
||||
#: classes/Ostatus_profile.php:785
|
||||
#: classes/Ostatus_profile.php:789
|
||||
#, php-format
|
||||
msgid "Could not reach profile page %s."
|
||||
msgstr "Het was niet mogelijk de profielpagina %s te bereiken."
|
||||
|
||||
#. TRANS: Exception.
|
||||
#: classes/Ostatus_profile.php:843
|
||||
#. TRANS: Exception. %s is a URL.
|
||||
#: classes/Ostatus_profile.php:847
|
||||
#, php-format
|
||||
msgid "Could not find a feed URL for profile page %s."
|
||||
msgstr "Het was niet mogelijk de feed-URL voor de profielpagina %s te vinden."
|
||||
|
||||
#: classes/Ostatus_profile.php:980
|
||||
#. TRANS: Feed sub exception.
|
||||
#: classes/Ostatus_profile.php:985
|
||||
msgid "Can't find enough profile information to make a feed."
|
||||
msgstr ""
|
||||
"Het was niet mogelijk voldoende profielinformatie te vinden om een feed te "
|
||||
"maken."
|
||||
|
||||
#: classes/Ostatus_profile.php:1039
|
||||
#. TRANS: Server exception. %s is a URL.
|
||||
#: classes/Ostatus_profile.php:1045
|
||||
#, php-format
|
||||
msgid "Invalid avatar URL %s."
|
||||
msgstr "Ongeldige avatar-URL %s."
|
||||
|
||||
#: classes/Ostatus_profile.php:1049
|
||||
#. TRANS: Server exception. %s is a URI.
|
||||
#: classes/Ostatus_profile.php:1056
|
||||
#, php-format
|
||||
msgid "Tried to update avatar for unsaved remote profile %s."
|
||||
msgstr ""
|
||||
"Geprobeerd om een avatar bij te werken voor het niet opgeslagen profiel %s."
|
||||
|
||||
#: classes/Ostatus_profile.php:1058
|
||||
#. TRANS: Server exception. %s is a URL.
|
||||
#: classes/Ostatus_profile.php:1066
|
||||
#, php-format
|
||||
msgid "Unable to fetch avatar from %s."
|
||||
msgstr "Het was niet mogelijk de avatar op te halen van %s."
|
||||
|
||||
#. TRANS: Exception.
|
||||
#: classes/Ostatus_profile.php:1284
|
||||
#: classes/Ostatus_profile.php:1292
|
||||
msgid "Local user can't be referenced as remote."
|
||||
msgstr ""
|
||||
"Naar een lokale gebruiker kan niet verwezen worden alsof die zich bij een "
|
||||
"andere dienst bevindt."
|
||||
|
||||
#. TRANS: Exception.
|
||||
#: classes/Ostatus_profile.php:1289
|
||||
#: classes/Ostatus_profile.php:1297
|
||||
msgid "Local group can't be referenced as remote."
|
||||
msgstr ""
|
||||
"Naar een lokale groep kan niet verwezen worden alsof die zich bij een andere "
|
||||
"dienst bevindt."
|
||||
|
||||
#. TRANS: Exception.
|
||||
#: classes/Ostatus_profile.php:1341 classes/Ostatus_profile.php:1352
|
||||
#. TRANS: Server exception.
|
||||
#: classes/Ostatus_profile.php:1349 classes/Ostatus_profile.php:1360
|
||||
msgid "Can't save local profile."
|
||||
msgstr "Het was niet mogelijk het lokale profiel op te slaan."
|
||||
|
||||
#. TRANS: Exception.
|
||||
#: classes/Ostatus_profile.php:1360
|
||||
#. TRANS: Server exception.
|
||||
#: classes/Ostatus_profile.php:1368
|
||||
msgid "Can't save OStatus profile."
|
||||
msgstr "Het was niet mogelijk het Ostatusprofiel op te slaan."
|
||||
|
||||
#. TRANS: Exception.
|
||||
#: classes/Ostatus_profile.php:1619 classes/Ostatus_profile.php:1647
|
||||
#: classes/Ostatus_profile.php:1627 classes/Ostatus_profile.php:1655
|
||||
msgid "Not a valid webfinger address."
|
||||
msgstr "Geen geldig webfingeradres."
|
||||
|
||||
#. TRANS: Exception. %s is a webfinger address.
|
||||
#: classes/Ostatus_profile.php:1729
|
||||
#: classes/Ostatus_profile.php:1737
|
||||
#, php-format
|
||||
msgid "Couldn't save profile for \"%s\"."
|
||||
msgstr "Het was niet mogelijk het profiel voor \"%s\" op te slaan."
|
||||
|
||||
#. TRANS: Exception. %s is a webfinger address.
|
||||
#: classes/Ostatus_profile.php:1748
|
||||
#: classes/Ostatus_profile.php:1756
|
||||
#, php-format
|
||||
msgid "Couldn't save ostatus_profile for \"%s\"."
|
||||
msgstr "Het was niet mogelijk het ostatus_profile voor \"%s\" op te slaan."
|
||||
|
||||
#. TRANS: Exception. %s is a webfinger address.
|
||||
#: classes/Ostatus_profile.php:1756
|
||||
#: classes/Ostatus_profile.php:1764
|
||||
#, php-format
|
||||
msgid "Couldn't find a valid profile for \"%s\"."
|
||||
msgstr "Er is geen geldig profiel voor \"%s\" gevonden."
|
||||
|
||||
#: classes/Ostatus_profile.php:1798
|
||||
#. TRANS: Server exception.
|
||||
#: classes/Ostatus_profile.php:1807
|
||||
msgid "Could not store HTML content of long post as file."
|
||||
msgstr ""
|
||||
"Het was niet mogelijk de HTML-inhoud van het lange bericht als bestand op te "
|
||||
|
@ -9,13 +9,13 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: StatusNet - OStatus\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2010-10-27 23:43+0000\n"
|
||||
"PO-Revision-Date: 2010-10-27 23:47:17+0000\n"
|
||||
"POT-Creation-Date: 2010-11-02 22:51+0000\n"
|
||||
"PO-Revision-Date: 2010-11-02 22:54:51+0000\n"
|
||||
"Language-Team: Ukrainian <http://translatewiki.net/wiki/Portal:uk>\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-POT-Import-Date: 2010-10-23 19:00:35+0000\n"
|
||||
"X-Generator: MediaWiki 1.17alpha (r75596); Translate extension (2010-09-17)\n"
|
||||
"X-POT-Import-Date: 2010-10-29 16:13:55+0000\n"
|
||||
"X-Generator: MediaWiki 1.17alpha (r75875); Translate extension (2010-09-17)\n"
|
||||
"X-Translation-Project: translatewiki.net at http://translatewiki.net\n"
|
||||
"X-Language-Code: uk\n"
|
||||
"X-Message-Group: #out-statusnet-plugin-ostatus\n"
|
||||
@ -130,7 +130,7 @@ msgstr ""
|
||||
"Спроба скасувати підписку за допомогою PuSH до веб-стрічки, котра не має "
|
||||
"вузла."
|
||||
|
||||
#. TRANS: Server exception.
|
||||
#. TRANS: Server exception. %s is a URI.
|
||||
#: classes/Ostatus_profile.php:192
|
||||
#, php-format
|
||||
msgid "Invalid ostatus_profile state: both group and profile IDs set for %s."
|
||||
@ -138,7 +138,7 @@ msgstr ""
|
||||
"Невірний стан параметру ostatus_profile: як групові, так і персональні "
|
||||
"ідентифікатори встановлено для %s."
|
||||
|
||||
#. TRANS: Server exception.
|
||||
#. TRANS: Server exception. %s is a URI.
|
||||
#: classes/Ostatus_profile.php:195
|
||||
#, php-format
|
||||
msgid "Invalid ostatus_profile state: both group and profile IDs empty for %s."
|
||||
@ -162,106 +162,114 @@ msgstr ""
|
||||
"До параметру Ostatus_profile::notify передано невірний тип. Це має бути або "
|
||||
"рядок у форматі XML, або запис активності."
|
||||
|
||||
#: classes/Ostatus_profile.php:408
|
||||
#. TRANS: Exception.
|
||||
#: classes/Ostatus_profile.php:409
|
||||
msgid "Unknown feed format."
|
||||
msgstr "Невідомий формат веб-стрічки."
|
||||
|
||||
#: classes/Ostatus_profile.php:431
|
||||
#. TRANS: Exception.
|
||||
#: classes/Ostatus_profile.php:433
|
||||
msgid "RSS feed without a channel."
|
||||
msgstr "RSS-стрічка не має каналу."
|
||||
|
||||
#. TRANS: Client exception.
|
||||
#: classes/Ostatus_profile.php:476
|
||||
#: classes/Ostatus_profile.php:478
|
||||
msgid "Can't handle that kind of post."
|
||||
msgstr "Не вдається обробити такий тип допису."
|
||||
|
||||
#. TRANS: Client exception. %s is a source URL.
|
||||
#: classes/Ostatus_profile.php:559
|
||||
#. TRANS: Client exception. %s is a source URI.
|
||||
#: classes/Ostatus_profile.php:561
|
||||
#, php-format
|
||||
msgid "No content for notice %s."
|
||||
msgstr "Допис %s не має змісту."
|
||||
|
||||
#. TRANS: Shown when a notice is longer than supported and/or when attachments are present.
|
||||
#: classes/Ostatus_profile.php:592
|
||||
#. TRANS: Shown when a notice is longer than supported and/or when attachments are present. At runtime
|
||||
#. TRANS: this will usually be replaced with localised text from StatusNet core messages.
|
||||
#: classes/Ostatus_profile.php:596
|
||||
msgid "Show more"
|
||||
msgstr "Розгорнути"
|
||||
|
||||
#. TRANS: Exception. %s is a profile URL.
|
||||
#: classes/Ostatus_profile.php:785
|
||||
#: classes/Ostatus_profile.php:789
|
||||
#, php-format
|
||||
msgid "Could not reach profile page %s."
|
||||
msgstr "Не вдалося досягти сторінки профілю %s."
|
||||
|
||||
#. TRANS: Exception.
|
||||
#: classes/Ostatus_profile.php:843
|
||||
#. TRANS: Exception. %s is a URL.
|
||||
#: classes/Ostatus_profile.php:847
|
||||
#, php-format
|
||||
msgid "Could not find a feed URL for profile page %s."
|
||||
msgstr "Не вдалося знайти URL веб-стрічки для сторінки профілю %s."
|
||||
|
||||
#: classes/Ostatus_profile.php:980
|
||||
#. TRANS: Feed sub exception.
|
||||
#: classes/Ostatus_profile.php:985
|
||||
msgid "Can't find enough profile information to make a feed."
|
||||
msgstr ""
|
||||
"Не можу знайти достатньо інформації про профіль, аби сформувати веб-стрічку."
|
||||
|
||||
#: classes/Ostatus_profile.php:1039
|
||||
#. TRANS: Server exception. %s is a URL.
|
||||
#: classes/Ostatus_profile.php:1045
|
||||
#, php-format
|
||||
msgid "Invalid avatar URL %s."
|
||||
msgstr "Невірна URL-адреса аватари %s."
|
||||
|
||||
#: classes/Ostatus_profile.php:1049
|
||||
#. TRANS: Server exception. %s is a URI.
|
||||
#: classes/Ostatus_profile.php:1056
|
||||
#, php-format
|
||||
msgid "Tried to update avatar for unsaved remote profile %s."
|
||||
msgstr "Намагаюся оновити аватару для не збереженого віддаленого профілю %s."
|
||||
|
||||
#: classes/Ostatus_profile.php:1058
|
||||
#. TRANS: Server exception. %s is a URL.
|
||||
#: classes/Ostatus_profile.php:1066
|
||||
#, php-format
|
||||
msgid "Unable to fetch avatar from %s."
|
||||
msgstr "Неможливо завантажити аватару з %s."
|
||||
|
||||
#. TRANS: Exception.
|
||||
#: classes/Ostatus_profile.php:1284
|
||||
#: classes/Ostatus_profile.php:1292
|
||||
msgid "Local user can't be referenced as remote."
|
||||
msgstr "Місцевий користувач не може бути зазначеним у якості віддаленого."
|
||||
|
||||
#. TRANS: Exception.
|
||||
#: classes/Ostatus_profile.php:1289
|
||||
#: classes/Ostatus_profile.php:1297
|
||||
msgid "Local group can't be referenced as remote."
|
||||
msgstr "Локальну спільноту не можна зазначити у якості віддаленої."
|
||||
|
||||
#. TRANS: Exception.
|
||||
#: classes/Ostatus_profile.php:1341 classes/Ostatus_profile.php:1352
|
||||
#. TRANS: Server exception.
|
||||
#: classes/Ostatus_profile.php:1349 classes/Ostatus_profile.php:1360
|
||||
msgid "Can't save local profile."
|
||||
msgstr "Не вдається зберегти місцевий профіль."
|
||||
|
||||
#. TRANS: Exception.
|
||||
#: classes/Ostatus_profile.php:1360
|
||||
#. TRANS: Server exception.
|
||||
#: classes/Ostatus_profile.php:1368
|
||||
msgid "Can't save OStatus profile."
|
||||
msgstr "Не вдається зберегти профіль OStatus."
|
||||
|
||||
#. TRANS: Exception.
|
||||
#: classes/Ostatus_profile.php:1619 classes/Ostatus_profile.php:1647
|
||||
#: classes/Ostatus_profile.php:1627 classes/Ostatus_profile.php:1655
|
||||
msgid "Not a valid webfinger address."
|
||||
msgstr "Це недійсна адреса для протоколу WebFinger."
|
||||
|
||||
#. TRANS: Exception. %s is a webfinger address.
|
||||
#: classes/Ostatus_profile.php:1729
|
||||
#: classes/Ostatus_profile.php:1737
|
||||
#, php-format
|
||||
msgid "Couldn't save profile for \"%s\"."
|
||||
msgstr "Не можу зберегти профіль для «%s»."
|
||||
|
||||
#. TRANS: Exception. %s is a webfinger address.
|
||||
#: classes/Ostatus_profile.php:1748
|
||||
#: classes/Ostatus_profile.php:1756
|
||||
#, php-format
|
||||
msgid "Couldn't save ostatus_profile for \"%s\"."
|
||||
msgstr "Не можу зберегти профіль OStatus для «%s»."
|
||||
|
||||
#. TRANS: Exception. %s is a webfinger address.
|
||||
#: classes/Ostatus_profile.php:1756
|
||||
#: classes/Ostatus_profile.php:1764
|
||||
#, php-format
|
||||
msgid "Couldn't find a valid profile for \"%s\"."
|
||||
msgstr "не можу знайти відповідний й профіль для «%s»."
|
||||
|
||||
#: classes/Ostatus_profile.php:1798
|
||||
#. TRANS: Server exception.
|
||||
#: classes/Ostatus_profile.php:1807
|
||||
msgid "Could not store HTML content of long post as file."
|
||||
msgstr "Не можу зберегти HTML місткого допису у якості файлу."
|
||||
|
||||
|
@ -5,6 +5,6 @@
|
||||
* Pause ~ retain up to 50-100 most recent notices
|
||||
* Add geo data
|
||||
* Make it work for Conversation page (perhaps a little tricky)
|
||||
* IE is updating the counter in document title all the time (Not sure if this is still an issue)
|
||||
* IE is updating the counter in document title all the time (Not sure if this
|
||||
is still an issue)
|
||||
* Reconsider the timestamp approach
|
||||
|
||||
|
@ -43,7 +43,6 @@ if (!defined('STATUSNET') && !defined('LACONICA')) {
|
||||
* @license http://www.fsf.org/licensing/licenses/agpl-3.0.html GNU Affero General Public License version 3.0
|
||||
* @link http://status.net/
|
||||
*/
|
||||
|
||||
class RealtimePlugin extends Plugin
|
||||
{
|
||||
protected $replyurl = null;
|
||||
@ -326,6 +325,32 @@ class RealtimePlugin extends Plugin
|
||||
return array('plugins/Realtime/realtimeupdate.js');
|
||||
}
|
||||
|
||||
/**
|
||||
* Export any i18n messages that need to be loaded at runtime...
|
||||
*
|
||||
* @param Action $action
|
||||
* @param array $messages
|
||||
*
|
||||
* @return boolean hook return value
|
||||
*/
|
||||
function onEndScriptMessages($action, &$messages)
|
||||
{
|
||||
// TRANS: Text label for realtime view "play" button, usually replaced by an icon.
|
||||
$messages['realtime_play'] = _m('BUTTON', 'Play');
|
||||
// TRANS: Tooltip for realtime view "play" button.
|
||||
$messages['realtime_play_tooltip'] = _m('TOOLTIP', 'Play');
|
||||
// TRANS: Text label for realtime view "pause" button
|
||||
$messages['realtime_pause'] = _m('BUTTON', 'Pause');
|
||||
// TRANS: Tooltip for realtime view "pause" button
|
||||
$messages['realtime_pause_tooltip'] = _m('TOOLTIP', 'Pause');
|
||||
// TRANS: Text label for realtime view "popup" button, usually replaced by an icon.
|
||||
$messages['realtime_popup'] = _m('BUTTON', 'Pop up');
|
||||
// TRANS: Tooltip for realtime view "popup" button.
|
||||
$messages['realtime_popup_tooltip'] = _m('TOOLTIP', 'Pop up in a window');
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
function _updateInitialize($timeline, $user_id)
|
||||
{
|
||||
return "RealtimeUpdate.init($user_id, \"$this->replyurl\", \"$this->favorurl\", \"$this->repeaturl\", \"$this->deleteurl\"); ";
|
||||
|
53
plugins/Realtime/locale/Realtime.pot
Fichier normal
53
plugins/Realtime/locale/Realtime.pot
Fichier normal
@ -0,0 +1,53 @@
|
||||
# SOME DESCRIPTIVE TITLE.
|
||||
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
|
||||
# This file is distributed under the same license as the PACKAGE package.
|
||||
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
||||
#
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2010-11-02 19:46+0000\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=CHARSET\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
|
||||
#. TRANS: Text label for realtime view "play" button, usually replaced by an icon.
|
||||
#: RealtimePlugin.php:339
|
||||
msgctxt "BUTTON"
|
||||
msgid "Play"
|
||||
msgstr ""
|
||||
|
||||
#. TRANS: Tooltip for realtime view "play" button.
|
||||
#: RealtimePlugin.php:341
|
||||
msgctxt "TOOLTIP"
|
||||
msgid "Play"
|
||||
msgstr ""
|
||||
|
||||
#. TRANS: Text label for realtime view "pause" button
|
||||
#: RealtimePlugin.php:343
|
||||
msgctxt "BUTTON"
|
||||
msgid "Pause"
|
||||
msgstr ""
|
||||
|
||||
#. TRANS: Tooltip for realtime view "pause" button
|
||||
#: RealtimePlugin.php:345
|
||||
msgctxt "TOOLTIP"
|
||||
msgid "Pause"
|
||||
msgstr ""
|
||||
|
||||
#. TRANS: Text label for realtime view "popup" button, usually replaced by an icon.
|
||||
#: RealtimePlugin.php:347
|
||||
msgctxt "BUTTON"
|
||||
msgid "Pop up"
|
||||
msgstr ""
|
||||
|
||||
#. TRANS: Tooltip for realtime view "popup" button.
|
||||
#: RealtimePlugin.php:349
|
||||
msgctxt "TOOLTIP"
|
||||
msgid "Pop up in a window"
|
||||
msgstr ""
|
58
plugins/Realtime/locale/ia/LC_MESSAGES/Realtime.po
Fichier normal
58
plugins/Realtime/locale/ia/LC_MESSAGES/Realtime.po
Fichier normal
@ -0,0 +1,58 @@
|
||||
# Translation of StatusNet - Realtime to Interlingua (Interlingua)
|
||||
# Expored from translatewiki.net
|
||||
#
|
||||
# Author: McDutchie
|
||||
# --
|
||||
# This file is distributed under the same license as the StatusNet package.
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: StatusNet - Realtime\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2010-11-02 22:51+0000\n"
|
||||
"PO-Revision-Date: 2010-11-02 22:54:57+0000\n"
|
||||
"Language-Team: Interlingua <http://translatewiki.net/wiki/Portal:ia>\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-POT-Import-Date: 2010-11-02 19:54:39+0000\n"
|
||||
"X-Generator: MediaWiki 1.17alpha (r75875); Translate extension (2010-09-17)\n"
|
||||
"X-Translation-Project: translatewiki.net at http://translatewiki.net\n"
|
||||
"X-Language-Code: ia\n"
|
||||
"X-Message-Group: #out-statusnet-plugin-realtime\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#. TRANS: Text label for realtime view "play" button, usually replaced by an icon.
|
||||
#: RealtimePlugin.php:339
|
||||
msgctxt "BUTTON"
|
||||
msgid "Play"
|
||||
msgstr "Reproducer"
|
||||
|
||||
#. TRANS: Tooltip for realtime view "play" button.
|
||||
#: RealtimePlugin.php:341
|
||||
msgctxt "TOOLTIP"
|
||||
msgid "Play"
|
||||
msgstr "Reproducer"
|
||||
|
||||
#. TRANS: Text label for realtime view "pause" button
|
||||
#: RealtimePlugin.php:343
|
||||
msgctxt "BUTTON"
|
||||
msgid "Pause"
|
||||
msgstr "Pausar"
|
||||
|
||||
#. TRANS: Tooltip for realtime view "pause" button
|
||||
#: RealtimePlugin.php:345
|
||||
msgctxt "TOOLTIP"
|
||||
msgid "Pause"
|
||||
msgstr "Pausar"
|
||||
|
||||
#. TRANS: Text label for realtime view "popup" button, usually replaced by an icon.
|
||||
#: RealtimePlugin.php:347
|
||||
msgctxt "BUTTON"
|
||||
msgid "Pop up"
|
||||
msgstr "Fenestra"
|
||||
|
||||
#. TRANS: Tooltip for realtime view "popup" button.
|
||||
#: RealtimePlugin.php:349
|
||||
msgctxt "TOOLTIP"
|
||||
msgid "Pop up in a window"
|
||||
msgstr "Aperir le reproductor in un nove fenestra"
|
58
plugins/Realtime/locale/mk/LC_MESSAGES/Realtime.po
Fichier normal
58
plugins/Realtime/locale/mk/LC_MESSAGES/Realtime.po
Fichier normal
@ -0,0 +1,58 @@
|
||||
# Translation of StatusNet - Realtime to Macedonian (Македонски)
|
||||
# Expored from translatewiki.net
|
||||
#
|
||||
# Author: Bjankuloski06
|
||||
# --
|
||||
# This file is distributed under the same license as the StatusNet package.
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: StatusNet - Realtime\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2010-11-02 22:51+0000\n"
|
||||
"PO-Revision-Date: 2010-11-02 22:54:57+0000\n"
|
||||
"Language-Team: Macedonian <http://translatewiki.net/wiki/Portal:mk>\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-POT-Import-Date: 2010-11-02 19:54:39+0000\n"
|
||||
"X-Generator: MediaWiki 1.17alpha (r75875); Translate extension (2010-09-17)\n"
|
||||
"X-Translation-Project: translatewiki.net at http://translatewiki.net\n"
|
||||
"X-Language-Code: mk\n"
|
||||
"X-Message-Group: #out-statusnet-plugin-realtime\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n == 1 || n%10 == 1) ? 0 : 1;\n"
|
||||
|
||||
#. TRANS: Text label for realtime view "play" button, usually replaced by an icon.
|
||||
#: RealtimePlugin.php:339
|
||||
msgctxt "BUTTON"
|
||||
msgid "Play"
|
||||
msgstr "Пушти"
|
||||
|
||||
#. TRANS: Tooltip for realtime view "play" button.
|
||||
#: RealtimePlugin.php:341
|
||||
msgctxt "TOOLTIP"
|
||||
msgid "Play"
|
||||
msgstr "Пушти"
|
||||
|
||||
#. TRANS: Text label for realtime view "pause" button
|
||||
#: RealtimePlugin.php:343
|
||||
msgctxt "BUTTON"
|
||||
msgid "Pause"
|
||||
msgstr "Паузирај"
|
||||
|
||||
#. TRANS: Tooltip for realtime view "pause" button
|
||||
#: RealtimePlugin.php:345
|
||||
msgctxt "TOOLTIP"
|
||||
msgid "Pause"
|
||||
msgstr "Паузирај"
|
||||
|
||||
#. TRANS: Text label for realtime view "popup" button, usually replaced by an icon.
|
||||
#: RealtimePlugin.php:347
|
||||
msgctxt "BUTTON"
|
||||
msgid "Pop up"
|
||||
msgstr "Прозорче"
|
||||
|
||||
#. TRANS: Tooltip for realtime view "popup" button.
|
||||
#: RealtimePlugin.php:349
|
||||
msgctxt "TOOLTIP"
|
||||
msgid "Pop up in a window"
|
||||
msgstr "Прикажи во прозорче"
|
58
plugins/Realtime/locale/nl/LC_MESSAGES/Realtime.po
Fichier normal
58
plugins/Realtime/locale/nl/LC_MESSAGES/Realtime.po
Fichier normal
@ -0,0 +1,58 @@
|
||||
# Translation of StatusNet - Realtime to Dutch (Nederlands)
|
||||
# Expored from translatewiki.net
|
||||
#
|
||||
# Author: Siebrand
|
||||
# --
|
||||
# This file is distributed under the same license as the StatusNet package.
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: StatusNet - Realtime\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2010-11-02 22:51+0000\n"
|
||||
"PO-Revision-Date: 2010-11-02 22:54:57+0000\n"
|
||||
"Language-Team: Dutch <http://translatewiki.net/wiki/Portal:nl>\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-POT-Import-Date: 2010-11-02 19:54:39+0000\n"
|
||||
"X-Generator: MediaWiki 1.17alpha (r75875); Translate extension (2010-09-17)\n"
|
||||
"X-Translation-Project: translatewiki.net at http://translatewiki.net\n"
|
||||
"X-Language-Code: nl\n"
|
||||
"X-Message-Group: #out-statusnet-plugin-realtime\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#. TRANS: Text label for realtime view "play" button, usually replaced by an icon.
|
||||
#: RealtimePlugin.php:339
|
||||
msgctxt "BUTTON"
|
||||
msgid "Play"
|
||||
msgstr "Afspelen"
|
||||
|
||||
#. TRANS: Tooltip for realtime view "play" button.
|
||||
#: RealtimePlugin.php:341
|
||||
msgctxt "TOOLTIP"
|
||||
msgid "Play"
|
||||
msgstr "Afspelen"
|
||||
|
||||
#. TRANS: Text label for realtime view "pause" button
|
||||
#: RealtimePlugin.php:343
|
||||
msgctxt "BUTTON"
|
||||
msgid "Pause"
|
||||
msgstr "Pauzeren"
|
||||
|
||||
#. TRANS: Tooltip for realtime view "pause" button
|
||||
#: RealtimePlugin.php:345
|
||||
msgctxt "TOOLTIP"
|
||||
msgid "Pause"
|
||||
msgstr "Pauzeren"
|
||||
|
||||
#. TRANS: Text label for realtime view "popup" button, usually replaced by an icon.
|
||||
#: RealtimePlugin.php:347
|
||||
msgctxt "BUTTON"
|
||||
msgid "Pop up"
|
||||
msgstr "Pop-up"
|
||||
|
||||
#. TRANS: Tooltip for realtime view "popup" button.
|
||||
#: RealtimePlugin.php:349
|
||||
msgctxt "TOOLTIP"
|
||||
msgid "Pop up in a window"
|
||||
msgstr "In nieuw venstertje weergeven"
|
@ -35,7 +35,6 @@ width:70%;
|
||||
margin-left:1%;
|
||||
}
|
||||
|
||||
|
||||
#notices_primary {
|
||||
position:relative;
|
||||
}
|
||||
@ -75,4 +74,3 @@ line-height:1.2;
|
||||
#showstream #notices_primary {
|
||||
margin-top: 18px;
|
||||
}
|
||||
|
||||
|
@ -261,9 +261,10 @@ RealtimeUpdate = {
|
||||
RealtimeUpdate.addNoticesHover();
|
||||
|
||||
$('#realtime_playpause').remove();
|
||||
$('#realtime_actions').prepend('<li id="realtime_playpause"><button id="realtime_pause" class="pause" title="Pause">Pause</button></li>');
|
||||
|
||||
$('#realtime_pause').bind('click', function() {
|
||||
$('#realtime_actions').prepend('<li id="realtime_playpause"><button id="realtime_pause" class="pause"></button></li>');
|
||||
$('#realtime_pause').text(SN.msg('realtime_pause'))
|
||||
.attr('title', SN.msg('realtime_pause_tooltip'))
|
||||
.bind('click', function() {
|
||||
RealtimeUpdate.removeNoticesHover();
|
||||
RealtimeUpdate.showPlay();
|
||||
return false;
|
||||
@ -274,9 +275,10 @@ RealtimeUpdate = {
|
||||
{
|
||||
RealtimeUpdate.setPause(true);
|
||||
$('#realtime_playpause').remove();
|
||||
$('#realtime_actions').prepend('<li id="realtime_playpause"><span id="queued_counter"></span> <button id="realtime_play" class="play" title="Play">Play</button></li>');
|
||||
|
||||
$('#realtime_play').bind('click', function() {
|
||||
$('#realtime_actions').prepend('<li id="realtime_playpause"><span id="queued_counter"></span> <button id="realtime_play" class="play"></button></li>');
|
||||
$('#realtime_play').text(SN.msg('realtime_play'))
|
||||
.attr('title', SN.msg('realtime_play_tooltip'))
|
||||
.bind('click', function() {
|
||||
RealtimeUpdate.showPause();
|
||||
return false;
|
||||
});
|
||||
@ -334,10 +336,11 @@ RealtimeUpdate = {
|
||||
|
||||
initAddPopup: function(url, timeline, path)
|
||||
{
|
||||
$('#realtime_timeline').append('<button id="realtime_popup" title="Pop up in a window">Pop up</button>');
|
||||
|
||||
$('#realtime_popup').bind('click', function() {
|
||||
window.open(url,
|
||||
$('#realtime_timeline').append('<button id="realtime_popup"></button>');
|
||||
$('#realtime_popup').text(SN.msg('realtime_popup'))
|
||||
.attr('title', SN.msg('realtime_popup_tooltip'))
|
||||
.bind('click', function() {
|
||||
window.open(url,
|
||||
'',
|
||||
'toolbar=no,resizable=yes,scrollbars=yes,status=no,menubar=no,personalbar=no,location=no,width=500,height=550');
|
||||
|
||||
|
26
plugins/UserLimit/locale/fi/LC_MESSAGES/UserLimit.po
Fichier normal
26
plugins/UserLimit/locale/fi/LC_MESSAGES/UserLimit.po
Fichier normal
@ -0,0 +1,26 @@
|
||||
# Translation of StatusNet - UserLimit to Finnish (Suomi)
|
||||
# Expored from translatewiki.net
|
||||
#
|
||||
# Author: Centerlink
|
||||
# --
|
||||
# This file is distributed under the same license as the StatusNet package.
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: StatusNet - UserLimit\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2010-11-02 22:51+0000\n"
|
||||
"PO-Revision-Date: 2010-11-02 22:55:20+0000\n"
|
||||
"Language-Team: Finnish <http://translatewiki.net/wiki/Portal:fi>\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-POT-Import-Date: 2010-10-29 16:14:14+0000\n"
|
||||
"X-Generator: MediaWiki 1.17alpha (r75875); Translate extension (2010-09-17)\n"
|
||||
"X-Translation-Project: translatewiki.net at http://translatewiki.net\n"
|
||||
"X-Language-Code: fi\n"
|
||||
"X-Message-Group: #out-statusnet-plugin-userlimit\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#: UserLimitPlugin.php:89
|
||||
msgid "Limit the number of users who can register."
|
||||
msgstr "Rajoita niiden käyttäjien lukumäärää, jotka voivat rekisteröityä."
|
@ -57,7 +57,8 @@ function getActivityStreamDocument()
|
||||
throw new Exception("File '$filename' not readable.");
|
||||
}
|
||||
|
||||
printfv(_("Getting backup from file '$filename'.")."\n");
|
||||
// TRANS: Commandline script output. %s is the filename that contains a backup for a user.
|
||||
printfv(_("Getting backup from file '%s'.")."\n",$filename);
|
||||
|
||||
$xml = file_get_contents($filename);
|
||||
|
||||
@ -79,19 +80,22 @@ function importActivityStream($user, $doc)
|
||||
|
||||
if (!empty($subjectEl)) {
|
||||
$subject = new ActivityObject($subjectEl);
|
||||
printfv(_("Backup file for user %s (%s)")."\n", $subject->id, Ostatus_profile::getActivityObjectNickname($subject));
|
||||
// TRANS: Commandline script output. %1$s is the subject ID, %2$s is the subject nickname.
|
||||
printfv(_("Backup file for user %1$s (%2$s)")."\n", $subject->id, Ostatus_profile::getActivityObjectNickname($subject));
|
||||
} else {
|
||||
throw new Exception("Feed doesn't have an <activity:subject> element.");
|
||||
}
|
||||
|
||||
if (is_null($user)) {
|
||||
// TRANS: Commandline script output.
|
||||
printfv(_("No user specified; using backup user.")."\n");
|
||||
$user = userFromSubject($subject);
|
||||
}
|
||||
|
||||
$entries = $feed->getElementsByTagNameNS(Activity::ATOM, 'entry');
|
||||
|
||||
printfv(_("%d entries in backup.")."\n", $entries->length);
|
||||
// TRANS: Commandline script output. %d is the number of entries in the activity stream in backup; used for plural.
|
||||
printfv(_m("%d entry in backup.","%d entries in backup.",$entries->length)."\n", $entries->length);
|
||||
|
||||
for ($i = $entries->length - 1; $i >= 0; $i--) {
|
||||
try {
|
||||
|
Chargement…
x
Référencer dans un nouveau ticket
Bloquer un utilisateur