Skip to content

Commit

Permalink
fix locale typos (#541)
Browse files Browse the repository at this point in the history
  • Loading branch information
lukellmann authored Feb 20, 2022
1 parent ec4a2cc commit d8960aa
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions common/src/main/kotlin/Locale.kt
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public data class Locale(val language: String, val country: String? = null) {
/**
* English (Great Britain).
*/
public val ENGLISH_GREAT_BRITAN: Locale = Locale("en", "GB")
public val ENGLISH_GREAT_BRITAIN: Locale = Locale("en", "GB")

/**
* Bulgarian.
Expand Down Expand Up @@ -108,7 +108,7 @@ public data class Locale(val language: String, val country: String? = null) {
/**
* Japanese.
*/
public val JAPENESE: Locale = Locale("ja")
public val JAPANESE: Locale = Locale("ja")

/**
* Korean.
Expand Down Expand Up @@ -180,7 +180,7 @@ public data class Locale(val language: String, val country: String? = null) {
* All languages [supported by Discord](https://discord.com/developers/docs/reference#Locales).
*/
public val ALL: List<Locale> = listOf(
ENGLISH_UNITED_STATES, ENGLISH_GREAT_BRITAN,
ENGLISH_UNITED_STATES, ENGLISH_GREAT_BRITAIN,
BULGARIAN,
CHINESE_CHINA, CHINESE_TAIWAN,
CROATIAN,
Expand All @@ -194,7 +194,7 @@ public data class Locale(val language: String, val country: String? = null) {
HINDI,
HUNGARIAN,
ITALIAN,
JAPENESE,
JAPANESE,
KOREAN,
LITHUANIAN,
NORWEGIAN,
Expand Down

0 comments on commit d8960aa

Please sign in to comment.