mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-01 17:39:55 +08:00
feat: update AFFINE to AFFiNE
This commit is contained in:
@@ -24,7 +24,7 @@ export const GoogleLoginButton = () => {
|
|||||||
</IconWrapper>
|
</IconWrapper>
|
||||||
<TextWrapper>
|
<TextWrapper>
|
||||||
<Title>Continue with Google</Title>
|
<Title>Continue with Google</Title>
|
||||||
<Description>Set up an AFFINE account to sync data</Description>
|
<Description>Set up an AFFiNE account to sync data</Description>
|
||||||
</TextWrapper>
|
</TextWrapper>
|
||||||
</ButtonWrapper>
|
</ButtonWrapper>
|
||||||
</StyledGoogleButton>
|
</StyledGoogleButton>
|
||||||
|
|||||||
@@ -71,7 +71,7 @@ export const WorkSpaceSliderBar = () => {
|
|||||||
const router = useRouter();
|
const router = useRouter();
|
||||||
|
|
||||||
const [showTip, setShowTip] = useState(false);
|
const [showTip, setShowTip] = useState(false);
|
||||||
const [show, setShow] = useLocalStorage('AFFINE_SLIDE_BAR', false, true);
|
const [show, setShow] = useLocalStorage('AFFiNE_SLIDE_BAR', false, true);
|
||||||
|
|
||||||
const paths = {
|
const paths = {
|
||||||
all: currentWorkspaceId ? `/workspace/${currentWorkspaceId}/all` : '',
|
all: currentWorkspaceId ? `/workspace/${currentWorkspaceId}/all` : '',
|
||||||
|
|||||||
@@ -1,29 +1,29 @@
|
|||||||
{
|
{
|
||||||
"// THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.": "",
|
"// THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.": "",
|
||||||
"Sync to Disk": "同步到磁盘",
|
"Sync to Disk": "同步到磁盘",
|
||||||
"Share": "分享",
|
"Share": "分享",
|
||||||
"WarningTips": {
|
"WarningTips": {
|
||||||
"IsNotfsApiSupported": "欢迎来到AFFiNE 的演示界面。您可以使用最新版本的基于Chrome的浏览器(如Chrome/Edge)将数据同步到磁盘来进行保存",
|
"IsNotfsApiSupported": "欢迎来到AFFiNE 的演示界面。您可以使用最新版本的基于Chrome的浏览器(如Chrome/Edge)将数据同步到磁盘来进行保存",
|
||||||
"IsNotLocalWorkspace": "欢迎来到AFFiNE 的演示界面,您可以同步到磁盘来进行保存操作。",
|
"IsNotLocalWorkspace": "欢迎来到AFFiNE 的演示界面,您可以同步到磁盘来进行保存操作。",
|
||||||
"DoNotStore": "AFFINE 正在积极开发中,当前版本不稳定。请不要存储信息或数据。"
|
"DoNotStore": "AFFiNE 正在积极开发中,当前版本不稳定。请不要存储信息或数据。"
|
||||||
},
|
},
|
||||||
"ComingSoon": "布局设置即将到来",
|
"ComingSoon": "布局设置即将到来",
|
||||||
"Layout": "布局",
|
"Layout": "布局",
|
||||||
"Comment": "评论",
|
"Comment": "评论",
|
||||||
"Settings": "设置",
|
"Settings": "设置",
|
||||||
"Duplicate Page": "复制页面",
|
"Duplicate Page": "复制页面",
|
||||||
"Copy Page Link": "复制页面链接",
|
"Copy Page Link": "复制页面链接",
|
||||||
"Language": "当前语言",
|
"Language": "当前语言",
|
||||||
"Clear Workspace": "清空工作区域",
|
"Clear Workspace": "清空工作区域",
|
||||||
"Export As Markdown": "导出 markdown",
|
"Export As Markdown": "导出 markdown",
|
||||||
"Export As HTML": "导出 HTML",
|
"Export As HTML": "导出 HTML",
|
||||||
"Export As PDF (Unsupported)": "导出 PDF (暂不支持)",
|
"Export As PDF (Unsupported)": "导出 PDF (暂不支持)",
|
||||||
"Import Workspace": "导入 Workspace",
|
"Import Workspace": "导入 Workspace",
|
||||||
"Export Workspace": "导出 Workspace",
|
"Export Workspace": "导出 Workspace",
|
||||||
"Last edited by": "最后编辑者为 {{name}}",
|
"Last edited by": "最后编辑者为 {{name}}",
|
||||||
"Logout": "退出登录",
|
"Logout": "退出登录",
|
||||||
"Delete": "删除",
|
"Delete": "删除",
|
||||||
"Turn into": "转换为",
|
"Turn into": "转换为",
|
||||||
"Add A Below Block": "在下方添加一个新块",
|
"Add A Below Block": "在下方添加一个新块",
|
||||||
"Divide Here As A New Group": "从这里划分一个新组"
|
"Divide Here As A New Group": "从这里划分一个新组"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,29 +1,29 @@
|
|||||||
{
|
{
|
||||||
"// THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.": "",
|
"// THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.": "",
|
||||||
"Add A Below Block": "在下方新添塊",
|
"Add A Below Block": "在下方新添塊",
|
||||||
"Clear Workspace": "清空工作區",
|
"Clear Workspace": "清空工作區",
|
||||||
"ComingSoon": "自定義佈局功能即將與您見面",
|
"ComingSoon": "自定義佈局功能即將與您見面",
|
||||||
"Comment": "評論",
|
"Comment": "評論",
|
||||||
"Copy Page Link": "拷貝頁面鏈接",
|
"Copy Page Link": "拷貝頁面鏈接",
|
||||||
"Delete": "刪除",
|
"Delete": "刪除",
|
||||||
"Divide Here As A New Group": "從此地劃分成新組",
|
"Divide Here As A New Group": "從此地劃分成新組",
|
||||||
"Duplicate Page": "複製界面",
|
"Duplicate Page": "複製界面",
|
||||||
"Export As HTML": "導出 HTML",
|
"Export As HTML": "導出 HTML",
|
||||||
"Export As Markdown": "以 Markdown 導出",
|
"Export As Markdown": "以 Markdown 導出",
|
||||||
"Export As PDF (Unsupported)": "導出為 PDF(即將可用)",
|
"Export As PDF (Unsupported)": "導出為 PDF(即將可用)",
|
||||||
"Export Workspace": "導出 Workspace",
|
"Export Workspace": "導出 Workspace",
|
||||||
"Import Workspace": "導入 Workspace",
|
"Import Workspace": "導入 Workspace",
|
||||||
"Language": "語言",
|
"Language": "語言",
|
||||||
"Last edited by": "最後編輯者為 {{name}}",
|
"Last edited by": "最後編輯者為 {{name}}",
|
||||||
"Layout": "佈局",
|
"Layout": "佈局",
|
||||||
"Logout": "退出登錄",
|
"Logout": "退出登錄",
|
||||||
"Settings": "設置",
|
"Settings": "設置",
|
||||||
"Share": "分享",
|
"Share": "分享",
|
||||||
"Sync to Disk": "同步到磁盤",
|
"Sync to Disk": "同步到磁盤",
|
||||||
"Turn into": "轉換為",
|
"Turn into": "轉換為",
|
||||||
"WarningTips": {
|
"WarningTips": {
|
||||||
"DoNotStore": "我們正在積極開發 AFFiNE,目前版本尚不穩定,請避免存儲信息或數據。",
|
"DoNotStore": "我們正在積極開發 AFFiNE,目前版本尚不穩定,請避免存儲信息或數據。",
|
||||||
"IsNotLocalWorkspace": "歡迎來到 AFFiNE 演示界面。您可以通過「同步到磁盤」來保存更改。",
|
"IsNotLocalWorkspace": "歡迎來到 AFFiNE 演示界面。您可以通過「同步到磁盤」來保存更改。",
|
||||||
"IsNotfsApiSupported": "歡迎進入AFFINE演示!使用最新版本的基於 Chromium 內核的瀏覽器如Chrome/Edge,您可以通過「同步到磁盤」來保存更改"
|
"IsNotfsApiSupported": "歡迎進入AFFiNE演示!使用最新版本的基於 Chromium 內核的瀏覽器如Chrome/Edge,您可以通過「同步到磁盤」來保存更改"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -16,7 +16,7 @@
|
|||||||
"author": "",
|
"author": "",
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "git+https://github.com/toeverything/AFFINE.git"
|
"url": "git+https://github.com/toeverything/AFFiNE.git"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"typescript": "^4.8.4"
|
"typescript": "^4.8.4"
|
||||||
|
|||||||
@@ -15,7 +15,7 @@
|
|||||||
"keywords": [],
|
"keywords": [],
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "git+https://github.com/toeverything/AFFINE.git"
|
"url": "git+https://github.com/toeverything/AFFiNE.git"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"next": "^12.3.1",
|
"next": "^12.3.1",
|
||||||
|
|||||||
+1
-1
@@ -34,7 +34,7 @@ test.describe('Login Flow', () => {
|
|||||||
page.waitForEvent('popup'),
|
page.waitForEvent('popup'),
|
||||||
page
|
page
|
||||||
.getByRole('button', {
|
.getByRole('button', {
|
||||||
name: 'Google Continue with Google Set up an AFFINE account to sync data',
|
name: 'Google Continue with Google Set up an AFFiNE account to sync data',
|
||||||
})
|
})
|
||||||
.click(),
|
.click(),
|
||||||
]);
|
]);
|
||||||
|
|||||||
Reference in New Issue
Block a user