fix language issue
This commit is contained in:
parent
ed5ea52618
commit
24c0dca9e2
|
@ -104,7 +104,7 @@ const Search: React.FC<SearchProps> = ({ setBooks }) => {
|
||||||
|
|
||||||
{!showLanguageDropdown && (<SearchInput
|
{!showLanguageDropdown && (<SearchInput
|
||||||
icon={<Icon as={IoLanguage} />}
|
icon={<Icon as={IoLanguage} />}
|
||||||
placeholder={t('book.language')}
|
placeholder={t('input.select_language')}
|
||||||
value={language}
|
value={language}
|
||||||
onChange={handleLanguageChange}
|
onChange={handleLanguageChange}
|
||||||
onClear={handleLanguageReset}
|
onClear={handleLanguageReset}
|
||||||
|
@ -112,7 +112,7 @@ const Search: React.FC<SearchProps> = ({ setBooks }) => {
|
||||||
|
|
||||||
{showLanguageDropdown && (<SearchLanguage
|
{showLanguageDropdown && (<SearchLanguage
|
||||||
icon={<Icon as={IoLanguage} />}
|
icon={<Icon as={IoLanguage} />}
|
||||||
placeholder={t('book.language')}
|
placeholder={t('input.select_language')}
|
||||||
value={language}
|
value={language}
|
||||||
onChange={handleLanguageChange}
|
onChange={handleLanguageChange}
|
||||||
/>)}
|
/>)}
|
||||||
|
|
|
@ -8,7 +8,8 @@
|
||||||
"toggle_language": "Toggle Language"
|
"toggle_language": "Toggle Language"
|
||||||
},
|
},
|
||||||
"input": {
|
"input": {
|
||||||
"clear": "Clear"
|
"clear": "Clear",
|
||||||
|
"select_language": "(Select language...)"
|
||||||
},
|
},
|
||||||
"book": {
|
"book": {
|
||||||
"id": "zlib/libgen id",
|
"id": "zlib/libgen id",
|
||||||
|
@ -60,7 +61,7 @@
|
||||||
"input": "Input..."
|
"input": "Input..."
|
||||||
},
|
},
|
||||||
"disclaimer": {
|
"disclaimer": {
|
||||||
"nolink_warning": "WARNING: This platform does not host any kind of link to copyrighted material. It just displays CID related to IPFS resources"
|
"nolink_warning": "WARNING: This platform does not host any kind of link to copyrighted material. It just displays CID related to IPFS resources."
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -173,7 +174,8 @@
|
||||||
"toggle_language": "Lingua"
|
"toggle_language": "Lingua"
|
||||||
},
|
},
|
||||||
"input": {
|
"input": {
|
||||||
"clear": "pulisci"
|
"clear": "pulisci",
|
||||||
|
"select_language": "(Seleziona lingua...)"
|
||||||
},
|
},
|
||||||
"book": {
|
"book": {
|
||||||
"id": "ID zlib/libgen",
|
"id": "ID zlib/libgen",
|
||||||
|
|
Loading…
Reference in New Issue