Eurakasa -> Euskara (#1420)

Co-authored-by: bilbao_iban <bilbao_iban@eitb.eus>
This commit is contained in:
zital
2023-02-10 10:25:21 +01:00
committed by GitHub
parent 7a0bfa2d68
commit f679109fe7
+1 -1
View File
@@ -5,7 +5,7 @@ export const getLocaleDisplayName = (locale, displayLocale = undefined) => {
// Different browsers seem to handle "eu" differently from the Node server.
// Special case this to avoid a hydration failure.
if (locale === "eu") {
return "Eurakasa";
return "Euskara";
}
const displayName = new Intl.DisplayNames([displayLocale || locale], { type: "language" }).of(locale);
// Return the Titlecased version of the language name.