New Crowdin updates #483
@ -11,6 +11,7 @@ import huMessages from "translations/hu.json";
|
||||
import idMessages from "translations/id.json";
|
||||
import arMessages from "translations/ar.json";
|
||||
import itMessages from "translations/it.json";
|
||||
import deMessages from "translations/de.json";
|
||||
|
||||
const DEFAULT_LOCALE = "en-US";
|
||||
|
||||
@ -34,6 +35,8 @@ const getMessages = (locale: string) => {
|
||||
return arMessages;
|
||||
case "it":
|
||||
return itMessages;
|
||||
case "de":
|
||||
return deMessages;
|
||||
default:
|
||||
return enMessages;
|
||||
}
|
||||
|
@ -40,7 +40,7 @@ const PreferencesPage = () => {
|
||||
)
|
||||
}
|
||||
style={{ textTransform: "capitalize" }}>
|
||||
{["en", "ja", "es", "hu", "zh", "fr", "ar", "it", "id"].sort().map(a => (
|
||||
{["en", "ja", "es", "hu", "zh", "fr", "ar", "it", "id", "de"].sort().map(a => (
|
||||
<option value={a}>
|
||||
{new Intl.DisplayNames([a], {
|
||||
type: "language",
|
||||
|
@ -27,7 +27,7 @@ export interface UserPreferences {
|
||||
/**
|
||||
* User selected language
|
||||
*/
|
||||
language?: "en" | "ja" | "es" | "hu" | "zh" | "fr" | "ar" | "it" | "id";
|
||||
language?: "en" | "ja" | "es" | "hu" | "zh" | "fr" | "ar" | "it" | "id" | "de";
|
||||
|
||||
/**
|
||||
* Enable reactions / reposts / zaps
|
||||
|
Loading…
Reference in New Issue
Block a user