Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
feat(locale): Add hacker module
  • Loading branch information
CoolPlayLin committed Aug 23, 2023
commit 14c12ca1cd56c430a06b6f4aefb9e95cf9ef3805
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 @@ -6,6 +6,7 @@ import type { LocaleDefinition } from '../..';
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 @@ -16,6 +17,7 @@ const zh_CN: LocaleDefinition = {
color,
company,
date,
hacker,
internet,
location,
metadata,
Expand Down