Skip to content

Commit

Permalink
feat: add Chinese translation and new app for activity (#74)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhuozhiyongde authored Sep 4, 2023
1 parent e598256 commit f77241f
Show file tree
Hide file tree
Showing 11 changed files with 26 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,4 @@ next-env.d.ts
.idea


.vscode/sftp.json
Binary file added public/apps/excel.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/apps/goodnotes.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/apps/iina.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/apps/illustrator.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/apps/photoshop.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/apps/powerpoint.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/apps/remnote.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/apps/warp.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/apps/word.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
25 changes: 25 additions & 0 deletions src/components/layout/header/internal/Activity.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,12 @@ const appDescription = {
Code: 'Restart TS Server',
Infuse: '看片',
kitty: '撸猫',
IINA: '看片',
Warp: '耍杂技',
'Adobe Photoshop 2023': '抠图',
'Microsoft Word': '码字',
'Microsoft Excel': '雕花',
'Microsoft PowerPoint': '画饼',
} as any
const appLabels: { [app: string]: string } = {
'Activity Monitor': 'activity',
Expand All @@ -46,6 +52,25 @@ const appLabels: { [app: string]: string } = {
'Google Chrome': 'chrome',
'System Preferences': 'system',
'System Settings': 'system',
'Adobe Illustrator 2023': 'illustrator',
'Adobe Photoshop 2023': 'photoshop',
'Microsoft Word': 'word',
'Microsoft Excel': 'excel',
'Microsoft PowerPoint': 'powerpoint',
IINA: 'iina',
Warp: 'warp',
RemNote: 'remnote',

访达: 'finder',
邮件: 'mail',
地图: 'maps',
信息: 'messages',
音乐: 'music',
网易云音乐: 'netease',
备忘录: 'notes',
'Safari 浏览器': 'safari',
微信: 'wechat',
腾讯会议: 'tencent_meeting',
Alacritty: 'alacritty',
Arc: 'arc',
Chrome: 'chrome',
Expand Down

1 comment on commit f77241f

@vercel
Copy link

@vercel vercel bot commented on f77241f Sep 4, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

shiro – ./

shiro-git-main-innei.vercel.app
springtide.vercel.app
shiro-innei.vercel.app
innei.in

Please sign in to comment.