Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion public/locales/de/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,10 @@
"splitText": "Einen Text teilen",
"trimVideo": "Video zuschneiden"
},
"searchPlaceholder": "Alle Tools durchsuchen",
"search": {
"placeholder": "Alle Tools durchsuchen",
"noResult": "Keine Ergebnisse gefunden, versuchen Sie Ihre Suche oder Filterkriterien anzupassen"
},
"title": "Erledigen Sie Dinge schnell mit"
},
"inputFooter": {
Expand Down
5 changes: 4 additions & 1 deletion public/locales/en/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,10 @@
"splitText": "Split a text",
"trimVideo": "Trim video"
},
"searchPlaceholder": "Search all tools",
"search": {
"placeholder": "Search all tools",
"noResult": "No results found, Try adjusting your search or filter criteria"
},
"title": "Get Things Done Quickly with"
},
"inputFooter": {
Expand Down
5 changes: 4 additions & 1 deletion public/locales/es/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,10 @@
"splitText": "Dividir un texto",
"trimVideo": "Recortar vídeo"
},
"searchPlaceholder": "Buscar en todas las herramientas",
"search": {
"placeholder": "Buscar todas las herramientas",
"noResult": "No se encontraron resultados, intenta ajustar tu búsqueda o los criterios de filtro"
},
"title": "Haga las cosas rápidamente con"
},
"inputFooter": {
Expand Down
5 changes: 4 additions & 1 deletion public/locales/fr/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,10 @@
"splitText": "Diviser un texte",
"trimVideo": "Découper la vidéo"
},
"searchPlaceholder": "Rechercher tous les outils",
"search": {
"placeholder": "Rechercher tous les outils",
"noResult": "Aucun résultat trouvé, essayez d'ajuster votre recherche ou vos critères de filtre"
},
"title": "Faites avancer les choses rapidement avec"
},
"inputFooter": {
Expand Down
5 changes: 4 additions & 1 deletion public/locales/hi/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,10 @@
"splitText": "टेक्स्ट विभाजित करें",
"trimVideo": "वीडियो ट्रिम करें"
},
"searchPlaceholder": "सभी टूल्स खोजें",
"search": {
"placeholder": "सभी टूल खोजें",
"noResult": "कोई परिणाम नहीं मिला, अपनी खोज या फ़िल्टर मानदंड समायोजित करने का प्रयास करें"
},
"title": "के साथ जल्दी काम करें"
},
"inputFooter": {
Expand Down
5 changes: 4 additions & 1 deletion public/locales/ja/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,10 @@
"splitText": "テキストを分割する",
"trimVideo": "ビデオをトリミングする"
},
"searchPlaceholder": "すべてのツールを検索",
"search": {
"placeholder": "すべてのツールを検索",
"noResult": "結果が見つかりません。検索条件またはフィルター条件を調整してみてください"
},
"title": "物事を素早く終わらせる"
},
"inputFooter": {
Expand Down
5 changes: 4 additions & 1 deletion public/locales/nl/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,10 @@
"splitText": "Een tekst splitsen",
"trimVideo": "Video bijsnijden"
},
"searchPlaceholder": "Zoek in alle tools",
"search": {
"placeholder": "Alle tools doorzoeken",
"noResult": "Geen resultaten gevonden, probeer uw zoekopdracht of filtercriteria aan te passen"
},
"title": "Krijg dingen snel gedaan met"
},
"inputFooter": {
Expand Down
5 changes: 4 additions & 1 deletion public/locales/pt/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,10 @@
"splitText": "Dividir um texto",
"trimVideo": "Cortar vídeo"
},
"searchPlaceholder": "Pesquisar todas as ferramentas",
"search": {
"placeholder": "Pesquisar todas as ferramentas",
"noResult": "Nenhum resultado encontrado, tente ajustar a sua pesquisa ou os critérios de filtro"
},
"title": "Faça as coisas rapidamente com"
},
"inputFooter": {
Expand Down
5 changes: 4 additions & 1 deletion public/locales/ru/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,10 @@
"splitText": "Разделить текст",
"trimVideo": "Обрезать видео"
},
"searchPlaceholder": "Найти инструмент…",
"search": {
"placeholder": "Поиск по всем инструментам",
"noResult": "Результаты не найдены, попробуйте изменить параметры поиска или фильтрации"
},
"title": "Выполняйте задачи быстро с помощью"
},
"inputFooter": {
Expand Down
9 changes: 8 additions & 1 deletion public/locales/zh/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,10 @@
"splitText": "拆分文本",
"trimVideo": "修剪视频"
},
"searchPlaceholder": "搜索所有工具",
"search": {
"placeholder": "搜索所有工具",
"noResult": "未找到结果 请尝试调整搜索或筛选条件"
},
"title": "快速完成工作"
},
"inputFooter": {
Expand Down Expand Up @@ -223,6 +226,10 @@
"toolLayout": {
"allToolsTitle": "全部 {{type}}"
},
"toolsByCategory": {
"noResultsTitle": "未找到工具",
"noResultsDescription": "请尝试调整搜索条件或筛选条件"
},
"toolMultiFileResult": {
"copied": "文件已复制",
"copyFailed": "复制失败: {{error}}",
Expand Down
3 changes: 2 additions & 1 deletion src/components/Hero.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ export default function Hero() {
sx={{ mb: 2 }}
autoHighlight
options={filteredTools}
noOptionsText={t('translation:hero.search.noResult')}
// Disable default MUI filtering since we already apply custom filterTools
filterOptions={(options) => options}
groupBy={(option) => option.type}
Expand All @@ -167,7 +168,7 @@ export default function Hero() {
<TextField
{...params}
fullWidth
placeholder={t('translation:hero.searchPlaceholder')}
placeholder={t('translation:hero.search.placeholder')}
InputProps={{
...params.InputProps,
endAdornment: <SearchIcon />,
Expand Down
3 changes: 2 additions & 1 deletion src/pages/tools-by-category/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,8 @@ export default function ToolsByCategory() {
</Typography>
</Stack>
<TextField
placeholder={'Search'}
placeholder={t('translation:hero.search.placeholder')}
aria-label={t('translation:hero.search.placeholder')}
InputProps={{
endAdornment: <SearchIcon />,
sx: {
Expand Down
Loading