From 944f021984721b71cbc46e1ebe64caa7f7652739 Mon Sep 17 00:00:00 2001 From: Slawek Mikula Date: Sun, 26 Jul 2020 21:52:45 +0200 Subject: [PATCH] - add PL translations - addon-main.nas - simplify addon detection --- addon-main.nas | 4 +--- addon-metadata.xml | 19 +++++++++++++++++-- 2 files changed, 18 insertions(+), 5 deletions(-) diff --git a/addon-main.nas b/addon-main.nas index 9354d12..81c7a89 100644 --- a/addon-main.nas +++ b/addon-main.nas @@ -5,9 +5,7 @@ var main = func( addon ) { var root = addon.basePath; - var my_addon_id = "com.slawekmikula.flightgear.VfrNavigator"; - var my_version = getprop("/addons/by-id/" ~ my_addon_id ~ "/version"); - var my_root_path = getprop("/addons/by-id/" ~ my_addon_id ~ "/path"); + var my_addon_id = addon.id; var my_settings_root_path = "/addons/by-id/" ~ my_addon_id ~ "/addon-devel/"; # persistent save of enable flag diff --git a/addon-metadata.xml b/addon-metadata.xml index 5d1d392..efc467d 100644 --- a/addon-metadata.xml +++ b/addon-metadata.xml @@ -24,9 +24,24 @@ - VFR helper dialogs + This add-on provides quick access menu to access common views and shortcuts + with modified version of the map view especially for small resolution displays. + + + + Pomoc w nawigacji VFR + + + + To rozszerzenie dostarcza menu szybkiego dostępu do przydatnych widoków + i skrótów dostępu wraz ze zmodyfikowanym widokiem mapy dostosowanym + specyficznie dla wyświetlaczy o niskich rozdzielczościach. + + + + GNU GPL version 2 or later @@ -54,7 +69,7 @@ - http://wiki.flightgear.org/addon-vfrnavigator + https://github.com/slawekmikula/fg-addon-vfrnavigator/issues