ec1a73fab9
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
12 lines
494 B
PHP
12 lines
494 B
PHP
<?php
|
|
|
|
//require_once 'files_versions/versions.php';
|
|
OC::$CLASSPATH['OCA\Files_Versions\Storage'] = 'files_versions/lib/versions.php';
|
|
OC::$CLASSPATH['OCA\Files_Versions\Hooks'] = 'files_versions/lib/hooks.php';
|
|
OC::$CLASSPATH['OCA\Files_Versions\Capabilities'] = 'files_versions/lib/capabilities.php';
|
|
|
|
OCP\Util::addTranslations('files_versions');
|
|
OCP\Util::addscript('files_versions', 'versions');
|
|
OCP\Util::addStyle('files_versions', 'versions');
|
|
|
|
\OCA\Files_Versions\Hooks::connectHooks();
|