Browse Source

修改文案

lex 1 year ago
parent
commit
4a12446044

File diff suppressed because it is too large
+ 0 - 0
dist/assets/index-cc7b0d56.js


+ 2 - 2
src/TUIKit/TUIComponents/container/TUIChat/index.vue

@@ -274,7 +274,7 @@ const TUIChat: any = defineComponent({
         const userRole = conversation?.groupProfile?.selfInfo.role;
         const isMember = userRole === TUIServer.TUICore.TIM.TYPES.GRP_MBR_ROLE_MEMBER;
         if (isMember && conversation?.groupProfile?.muteAllMembers) {
-          // data.muteText = "管理员开启全员禁言";
+          // data.muteText = "管理员开启学生禁言";
           return true;
         }
         const time: number = new Date().getTime();
@@ -321,7 +321,7 @@ const TUIChat: any = defineComponent({
         const userRole = conversation?.groupProfile?.selfInfo.role;
         const isMember = userRole === TUIServer.TUICore.TIM.TYPES.GRP_MBR_ROLE_MEMBER;
         if (isMember && conversation?.groupProfile?.muteAllMembers) {
-          data.muteText = "管理员开启全员禁言";
+          data.muteText = "管理员开启学生禁言";
         }
         const time: number = new Date().getTime();
         if ((data.selfInfo as any)?.muteUntil * 1000 - time > 0) {

+ 2 - 2
src/TUIKit/TUIComponents/container/TUIChat/manage-components/manage.vue

@@ -133,9 +133,9 @@
         </div>
         <div class="admin-content space-top" v-if="isSetMuteTime">
           <aside>
-            <label>{{ $t(`TUIChat.manage.全员禁言`) }}</label>
+            <label>{{ $t(`TUIChat.manage.学生禁言`) }}</label>
             <p>
-              {{ $t(`TUIChat.manage.全员禁言开启后,只允许群主和管理员发言。`) }}
+              {{ $t(`TUIChat.manage.学生禁言开启后,只允许群主和管理员发言。`) }}
             </p>
           </aside>
           <Slider :open="conversation.groupProfile.muteAllMembers" @change="setAllMuteTime" />

+ 2 - 2
src/TUIKit/TUIComponents/container/TUIChat/utils/dist/utils.js

@@ -266,9 +266,9 @@ function handleTipGrpUpdated(message) {
   var text = "";
   if ("muteAllMembers" in newGroupProfile) {
     if (newGroupProfile["muteAllMembers"]) {
-      text = t("message.tip.管理员") + " " + operatorID + " " + t("message.tip.开启全员禁言");
+      text = t("message.tip.管理员") + " " + operatorID + " " + t("message.tip.开启学生禁言");
     } else {
-      text = t("message.tip.管理员") + " " + operatorID + " " + t("message.tip.取消全员禁言");
+      text = t("message.tip.管理员") + " " + operatorID + " " + t("message.tip.取消学生禁言");
     }
   } else if ("ownerID" in newGroupProfile) {
     text = newGroupProfile["ownerID"] + " " + t("message.tip.成为新的群主");

+ 2 - 2
src/TUIKit/TUIComponents/container/TUIChat/utils/utils.ts

@@ -198,9 +198,9 @@ function handleTipGrpUpdated(message: any) {
   let text = "";
   if ("muteAllMembers" in newGroupProfile) {
     if (newGroupProfile["muteAllMembers"]) {
-      text = `${t("message.tip.管理员")} ${operatorID} ${t("message.tip.开启全员禁言")}`;
+      text = `${t("message.tip.管理员")} ${operatorID} ${t("message.tip.开启学生禁言")}`;
     } else {
-      text = `${t("message.tip.管理员")} ${operatorID} ${t("message.tip.取消全员禁言")}`;
+      text = `${t("message.tip.管理员")} ${operatorID} ${t("message.tip.取消学生禁言")}`;
     }
   } else if ("ownerID" in newGroupProfile) {
     text = `${newGroupProfile["ownerID"]} ${t("message.tip.成为新的群主")}`;

+ 3 - 3
src/TUIKit/locales/en/TUIChat.json

@@ -36,7 +36,7 @@
   "表情": "[face]",
   "文件": "[file]",
   "自定义": "[custom message]",
-  "管理员开启全员禁言": "The admin enables Mute All",
+  "管理员开启学生禁言": "The admin enables Mute All",
   "您已被管理员禁言": "You have been muted by the admin",
   "按Enter发送,Ctrl+Enter换行": "Press Enter to send a message and Ctrl+Enter to start a new line",
   "单击下载": "Click download",
@@ -87,8 +87,8 @@
     "解散群聊": "Disband group",
     "退出群组": "Quit group",
     "群管理员": "Group admin",
-    "全员禁言": "Mute All",
-    "全员禁言开启后,只允许群主和管理员发言。": "If Mute All is enabled, only the group owner and admin can speak.",
+    "学生禁言": "Mute All",
+    "学生禁言开启后,只允许群主和管理员发言。": "If Mute All is enabled, only the group owner and admin can speak.",
     "单独禁言人员": "Mute a member",
     "删除成员": "Remove member",
     "确定从群聊中删除该成员?": "Are you sure you want to remove this member from the group chat?",

+ 3 - 3
src/TUIKit/locales/en/message.json

@@ -11,8 +11,8 @@
     "被取消禁言": "cancel the prohibition",
     "群提示消息": "group prompt message",
     "管理员": "The admin",
-    "开启全员禁言": "enabled Mute All",
-    "取消全员禁言": "disabled Mute All",
+    "开启学生禁言": "enabled Mute All",
+    "取消学生禁言": "disabled Mute All",
     "成为新的群主": "became the new group owner",
     "修改群名为": "changed the group name to",
     "发布新公告": "posted a new notice",
@@ -24,7 +24,7 @@
     "解散": "disbanded",
     "创建群": "created the group",
     "邀请你加群": "invite you to join the group",
-    "你退出群组" : "You left the group",
+    "你退出群组": "You left the group",
     "你被": "You were",
     "设置为群": "set as group",
     "的管理员": "as an admin",

+ 3 - 3
src/TUIKit/locales/zh_cn/TUIChat.json

@@ -37,7 +37,7 @@
   "表情": "[表情]",
   "文件": "[文件]",
   "自定义": "[自定义消息]",
-  "管理员开启全员禁言": "管理员开启全员禁言",
+  "管理员开启学生禁言": "管理员开启学生禁言",
   "您已被管理员禁言": "您已被管理员禁言",
   "按Enter发送,Ctrl+Enter换行": "按Enter发送,Ctrl+Enter换行",
   "单击下载": "单击下载",
@@ -89,8 +89,8 @@
     "解散群聊": "解散群聊",
     "退出群组": "退出群组",
     "群管理员": "群管理员",
-    "全员禁言": "全员禁言",
-    "全员禁言开启后,只允许群主和管理员发言。": "全员禁言开启后,只允许群主和管理员发言。",
+    "学生禁言": "学生禁言",
+    "学生禁言开启后,只允许群主和管理员发言。": "学生禁言开启后,只允许群主和管理员发言。",
     "单独禁言人员": "单独禁言人员",
     "删除成员": "删除成员",
     "确定从群聊中删除该成员?": "确定从群聊中删除该成员?",

+ 2 - 2
src/TUIKit/locales/zh_cn/message.json

@@ -11,8 +11,8 @@
     "被取消禁言": "被取消禁言",
     "群提示消息": "群提示消息",
     "管理员": "管理员",
-    "开启全员禁言": "开启全员禁言",
-    "取消全员禁言": "取消全员禁言",
+    "开启学生禁言": "开启学生禁言",
+    "取消学生禁言": "取消学生禁言",
     "成为新的群主": "成为新的群主",
     "修改群名为": "修改群名为",
     "发布新公告": "发布新公告",

+ 5 - 5
src/TUIKit/locales/zh_cn/translate.json

@@ -16,7 +16,7 @@
   "TUIKit-TUIChat-15": "描述",
   "TUIKit-TUIChat-16": "经度",
   "TUIKit-TUIChat-17": "纬度",
-  "TUIKit-TUIChat-18": "管理员开启全员禁言",
+  "TUIKit-TUIChat-18": "管理员开启学生禁言",
   "TUIKit-TUIChat-19": "您已被管理员禁言",
   "TUIKit-TUIChat-20": "按Enter发送,Ctrl+Enter换行",
   "TUIKit-TUIChat-mange-01": "群公告",
@@ -38,8 +38,8 @@
   "TUIKit-TUIChat-mange-17": "解散群聊",
   "TUIKit-TUIChat-mange-18": "退出群组",
   "TUIKit-TUIChat-mange-19": "群管理员",
-  "TUIKit-TUIChat-mange-20": "全员禁言",
-  "TUIKit-TUIChat-mange-21": "全员禁言开启后,只允许群主和管理员发言。",
+  "TUIKit-TUIChat-mange-20": "学生禁言",
+  "TUIKit-TUIChat-mange-21": "学生禁言开启后,只允许群主和管理员发言。",
   "TUIKit-TUIChat-mange-22": "单独禁言人员",
   "TUIKit-TUIChat-mange-23": "删除成员",
   "TUIKit-TUIChat-mange-24": "确定从群聊中删除该成员?",
@@ -118,8 +118,8 @@
   "TUIKit-message-tip-09": "被取消禁言",
   "TUIKit-message-tip-10": "群提示消息",
   "TUIKit-message-tip-11": "管理员",
-  "TUIKit-message-tip-12": "开启全员禁言",
-  "TUIKit-message-tip-13": "取消全员禁言",
+  "TUIKit-message-tip-12": "开启学生禁言",
+  "TUIKit-message-tip-13": "取消学生禁言",
   "TUIKit-message-tip-14": "成为新的群主",
   "TUIKit-message-tip-15": "修改群名为",
   "TUIKit-message-tip-16": "发布新公告",

Some files were not shown because too many files changed in this diff