diff --git a/src/locales/en/translation.json b/src/locales/en/translation.json index 9492871d..f9a683bf 100644 --- a/src/locales/en/translation.json +++ b/src/locales/en/translation.json @@ -52,9 +52,9 @@ "tags": "Tags", "publishers": "Publishers", "download_sources": "Download sources", - "result_count": "{{count}} results", - "filter_count": "{{count}} available", - "clear_filters": "Clear {{count}} selected" + "result_count": "{{resultCount}} results", + "filter_count": "{{filterCount}} available", + "clear_filters": "Clear {{filterCount}} selected" }, "game_details": { "open_download_options": "Open download options", diff --git a/src/locales/es/translation.json b/src/locales/es/translation.json index f63f4f2d..b3dd42f8 100644 --- a/src/locales/es/translation.json +++ b/src/locales/es/translation.json @@ -52,9 +52,9 @@ "tags": "Marcadores", "publishers": "Distribuidoras", "download_sources": "Fuentes de descarga", - "result_count": "{{count}} resultados", - "filter_count": "{{count}} disponibles", - "clear_filters": "Limpiar {{count}} seleccionados" + "result_count": "{{resultCount}} resultados", + "filter_count": "{{filterCount}} disponibles", + "clear_filters": "Limpiar {{filterCount}} seleccionados" }, "game_details": { "open_download_options": "Ver opciones de descargas", diff --git a/src/locales/pt-BR/translation.json b/src/locales/pt-BR/translation.json index f5303661..46f7e70f 100644 --- a/src/locales/pt-BR/translation.json +++ b/src/locales/pt-BR/translation.json @@ -290,9 +290,9 @@ "tags": "Marcadores", "publishers": "Distribuidoras", "download_sources": "Fontes de download", - "result_count": "{{count}} resultados", - "filter_count": "{{count}} disponíveis", - "clear_filters": "Limpar {{count}} selecionados" + "result_count": "{{resultCount}} resultados", + "filter_count": "{{filterCount}} disponíveis", + "clear_filters": "Limpar {{filterCount}} selecionados" }, "modal": { "close": "Botão de fechar" diff --git a/src/locales/ru/translation.json b/src/locales/ru/translation.json index 4abb4321..741f5e16 100644 --- a/src/locales/ru/translation.json +++ b/src/locales/ru/translation.json @@ -52,9 +52,9 @@ "tags": "Маркеры", "publishers": "Издательства", "download_sources": "Источники загрузки", - "result_count": "{{count}} результатов", - "filter_count": "{{count}} доступных", - "clear_filters": "Очистить {{count}} выбранных" + "result_count": "{{resultCount}} результатов", + "filter_count": "{{filterCount}} доступных", + "clear_filters": "Очистить {{filterCount}} выбранных" }, "game_details": { "open_download_options": "Открыть источники", diff --git a/src/renderer/src/pages/catalogue/catalogue.tsx b/src/renderer/src/pages/catalogue/catalogue.tsx index 5faf581c..93779cf9 100644 --- a/src/renderer/src/pages/catalogue/catalogue.tsx +++ b/src/renderer/src/pages/catalogue/catalogue.tsx @@ -302,7 +302,9 @@ export default function Catalogue() { }} > - {t("result_count", { count: formatNumber(itemsCount) })} + {t("result_count", { + resultCount: formatNumber(itemsCount), + })} - {t("clear_filters", { count: formatNumber(selectedItemsCount) })} + {t("clear_filters", { + filterCount: formatNumber(selectedItemsCount), + })} ) : ( - {t("filter_count", { count: formatNumber(items.length) })} + {t("filter_count", { + filterCount: formatNumber(items.length), + })} )}