]> source.dussan.org Git - nextcloud-server.git/commitdiff
l10n support for the error dialog added
authorThomas Mueller <thomas.mueller@tmit.eu>
Thu, 31 Jan 2013 09:43:59 +0000 (10:43 +0100)
committerThomas Mueller <thomas.mueller@tmit.eu>
Thu, 31 Jan 2013 09:43:59 +0000 (10:43 +0100)
settings/js/apps.js

index 8d214bd1145365e2a322a2b73c3f1c3b31ac0c6c..5a52a697745051d265f7c2f310c0094a90e34cb7 100644 (file)
@@ -84,7 +84,7 @@ OC.Settings.Apps = OC.Settings.Apps || {
                element.val(t('settings','Updateing....'));
                $.post(OC.filePath('settings','ajax','updateapp.php'),{appid:appid},function(result) {
                        if(!result || result.status!='success') {
-                               OC.dialogs.alert('Error while updating app','Error');
+                               OC.dialogs.alert(t('settings','Error while updating app'),t('settings','Error'));
                        }
                        else {
                                element.val(t('settings','Updated'));