missing translations
This commit is contained in:
parent
366955c936
commit
ef65459600
|
|
@ -1463,7 +1463,7 @@
|
||||||
class="flex items-center justify-between mt-1.5 px-2 py-0.5 rounded text-xs"
|
class="flex items-center justify-between mt-1.5 px-2 py-0.5 rounded text-xs"
|
||||||
style="background-color: var(--bg-tertiary); color: var(--text-secondary);"
|
style="background-color: var(--bg-tertiary); color: var(--text-secondary);"
|
||||||
>
|
>
|
||||||
<span x-text="`Match ${currentMatchIndex + 1} of ${totalMatches}`"></span>
|
<span x-text="t('search.match_of', { current: currentMatchIndex + 1, total: totalMatches })"></span>
|
||||||
<div class="flex gap-1">
|
<div class="flex gap-1">
|
||||||
<button @click="previousMatch()" class="px-2 py-1 rounded hover:bg-opacity-80" style="background-color: var(--bg-primary); color: var(--text-primary);" :title="t('search.previous')">
|
<button @click="previousMatch()" class="px-2 py-1 rounded hover:bg-opacity-80" style="background-color: var(--bg-primary); color: var(--text-primary);" :title="t('search.previous')">
|
||||||
<svg class="w-3 h-3" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 19l-7-7 7-7"></path></svg>
|
<svg class="w-3 h-3" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 19l-7-7 7-7"></path></svg>
|
||||||
|
|
@ -1480,7 +1480,7 @@
|
||||||
<template x-if="searchQuery.trim() && searchResults.length > 0">
|
<template x-if="searchQuery.trim() && searchResults.length > 0">
|
||||||
<div class="p-2">
|
<div class="p-2">
|
||||||
<div class="text-xs px-2 py-1 mb-1" style="color: var(--text-tertiary);">
|
<div class="text-xs px-2 py-1 mb-1" style="color: var(--text-tertiary);">
|
||||||
<span x-text="`${searchResults.length} result${searchResults.length === 1 ? '' : 's'}`"></span>
|
<span x-text="searchResults.length + ' ' + t(searchResults.length === 1 ? 'search.result_singular' : 'search.result_plural')"></span>
|
||||||
</div>
|
</div>
|
||||||
<template x-for="note in searchResults" :key="note.path">
|
<template x-for="note in searchResults" :key="note.path">
|
||||||
<div
|
<div
|
||||||
|
|
|
||||||
|
|
@ -183,7 +183,10 @@
|
||||||
"search": {
|
"search": {
|
||||||
"previous": "Vorheriger (Umschalt+F3)",
|
"previous": "Vorheriger (Umschalt+F3)",
|
||||||
"next": "Nächster (F3)",
|
"next": "Nächster (F3)",
|
||||||
"matches": "{{current}} von {{total}}"
|
"matches": "{{current}} von {{total}}",
|
||||||
|
"match_of": "Treffer {{current}} von {{total}}",
|
||||||
|
"result_singular": "Ergebnis",
|
||||||
|
"result_plural": "Ergebnisse"
|
||||||
},
|
},
|
||||||
|
|
||||||
"theme": {
|
"theme": {
|
||||||
|
|
|
||||||
|
|
@ -183,7 +183,10 @@
|
||||||
"search": {
|
"search": {
|
||||||
"previous": "Previous (Shift+F3)",
|
"previous": "Previous (Shift+F3)",
|
||||||
"next": "Next (F3)",
|
"next": "Next (F3)",
|
||||||
"matches": "{{current}} of {{total}}"
|
"matches": "{{current}} of {{total}}",
|
||||||
|
"match_of": "Match {{current}} of {{total}}",
|
||||||
|
"result_singular": "result",
|
||||||
|
"result_plural": "results"
|
||||||
},
|
},
|
||||||
|
|
||||||
"theme": {
|
"theme": {
|
||||||
|
|
|
||||||
|
|
@ -183,7 +183,10 @@
|
||||||
"search": {
|
"search": {
|
||||||
"previous": "Anterior (Shift+F3)",
|
"previous": "Anterior (Shift+F3)",
|
||||||
"next": "Siguiente (F3)",
|
"next": "Siguiente (F3)",
|
||||||
"matches": "{{current}} de {{total}}"
|
"matches": "{{current}} de {{total}}",
|
||||||
|
"match_of": "Coincidencia {{current}} de {{total}}",
|
||||||
|
"result_singular": "resultado",
|
||||||
|
"result_plural": "resultados"
|
||||||
},
|
},
|
||||||
|
|
||||||
"theme": {
|
"theme": {
|
||||||
|
|
|
||||||
|
|
@ -183,7 +183,10 @@
|
||||||
"search": {
|
"search": {
|
||||||
"previous": "Précédent (Maj+F3)",
|
"previous": "Précédent (Maj+F3)",
|
||||||
"next": "Suivant (F3)",
|
"next": "Suivant (F3)",
|
||||||
"matches": "{{current}} sur {{total}}"
|
"matches": "{{current}} sur {{total}}",
|
||||||
|
"match_of": "Résultat {{current}} sur {{total}}",
|
||||||
|
"result_singular": "résultat",
|
||||||
|
"result_plural": "résultats"
|
||||||
},
|
},
|
||||||
|
|
||||||
"theme": {
|
"theme": {
|
||||||
|
|
|
||||||
|
|
@ -183,7 +183,10 @@
|
||||||
"search": {
|
"search": {
|
||||||
"previous": "上一个 (Shift+F3)",
|
"previous": "上一个 (Shift+F3)",
|
||||||
"next": "下一个 (F3)",
|
"next": "下一个 (F3)",
|
||||||
"matches": "{{current}} / {{total}}"
|
"matches": "{{current}} / {{total}}",
|
||||||
|
"match_of": "第 {{current}} 个,共 {{total}} 个",
|
||||||
|
"result_singular": "个结果",
|
||||||
|
"result_plural": "个结果"
|
||||||
},
|
},
|
||||||
|
|
||||||
"theme": {
|
"theme": {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue