first commit
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
export const DEFAULT_LANG = 'en_US'
|
||||
|
||||
const dict = {
|
||||
Database: 0,
|
||||
'The database is not ready': 1,
|
||||
'Todo API': 2,
|
||||
'The Todo API is ready': 3,
|
||||
'The Todo API is not ready': 4,
|
||||
'REST API for todo items': 5,
|
||||
} as const
|
||||
|
||||
export type I18nKey = keyof typeof dict
|
||||
export type LangDict = Record<(typeof dict)[I18nKey], string>
|
||||
export default dict
|
||||
Reference in New Issue
Block a user