summaryrefslogtreecommitdiffstats
path: root/lib/l10n
diff options
context:
space:
mode:
Diffstat (limited to 'lib/l10n')
-rw-r--r--lib/l10n/string.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/l10n/string.php b/lib/l10n/string.php
index 4769790a16d..8eef10071e6 100644
--- a/lib/l10n/string.php
+++ b/lib/l10n/string.php
@@ -8,16 +8,16 @@
class OC_L10N_String{
protected $l10n;
- public function __construct($l10n, $text, $parameters){
+ public function __construct($l10n, $text, $parameters) {
$this->l10n = $l10n;
$this->text = $text;
$this->parameters = $parameters;
}
- public function __toString(){
+ public function __toString() {
$translations = $this->l10n->getTranslations();
- if(array_key_exists($this->text, $translations)){
+ if(array_key_exists($this->text, $translations)) {
return vsprintf($translations[$this->text], $this->parameters);
}
return vsprintf($this->text, $this->parameters);