diff options
author | Joas Schilling <nickvergessen@owncloud.com> | 2016-01-15 12:37:34 +0100 |
---|---|---|
committer | Joas Schilling <nickvergessen@owncloud.com> | 2016-01-26 14:02:31 +0100 |
commit | 6652a0fb6cee6b5494dfca56c561c3ba6ae03185 (patch) | |
tree | f7ed856c020233f0ede29fdb25964fa693574c5d /lib/public/l10n | |
parent | 7ec7464ee249f15d377a44c1b8b23e127e07385e (diff) | |
download | nextcloud-server-6652a0fb6cee6b5494dfca56c561c3ba6ae03185.tar.gz nextcloud-server-6652a0fb6cee6b5494dfca56c561c3ba6ae03185.zip |
Move finding the language files and creating the function out of the object
Diffstat (limited to 'lib/public/l10n')
-rw-r--r-- | lib/public/l10n/ifactory.php | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/public/l10n/ifactory.php b/lib/public/l10n/ifactory.php index 2d6f8e873cc..264c9719639 100644 --- a/lib/public/l10n/ifactory.php +++ b/lib/public/l10n/ifactory.php @@ -66,4 +66,14 @@ interface IFactory { * @since 9.0.0 */ public function setLanguageFromRequest($app = null); + + + /** + * Creates a function from the plural string + * + * @param string $string + * @return string Unique function name + * @since 9.0.0 + */ + public function createPluralFunction($string); } |