bugfix/language-select-label #2

Merged
lamacchinadesiderante merged 2 commits from bugfix/language-select-label into master 2023-01-08 21:05:10 +00:00
3 changed files with 9 additions and 7 deletions

View File

@ -1,7 +1,7 @@
{
"name": "frontend",
"private": true,
"version": "0.4.0",
"version": "0.4.4",
"type": "module",
"repository": "https://git.lamacchinadesiderante.org/lamacchinadesiderante/millelibri",
"scripts": {

View File

@ -104,7 +104,7 @@ const Search: React.FC<SearchProps> = ({ setBooks }) => {
{!showLanguageDropdown && (<SearchInput
icon={<Icon as={IoLanguage} />}
placeholder={t('book.language')}
placeholder={t('input.select_language')}
value={language}
onChange={handleLanguageChange}
onClear={handleLanguageReset}
@ -112,7 +112,7 @@ const Search: React.FC<SearchProps> = ({ setBooks }) => {
{showLanguageDropdown && (<SearchLanguage
icon={<Icon as={IoLanguage} />}
placeholder={t('book.language')}
placeholder={t('input.select_language')}
value={language}
onChange={handleLanguageChange}
/>)}

View File

@ -8,7 +8,8 @@
"toggle_language": "Toggle Language"
},
"input": {
"clear": "Clear"
"clear": "Clear",
"select_language": "(Select language...)"
},
"book": {
"id": "zlib/libgen id",
@ -60,7 +61,7 @@
"input": "Input..."
},
"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"
},
"input": {
"clear": "pulisci"
"clear": "pulisci",
"select_language": "(Seleziona lingua...)"
},
"book": {
"id": "ID zlib/libgen",
@ -182,7 +184,7 @@
"publisher": "Editore",
"extension": "Estensione",
"filesize": "Dimensione file",
"language": "(Seleziona lingua...)",
"language": "Lingua",
"year": "Anno",
"pages": "Pagina",
"isbn": "ISBN",