Skip to content

Commit 20bc368

Browse files
committed
add openplotter-opencpn-installer app
1 parent dd05dae commit 20bc368

12 files changed

+213
-47
lines changed

MANIFEST.in

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
include LICENSE
22
include README.md
33
recursive-include openplotterSettings/data *
4-
recursive-include openplotterSettings/locale *
4+
recursive-include openplotterSettings/locale *

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
# openplotter-settings
2-
Shared modules for openplotter tools
2+
Main OpenPlotter app

openplotterSettings/data/0+debian.png

-767 Bytes
Binary file not shown.

openplotterSettings/data/add.png

779 Bytes
Loading

openplotterSettings/data/open.png

893 Bytes
Loading

openplotterSettings/data/output.png

547 Bytes
Loading

openplotterSettings/data/remove.png

469 Bytes
Loading

openplotterSettings/data/rpi+0.png

-1.2 KB
Binary file not shown.
-1.76 KB
Binary file not shown.

openplotterSettings/data/text.png

1.11 KB
Loading

openplotterSettings/language.py

+2-4
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,11 @@
1616
# along with Openplotter. If not, see <http://www.gnu.org/licenses/>.
1717

1818
import gettext
19-
import os
2019

2120
class Language:
22-
def __init__(self, module, language):
21+
def __init__(self, currentdir, module, language):
2322
self.available = [['Català','ca'],['Deutsch','de'],['ελληνικά','el'],['English','en'],['Español','es'],['Euskara','eu'],['Suomi','fi'],['Français','fr'],['Galego','gl'],['Italiano','it'],['Dutch','nl']]
24-
currentdir = os.path.dirname(__file__)
25-
locale_folder =currentdir+'/locale'
23+
locale_folder = currentdir+'/locale'
2624
gettext.install(module, locale_folder, False)
2725
try: presLan = gettext.translation(module, locale_folder, languages=[language])
2826
except: presLan = gettext.translation(module, locale_folder, languages=['en'])

0 commit comments

Comments
 (0)