bug fixed

This commit is contained in:
Richard Park 2020-01-08 18:23:49 +09:00
parent 0ad42ef10d
commit 37805bdaa0
4 changed files with 13 additions and 5 deletions

View File

@ -50,7 +50,7 @@
<div class="room-info"> <div class="room-info">
<h3 class="room-name"> <h3 class="room-name">
<ng-container *ngIf="!roomInfo || !userInfoList"> <ng-container *ngIf="!roomInfo || !userInfoList">
대화방명을 가져오고 있습니다.. {{ 'chat.getRoomNameInProgress' | translate }}
</ng-container> </ng-container>
<ng-container *ngIf="!!roomInfo && !!userInfoList"> <ng-container *ngIf="!!roomInfo && !!userInfoList">
<ng-container [ngSwitch]="roomInfo.roomType"> <ng-container [ngSwitch]="roomInfo.roomType">
@ -90,7 +90,7 @@
> >
<span class="bg-accent-dark" <span class="bg-accent-dark"
>{{ getConvertTimer(roomInfo.timeRoomInterval) }} </span >{{ getConvertTimer(roomInfo.timeRoomInterval) }} </span
>비밀 대화방입니다. >{{ 'chat.isRoomTypeSecret' | translate }}
</div> </div>
<!-- Timer Room Info --> <!-- Timer Room Info -->
</div> </div>
@ -104,13 +104,13 @@
<mat-icon <mat-icon
class="amber-fg" class="amber-fg"
*ngIf="roomInfo.receiveAlarm" *ngIf="roomInfo.receiveAlarm"
matTooltip="알림 켜짐" matTooltip="{{ 'chat.notificationIsOn' | translate }}"
>notifications_active</mat-icon >notifications_active</mat-icon
> >
<mat-icon <mat-icon
class="secondary-text" class="secondary-text"
*ngIf="!roomInfo.receiveAlarm" *ngIf="!roomInfo.receiveAlarm"
matTooltip="알림 꺼짐" matTooltip="{{ 'chat.notificationIsOff' | translate }}"
>notifications_off</mat-icon >notifications_off</mat-icon
> >
</button> </button>

View File

@ -182,6 +182,10 @@
"ejectFromRoom": "Eject from room", "ejectFromRoom": "Eject from room",
"confirmEjectFromRoom": "Do you want to eject member[{{targetMember}}] from room?", "confirmEjectFromRoom": "Do you want to eject member[{{targetMember}}] from room?",
"badgeDescriptionForUnread": "There is an unconfirmed message.", "badgeDescriptionForUnread": "There is an unconfirmed message.",
"getRoomNameInProgress": "Getting chat room name.",
"isRoomTypeSecret": "This room is secret type",
"notificationIsOn": "Notification is on",
"notificationIsOff": "Notification is off",
"event": { "event": {
"inviteToRoomWith": "{{owner}} invited {{inviter}}.", "inviteToRoomWith": "{{owner}} invited {{inviter}}.",
"exitFromRoomWith": "{{exitor}} has left.", "exitFromRoomWith": "{{exitor}} has left.",

View File

@ -182,6 +182,10 @@
"ejectFromRoom": "강퇴", "ejectFromRoom": "강퇴",
"confirmEjectFromRoom": "{{targetMember}} 님을 대화방에서 퇴장 시키겠습니까?", "confirmEjectFromRoom": "{{targetMember}} 님을 대화방에서 퇴장 시키겠습니까?",
"badgeDescriptionForUnread": "확인하지 않은 메시지가 있습니다.", "badgeDescriptionForUnread": "확인하지 않은 메시지가 있습니다.",
"getRoomNameInProgress": "대화방명을 가져오고 있습니다.",
"isRoomTypeSecret": "비밀 대화방입니다.",
"notificationIsOn": "알림 켜짐",
"notificationIsOff": "알림 꺼짐",
"event": { "event": {
"inviteToRoomWith": "{{owner}}이 {{inviter}}을 초대했습니다.", "inviteToRoomWith": "{{owner}}이 {{inviter}}을 초대했습니다.",
"exitFromRoomWith": "{{exitor}}님이 퇴장하셨습니다.", "exitFromRoomWith": "{{exitor}}님이 퇴장하셨습니다.",

View File

@ -5,7 +5,7 @@
'chat.event.inviteToRoomWith' 'chat.event.inviteToRoomWith'
| translate | translate
: { : {
owner: message.sentMessageJson.owner, owner: getI18nForSir(message.sentMessageJson.owner),
inviter: getI18nForSir(message.sentMessageJson.inviter) inviter: getI18nForSir(message.sentMessageJson.inviter)
} }
}} }}