diff --git a/src/locales/en/color/index.ts b/src/locales/en/color/index.ts index 2f84c198438..79cc39f02f3 100644 --- a/src/locales/en/color/index.ts +++ b/src/locales/en/color/index.ts @@ -4,11 +4,9 @@ */ import type { ColorDefinitions } from '../../..'; import human from './human'; -import space from './space'; const color: ColorDefinitions = { human, - space, }; export default color; diff --git a/src/locales/en/database/index.ts b/src/locales/en/database/index.ts index 0fdb916369e..29fa3097938 100644 --- a/src/locales/en/database/index.ts +++ b/src/locales/en/database/index.ts @@ -3,16 +3,10 @@ * Run 'pnpm run generate:locales' to update. */ import type { DatabaseDefinitions } from '../../..'; -import collation from './collation'; import column from './column'; -import engine from './engine'; -import type_ from './type'; const database: DatabaseDefinitions = { - collation, column, - engine, - type: type_, }; export default database; diff --git a/src/locales/en/hacker/index.ts b/src/locales/en/hacker/index.ts index aa45642882b..97e12d5d1f0 100644 --- a/src/locales/en/hacker/index.ts +++ b/src/locales/en/hacker/index.ts @@ -3,7 +3,6 @@ * Run 'pnpm run generate:locales' to update. */ import type { HackerDefinitions } from '../../..'; -import abbreviation from './abbreviation'; import adjective from './adjective'; import ingverb from './ingverb'; import noun from './noun'; @@ -11,7 +10,6 @@ import phrase from './phrase'; import verb from './verb'; const hacker: HackerDefinitions = { - abbreviation, adjective, ingverb, noun, diff --git a/src/locales/en/index.ts b/src/locales/en/index.ts index 2ac4c15d470..3498308af69 100644 --- a/src/locales/en/index.ts +++ b/src/locales/en/index.ts @@ -22,7 +22,6 @@ import music from './music'; import person from './person'; import phone_number from './phone_number'; import science from './science'; -import system from './system'; import team from './team'; import vehicle from './vehicle'; import word from './word'; @@ -48,7 +47,6 @@ const en: LocaleDefinition = { person, phone_number, science, - system, team, vehicle, word, diff --git a/src/locales/en/internet/index.ts b/src/locales/en/internet/index.ts index e419245f948..7dd7014c7de 100644 --- a/src/locales/en/internet/index.ts +++ b/src/locales/en/internet/index.ts @@ -7,14 +7,12 @@ import avatar_uri from './avatar_uri'; import domain_suffix from './domain_suffix'; import example_email from './example_email'; import free_email from './free_email'; -import http_status_code from './http_status_code'; const internet: InternetDefinitions = { avatar_uri, domain_suffix, example_email, free_email, - http_status_code, }; export default internet; diff --git a/src/locales/en/location/index.ts b/src/locales/en/location/index.ts index e1f68cf9530..397bee86628 100644 --- a/src/locales/en/location/index.ts +++ b/src/locales/en/location/index.ts @@ -9,7 +9,6 @@ import city_name from './city_name'; import city_prefix from './city_prefix'; import city_suffix from './city_suffix'; import country from './country'; -import country_code from './country_code'; import county from './county'; import default_country from './default_country'; import direction from './direction'; @@ -21,7 +20,6 @@ import state_abbr from './state_abbr'; import street from './street'; import street_address from './street_address'; import street_suffix from './street_suffix'; -import time_zone from './time_zone'; const location: LocationDefinitions = { building_number, @@ -30,7 +28,6 @@ const location: LocationDefinitions = { city_prefix, city_suffix, country, - country_code, county, default_country, direction, @@ -42,7 +39,6 @@ const location: LocationDefinitions = { street, street_address, street_suffix, - time_zone, }; export default location; diff --git a/src/locales/global/color/index.ts b/src/locales/global/color/index.ts new file mode 100644 index 00000000000..6518bf19557 --- /dev/null +++ b/src/locales/global/color/index.ts @@ -0,0 +1,12 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { ColorDefinitions } from '../../..'; +import space from './space'; + +const color: ColorDefinitions = { + space, +}; + +export default color; diff --git a/src/locales/en/color/space.ts b/src/locales/global/color/space.ts similarity index 100% rename from src/locales/en/color/space.ts rename to src/locales/global/color/space.ts diff --git a/src/locales/en/database/collation.ts b/src/locales/global/database/collation.ts similarity index 100% rename from src/locales/en/database/collation.ts rename to src/locales/global/database/collation.ts diff --git a/src/locales/en/database/engine.ts b/src/locales/global/database/engine.ts similarity index 100% rename from src/locales/en/database/engine.ts rename to src/locales/global/database/engine.ts diff --git a/src/locales/global/database/index.ts b/src/locales/global/database/index.ts new file mode 100644 index 00000000000..3dfe9b32f8d --- /dev/null +++ b/src/locales/global/database/index.ts @@ -0,0 +1,16 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { DatabaseDefinitions } from '../../..'; +import collation from './collation'; +import engine from './engine'; +import type_ from './type'; + +const database: DatabaseDefinitions = { + collation, + engine, + type: type_, +}; + +export default database; diff --git a/src/locales/en/database/type.ts b/src/locales/global/database/type.ts similarity index 100% rename from src/locales/en/database/type.ts rename to src/locales/global/database/type.ts diff --git a/src/locales/en/hacker/abbreviation.ts b/src/locales/global/hacker/abbreviation.ts similarity index 100% rename from src/locales/en/hacker/abbreviation.ts rename to src/locales/global/hacker/abbreviation.ts diff --git a/src/locales/global/hacker/index.ts b/src/locales/global/hacker/index.ts new file mode 100644 index 00000000000..88450a37bea --- /dev/null +++ b/src/locales/global/hacker/index.ts @@ -0,0 +1,12 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { HackerDefinitions } from '../../..'; +import abbreviation from './abbreviation'; + +const hacker: HackerDefinitions = { + abbreviation, +}; + +export default hacker; diff --git a/src/locales/global/index.ts b/src/locales/global/index.ts index 0db539cceba..ce409589333 100644 --- a/src/locales/global/index.ts +++ b/src/locales/global/index.ts @@ -3,11 +3,21 @@ * Run 'pnpm run generate:locales' to update. */ import type { LocaleDefinition } from '../..'; +import color from './color'; +import database from './database'; +import hacker from './hacker'; import internet from './internet'; +import location from './location'; +import system from './system'; const global: LocaleDefinition = { title: 'Global', + color, + database, + hacker, internet, + location, + system, }; export default global; diff --git a/src/locales/en/internet/http_status_code.ts b/src/locales/global/internet/http_status_code.ts similarity index 100% rename from src/locales/en/internet/http_status_code.ts rename to src/locales/global/internet/http_status_code.ts diff --git a/src/locales/global/internet/index.ts b/src/locales/global/internet/index.ts index fa6e93c9eb0..94743bc08f2 100644 --- a/src/locales/global/internet/index.ts +++ b/src/locales/global/internet/index.ts @@ -4,9 +4,11 @@ */ import type { InternetDefinitions } from '../../..'; import emoji from './emoji'; +import http_status_code from './http_status_code'; const internet: InternetDefinitions = { emoji, + http_status_code, }; export default internet; diff --git a/src/locales/en/location/country_code.ts b/src/locales/global/location/country_code.ts similarity index 100% rename from src/locales/en/location/country_code.ts rename to src/locales/global/location/country_code.ts diff --git a/src/locales/global/location/index.ts b/src/locales/global/location/index.ts new file mode 100644 index 00000000000..93d8f0fc8c0 --- /dev/null +++ b/src/locales/global/location/index.ts @@ -0,0 +1,14 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { LocationDefinitions } from '../../..'; +import country_code from './country_code'; +import time_zone from './time_zone'; + +const location: LocationDefinitions = { + country_code, + time_zone, +}; + +export default location; diff --git a/src/locales/en/location/time_zone.ts b/src/locales/global/location/time_zone.ts similarity index 100% rename from src/locales/en/location/time_zone.ts rename to src/locales/global/location/time_zone.ts diff --git a/src/locales/en/system/directoryPaths.ts b/src/locales/global/system/directoryPaths.ts similarity index 100% rename from src/locales/en/system/directoryPaths.ts rename to src/locales/global/system/directoryPaths.ts diff --git a/src/locales/en/system/index.ts b/src/locales/global/system/index.ts similarity index 100% rename from src/locales/en/system/index.ts rename to src/locales/global/system/index.ts diff --git a/src/locales/en/system/mimeTypes.ts b/src/locales/global/system/mimeTypes.ts similarity index 100% rename from src/locales/en/system/mimeTypes.ts rename to src/locales/global/system/mimeTypes.ts