Skip to content

Commit

Permalink
🐛 fix: fix CHANGELOG and locale order
Browse files Browse the repository at this point in the history
  • Loading branch information
bentwnghk committed Mar 7, 2024
1 parent 515721a commit b50fd63
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions src/const/url.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ export const OFFICIAL_URL = 'https://ai.mister5.net/';
export const getCanonicalUrl = (path: string) => urlJoin(OFFICIAL_URL, path);

export const GITHUB = pkg.homepage;
export const CHANGELOG = 'https://github.com/bentwnghk/lobe-chat/blob/master/CHANGELOG.md';
export const ABOUT = 'https://mr5drive.com/';
export const FEEDBACK = 'https://mr5drive.com/';
export const DISCORD = 'https://speak.mister5.net/';
export const CHANGELOG = 'https://mr5drive.com';
export const ABOUT = 'https://mr5drive.com';
export const FEEDBACK = 'https://mr5drive.com';
export const DISCORD = 'https://speak.mister5.net';
export const PRIVACY_URL = 'https://mr5drive.com/privacy';
// const { LOBE_CHAT_DOCS } = getClientConfig();
// export const DOCUMENTS = !!LOBE_CHAT_DOCS ? '/docs' : 'https://chat-docs.lobehub.com';
Expand Down
10 changes: 5 additions & 5 deletions src/locales/resources.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export const normalizeLocale = (locale?: string) => {
switch (locale) {
case 'zh-CN':
case 'zh': {
return 'zh-CN';
return 'zh-TW';
}

case 'en': {
Expand All @@ -48,14 +48,14 @@ export const localeOptions: LocaleOptions = [
label: 'English',
value: 'en-US',
},
{
label: '简体中文',
value: 'zh-CN',
},
{
label: '繁體中文',
value: 'zh-TW',
},
{
label: '简体中文',
value: 'zh-CN',
},
{
label: '日本語',
value: 'ja-JP',
Expand Down

0 comments on commit b50fd63

Please sign in to comment.