From ec1a73fab9aa6b71b502ee45f4d0dd4f20661930 Mon Sep 17 00:00:00 2001 From: Vincent Petry Date: Fri, 17 Oct 2014 19:47:37 +0200 Subject: Added OC.L10N namespace with translation functions Added addTranslations and fixed de.js file Fixed de.js to use OC.L10N.register() and use to correct expected format. Added JS unit tests for OC.L10N class Include translations JS script for all apps --- apps/files/index.php | 1 + 1 file changed, 1 insertion(+) (limited to 'apps/files') diff --git a/apps/files/index.php b/apps/files/index.php index bc74e17aee1..4142a02b97e 100644 --- a/apps/files/index.php +++ b/apps/files/index.php @@ -28,6 +28,7 @@ OCP\User::checkLoggedIn(); OCP\Util::addStyle('files', 'files'); OCP\Util::addStyle('files', 'upload'); OCP\Util::addStyle('files', 'mobile'); +OCP\Util::addTranslations('files'); OCP\Util::addscript('files', 'app'); OCP\Util::addscript('files', 'file-upload'); OCP\Util::addscript('files', 'jquery.iframe-transport'); -- cgit v1.2.3