summaryrefslogtreecommitdiffstats
path: root/core/js/l10n.js
diff options
context:
space:
mode:
Diffstat (limited to 'core/js/l10n.js')
-rw-r--r--core/js/l10n.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/core/js/l10n.js b/core/js/l10n.js
index c19f523b30e..43cfc7e820f 100644
--- a/core/js/l10n.js
+++ b/core/js/l10n.js
@@ -78,9 +78,7 @@ OC.L10N = {
}
} else {
// Theme overwriting the default language
- _.each(bundle, function(translation, key) {
- self._bundles[appName][key] = translation
- });
+ _.extend(self._bundles[appName], bundle);
}
},