Skip to content

Commit

Permalink
move more stuff to global
Browse files Browse the repository at this point in the history
  • Loading branch information
Shinigami92 committed Jan 27, 2023
1 parent ac07bc6 commit b0cccb2
Show file tree
Hide file tree
Showing 24 changed files with 68 additions and 20 deletions.
2 changes: 0 additions & 2 deletions src/locales/en/color/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,9 @@
*/
import type { ColorDefinitions } from '../../..';
import human from './human';
import space from './space';

const color: ColorDefinitions = {
human,
space,
};

export default color;
6 changes: 0 additions & 6 deletions src/locales/en/database/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
2 changes: 0 additions & 2 deletions src/locales/en/hacker/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,13 @@
* 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';
import phrase from './phrase';
import verb from './verb';

const hacker: HackerDefinitions = {
abbreviation,
adjective,
ingverb,
noun,
Expand Down
2 changes: 0 additions & 2 deletions src/locales/en/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,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';
Expand All @@ -47,7 +46,6 @@ const en: LocaleDefinition = {
person,
phone_number,
science,
system,
team,
vehicle,
word,
Expand Down
2 changes: 0 additions & 2 deletions src/locales/en/internet/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
6 changes: 0 additions & 6 deletions src/locales/en/location/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +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 country_code_alpha_3 from './country_code_alpha_3';
import county from './county';
import default_country from './default_country';
import direction from './direction';
Expand All @@ -22,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,
Expand All @@ -31,8 +28,6 @@ const location: LocationDefinitions = {
city_prefix,
city_suffix,
country,
country_code,
country_code_alpha_3,
county,
default_country,
direction,
Expand All @@ -44,7 +39,6 @@ const location: LocationDefinitions = {
street,
street_address,
street_suffix,
time_zone,
};

export default location;
12 changes: 12 additions & 0 deletions src/locales/global/color/index.ts
Original file line number Diff line number Diff line change
@@ -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;
File renamed without changes.
File renamed without changes.
File renamed without changes.
16 changes: 16 additions & 0 deletions src/locales/global/database/index.ts
Original file line number Diff line number Diff line change
@@ -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;
File renamed without changes.
File renamed without changes.
12 changes: 12 additions & 0 deletions src/locales/global/hacker/index.ts
Original file line number Diff line number Diff line change
@@ -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;
10 changes: 10 additions & 0 deletions src/locales/global/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
File renamed without changes.
2 changes: 2 additions & 0 deletions src/locales/global/internet/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
File renamed without changes.
16 changes: 16 additions & 0 deletions src/locales/global/location/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
/*
* This file is automatically generated.
* Run 'pnpm run generate:locales' to update.
*/
import type { LocationDefinitions } from '../../..';
import country_code from './country_code';
import country_code_alpha_3 from './country_code_alpha_3';
import time_zone from './time_zone';

const location: LocationDefinitions = {
country_code,
country_code_alpha_3,
time_zone,
};

export default location;
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit b0cccb2

Please sign in to comment.