Skip to content

Commit

Permalink
feat(locale): add hacker for zh_CN (#2337)
Browse files Browse the repository at this point in the history
  • Loading branch information
CoolPlayLin committed Sep 3, 2023
1 parent 76886ad commit 9176fcb
Show file tree
Hide file tree
Showing 6 changed files with 95 additions and 0 deletions.
19 changes: 19 additions & 0 deletions src/locales/zh_CN/hacker/adjective.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
export default [
'辅助',
'主要',
'后端',
'开源',
'虚拟',
'跨平台',
'冗余',
'在线',
'触控',
'多字节',
'蓝牙',
'无线',
'全高清',
'神经元',
'光学',
'固态',
'移动',
];
18 changes: 18 additions & 0 deletions src/locales/zh_CN/hacker/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
/*
* This file is automatically generated.
* Run 'pnpm run generate:locales' to update.
*/
import type { HackerDefinition } from '../../..';
import adjective from './adjective';
import noun from './noun';
import phrase from './phrase';
import verb from './verb';

const hacker: HackerDefinition = {
adjective,
noun,
phrase,
verb,
};

export default hacker;
26 changes: 26 additions & 0 deletions src/locales/zh_CN/hacker/noun.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
export default [
'驱动',
'协议',
'带宽',
'面板',
'芯片',
'程序',
'端口',
'卡片',
'数组',
'接口',
'系统',
'传感器',
'防火墙',
'硬盘',
'像素',
'警报',
'提要',
'监视器',
'应用',
'发送端',
'总线',
'电路',
'电容器',
'矩阵',
];
10 changes: 10 additions & 0 deletions src/locales/zh_CN/hacker/phrase.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
export default [
'倘若我们{{verb}}{{noun}},我们就可以通过{{adjective}}{{abbreviation}}{{noun}}获得{{abbreviation}}{{noun}}!',
'我们需要{{verb}}{{adjective}}{{abbreviation}}{{noun}}!',
'尝试{{verb}}{{abbreviation}}{{noun}},也许会{{verb}}{{adjective}}{{noun}}!',
'在没有{{verb}}{{adjective}}{{abbreviation}}{{noun}}的情况下,你不能{{verb}}{{noun}}!',
'使用{{adjective}}{{abbreviation}}{{noun}},然后你就能{{verb}}{{adjective}}{{noun}}!',
'{{abbreviation}}{{noun}}已关闭,因为{{adjective}}{{noun}}所以我们能{{verb}}{{abbreviation}}{{noun}}!',
'{{verb}}{{noun}}是无济于事的,我们需要{{verb}}{{adjective}}{{abbreviation}}{{noun}}!',
'我将{{verb}}{{adjective}}{{abbreviation}}{{noun}},那是应该{{noun}}{{abbreviation}}{{noun}}!',
];
20 changes: 20 additions & 0 deletions src/locales/zh_CN/hacker/verb.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
export default [
'备份',
'绕过',
'入侵',
'覆盖',
'压缩',
'复制',
'导航',
'索引',
'链接',
'生成',
'量化',
'计算',
'合成',
'输入',
'传输',
'编程',
'重启',
'解析',
];
2 changes: 2 additions & 0 deletions src/locales/zh_CN/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import animal from './animal';
import color from './color';
import company from './company';
import date from './date';
import hacker from './hacker';
import internet from './internet';
import location from './location';
import metadata from './metadata';
Expand All @@ -20,6 +21,7 @@ const zh_CN: LocaleDefinition = {
color,
company,
date,
hacker,
internet,
location,
metadata,
Expand Down

0 comments on commit 9176fcb

Please sign in to comment.