summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2016-09-25 07:37:58 +0200
committerEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2016-09-25 07:37:58 +0200
commit91ced4d39113cdfcd6693ee4b15660c6c3d1a678 (patch)
tree6b36eb694f8d4e38dd15342e6ba5318f81851d29
parent0ed89234598e9fa05b076c1421c559b5d55c506f (diff)
downloadpoezio-91ced4d39113cdfcd6693ee4b15660c6c3d1a678.tar.gz
poezio-91ced4d39113cdfcd6693ee4b15660c6c3d1a678.tar.bz2
poezio-91ced4d39113cdfcd6693ee4b15660c6c3d1a678.tar.xz
poezio-91ced4d39113cdfcd6693ee4b15660c6c3d1a678.zip
Normalise the user-facing name of MUC from chatroom to room everywhere.
-rw-r--r--poezio/core/core.py8
-rw-r--r--poezio/tabs/muctab.py14
2 files changed, 11 insertions, 11 deletions
diff --git a/poezio/core/core.py b/poezio/core/core.py
index 6d20fdf7..2ec71cb2 100644
--- a/poezio/core/core.py
+++ b/poezio/core/core.py
@@ -541,7 +541,7 @@ class Core(object):
'It seems that it is the first time you start poezio.\n'
'The online help is here http://doc.poez.io/\n'
'No room is joined by default, but you can join poezio’s'
- ' chatroom (with /join poezio@muc.poez.io), where you can'
+ ' room (with /join poezio@muc.poez.io), where you can'
' ask for help or tell us how great it is.',
'Help')
self.refresh_window()
@@ -1319,7 +1319,7 @@ class Core(object):
Disable private tabs when leaving a room
"""
if reason is None:
- reason = '\x195}You left the chatroom\x193}'
+ reason = '\x195}You left the room\x193}'
for tab in self.get_tabs(tabs.PrivateTab):
if tab.name.startswith(room_name):
tab.deactivate(reason=reason)
@@ -1329,7 +1329,7 @@ class Core(object):
Enable private tabs when joining a room
"""
if reason is None:
- reason = '\x195}You joined the chatroom\x193}'
+ reason = '\x195}You joined the room\x193}'
for tab in self.get_tabs(tabs.PrivateTab):
if tab.name.startswith(room_name):
tab.activate(reason=reason)
@@ -1844,7 +1844,7 @@ class Core(object):
completion=self.completion.theme)
self.register_command('list', self.command.list,
usage='[server]',
- desc="Get the list of public chatrooms"
+ desc="Get the list of public rooms"
" on the specified server.",
shortdesc='List the rooms.',
completion=self.completion.list)
diff --git a/poezio/tabs/muctab.py b/poezio/tabs/muctab.py
index 6d1439c0..b8865045 100644
--- a/poezio/tabs/muctab.py
+++ b/poezio/tabs/muctab.py
@@ -592,7 +592,7 @@ class MucTab(ChatTab):
if arg:
msg = ('\x19%(color_spec)s}%(spec)s\x19%(info_col)s} '
'You (\x19%(color)s}%(nick)s\x19%(info_col)s})'
- ' left the chatroom'
+ ' left the room'
' (\x19o%(reason)s\x19%(info_col)s})') % {
'info_col': info_col, 'reason': arg,
'spec': char_quit, 'color': color,
@@ -602,7 +602,7 @@ class MucTab(ChatTab):
else:
msg = ('\x19%(color_spec)s}%(spec)s\x19%(info_col)s} '
'You (\x19%(color)s}%(nick)s\x19%(info_col)s})'
- ' left the chatroom') % {
+ ' left the room') % {
'info_col': info_col,
'spec': char_quit, 'color': color,
'color_spec': spec_col,
@@ -1136,7 +1136,7 @@ class MucTab(ChatTab):
enable_message = (
'\x19%(color_spec)s}%(spec)s\x19%(info_col)s} You '
'(\x19%(nick_col)s}%(nick)s\x19%(info_col)s}) joined'
- ' the chatroom') % {
+ ' the room') % {
'nick': from_nick,
'spec': get_theme().CHAR_JOIN,
'color_spec': spec_col,
@@ -1260,7 +1260,7 @@ class MucTab(ChatTab):
char_join = get_theme().CHAR_JOIN
if not jid.full:
msg = ('\x19%(color_spec)s}%(spec)s \x19%(color)s}%(nick)s'
- '\x19%(info_col)s} joined the chatroom') % {
+ '\x19%(info_col)s} joined the room') % {
'nick': from_nick, 'spec': char_join,
'color': color,
'info_col': info_col,
@@ -1269,7 +1269,7 @@ class MucTab(ChatTab):
else:
msg = ('\x19%(color_spec)s}%(spec)s \x19%(color)s}%(nick)s'
'\x19%(info_col)s} (\x19%(jid_color)s}%(jid)s\x19'
- '%(info_col)s}) joined the chatroom') % {
+ '%(info_col)s}) joined the room') % {
'spec': char_join, 'nick': from_nick,
'color':color, 'jid':jid.full,
'info_col': info_col,
@@ -1473,7 +1473,7 @@ class MucTab(ChatTab):
if not jid.full:
leave_msg = ('\x19%(color_spec)s}%(spec)s \x19%(color)s}'
'%(nick)s\x19%(info_col)s} has left the '
- 'chatroom') % {
+ 'room') % {
'nick':from_nick, 'color':color,
'spec':get_theme().CHAR_QUIT,
'info_col': info_col,
@@ -1483,7 +1483,7 @@ class MucTab(ChatTab):
leave_msg = ('\x19%(color_spec)s}%(spec)s \x19%(color)s}'
'%(nick)s\x19%(info_col)s} (\x19%(jid_col)s}'
'%(jid)s\x19%(info_col)s}) has left the '
- 'chatroom') % {
+ 'room') % {
'spec':get_theme().CHAR_QUIT,
'nick':from_nick, 'color':color,
'jid':jid.full, 'info_col': info_col,