Skip to content

Commit c8ae2b8

Browse files
committed
(locale) add ROOMS_EMPTY
1 parent 9d4a142 commit c8ae2b8

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/ChatWindow/RoomsList.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
<loader :show="loadingRooms"></loader>
2525

2626
<div class="rooms-empty" v-if="!loadingRooms && !rooms.length">
27-
No rooms
27+
{{ textMessages.ROOMS_EMPTY }}
2828
</div>
2929

3030
<div v-if="!loadingRooms" class="room-list">

src/locales/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
export default {
2+
ROOMS_EMPTY: 'No rooms',
23
NEW_MESSAGES: 'New Messages',
34
MESSAGE_DELETED: 'This message was deleted',
45
MESSAGES_EMPTY: 'No messages',

0 commit comments

Comments
 (0)