diff --git a/server/plugins/com.msgbyte.agora/web/plugins/com.msgbyte.agora/src/FloatWindow/index.tsx b/server/plugins/com.msgbyte.agora/web/plugins/com.msgbyte.agora/src/FloatWindow/index.tsx
index 4ea58bc1..07cf4f5b 100644
--- a/server/plugins/com.msgbyte.agora/web/plugins/com.msgbyte.agora/src/FloatWindow/index.tsx
+++ b/server/plugins/com.msgbyte.agora/web/plugins/com.msgbyte.agora/src/FloatWindow/index.tsx
@@ -1,20 +1,19 @@
import { showToasts } from '@capital/common';
import { PortalAdd, PortalRemove } from '@capital/component';
import React from 'react';
+import { Translate } from '../translate';
import { FloatMeetingWindow } from './window';
let currentMeeting: string | null = null;
/**
- * TODO
- *
* 启动快速会议
*
* 表现形式是在浏览器内有个小的浮动窗口
*/
export function startFastMeeting(meetingId: string) {
if (currentMeeting) {
- showToasts('当前已有正在进行中的通话, 请先结束上一场通话');
+ showToasts(Translate.repeatTip);
return;
}
diff --git a/server/plugins/com.msgbyte.agora/web/plugins/com.msgbyte.agora/src/FloatWindow/window.tsx b/server/plugins/com.msgbyte.agora/web/plugins/com.msgbyte.agora/src/FloatWindow/window.tsx
index 0b043afd..838afe40 100644
--- a/server/plugins/com.msgbyte.agora/web/plugins/com.msgbyte.agora/src/FloatWindow/window.tsx
+++ b/server/plugins/com.msgbyte.agora/web/plugins/com.msgbyte.agora/src/FloatWindow/window.tsx
@@ -3,6 +3,7 @@ import styled from 'styled-components';
import { Divider, ErrorBoundary } from '@capital/component';
import { MeetingView, MeetingViewProps } from './MeetingView';
import { SpeakerNames } from './SpeakerNames';
+import { Translate } from '../translate';
const FloatWindow = styled.div`
z-index: 100;
@@ -61,7 +62,9 @@ export const FloatMeetingWindow: React.FC
= React.memo(
- {folder ? '展开' : '收起'}
+
+ {folder ? Translate.expand : Translate.foldup}
+