diff --git a/interface/src/framework/system/SystemStatusForm.tsx b/interface/src/framework/system/SystemStatusForm.tsx index 47dc416e4..9bdd4a4c0 100644 --- a/interface/src/framework/system/SystemStatusForm.tsx +++ b/interface/src/framework/system/SystemStatusForm.tsx @@ -124,7 +124,7 @@ const SystemStatusForm: FC = () => { const renderVersionDialog = () => { return ( setShowingVersion(false)}> - {LL.VERSION_CHECK()} + {LL.VERSION_CHECK(1)} {latestVersion && ( @@ -232,7 +232,7 @@ const SystemStatusForm: FC = () => { {latestVersion && ( )} diff --git a/interface/src/i18n/i18n-types.ts b/interface/src/i18n/i18n-types.ts index fec5874b7..bc2fe384c 100644 --- a/interface/src/i18n/i18n-types.ts +++ b/interface/src/i18n/i18n-types.ts @@ -1729,7 +1729,7 @@ export type TranslationFunctions = { /** * Version Check */ - VERSION_CHECK: () => LocalizedString + VERSION_CHECK: (arg0: string | number | boolean) => LocalizedString /** * The latest */ diff --git a/interface/src/i18n/pl/index.ts b/interface/src/i18n/pl/index.ts index 40a2459a1..656ad63a6 100644 --- a/interface/src/i18n/pl/index.ts +++ b/interface/src/i18n/pl/index.ts @@ -173,7 +173,7 @@ const pl: BaseTranslation = { FACTORY_RESET: 'Ustawienia fabryczne', SYSTEM_FACTORY_TEXT: 'Interfejs EMS-ESP został przywrócony do ustawień fabrycznych i zostanie teraz ponownie uruchomiony.', SYSTEM_FACTORY_TEXT_DIALOG: 'Czy jesteś pewien, że chcesz przywrócić ustawienia fabryczne interfejsu EMS-ESP? ', - VERSION_CHECK: 'Wersje firmware\'u', + VERSION_CHECK: '{{Sprawdź wersję (main translation idx=0)|Sprawdzanie wersji (alt translation idx=1)|not used (translation idx=other)}}', THE_LATEST: 'Najnowsza', OFFICIAL: 'oficjalna', DEVELOPMENT: 'testowa',