diff options
Diffstat (limited to 'core/src/globals.js')
-rw-r--r-- | core/src/globals.js | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/core/src/globals.js b/core/src/globals.js index 32a14fa12f4..45a2fba3dd4 100644 --- a/core/src/globals.js +++ b/core/src/globals.js @@ -68,9 +68,9 @@ const warnIfNotTesting = function() { * warn if used! * * @param {Function} func the library to deprecate - * @param {String} funcName the name of the library + * @param {string} funcName the name of the library * @param {Int} version the version this gets removed - * @returns {function} + * @return {Function} */ const deprecate = (func, funcName, version) => { const oldFunc = func @@ -128,6 +128,7 @@ $.fn.select2 = deprecate($.fn.select2, 'select2', 19) /** * translate a string + * * @param {string} app the id of the app for which to translate the string * @param {string} text the string to translate * @param [vars] map of placeholder key to value @@ -138,6 +139,7 @@ window.t = _.bind(OC.L10N.translate, OC.L10N) /** * translate a string + * * @param {string} app the id of the app for which to translate the string * @param {string} text_singular the string to translate for exactly one object * @param {string} text_plural the string to translate for n objects |