diff options
author | Vincent Petry <pvince81@owncloud.com> | 2014-10-17 19:47:37 +0200 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2014-10-29 10:09:12 +0100 |
commit | ec1a73fab9aa6b71b502ee45f4d0dd4f20661930 (patch) | |
tree | f60269f9999cc94b66043b8ac87ac92f9014b4ed /apps/files_sharing/appinfo | |
parent | f67123c5a498e45a08900987b10779c7c60af601 (diff) | |
download | nextcloud-server-ec1a73fab9aa6b71b502ee45f4d0dd4f20661930.tar.gz nextcloud-server-ec1a73fab9aa6b71b502ee45f4d0dd4f20661930.zip |
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
Diffstat (limited to 'apps/files_sharing/appinfo')
-rw-r--r-- | apps/files_sharing/appinfo/app.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/files_sharing/appinfo/app.php b/apps/files_sharing/appinfo/app.php index f2c454a9ae2..a01f8d98c7d 100644 --- a/apps/files_sharing/appinfo/app.php +++ b/apps/files_sharing/appinfo/app.php @@ -22,6 +22,7 @@ OC::$CLASSPATH['OCA\Files_Sharing\Exceptions\BrokenPath'] = 'files_sharing/lib/e OCP\Share::registerBackend('file', 'OC_Share_Backend_File'); OCP\Share::registerBackend('folder', 'OC_Share_Backend_Folder', 'file'); +OCP\Util::addTranslations('files_sharing'); OCP\Util::addScript('files_sharing', 'share'); OCP\Util::addScript('files_sharing', 'external'); |