Skip to content

Commit

Permalink
Rename
Browse files Browse the repository at this point in the history
  • Loading branch information
bentwnghk committed Dec 31, 2023
1 parent 95c8609 commit ec5a07e
Show file tree
Hide file tree
Showing 13 changed files with 37 additions and 37 deletions.
2 changes: 1 addition & 1 deletion locales/en-US/market.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"desc1": "Enter the settings page you want to submit to the assistant by clicking on the settings icon in the upper right corner of the chat window.",
"desc2": "Click on the 'Submit to Assistant Market' button in the upper right corner.",
"tag": "Method 1",
"title": "Submit via LobeChat"
"title": "Submit via Mr.🆖 Chat"
},
"func2": {
"button": "Go to Github Assistant Repository",
Expand Down
8 changes: 4 additions & 4 deletions locales/en-US/migration.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"clear": {
"confirm": "You are about to clear local data (global settings will not be affected). Please confirm that you have downloaded a data backup."
},
"description": "In the new version, LobeChat's data storage has made a huge leap. Therefore, we need to upgrade the old version data to bring you a better user experience.",
"description": "In the new version, Mr.🆖 Chat's data storage has made a huge leap. Therefore, we need to upgrade the old version data to bring you a better user experience.",
"features": {
"capability": {
"desc": "Based on IndexedDB technology, it can store a lifetime of conversation messages.",
Expand All @@ -25,18 +25,18 @@
"title": "More User-Friendly"
}
},
"title": "LobeChat Data Evolution",
"title": "Mr.🆖 Chat Data Evolution",
"upgrade": {
"error": {
"subTitle": "We are sorry, an error occurred during the database upgrade process. Please try the following solutions: A. Clear local data and re-import backup data; B. Click the 'Retry Upgrade' button.<br><br> If the issue persists, please <1>submit a request</1>, and we will assist you as soon as possible.",
"title": "Database Upgrade Failed"
},
"success": {
"subTitle": "LobeChat's database has been successfully upgraded to the latest version. Start experiencing it now!",
"subTitle": "Mr.🆖 Chat's database has been successfully upgraded to the latest version. Start experiencing it now!",
"title": "Database Upgrade Successful"
}
},
"upgradeTip": "The upgrade process will take approximately 10 to 20 seconds. Please do not close LobeChat during the upgrade."
"upgradeTip": "The upgrade process will take approximately 10 to 20 seconds. Please do not close Mr.🆖 Chat during the upgrade."
},
"migrateError": {
"missVersion": "Imported data is missing a version number. Please check the file and try again.",
Expand Down
4 changes: 2 additions & 2 deletions locales/en-US/plugin.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
"pattenErrorMessage": "Only alphanumeric characters, hyphen -, and underscore _ are allowed"
},
"manifest": {
"desc": "LobeChat will install the plugin using this link",
"desc": "Mr.🆖 Chat will install the plugin using this link",
"label": "Plugin Description (Manifest) URL",
"preview": "Preview Manifest",
"refresh": "Refresh"
Expand Down Expand Up @@ -101,7 +101,7 @@
"edit": "Edit Custom Plugin"
},
"type": {
"lobe": "LobeChat Plugin",
"lobe": "Mr.🆖 Chat Plugin",
"openai": "OpenAI Plugin"
},
"update": "Update",
Expand Down
2 changes: 1 addition & 1 deletion locales/zh-CN/market.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"desc1": "在会话窗口中通过右上角设置进入你想提交助手的设置页面;",
"desc2": "点击右上角提交到助手市场按钮。",
"tag": "方法一",
"title": "通过 LobeChat 提交"
"title": "通过 Mr.🆖 Chat 提交"
},
"func2": {
"button": "前往 Github 助手仓库",
Expand Down
8 changes: 4 additions & 4 deletions locales/zh-CN/migration.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"clear": {
"confirm": "即将清空本地数据(全局设置不受影响),请确认你已经下载了数据备份。"
},
"description": "在新版本中,LobeChat 的数据存储有了巨大的飞跃。因此我们要对旧版数据进行升级,进而为你带来更好的使用体验。",
"description": "在新版本中,Mr.🆖 Chat 的数据存储有了巨大的飞跃。因此我们要对旧版数据进行升级,进而为你带来更好的使用体验。",
"features": {
"capability": {
"desc": "基于 IndexedDB 技术,足以装下你一生的会话消息",
Expand All @@ -25,18 +25,18 @@
"title": "更易用"
}
},
"title": "LobeChat 数据进化",
"title": "Mr.🆖 Chat 数据进化",
"upgrade": {
"error": {
"subTitle": "非常抱歉,数据库升级过程发生异常。请尝试以下方案:A. 清空本地数据后,重新导入备份数据; B.点击 「重新升级」按钮。<br><br> 如仍然出错,请 <1>提交问题</1> ,我们将会第一时间帮你排查",
"title": "数据库升级失败"
},
"success": {
"subTitle": "LobeChat 的数据库已经升级到最新版本,立即开始体验吧",
"subTitle": "Mr.🆖 Chat 的数据库已经升级到最新版本,立即开始体验吧",
"title": "数据库升级成功"
}
},
"upgradeTip": "升级大致需要 10~20 秒,升级过程中请不要关闭 LobeChat"
"upgradeTip": "升级大致需要 10~20 秒,升级过程中请不要关闭 Mr.🆖 Chat"
},
"migrateError": {
"missVersion": "导入数据缺少版本号,请检查文件后重试",
Expand Down
4 changes: 2 additions & 2 deletions locales/zh-CN/plugin.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
"pattenErrorMessage": "只能输入英文字符、数字 、- 和_ 这两个符号"
},
"manifest": {
"desc": "LobeChat 将会通过该链接安装插件",
"desc": "Mr.🆖 Chat 将会通过该链接安装插件",
"label": "插件描述文件 (Manifest) URL",
"preview": "预览 Manifest",
"refresh": "刷新"
Expand Down Expand Up @@ -101,7 +101,7 @@
"edit": "编辑自定义插件"
},
"type": {
"lobe": "LobeChat 插件",
"lobe": "Mr.🆖 Chat 插件",
"openai": "OpenAI 插件"
},
"update": "更新",
Expand Down
8 changes: 4 additions & 4 deletions locales/zh-TW/migration.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"clear": {
"confirm": "即將清空本地資料(全域設定不受影響),請確認你已經下載了資料備份。"
},
"description": "在新版本中,LobeChat 的資料存儲有了巨大的飛躍。因此我們要對舊版資料進行升級,進而為你帶來更好的使用體驗。",
"description": "在新版本中,Mr.🆖 Chat 的資料存儲有了巨大的飛躍。因此我們要對舊版資料進行升級,進而為你帶來更好的使用體驗。",
"features": {
"capability": {
"desc": "基於 IndexedDB 技術,足以裝下你一生的對話消息",
Expand All @@ -25,18 +25,18 @@
"title": "更易用"
}
},
"title": "LobeChat 資料進化",
"title": "Mr.🆖 Chat 資料進化",
"upgrade": {
"error": {
"subTitle": "非常抱歉,資料庫升級過程發生異常。請嘗試以下方案:A. 清空本地數據後,重新導入備份數據; B.點擊「重新升級」按鈕。<br><br> 如仍然出錯,請 <1>提交問題</1> ,我們將會第一時間幫你排查",
"title": "資料庫升級失敗"
},
"success": {
"subTitle": "LobeChat 的資料庫已經升級到最新版本,立即開始體驗吧",
"subTitle": "Mr.🆖 Chat 的資料庫已經升級到最新版本,立即開始體驗吧",
"title": "資料庫升級成功"
}
},
"upgradeTip": "升級大約需要 10~20 秒,升級過程中請不要關閉 LobeChat"
"upgradeTip": "升級大約需要 10~20 秒,升級過程中請不要關閉 Mr.🆖 Chat"
},
"migrateError": {
"missVersion": "導入數據缺少版本號,請檢查文件後重試",
Expand Down
2 changes: 1 addition & 1 deletion src/app/chat/(desktop)/features/SessionHeader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const Header = memo(() => {
return (
<Flexbox className={styles.top} gap={16} padding={16}>
<Flexbox distribution={'space-between'} horizontal>
<Logo className={styles.logo} size={1} type={'text'} />
<Logo className={styles.logo} size={36} type={'text'} />
<ActionIcon
icon={MessageSquarePlus}
onClick={() => createSession()}
Expand Down
6 changes: 3 additions & 3 deletions src/app/welcome/(desktop)/features/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,19 +21,19 @@ const Footer = memo(() => {
icon={DiscordIcon}
onClick={() => window.open(DISCORD, '__blank')}
size={'site'}
title={'Home'}
title={'Mr.🆖 AiSpeak'}
/>
<ActionIcon
icon={Book}
onClick={() => window.open(WIKI, '__blank')}
size={'site'}
title={'Wiki'}
title={'Mr.🆖 朗文詞典'}
/>
<ActionIcon
icon={Github}
onClick={() => window.open(GITHUB, '__blank')}
size={'site'}
title={'Home'}
title={'Mr.🆖 雲端儲存'}
/>
</Flexbox>
</Flexbox>
Expand Down
4 changes: 2 additions & 2 deletions src/const/layoutTokens.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export const FORM_STYLE: FormProps = {
itemMinWidth: 'max(30%,240px)',
style: { maxWidth: MAX_WIDTH, width: '100%' },
};
export const MOBILE_HEADER_ICON_SIZE = { blockSize: 36, fontSize: 1 };
export const DESKTOP_HEADER_ICON_SIZE = { fontSize: 1 };
export const MOBILE_HEADER_ICON_SIZE = { blockSize: 36, fontSize: 22 };
export const DESKTOP_HEADER_ICON_SIZE = { fontSize: 24 };
export const HEADER_ICON_SIZE = (mobile?: boolean) =>
mobile ? MOBILE_HEADER_ICON_SIZE : DESKTOP_HEADER_ICON_SIZE;
12 changes: 6 additions & 6 deletions src/const/url.ts
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
import urlJoin from 'url-join';

// import pkg from '../../package.json';
import pkg from '../../package.json';
import { INBOX_SESSION_ID } from './session';

export const GITHUB = 'https://mr5drive.com/';
export const CHANGELOG = 'https://mr5drive.com/';
export const WIKI = 'https://mr5drive.com/';
export const WIKI_PLUGIN_GUIDE = 'https://mr5drive.com/';
export const GITHUB = pkg.homepage;
export const CHANGELOG = 'https://github.com/bentwnghk/lobe-chat/blob/master/CHANGELOG.md';
export const WIKI = 'https://longman.mister5.net/';
export const WIKI_PLUGIN_GUIDE = 'https://ai.mister5.net/';
export const ABOUT = 'https://mr5drive.com/';
export const FEEDBACK = 'https://mr5drive.com/';
export const DISCORD = 'https://mr5drive.com/';
export const DISCORD = 'https://speak.mister5.net/';

export const PLUGINS_INDEX_URL = 'https://chat-plugins.lobehub.com';

Expand Down
6 changes: 3 additions & 3 deletions src/features/SideBar/BottomActions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ const BottomActions = memo<BottomActionProps>(({ tab, setTab }) => {
{
icon: <Icon icon={Book} />,
key: 'wiki',
label: 'WIKI',
label: 'Mr.🆖 朗文詞典',
onClick: () => window.open(WIKI, '__blank'),
},
{
Expand Down Expand Up @@ -129,13 +129,13 @@ const BottomActions = memo<BottomActionProps>(({ tab, setTab }) => {
icon={DiscordIcon}
onClick={() => window.open(DISCORD, '__blank')}
placement={'right'}
title={'Discord'}
title={'Mr.🆖 AiSpeak'}
/>
<ActionIcon
icon={Github}
onClick={() => window.open(GITHUB, '__blank')}
placement={'right'}
title={'GitHub'}
title={'Mr.🆖 雲端儲存'}
/>
<Dropdown arrow={false} menu={{ items }} trigger={['click']}>
{hasNewVersion ? (
Expand Down
8 changes: 4 additions & 4 deletions src/locales/default/migration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export default {
confirm: '即将清空本地数据(全局设置不受影响),请确认你已经下载了数据备份。',
},
description:
'在新版本中,LobeChat 的数据存储有了巨大的飞跃。因此我们要对旧版数据进行升级,进而为你带来更好的使用体验。',
'在新版本中,Mr.🆖 Chat 的数据存储有了巨大的飞跃。因此我们要对旧版数据进行升级,进而为你带来更好的使用体验。',
features: {
capability: {
desc: '基于 IndexedDB 技术,足以装下你一生的会话消息',
Expand All @@ -26,19 +26,19 @@ export default {
title: '更易用',
},
},
title: 'LobeChat 数据进化',
title: 'Mr.🆖 Chat 数据进化',
upgrade: {
error: {
subTitle:
'非常抱歉,数据库升级过程发生异常。请尝试以下方案:A. 清空本地数据后,重新导入备份数据; B.点击 「重新升级」按钮。<br><br> 如仍然出错,请 <1>提交问题</1> ,我们将会第一时间帮你排查',
title: '数据库升级失败',
},
success: {
subTitle: 'LobeChat 的数据库已经升级到最新版本,立即开始体验吧',
subTitle: 'Mr.🆖 Chat 的数据库已经升级到最新版本,立即开始体验吧',
title: '数据库升级成功',
},
},
upgradeTip: '升级大致需要 10~20 秒,升级过程中请不要关闭 LobeChat',
upgradeTip: '升级大致需要 10~20 秒,升级过程中请不要关闭 Mr.🆖 Chat',
},
migrateError: {
missVersion: '导入数据缺少版本号,请检查文件后重试',
Expand Down

0 comments on commit ec5a07e

Please sign in to comment.