2
0
Эх сурвалжийг харах

Hook in turkish as locale, update changelog.

JC Brand 7 жил өмнө
parent
commit
38dfc7b65b

+ 5 - 2
CHANGES.md

@@ -2,11 +2,9 @@
 
 ## 3.3.4 (Unreleased)
 
-- Avoid `eval` (via `_.template` from lodash).
 - Don't show bookmark toggles when PEP bookmarking not supported by the XMPP server.
 - Emojis are now sent in unicode instead of short names (also in MUCs)
 
-
 ### Bugfixes
 
 - Avatars weren't being shown.
@@ -14,6 +12,11 @@
 - #1024 null reference on MUC Invite
 - #1025 OTR lock icon disappears
 - #1027 `new Event` not supported in IE11
+- #1028 Avoid `eval` (crept in via `_.template` from lodash).
+
+### Translation changes
+
+- Updated German, Bulgarian, Russian, Chinese (traditional), Norwegian Bokmål and French translations.
 
 ## 3.3.3 (2018-02-14)
 

+ 2 - 2
src/converse-bookmarks.js

@@ -536,8 +536,8 @@
                         _converse.api.disco.supports(Strophe.NS.PUBSUB+'#publish-options', _converse.bare_jid)
                     ]).then((args) => {
                         resolve(args[0] && (args[1].supported || _converse.allow_public_bookmarks));
-                    });
-                });
+                    }).catch(_.partial(_converse.log, _, Strophe.LogLevel.FATAL));
+                }).catch(_.partial(_converse.log, _, Strophe.LogLevel.FATAL));
             }
 
             const initBookmarks = function () {

+ 1 - 0
src/i18n.js

@@ -29,6 +29,7 @@
         'moment/locale/pl',
         'moment/locale/pt-br',
         'moment/locale/ru',
+        'moment/locale/tr',
         'moment/locale/uk',
         'moment/locale/zh-cn',
         'moment/locale/zh-tw'