Skip to content

Commit

Permalink
Added variables/constants
Browse files Browse the repository at this point in the history
  • Loading branch information
mickeyjoes committed Nov 26, 2022
1 parent 00e2ae5 commit d374dd8
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .env
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ INLINE_RUNTIME_CHUNK=false
SKIP_PREFLIGHT_CHECK=true
ESLINT_NO_DEV_ERRORS=true
FAST_REFRESH=false
REACT_APP_NAME="SeedShuffler"
REACT_APP_BRAND="FortKnoxster Ltd."
REACT_APP_PLATFORM="Seed Shuffler"
REACT_APP_BRAND_NAME="FortKnoxster"
REACT_APP_DEFAULT_LOCALE=en-US
20 changes: 19 additions & 1 deletion src/constants/variables.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
// App details
export const APP_NAME = process.env.REACT_APP_NAME
export const APP_BRAND = process.env.REACT_APP_BRAND
export const APP_BRAND_NAME = process.env.REACT_APP_BRAND_NAME
export const DEFAULT_LOCALE = process.env.REACT_APP_DEFAULT_LOCALE

// Wordlists
export const WL_CHINESE_SI = 'chinese_simplified'
export const WL_CHINESE_TR = 'chinese_traditional'
export const WL_CZECH = 'czech'
Expand All @@ -8,4 +15,15 @@ export const WL_JAPANESE = 'japanese'
export const WL_KOREAN = 'korean'
export const WL_PORTUGUESE = 'portuguese'
export const WL_SPANISH = 'spanish'
export const DEFAULT_LOCALE = process.env.REACT_APP_DEFAULT_LOCALE

// Wordlist languages
export const WL_CHINESE_SI_NAME = '中文(简体)'
export const WL_CHINESE_TR_NAME = '中文(繁體)'
export const WL_CZECH_NAME = 'Čeština'
export const WL_ENGLISH_NAME = 'English'
export const WL_FRENCH_NAME = 'Français'
export const WL_ITALIAN_NAME = 'Italiano'
export const WL_JAPANESE_NAME = '日本語 '
export const WL_KOREAN_NAME = '한국어'
export const WL_PORTUGUESE_NAME = 'Português'
export const WL_SPANISH_NAME = 'Español'

0 comments on commit d374dd8

Please sign in to comment.