mirror of
https://github.com/mue/mue.git
synced 2026-07-24 01:07:23 +02:00
fix: localised language display name in item info
- Inconstiency within Turkish translation file
This commit is contained in:
@@ -128,7 +128,9 @@ class Item extends PureComponent {
|
||||
);
|
||||
|
||||
const locale = localStorage.getItem('language');
|
||||
let languageNames = new Intl.DisplayNames(["en"], { type: "language" });
|
||||
console.log(locale);
|
||||
const shortLocale = locale.includes('_') ? locale.split('_')[0] : locale;
|
||||
let languageNames = new Intl.DisplayNames([shortLocale], { type: "language" });
|
||||
|
||||
return (
|
||||
<div id="item">
|
||||
|
||||
@@ -534,7 +534,7 @@
|
||||
"more_from_curator": "More from {name}",
|
||||
"show_more": "Daha Fazla Göster",
|
||||
"show_less": "Daha Az Göster",
|
||||
"show_all": "Hepsini Göster ↓",
|
||||
"show_all": "Hepsini Göster",
|
||||
"showing": "Gösteriliyor",
|
||||
"no_images": "Fotoğraf bulunamadı",
|
||||
"no_quotes": "Alıntı bulunamadı",
|
||||
|
||||
Reference in New Issue
Block a user