add plain-text support for user page
This commit is contained in:
@@ -1,14 +1,17 @@
|
||||
import { PageFooterText, pageFooterZhCn } from './PageFooter';
|
||||
import { MainPageText, mainPageZhCn } from './MainPage';
|
||||
import { UserPageText, userPageZhCn } from './UserPage';
|
||||
|
||||
interface TextRecord {
|
||||
pageFooter: PageFooterText;
|
||||
mainPage: MainPageText;
|
||||
userPage: UserPageText;
|
||||
}
|
||||
|
||||
const textZhCn: TextRecord = {
|
||||
pageFooter: pageFooterZhCn,
|
||||
mainPage: mainPageZhCn,
|
||||
userPage: userPageZhCn,
|
||||
};
|
||||
|
||||
// type Lang = 'zh_CN' | 'en_US' | ...;
|
||||
|
||||
Reference in New Issue
Block a user