Commit 181d18fc authored by JC Brand's avatar JC Brand

Translation and undefined variable fixes

parent 897d3af2
......@@ -1129,7 +1129,7 @@ _converse.initialize = async function (settings, callback) {
_converse.setConnectionStatus(status);
} else if (status === Strophe.Status.AUTHFAIL) {
if (!message) {
message = __('Your Jabber ID and/or password is incorrect. Please try again.');
message = __('Your XMPP address and/or password is incorrect. Please try again.');
}
_converse.setConnectionStatus(status, message);
_converse.setDisconnectionCause(status, message, true);
......
......@@ -2,7 +2,7 @@ import { html } from "lit-html";
import { __ } from '@converse/headless/i18n';
const i18n_moderator_hint = ('This user is a moderator.');
const i18n_moderator_hint = __('This user is a moderator.');
const i18n_participant_hint = __('This user can send messages in this groupchat.');
const i18n_visitor_hint = __('This user can NOT send messages in this groupchat.')
const i18n_owner = __('Owner');
......
......@@ -21,9 +21,7 @@ const i18n_remove_devices = __('Remove checked devices and close');
const i18n_role = __('Role');
const i18n_save = __('Save and close');
const i18n_select_all = __('Select all');
const i18n_role_help = __(
'Use commas to separate multiple roles. '+
'Your roles are shown next to your name on your chat messages.');
const i18n_role_help = __('Use commas to separate multiple roles. Your roles are shown next to your name on your chat messages.');
const i18n_url = __('URL');
const i18n_omemo = __('OMEMO');
const i18n_profile = __('Profile');
......@@ -155,7 +153,7 @@ export default (o) => html`
</div>
</form>
</div>
${ _converse.pluggable.plugins['converse-omemo'].enabled(_converse) && omemo_page(o) }
${ o._converse.pluggable.plugins['converse-omemo'].enabled(o._converse) && omemo_page(o) }
</div>
</div>
<div class="modal-footer">${modal_close_button}</div>
......
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