summaryrefslogtreecommitdiffstats
path: root/lib/l10n.php
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2012-08-29 08:38:33 +0200
committerBart Visscher <bartv@thisnet.nl>2012-08-29 20:28:45 +0200
commit52f2e7112ea985203eca16aa787bd75a7cf92194 (patch)
tree1d1f5070b050652940847c569b1d3968bdae082c /lib/l10n.php
parent76bc4753e9bd2698415b067108806d82ac56b663 (diff)
downloadnextcloud-server-52f2e7112ea985203eca16aa787bd75a7cf92194.tar.gz
nextcloud-server-52f2e7112ea985203eca16aa787bd75a7cf92194.zip
Whitespace fixes in lib
Diffstat (limited to 'lib/l10n.php')
-rw-r--r--lib/l10n.php20
1 files changed, 10 insertions, 10 deletions
diff --git a/lib/l10n.php b/lib/l10n.php
index e7f5ffea0e4..cfa0e26486b 100644
--- a/lib/l10n.php
+++ b/lib/l10n.php
@@ -28,17 +28,17 @@ class OC_L10N{
* cached instances
*/
protected static $instances=array();
-
+
/**
* cache
*/
protected static $cache = array();
-
+
/**
* The best language
*/
protected static $language = '';
-
+
/**
* App of this object
*/
@@ -53,7 +53,7 @@ class OC_L10N{
* Translations
*/
private $translations = array();
-
+
/**
* Localization
*/
@@ -61,7 +61,7 @@ class OC_L10N{
'date' => 'd.m.Y',
'datetime' => 'd.m.Y H:i:s',
'time' => 'H:i:s');
-
+
/**
* get an L10N instance
* @return OC_L10N
@@ -76,7 +76,7 @@ class OC_L10N{
return new OC_L10N($app,$lang);
}
}
-
+
/**
* @brief The constructor
* @param $app the app requesting l10n
@@ -90,7 +90,7 @@ class OC_L10N{
$this->app = $app;
$this->lang = $lang;
}
-
+
protected function init(){
if ($this->app === true) {
return;
@@ -119,7 +119,7 @@ class OC_L10N{
if(isset($TRANSLATIONS) && is_array($TRANSLATIONS)){
$this->translations = $TRANSLATIONS;
}
- }
+ }
if(file_exists(OC::$SERVERROOT.'/core/l10n/l10n-'.$lang.'.php')){
// Include the file, save the data from $CONFIG
@@ -188,7 +188,7 @@ class OC_L10N{
* @returns String or false
*
* Returns the localized data.
- *
+ *
* Implemented types:
* - date
* - Creates a date
@@ -241,7 +241,7 @@ class OC_L10N{
* @returns language
*
* If $app is an array, ownCloud assumes that these are the available
- * languages. Otherwise ownCloud tries to find the files in the l10n
+ * languages. Otherwise ownCloud tries to find the files in the l10n
* folder.
*
* If nothing works it returns 'en'