初始提交
This commit is contained in:
362
src/i18n/index.ts
Normal file
362
src/i18n/index.ts
Normal file
@@ -0,0 +1,362 @@
|
||||
import {I18n} from 'licia'
|
||||
import {EnUs} from './EnUs'
|
||||
import {ZhCn} from './ZhCn'
|
||||
|
||||
export const sentenceKey = {
|
||||
activateCountPerDay: 'activateCountPerDay',
|
||||
activatePluginToday: 'activatePluginToday',
|
||||
activatePluginTotal: 'activatePluginTotal',
|
||||
auto: 'auto',
|
||||
beta: 'beta',
|
||||
betaDesc: 'betaDesc',
|
||||
browser: 'browser',
|
||||
browserPathDescPrefix: 'browserPathDescPrefix',
|
||||
buyNow: 'buyNow',
|
||||
buySuccess: 'buySuccess',
|
||||
catalogueSearchPlaceHolder: 'catalogueSearchPlaceHolder',
|
||||
catsxpBrowser: 'catsxpBrowser',
|
||||
centBrowser: 'centBrowser',
|
||||
clearStatisticsWarning: 'clearStatisticsWarning',
|
||||
cloud: 'cloud',
|
||||
cloudDesc: 'cloudDesc',
|
||||
configFileAt: 'configFileAt',
|
||||
configPrefix: 'configPrefix',
|
||||
configSuffix: 'configSuffix',
|
||||
copyOrderId: 'copyOrderId',
|
||||
cssBackground: 'cssBackground',
|
||||
cssBackgroundDesc: 'cssBackgroundDesc',
|
||||
cssBackgroundPlaceholder: 'cssBackgroundPlaceholder',
|
||||
deepinBrowser: 'deepinBrowser',
|
||||
deviceToday: 'deviceToday',
|
||||
deviceTotal: 'deviceTotal',
|
||||
devTip: 'devTip',
|
||||
emptyTipsDesc: 'emptyTipsDesc',
|
||||
emptyTipsTitle: 'emptyTipsTitle',
|
||||
enableDesc: 'enableDesc',
|
||||
enableLabel: 'enableLabel',
|
||||
enableStatistics: 'enableStatistics',
|
||||
enableStatisticsDesc: 'enableStatisticsDesc',
|
||||
enhanceConfig: 'enhanceConfig',
|
||||
enhanceConfigChipDesc: 'enhanceConfigChipDesc',
|
||||
enhanceConfigDesc: 'enhanceConfigDesc',
|
||||
error: 'error',
|
||||
errorArgs: 'errorArgs',
|
||||
errorInfoToClipboard: 'errorInfoToClipboard',
|
||||
evernote: 'evernote',
|
||||
evernoteUserId: 'evernoteUserId',
|
||||
evernoteUserIdDesc: 'evernoteUserIdDesc',
|
||||
evernoteUserIdPlaceholder: 'evernoteUserIdPlaceholder',
|
||||
executorFileAt: 'executorFileAt',
|
||||
executorPrefix: 'executorPrefix',
|
||||
executorSuffix: 'executorSuffix',
|
||||
fetchOrderError: 'fetchOrderError',
|
||||
file: 'file',
|
||||
fileOpening: 'fileOpening',
|
||||
filePathInMatch: 'filePathInMatch',
|
||||
filePathInMatchDesc: 'filePathInMatchDesc',
|
||||
filePathNonExistsTips: 'filePathNonExistsTips',
|
||||
fileSelectorPlaceholder: 'fileSelectorPlaceholder',
|
||||
filterNonExistsFiles: 'filterNonExistsFiles',
|
||||
filterNonExistsFilesDesc: 'filterNonExistsFilesDesc',
|
||||
fullUrlInMatch: 'fullUrlInMatch',
|
||||
fullUrlInMatchDesc: 'fullUrlInMatchDesc',
|
||||
getFavicon: 'getFavicon',
|
||||
getFaviconDesc: 'getFaviconDesc',
|
||||
getFileIcon: 'getFileIcon',
|
||||
getFileIconDesc: 'getFileIconDesc',
|
||||
getProjectsError: 'getProjectsError',
|
||||
here: 'here',
|
||||
historyLimit: 'historyLimit',
|
||||
historyLimitDesc: 'historyLimitDesc',
|
||||
huaweiBrowser: 'huaweiBrowser',
|
||||
inputDirectlyPlaceholder: 'inputDirectlyPlaceholder',
|
||||
inputPathDirectly: 'inputPathDirectly',
|
||||
inputPathDirectlyDesc: 'inputPathDirectlyDesc',
|
||||
languageSetting: 'languageSetting',
|
||||
languageSettingDesc: 'languageSettingDesc',
|
||||
liebaoBrowser: 'liebaoBrowser',
|
||||
local: 'local',
|
||||
localDesc: 'localDesc',
|
||||
logo: 'logo',
|
||||
logoDesc: 'logoDesc',
|
||||
maxthonBrowser: 'maxthonBrowser',
|
||||
member: 'member',
|
||||
memberPrefix: 'memberPrefix',
|
||||
moreStatistics: 'moreStatistics',
|
||||
moreStatisticsComing: 'moreStatisticsComing',
|
||||
multiMatch: 'multiMatch',
|
||||
multiMatchDesc: 'multiMatchDesc',
|
||||
nativeId: 'nativeId',
|
||||
nativeIdDesc: 'nativeIdDesc',
|
||||
needLogin: 'needLogin',
|
||||
needReboot: 'needReboot',
|
||||
needRebootDesc: 'needRebootDesc',
|
||||
nonExistsFileOrDeleted: 'nonExistsFileOrDeleted',
|
||||
nonExistsPathOrCancel: 'nonExistsPathOrCancel',
|
||||
notifyFileOpen: 'notifyFileOpen',
|
||||
notifyFileOpenDesc: 'notifyFileOpenDesc',
|
||||
onlyProvideForMember: 'onlyProvideForMember',
|
||||
onlyProvideForPluginMember: 'onlyProvideForPluginMember',
|
||||
opacity: 'opacity',
|
||||
opacityDesc: 'opacityDesc',
|
||||
openInNew: 'openInNew',
|
||||
openInNewDesc: 'openInNewDesc',
|
||||
orderId: 'orderId',
|
||||
orderInfo: 'orderInfo',
|
||||
orderTime: 'orderTime',
|
||||
outPluginImmediately: 'outPluginImmediately',
|
||||
outPluginImmediatelyDesc: 'outPluginImmediatelyDesc',
|
||||
pathNotFound: 'pathNotFound',
|
||||
picture: 'picture',
|
||||
pictureDesc: 'pictureDesc',
|
||||
picturePath: 'picturePath',
|
||||
picturePathDesc: 'picturePathDesc',
|
||||
picturePathPlaceholder: 'picturePathPlaceholder',
|
||||
pinyinIndex: 'pinyinIndex',
|
||||
pinyinIndexDesc: 'pinyinIndexDesc',
|
||||
placeholder: 'placeholder',
|
||||
plugin: 'plugin',
|
||||
pluginSetting: 'pluginSetting',
|
||||
ready: 'ready',
|
||||
reload: 'reload',
|
||||
requestMoreApplication: 'requestMoreApplication',
|
||||
safariBookmarkDesc: 'safariBookmarkDesc',
|
||||
search: 'search',
|
||||
settingBetaDesc: 'settingBetaDesc',
|
||||
settingDocument: 'settingDocument',
|
||||
shortcuts: 'shortcuts',
|
||||
showBookmarkCatalogue: 'showBookmarkCatalogue',
|
||||
showBookmarkCatalogueDesc: 'showBookmarkCatalogueDesc',
|
||||
simpleCustom: 'simpleCustom',
|
||||
smartTag: 'smartTag',
|
||||
softwareAccessCount: 'softwareAccessCount',
|
||||
softwareAccessCountByHour: 'softwareAccessCountByHour',
|
||||
sourceCodeRepository: 'sourceCodeRepository',
|
||||
statistics: 'statistics',
|
||||
surveyPrefix: 'surveyPrefix',
|
||||
surveySuffix: 'surveySuffix',
|
||||
systemInformation: 'systemInformation',
|
||||
systemUser: 'systemUser',
|
||||
systemVersion: 'systemVersion',
|
||||
tag: 'tag',
|
||||
theme: 'theme',
|
||||
toBeMember: 'toBeMember',
|
||||
toBeMemberDesc: 'toBeMemberDesc',
|
||||
toClipboard: 'toClipboard',
|
||||
totalCustom: 'totalCustom',
|
||||
twinkstarBrowser: 'twinkstarBrowser',
|
||||
unknownError: 'unknownError',
|
||||
unknownInputError: 'unknownInputError',
|
||||
unready: 'unready',
|
||||
unSupportTipsDesc: 'unSupportTipsDesc',
|
||||
unSupportTipsTitle: 'unSupportTipsTitle',
|
||||
useCount: 'useCount',
|
||||
utoolsVersion: 'utoolsVersion',
|
||||
xiaobaiBrowser: 'xiaobaiBrowser',
|
||||
homepage: 'homepage',
|
||||
clickToOpen: 'clickToOpen',
|
||||
roundTips: 'roundTips',
|
||||
roundCloseTips: 'roundCloseTips',
|
||||
unlimited: 'unlimited',
|
||||
decreasePerformance: 'decreasePerformance',
|
||||
decreasePerformanceDesc: 'decreasePerformanceDesc',
|
||||
bought: 'bought',
|
||||
openPluginMemberDialog: 'openPluginMemberDialog',
|
||||
fusionMode: 'fusionMode',
|
||||
fusionModeDesc: 'fusionModeDesc',
|
||||
configFolderSuffix: 'configFolderSuffix',
|
||||
configFolderAt: 'configFolderAt',
|
||||
offlineVersion: 'offlineVersion',
|
||||
pluginVersion: 'pluginVersion',
|
||||
snakeIndex: 'snakeIndex',
|
||||
snakeIndexDesc: 'snakeIndexDesc',
|
||||
kebabIndex: 'kebabIndex',
|
||||
kebabIndexDesc: 'kebabIndexDesc',
|
||||
camelCaseIndex: 'camelCaseIndex',
|
||||
camelCaseIndexDesc: 'camelCaseIndexDesc',
|
||||
sortByAccessTime: 'sortByAccessTime',
|
||||
sortByAccessTimeDesc: 'sortByAccessTimeDesc',
|
||||
}
|
||||
|
||||
export interface Sentence {
|
||||
readonly activateCountPerDay: string
|
||||
readonly activatePluginToday: string
|
||||
readonly activatePluginTotal: string
|
||||
readonly auto: string
|
||||
readonly beta: string
|
||||
readonly betaDesc: string
|
||||
readonly browser: string
|
||||
readonly browserPathDescPrefix: string
|
||||
readonly buyNow: string
|
||||
readonly buySuccess: string
|
||||
readonly catalogueSearchPlaceHolder: string
|
||||
readonly catsxpBrowser: string
|
||||
readonly centBrowser: string
|
||||
readonly clearStatisticsWarning: string
|
||||
readonly cloud: string
|
||||
readonly cloudDesc: string
|
||||
readonly configFileAt: string
|
||||
readonly configPrefix: string
|
||||
readonly configSuffix: string
|
||||
readonly copyOrderId: string
|
||||
readonly cssBackground: string
|
||||
readonly cssBackgroundDesc: string
|
||||
readonly cssBackgroundPlaceholder: string
|
||||
readonly deepinBrowser: string
|
||||
readonly deviceToday: string
|
||||
readonly deviceTotal: string
|
||||
readonly devTip: string
|
||||
readonly emptyTipsDesc: string
|
||||
readonly emptyTipsTitle: string
|
||||
readonly enableDesc: string
|
||||
readonly enableLabel: string
|
||||
readonly enableStatistics: string
|
||||
readonly enableStatisticsDesc: string
|
||||
readonly enhanceConfig: string
|
||||
readonly enhanceConfigChipDesc: string
|
||||
readonly enhanceConfigDesc: string
|
||||
readonly error: string
|
||||
readonly errorArgs: string
|
||||
readonly errorInfoToClipboard: string
|
||||
readonly evernote: string
|
||||
readonly evernoteUserId: string
|
||||
readonly evernoteUserIdDesc: string
|
||||
readonly executorFileAt: string
|
||||
readonly executorPrefix: string
|
||||
readonly executorSuffix: string
|
||||
readonly fetchOrderError: string
|
||||
readonly file: string
|
||||
readonly fileOpening: string
|
||||
readonly filePathInMatch: string
|
||||
readonly filePathInMatchDesc: string
|
||||
readonly filePathNonExistsTips: string
|
||||
readonly fileSelectorPlaceholder: string
|
||||
readonly filterNonExistsFiles: string
|
||||
readonly filterNonExistsFilesDesc: string
|
||||
readonly fullUrlInMatch: string
|
||||
readonly fullUrlInMatchDesc: string
|
||||
readonly getFavicon: string
|
||||
readonly getFaviconDesc: string
|
||||
readonly getFileIcon: string
|
||||
readonly getFileIconDesc: string
|
||||
readonly getProjectsError: string
|
||||
readonly here: string
|
||||
readonly historyLimit: string
|
||||
readonly historyLimitDesc: string
|
||||
readonly huaweiBrowser: string
|
||||
readonly inputDirectlyPlaceholder: string
|
||||
readonly inputPathDirectly: string
|
||||
readonly inputPathDirectlyDesc: string
|
||||
readonly languageSetting: string
|
||||
readonly languageSettingDesc: string
|
||||
readonly liebaoBrowser: string
|
||||
readonly local: string
|
||||
readonly localDesc: string
|
||||
readonly logo: string
|
||||
readonly logoDesc: string
|
||||
readonly maxthonBrowser: string
|
||||
readonly member: string
|
||||
readonly memberPrefix: string
|
||||
readonly moreStatistics: string
|
||||
readonly moreStatisticsComing: string
|
||||
readonly multiMatch: string
|
||||
readonly multiMatchDesc: string
|
||||
readonly nativeId: string
|
||||
readonly nativeIdDesc: string
|
||||
readonly needLogin: string
|
||||
readonly needReboot: string
|
||||
readonly needRebootDesc: string
|
||||
readonly nonExistsFileOrDeleted: string
|
||||
readonly nonExistsPathOrCancel: string
|
||||
readonly notifyFileOpen: string
|
||||
readonly notifyFileOpenDesc: string
|
||||
readonly onlyProvideForMember: string
|
||||
readonly onlyProvideForPluginMember: string
|
||||
readonly opacity: string
|
||||
readonly opacityDesc: string
|
||||
readonly openInNew: string
|
||||
readonly openInNewDesc: string
|
||||
readonly orderId: string
|
||||
readonly orderInfo: string
|
||||
readonly orderTime: string
|
||||
readonly outPluginImmediately: string
|
||||
readonly outPluginImmediatelyDesc: string
|
||||
readonly pathNotFound: string
|
||||
readonly picture: string
|
||||
readonly pictureDesc: string
|
||||
readonly picturePath: string
|
||||
readonly picturePathDesc: string
|
||||
readonly picturePathPlaceholder: string
|
||||
readonly pinyinIndex: string
|
||||
readonly pinyinIndexDesc: string
|
||||
readonly placeholder: string
|
||||
readonly plugin: string
|
||||
readonly pluginSetting: string
|
||||
readonly ready: string
|
||||
readonly reload: string
|
||||
readonly requestMoreApplication: string
|
||||
readonly safariBookmarkDesc: string
|
||||
readonly search: string
|
||||
readonly settingBetaDesc: string
|
||||
readonly settingDocument: string
|
||||
readonly shortcuts: string
|
||||
readonly showBookmarkCatalogue: string
|
||||
readonly showBookmarkCatalogueDesc: string
|
||||
readonly simpleCustom: string
|
||||
readonly smartTag: string
|
||||
readonly softwareAccessCount: string
|
||||
readonly softwareAccessCountByHour: string
|
||||
readonly sourceCodeRepository: string
|
||||
readonly statistics: string
|
||||
readonly surveyPrefix: string
|
||||
readonly surveySuffix: string
|
||||
readonly systemInformation: string
|
||||
readonly systemUser: string
|
||||
readonly systemVersion: string
|
||||
readonly tag: string
|
||||
readonly theme: string
|
||||
readonly toBeMember: string
|
||||
readonly toBeMemberDesc: string
|
||||
readonly toClipboard: string
|
||||
readonly totalCustom: string
|
||||
readonly twinkstarBrowser: string
|
||||
readonly unknownError: string
|
||||
readonly unknownInputError: string
|
||||
readonly unready: string
|
||||
readonly unSupportTipsDesc: string
|
||||
readonly unSupportTipsTitle: string
|
||||
readonly useCount: string
|
||||
readonly utoolsVersion: string
|
||||
readonly xiaobaiBrowser: string
|
||||
readonly homepage: string
|
||||
readonly clickToOpen: string
|
||||
readonly roundTips: string
|
||||
readonly roundCloseTips: string
|
||||
readonly unlimited: string
|
||||
readonly decreasePerformance: string
|
||||
readonly decreasePerformanceDesc: string
|
||||
readonly bought: string
|
||||
readonly openPluginMemberDialog: string
|
||||
readonly fusionMode: string
|
||||
readonly fusionModeDesc: string
|
||||
readonly configFolderSuffix: string
|
||||
readonly configFolderAt: string
|
||||
readonly offlineVersion: string
|
||||
readonly pluginVersion: string
|
||||
readonly snakeIndex: string
|
||||
readonly snakeIndexDesc: string
|
||||
readonly kebabIndex: string
|
||||
readonly kebabIndexDesc: string
|
||||
readonly camelCaseIndex: string
|
||||
readonly camelCaseIndexDesc: string
|
||||
readonly sortByAccessTime: string
|
||||
readonly sortByAccessTimeDesc: string
|
||||
}
|
||||
|
||||
let languageData = new I18n('zh-CN', {
|
||||
'zh-CN': { ...(new ZhCn()) },
|
||||
'en-US': { ...(new EnUs()) },
|
||||
})
|
||||
languageData.locale(navigator.language)
|
||||
|
||||
export const i18n = languageData
|
||||
Reference in New Issue
Block a user