refactor: reorganize project structure and implement self-managed i18n/theme for components
This commit is contained in:
24
src/locales/en-US.ts
Normal file
24
src/locales/en-US.ts
Normal file
@@ -0,0 +1,24 @@
|
||||
import { TranslationDictionary } from './types';
|
||||
|
||||
export const enUS: TranslationDictionary = {
|
||||
common: {
|
||||
title: 'BimEngine',
|
||||
description: 'This is a BIM-ENGINE demo.',
|
||||
openTestDialog: 'Open Test Dialog',
|
||||
openInfoDialog: 'Open Info Dialog (Wrapped)',
|
||||
},
|
||||
toolbar: {
|
||||
home: 'Home',
|
||||
info: 'Info',
|
||||
location: 'Location',
|
||||
setting: 'Settings',
|
||||
walk: 'Walk',
|
||||
walkPerson: 'Person',
|
||||
walkBird: 'Bird Eye',
|
||||
walkMenu: 'Menu',
|
||||
},
|
||||
dialog: {
|
||||
testTitle: 'Test Dialog',
|
||||
testContent: '<div style="padding: 10px;">This is a <b>draggable</b> and <b>resizable</b> dialog.<br><br>Try dragging the title bar or resizing from the bottom-right corner.</div>',
|
||||
},
|
||||
};
|
||||
Reference in New Issue
Block a user