Compare commits

...

2 commits

Author SHA1 Message Date
norohind
c216dfaa58
RU localisation (#2) 2021-08-08 21:01:16 +02:00
2d31b94073 fixed plugin_start3 2020-12-07 00:26:50 +01:00
2 changed files with 13 additions and 1 deletions

12
L10n/ru.strings Normal file
View file

@ -0,0 +1,12 @@
/* Language name */
"!Language" = "Русский";
"Fuel levels" = "Топливо";
"waiting for data …" = "ожидание данных";
"ERROR" = "Ошибка";
"main" = "основной";
"reservoir" = "расходный";

View file

@ -18,7 +18,7 @@ status: Optional[tk.Label]
main_tank: Optional[float] = None
reservoir: Optional[float] = None
def plugin_start3(plugin_dir) -> string:
def plugin_start3(plugin_dir: str) -> str:
logger.debug('fuelstatus plugin loaded')
return "FuelStatus"