Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typos in Locale names #541

Merged
merged 1 commit into from
Feb 20, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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