fix(searchBarV2): translation search bar placeholder

This commit is contained in:
danis
2023-12-06 20:08:47 +01:00
parent cba8815cfc
commit d717269563
2 changed files with 4 additions and 1 deletions

View File

@@ -88,7 +88,7 @@ const SearchBarComponent = () => {
type="text"
value={query}
variant={'unstyled'}
placeholder="What are you looking for ?"
placeholder={translate('searchBarPlaceholder')}
style={{ width: '100%', height: 30 }}
onChangeText={(value) => setQuery(value)}
/>

View File

@@ -84,6 +84,7 @@ export const en = {
songsFilter: 'Songs',
genreFilter: 'Genres',
favoriteFilter: 'Favorites',
searchBarPlaceholder: 'What are you looking for ?',
// profile page
user: 'Profile',
@@ -396,6 +397,7 @@ export const fr: typeof en = {
songsFilter: 'Morceaux',
genreFilter: 'Genres',
favoriteFilter: 'Favoris',
searchBarPlaceholder: 'Que recherchez vous ?',
// Difficulty settings
diffBtn: 'Difficulté',
@@ -701,6 +703,7 @@ export const sp: typeof en = {
songsFilter: 'canciones',
genreFilter: 'géneros',
favoriteFilter: 'Favorites',
searchBarPlaceholder: 'Qué estás buscando ?',
// Difficulty settings
diffBtn: 'Dificultad',