mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-13 12:55:00 +00:00
@@ -29,7 +29,7 @@ export const CreateNewPagePopup = ({
|
||||
}}
|
||||
>
|
||||
<BlockCard
|
||||
title={t['New Page']()}
|
||||
title={t['com.affine.new.page-mode']()}
|
||||
desc={t['com.affine.write_with_a_blank_page']()}
|
||||
right={<PageIcon width={20} height={20} />}
|
||||
onClick={createNewPage}
|
||||
|
||||
@@ -59,12 +59,12 @@ export const Component = function CollectionPage() {
|
||||
const collection = collectionService.collectionsTrash.value.find(
|
||||
v => v.collection.id === params.collectionId
|
||||
);
|
||||
let text = 'Collection is not exist';
|
||||
let text = 'Collection does not exist';
|
||||
if (collection) {
|
||||
if (collection.userId) {
|
||||
text = `${collection.collection.name} is deleted by ${collection.userName}`;
|
||||
text = `${collection.collection.name} has been deleted by ${collection.userName}`;
|
||||
} else {
|
||||
text = `${collection.collection.name} is deleted`;
|
||||
text = `${collection.collection.name} has been deleted`;
|
||||
}
|
||||
}
|
||||
pushNotification({
|
||||
|
||||
@@ -26,7 +26,7 @@ export const EmptyPageList = ({
|
||||
if (type === 'all') {
|
||||
const createNewPageButton = (
|
||||
<button className={styles.emptyDescButton} onClick={onCreatePage}>
|
||||
New Page
|
||||
{t['New Page']()}
|
||||
</button>
|
||||
);
|
||||
if (environment.isDesktop) {
|
||||
|
||||
Reference in New Issue
Block a user