refactor(src): change affine to AFFiNE in string

This commit is contained in:
tzhangchi
2022-08-01 14:27:26 +08:00
parent 3708ef5370
commit b5cc15287f
14 changed files with 16 additions and 16 deletions
@@ -200,7 +200,7 @@ const groupTemplateMap: GroupTemplateMap = {
text: {
value: [
{
text: 'As a collaborative real-time editor, Affine aims to resolve problems in three situations:',
text: 'As a collaborative real-time editor, AFFiNE aims to resolve problems in three situations:',
},
],
},
@@ -13,7 +13,7 @@ const defaultTemplateList: Array<TemplateMeta> = [
const TemplateFactory = {
defaultTemplateList: defaultTemplateList,
generatePageTemplateByGroupKeys(props: TemplateMeta): Template {
const newTitle = props.name || 'Get Started with Affine';
const newTitle = props.name || 'Get Started with AFFiNE';
const keys = props.groupKeys || [];
const blankPage: Template = {
type: 'page',
+2 -2
View File
@@ -343,10 +343,10 @@ export class YjsAdapter implements AsyncDatabaseAdapter<YjsContentOperation> {
const handles = await window.showOpenFilePicker({
types: [
{
description: 'Affine Package',
description: 'AFFiNE Package',
accept: {
// eslint-disable-next-line @typescript-eslint/naming-convention
'application/affine': ['.apk'],
'application/AFFiNE': ['.apk'],
},
},
],