forked from GNUsocial/gnu-social
Update translator documentation.
Whitespace updates. Break lines in README at or before 80 characters. L10n updates.
This commit is contained in:
@@ -73,6 +73,7 @@ class ClientSideShortenPlugin extends Plugin
|
||||
'author' => 'Craig Andrews',
|
||||
'homepage' => 'http://status.net/wiki/Plugin:ClientSideShorten',
|
||||
'rawdescription' =>
|
||||
// TRANS: Plugin description.
|
||||
_m('ClientSideShorten causes the web interface\'s notice form to automatically shorten URLs as they entered, and before the notice is submitted.'));
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
ClientSideShorten causes the web interface's notice form to automatically shorten urls as they entered, and before the notice is submitted.
|
||||
ClientSideShorten causes the web interface's notice form to automatically
|
||||
shorten URLs as they entered, and before the notice is submitted.
|
||||
|
||||
Installation
|
||||
============
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
function delayed () {
|
||||
if (!execAsap)
|
||||
func.apply(obj, args);
|
||||
timeout = null;
|
||||
timeout = null;
|
||||
};
|
||||
|
||||
if (timeout)
|
||||
@@ -24,7 +24,7 @@
|
||||
else if (execAsap)
|
||||
func.apply(obj, args);
|
||||
|
||||
timeout = setTimeout(delayed, threshold || 100);
|
||||
timeout = setTimeout(delayed, threshold || 100);
|
||||
};
|
||||
}
|
||||
jQuery.fn[sr] = function(fn){ return fn ? this.bind('keypress', debounce(fn, 1000)) : this.trigger(sr); };
|
||||
|
||||
@@ -52,7 +52,8 @@ class ShortenAction extends Action
|
||||
$this->users=array();
|
||||
$this->text = $this->arg('text');
|
||||
if(is_null($this->text)){
|
||||
throw new ClientException(_m('\'text\' argument must be specified.'));
|
||||
// TRANS: Client exception thrown when a text argument is not present.
|
||||
throw new ClientException(_m('"text" argument must be specified.'));
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user