Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
1 change: 0 additions & 1 deletion scripts/generate-locales.ts
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,6 @@ async function normalizeLocaleFile(filePath: string, definitionKey: string) {
const legacyDefinitions = ['app', 'cell_phone', 'team'];
const definitionsToSkip = [
'company',
'database',
'date',
'finance',
'internet',
Expand Down
6 changes: 3 additions & 3 deletions src/locales/base/database/collation.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
export default [
'utf8_unicode_ci',
'utf8_general_ci',
'utf8_bin',
'ascii_bin',
'ascii_general_ci',
'cp1250_bin',
'cp1250_general_ci',
'utf8_bin',
'utf8_general_ci',
'utf8_unicode_ci',
];
2 changes: 1 addition & 1 deletion src/locales/base/database/engine.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export default ['InnoDB', 'MyISAM', 'MEMORY', 'CSV', 'BLACKHOLE', 'ARCHIVE'];
export default ['ARCHIVE', 'BLACKHOLE', 'CSV', 'InnoDB', 'MEMORY', 'MyISAM'];
34 changes: 17 additions & 17 deletions src/locales/base/database/type.ts
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
export default [
'int',
'varchar',
'text',
'bigint',
'binary',
'bit',
'blob',
'boolean',
'date',
'datetime',
'tinyint',
'time',
'timestamp',
'smallint',
'mediumint',
'bigint',
'decimal',
'float',
'double',
'real',
'bit',
'boolean',
'serial',
'blob',
'binary',
'enum',
'set',
'float',
'geometry',
'int',
'mediumint',
'point',
'real',
'serial',
'set',
'smallint',
'text',
'time',
'timestamp',
'tinyint',
'varchar',
];
26 changes: 13 additions & 13 deletions src/locales/de/database/column.ts
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
export default [
'id',
'titel',
'name',
'aktualisiertAm',
'artikelnummer',
'avatar',
'bearbeitetAm',
'email',
'telefonnummer',
'token',
'erstelltAm',
'geburtsdatum',
'gruppe',
'id',
'kategorie',
'passwort',
'kommentar',
'avatar',
'nachname',
'name',
'passwort',
'status',
'erstelltAm',
'aktualisiertAm',
'bearbeitetAm',
'telefonnummer',
'titel',
'token',
'vorname',
'nachname',
'geburtsdatum',
'artikelnummer',
];
18 changes: 9 additions & 9 deletions src/locales/en/database/column.ts
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
export default [
'id',
'title',
'name',
'avatar',
'category',
'comment',
'createdAt',
'email',
'phone',
'token',
'group',
'category',
'id',
'name',
'password',
'comment',
'avatar',
'phone',
'status',
'createdAt',
'title',
'token',
'updatedAt',
];
10 changes: 5 additions & 5 deletions src/locales/eo/database/column.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
export default [
'identigilo',
'titolo',
'nomo',
'telefonnumero',
'grupo',
'identigilo',
'kategorio',
'pasvorto',
'komento',
'nomo',
'pasvorto',
'profilbildo',
'stato',
'telefonnumero',
'titolo',
];
20 changes: 10 additions & 10 deletions src/locales/zh_CN/database/column.ts
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
export default [
'标识',
'标题',
'名称',
'邮箱',
'手机',
'令牌',
'组别',
'类别',
'创建于',
'名称',
'头像',
'密码',
'手机',
'更新于',
'标识',
'标题',
'注释',
'头像',
'状态',
'创建于',
'更新于',
'类别',
'组别',
'邮箱',
];
24 changes: 12 additions & 12 deletions test/modules/__snapshots__/database.spec.ts.snap
Original file line number Diff line number Diff line change
@@ -1,31 +1,31 @@
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html

exports[`database > 42 > collation 1`] = `"utf8_bin"`;
exports[`database > 42 > collation 1`] = `"cp1250_bin"`;

exports[`database > 42 > column 1`] = `"token"`;
exports[`database > 42 > column 1`] = `"group"`;

exports[`database > 42 > engine 1`] = `"MEMORY"`;
exports[`database > 42 > engine 1`] = `"CSV"`;

exports[`database > 42 > mongodbObjectId 1`] = `"8ead331ddf0fc4446b96d368"`;

exports[`database > 42 > type 1`] = `"smallint"`;
exports[`database > 42 > type 1`] = `"double"`;

exports[`database > 1211 > collation 1`] = `"cp1250_general_ci"`;
exports[`database > 1211 > collation 1`] = `"utf8_unicode_ci"`;

exports[`database > 1211 > column 1`] = `"createdAt"`;
exports[`database > 1211 > column 1`] = `"token"`;

exports[`database > 1211 > engine 1`] = `"ARCHIVE"`;
exports[`database > 1211 > engine 1`] = `"MyISAM"`;

exports[`database > 1211 > mongodbObjectId 1`] = `"ed4fefa7fbaec9dc4c48fa8e"`;

exports[`database > 1211 > type 1`] = `"geometry"`;
exports[`database > 1211 > type 1`] = `"tinyint"`;

exports[`database > 1337 > collation 1`] = `"utf8_general_ci"`;
exports[`database > 1337 > collation 1`] = `"ascii_general_ci"`;

exports[`database > 1337 > column 1`] = `"email"`;
exports[`database > 1337 > column 1`] = `"createdAt"`;

exports[`database > 1337 > engine 1`] = `"MyISAM"`;
exports[`database > 1337 > engine 1`] = `"BLACKHOLE"`;

exports[`database > 1337 > mongodbObjectId 1`] = `"536a7b5fa28d2f9bb79ca46e"`;

exports[`database > 1337 > type 1`] = `"time"`;
exports[`database > 1337 > type 1`] = `"datetime"`;