Update translator documentation.

Whitespace updates.
Break lines in README at or before 80 characters.
L10n updates.
This commit is contained in:
Siebrand Mazeland
2011-04-06 18:46:55 +02:00
parent 17c8df76f1
commit caa6690f4c
10 changed files with 15 additions and 8 deletions

View File

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

View File

@@ -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
============

View File

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

View File

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