From 197378d1fdee4d2befb5768039bed18b062b2339 Mon Sep 17 00:00:00 2001 From: Morris Jobke Date: Sat, 30 May 2015 13:39:12 +0200 Subject: [PATCH] Fix L10n in apps management * fixes #16632 --- settings/js/apps.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/settings/js/apps.js b/settings/js/apps.js index 731a107fb1..1d115eb818 100644 --- a/settings/js/apps.js +++ b/settings/js/apps.js @@ -12,11 +12,11 @@ Handlebars.registerHelper('score', function() { Handlebars.registerHelper('level', function() { if(typeof this.level !== 'undefined') { if(this.level === 200) { - return new Handlebars.SafeString('Official'); + return new Handlebars.SafeString('' + t('settings', 'Official') + ''); } else if(this.level === 100) { - return new Handlebars.SafeString('Approved'); + return new Handlebars.SafeString('' + t('settings', 'Approved') + ''); } else { - return new Handlebars.SafeString('Experimental'); + return new Handlebars.SafeString('' + t('settings', 'Experimental') + ''); } } }); @@ -117,9 +117,9 @@ OC.Settings.Apps = OC.Settings.Apps || { $('#apps-list-empty').removeClass('hidden'); } - $('.app-level .official').tipsy({fallback: t('core', 'Official apps are developed by and within the ownCloud community. They offer functionality central to ownCloud and are ready for production use.')}); - $('.app-level .approved').tipsy({fallback: t('core', 'Approved apps are developed by trusted developers and have passed a cursory security check. They are actively maintained in an open code repository and their maintainers deem them to be stable for casual to normal use.')}); - $('.app-level .experimental').tipsy({fallback: t('core', 'This app is not checked for security issues and is new or known to be unstable. Install on your own risk.')}); + $('.app-level .official').tipsy({fallback: t('settings', 'Official apps are developed by and within the ownCloud community. They offer functionality central to ownCloud and are ready for production use.')}); + $('.app-level .approved').tipsy({fallback: t('settings', 'Approved apps are developed by trusted developers and have passed a cursory security check. They are actively maintained in an open code repository and their maintainers deem them to be stable for casual to normal use.')}); + $('.app-level .experimental').tipsy({fallback: t('settings', 'This app is not checked for security issues and is new or known to be unstable. Install on your own risk.')}); }, complete: function() { $('#apps-list').removeClass('icon-loading');