diff options
Diffstat (limited to 'core/src/OC/l10n-registry.js')
-rw-r--r-- | core/src/OC/l10n-registry.js | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/core/src/OC/l10n-registry.js b/core/src/OC/l10n-registry.js index 5ed463275a9..b2579fd67cf 100644 --- a/core/src/OC/l10n-registry.js +++ b/core/src/OC/l10n-registry.js @@ -26,8 +26,8 @@ window._oc_l10n_registry_translations = window._oc_l10n_registry_translations || window._oc_l10n_registry_plural_functions = window._oc_l10n_registry_plural_functions || {} /** - * @param {String} appId the app id - * @param {Object} translations the translations list + * @param {string} appId the app id + * @param {object} translations the translations list * @param {Function} pluralFunction the translations list */ const register = (appId, translations, pluralFunction) => { @@ -36,8 +36,8 @@ const register = (appId, translations, pluralFunction) => { } /** - * @param {String} appId the app id - * @param {Object} translations the translations list + * @param {string} appId the app id + * @param {object} translations the translations list * @param {Function} pluralFunction the translations list */ const extend = (appId, translations, pluralFunction) => { @@ -49,8 +49,8 @@ const extend = (appId, translations, pluralFunction) => { } /** - * @param {String} appId the app id - * @param {Object} translations the translations list + * @param {string} appId the app id + * @param {object} translations the translations list * @param {Function} pluralFunction the translations list */ export const registerAppTranslations = (appId, translations, pluralFunction) => { @@ -62,7 +62,7 @@ export const registerAppTranslations = (appId, translations, pluralFunction) => } /** - * @param {String} appId the app id + * @param {string} appId the app id */ export const unregisterAppTranslations = appId => { delete window._oc_l10n_registry_translations[appId] @@ -70,8 +70,8 @@ export const unregisterAppTranslations = appId => { } /** - * @param {String} appId the app id - * @returns {Boolean} + * @param {string} appId the app id + * @return {boolean} */ export const hasAppTranslations = appId => { return window._oc_l10n_registry_translations[appId] !== undefined @@ -79,8 +79,8 @@ export const hasAppTranslations = appId => { } /** - * @param {String} appId the app id - * @returns {Object} + * @param {string} appId the app id + * @return {object} */ export const getAppTranslations = appId => { return { |