summaryrefslogtreecommitdiffstats
path: root/lib/private/l10n.php
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2014-07-03 13:48:15 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2014-07-08 09:04:37 +0200
commit8363f3c6355e5bd2bb54875d11e326747df265c8 (patch)
treeae305243f92442d662744a459e26a6a30551ef82 /lib/private/l10n.php
parent20fc4b8b533407c7282bf1634e90f3a52e5619f0 (diff)
downloadnextcloud-server-8363f3c6355e5bd2bb54875d11e326747df265c8.tar.gz
nextcloud-server-8363f3c6355e5bd2bb54875d11e326747df265c8.zip
Adding new interface \OCP\Activity\IExtentsion
Adding method getNotificationTypes() Adding method filterNotificationTypes() Adding method getDefaultTypes() Adding method translate() and getTypeIcon() Adding method getGroupParameter() Adding method getNavigation() Adding method getNavigation() Adding method isFilterValid() and getQueryForFilter() Adding unit tests for \OC\ActivityManager
Diffstat (limited to 'lib/private/l10n.php')
-rw-r--r--lib/private/l10n.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/private/l10n.php b/lib/private/l10n.php
index 3e44be88150..28b35e92a2f 100644
--- a/lib/private/l10n.php
+++ b/lib/private/l10n.php
@@ -404,14 +404,15 @@ class OC_L10N implements \OCP\IL10N {
/**
* find the best language
+ *
* @param array|string $app details below
- * string language
*
* If $app is an array, ownCloud assumes that these are the available
* languages. Otherwise ownCloud tries to find the files in the l10n
* folder.
*
* If nothing works it returns 'en'
+ * @return string language
*/
public function getLanguageCode($app=null) {
return self::findLanguage($app);