-
-
Notifications
You must be signed in to change notification settings - Fork 935
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(locale): normalize database data (#2873)
- Loading branch information
1 parent
425997f
commit 1eea7fe
Showing
9 changed files
with
70 additions
and
71 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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', | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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']; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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', | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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', | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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', | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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', | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
export default [ | ||
'标识', | ||
'标题', | ||
'名称', | ||
'邮箱', | ||
'手机', | ||
'令牌', | ||
'组别', | ||
'类别', | ||
'创建于', | ||
'名称', | ||
'头像', | ||
'密码', | ||
'手机', | ||
'更新于', | ||
'标识', | ||
'标题', | ||
'注释', | ||
'头像', | ||
'状态', | ||
'创建于', | ||
'更新于', | ||
'类别', | ||
'组别', | ||
'邮箱', | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"`; |