From c5d893401be7b9cdf3e54930df0681ea9f43be06 Mon Sep 17 00:00:00 2001 From: Eric Cheng Date: Sat, 18 Jun 2022 12:42:55 -0400 Subject: [PATCH] feat: add abbreviations to `hacker.abbreviation()` in the `en` locale (#1086) Co-authored-by: Shinigami --- src/locales/en/hacker/abbreviation.ts | 55 ++++++++++++++++---------- test/__snapshots__/hacker.spec.ts.snap | 12 +++--- 2 files changed, 40 insertions(+), 27 deletions(-) diff --git a/src/locales/en/hacker/abbreviation.ts b/src/locales/en/hacker/abbreviation.ts index 7757987e45b..8691d668b35 100644 --- a/src/locales/en/hacker/abbreviation.ts +++ b/src/locales/en/hacker/abbreviation.ts @@ -1,31 +1,44 @@ export default [ - 'TCP', - 'HTTP', - 'SDD', - 'RAM', - 'GB', - 'CSS', - 'SSL', + 'ADP', 'AGP', - 'SQL', - 'FTP', - 'PCI', 'AI', - 'ADP', - 'RSS', - 'XML', - 'EXE', + 'API', + 'ASCII', + 'CLI', 'COM', + 'CSS', + 'DNS', + 'DRAM', + 'EXE', + 'FTP', + 'GB', 'HDD', - 'THX', - 'SMTP', - 'SMS', - 'USB', + 'HEX', + 'HTTP', + 'IB', + 'IP', + 'JBOD', + 'JSON', + 'OCR', + 'PCI', 'PNG', + 'RAM', + 'RSS', 'SAS', - 'IB', 'SCSI', - 'JSON', + 'SDD', + 'SMS', + 'SMTP', + 'SQL', + 'SSD', + 'SSL', + 'TCP', + 'THX', + 'TLS', + 'UDP', + 'USB', + 'UTF8', + 'VGA', + 'XML', 'XSS', - 'JBOD', ]; diff --git a/test/__snapshots__/hacker.spec.ts.snap b/test/__snapshots__/hacker.spec.ts.snap index b58c10a9bf9..29f6a9f2628 100644 --- a/test/__snapshots__/hacker.spec.ts.snap +++ b/test/__snapshots__/hacker.spec.ts.snap @@ -1,6 +1,6 @@ // Vitest Snapshot v1 -exports[`name > seed: 42 > abbreviation() 1`] = `"PCI"`; +exports[`name > seed: 42 > abbreviation() 1`] = `"HTTP"`; exports[`name > seed: 42 > adjective() 1`] = `"cross-platform"`; @@ -8,11 +8,11 @@ exports[`name > seed: 42 > ingverb() 1`] = `"copying"`; exports[`name > seed: 42 > noun() 1`] = `"array"`; -exports[`name > seed: 42 > phrase() 1`] = `"Try to transmit the SAS microchip, maybe it will quantify the mobile monitor!"`; +exports[`name > seed: 42 > phrase() 1`] = `"Try to transmit the TCP microchip, maybe it will quantify the mobile monitor!"`; exports[`name > seed: 42 > verb() 1`] = `"navigate"`; -exports[`name > seed: 1211 > abbreviation() 1`] = `"JSON"`; +exports[`name > seed: 1211 > abbreviation() 1`] = `"UTF8"`; exports[`name > seed: 1211 > adjective() 1`] = `"solid state"`; @@ -20,11 +20,11 @@ exports[`name > seed: 1211 > ingverb() 1`] = `"programming"`; exports[`name > seed: 1211 > noun() 1`] = `"capacitor"`; -exports[`name > seed: 1211 > phrase() 1`] = `"I'll back up the neural RSS program, that should panel the SCSI matrix!"`; +exports[`name > seed: 1211 > phrase() 1`] = `"I'll back up the neural JSON program, that should panel the USB matrix!"`; exports[`name > seed: 1211 > verb() 1`] = `"reboot"`; -exports[`name > seed: 1337 > abbreviation() 1`] = `"AGP"`; +exports[`name > seed: 1337 > abbreviation() 1`] = `"FTP"`; exports[`name > seed: 1337 > adjective() 1`] = `"open-source"`; @@ -32,6 +32,6 @@ exports[`name > seed: 1337 > ingverb() 1`] = `"compressing"`; exports[`name > seed: 1337 > noun() 1`] = `"port"`; -exports[`name > seed: 1337 > phrase() 1`] = `"Try to generate the COM program, maybe it will connect the back-end port!"`; +exports[`name > seed: 1337 > phrase() 1`] = `"Try to generate the RAM program, maybe it will connect the back-end port!"`; exports[`name > seed: 1337 > verb() 1`] = `"compress"`;