]> source.dussan.org Git - nextcloud-server.git/commit
Added OC.L10N namespace with translation functions
authorVincent Petry <pvince81@owncloud.com>
Fri, 17 Oct 2014 17:47:37 +0000 (19:47 +0200)
committerThomas Müller <thomas.mueller@tmit.eu>
Wed, 29 Oct 2014 09:09:12 +0000 (10:09 +0100)
commitec1a73fab9aa6b71b502ee45f4d0dd4f20661930
treef60269f9999cc94b66043b8ac87ac92f9014b4ed
parentf67123c5a498e45a08900987b10779c7c60af601
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
17 files changed:
apps/files/index.php
apps/files_encryption/appinfo/app.php
apps/files_external/appinfo/app.php
apps/files_sharing/appinfo/app.php
apps/files_trashbin/appinfo/app.php
apps/files_versions/appinfo/app.php
apps/user_ldap/appinfo/app.php
apps/user_webdavauth/appinfo/app.php
core/js/core.json
core/js/js.js
core/js/l10n.js [new file with mode: 0644]
core/js/tests/specHelper.js
core/js/tests/specs/l10nSpec.js [new file with mode: 0644]
lib/base.php
lib/private/template/functions.php
lib/private/util.php
lib/public/util.php