mirror of
https://github.com/maelgangloff/domain-watchdog.git
synced 2025-12-29 16:15:04 +00:00
fix: TldPage translate country name
This commit is contained in:
@@ -23,7 +23,8 @@ const getCountryCode = (tld: string): string => {
|
|||||||
return tld
|
return tld
|
||||||
}
|
}
|
||||||
|
|
||||||
const regionNames = new Intl.DisplayNames(['en'], {type: 'region'})
|
const locale = navigator.language.split('-')[0]
|
||||||
|
const regionNames = new Intl.DisplayNames([locale], {type: 'region'})
|
||||||
|
|
||||||
|
|
||||||
function TldTable(filters: FiltersType) {
|
function TldTable(filters: FiltersType) {
|
||||||
|
|||||||
Reference in New Issue
Block a user