Commit ba33e02f authored by JC Brand's avatar JC Brand

Translation fixes.

- Found more instance of `room` to be replaced with `groupchat`
- Fix fatal errors in po files
- Update af translations
parent 6424844a
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
...@@ -88,7 +88,7 @@ ...@@ -88,7 +88,7 @@
checkForReservedNick () { checkForReservedNick () {
/* Check if the user has a bookmark with a saved nickanme /* Check if the user has a bookmark with a saved nickanme
* for this room, and if so use it. * for this groupchat, and if so use it.
* Otherwise delegate to the super method. * Otherwise delegate to the super method.
*/ */
const { _converse } = this.__super__; const { _converse } = this.__super__;
...@@ -116,7 +116,7 @@ ...@@ -116,7 +116,7 @@
}, },
setBookmarkState () { setBookmarkState () {
/* Set whether the room is bookmarked or not. /* Set whether the groupchat is bookmarked or not.
*/ */
const { _converse } = this.__super__; const { _converse } = this.__super__;
if (!_.isUndefined(_converse.bookmarks)) { if (!_.isUndefined(_converse.bookmarks)) {
...@@ -257,9 +257,9 @@ ...@@ -257,9 +257,9 @@
openBookmarkedRoom (bookmark) { openBookmarkedRoom (bookmark) {
if (bookmark.get('autojoin')) { if (bookmark.get('autojoin')) {
const room = _converse.api.rooms.create(bookmark.get('jid'), bookmark.get('nick')); const groupchat = _converse.api.rooms.create(bookmark.get('jid'), bookmark.get('nick'));
if (!room.get('hidden')) { if (!groupchat.get('hidden')) {
room.trigger('show'); groupchat.trigger('show');
} }
} }
return bookmark; return bookmark;
...@@ -344,16 +344,16 @@ ...@@ -344,16 +344,16 @@
}, },
markRoomAsBookmarked (bookmark) { markRoomAsBookmarked (bookmark) {
const room = _converse.chatboxes.get(bookmark.get('jid')); const groupchat = _converse.chatboxes.get(bookmark.get('jid'));
if (!_.isUndefined(room)) { if (!_.isUndefined(groupchat)) {
room.save('bookmarked', true); groupchat.save('bookmarked', true);
} }
}, },
markRoomAsUnbookmarked (bookmark) { markRoomAsUnbookmarked (bookmark) {
const room = _converse.chatboxes.get(bookmark.get('jid')); const groupchat = _converse.chatboxes.get(bookmark.get('jid'));
if (!_.isUndefined(room)) { if (!_.isUndefined(groupchat)) {
room.save('bookmarked', false); groupchat.save('bookmarked', false);
} }
}, },
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment