Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
converse.js
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
converse.js
Commits
181d18fc
Commit
181d18fc
authored
Feb 11, 2020
by
JC Brand
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Translation and undefined variable fixes
parent
897d3af2
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
6 deletions
+4
-6
src/headless/converse-core.js
src/headless/converse-core.js
+1
-1
src/templates/occupant.js
src/templates/occupant.js
+1
-1
src/templates/profile_modal.js
src/templates/profile_modal.js
+2
-4
No files found.
src/headless/converse-core.js
View file @
181d18fc
...
@@ -1129,7 +1129,7 @@ _converse.initialize = async function (settings, callback) {
...
@@ -1129,7 +1129,7 @@ _converse.initialize = async function (settings, callback) {
_converse
.
setConnectionStatus
(
status
);
_converse
.
setConnectionStatus
(
status
);
}
else
if
(
status
===
Strophe
.
Status
.
AUTHFAIL
)
{
}
else
if
(
status
===
Strophe
.
Status
.
AUTHFAIL
)
{
if
(
!
message
)
{
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
.
setConnectionStatus
(
status
,
message
);
_converse
.
setDisconnectionCause
(
status
,
message
,
true
);
_converse
.
setDisconnectionCause
(
status
,
message
,
true
);
...
...
src/templates/occupant.js
View file @
181d18fc
...
@@ -2,7 +2,7 @@ import { html } from "lit-html";
...
@@ -2,7 +2,7 @@ import { html } from "lit-html";
import
{
__
}
from
'
@converse/headless/i18n
'
;
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_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_visitor_hint
=
__
(
'
This user can NOT send messages in this groupchat.
'
)
const
i18n_owner
=
__
(
'
Owner
'
);
const
i18n_owner
=
__
(
'
Owner
'
);
...
...
src/templates/profile_modal.js
View file @
181d18fc
...
@@ -21,9 +21,7 @@ const i18n_remove_devices = __('Remove checked devices and close');
...
@@ -21,9 +21,7 @@ const i18n_remove_devices = __('Remove checked devices and close');
const
i18n_role
=
__
(
'
Role
'
);
const
i18n_role
=
__
(
'
Role
'
);
const
i18n_save
=
__
(
'
Save and close
'
);
const
i18n_save
=
__
(
'
Save and close
'
);
const
i18n_select_all
=
__
(
'
Select all
'
);
const
i18n_select_all
=
__
(
'
Select all
'
);
const
i18n_role_help
=
__
(
const
i18n_role_help
=
__
(
'
Use commas to separate multiple roles. Your roles are shown next to your name on your chat messages.
'
);
'
Use commas to separate multiple roles.
'
+
'
Your roles are shown next to your name on your chat messages.
'
);
const
i18n_url
=
__
(
'
URL
'
);
const
i18n_url
=
__
(
'
URL
'
);
const
i18n_omemo
=
__
(
'
OMEMO
'
);
const
i18n_omemo
=
__
(
'
OMEMO
'
);
const
i18n_profile
=
__
(
'
Profile
'
);
const
i18n_profile
=
__
(
'
Profile
'
);
...
@@ -155,7 +153,7 @@ export default (o) => html`
...
@@ -155,7 +153,7 @@ export default (o) => html`
</div>
</div>
</form>
</form>
</div>
</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>
</div>
<div class="modal-footer">
${
modal_close_button
}
</div>
<div class="modal-footer">
${
modal_close_button
}
</div>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment