forked from E2OpenPlugins/e2openplugin-OpenWebif
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
setup language localisation (plugin part)
- Loading branch information
plnick
committed
Nov 10, 2013
1 parent
ea0d8f2
commit 84ffbc0
Showing
38 changed files
with
285 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: OpenWebif\n" | ||
"POT-Creation-Date: 2013-11-10 11:55+0100\n" | ||
"PO-Revision-Date: \n" | ||
"Last-Translator: plnick\n" | ||
"Language-Team: \n" | ||
"MIME-Version: 1.0\n" | ||
"Content-Type: text/plain; charset=iso-8859-15\n" | ||
"Content-Transfer-Encoding: 8bit\n" | ||
"X-Generator: Poedit 1.5.4\n" | ||
"X-Poedit-Basepath: .\n" | ||
"X-Poedit-SearchPath-0: ../plugin\n" | ||
|
||
msgid "Cancel" | ||
msgstr "" | ||
|
||
msgid "Save" | ||
msgstr "" | ||
|
||
msgid "OpenWebif url: http://yourip:port" | ||
msgstr "" | ||
|
||
msgid "OpenWebInterface Enabled" | ||
msgstr "" | ||
|
||
msgid "Http port" | ||
msgstr "" | ||
|
||
msgid "Enable Http Authentication" | ||
msgstr "" | ||
|
||
msgid "Enable Https" | ||
msgstr "" | ||
|
||
msgid "Https port" | ||
msgstr "" | ||
|
||
msgid "Smart services renaming for XBMC" | ||
msgstr "" | ||
|
||
msgid "Enable Parental Control" | ||
msgstr "" | ||
|
||
msgid "Add service name to stream information" | ||
msgstr "" | ||
|
||
msgid "OpenWebif Configuration" | ||
msgstr "" | ||
|
||
msgid "New" | ||
msgstr "" | ||
|
||
msgid "Services" | ||
msgstr "" | ||
|
||
msgid "Cable" | ||
msgstr "" | ||
|
||
msgid "Terrestrial" | ||
msgstr "" | ||
|
||
msgid "W" | ||
msgstr "" | ||
|
||
msgid "E" | ||
msgstr "" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: OpenWebif\n" | ||
"POT-Creation-Date: 2013-11-10 11:55+0100\n" | ||
"PO-Revision-Date: \n" | ||
"Last-Translator: plnick\n" | ||
"Language-Team: \n" | ||
"MIME-Version: 1.0\n" | ||
"Content-Type: text/plain; charset=iso-8859-15\n" | ||
"Content-Transfer-Encoding: 8bit\n" | ||
"X-Generator: Poedit 1.5.4\n" | ||
"X-Poedit-Basepath: .\n" | ||
"Language: de\n" | ||
"X-Poedit-SearchPath-0: ../plugin\n" | ||
|
||
msgid "Cancel" | ||
msgstr "Abbrechen" | ||
|
||
msgid "Save" | ||
msgstr "Speichern" | ||
|
||
msgid "OpenWebif url: http://yourip:port" | ||
msgstr "OpenWebif URL : http://ip_des_receivers:port" | ||
|
||
msgid "OpenWebInterface Enabled" | ||
msgstr "OpenWebinterface einschalten" | ||
|
||
msgid "Http port" | ||
msgstr "Port für http" | ||
|
||
msgid "Enable Http Authentication" | ||
msgstr "Authentifizierung für http aktivieren" | ||
|
||
msgid "Enable Https" | ||
msgstr "Aktivierung von https" | ||
|
||
msgid "Https port" | ||
msgstr "Port für https" | ||
|
||
msgid "Smart services renaming for XBMC" | ||
msgstr "Sendernamen für XBMC umbenennen" | ||
|
||
msgid "Enable Parental Control" | ||
msgstr "Kindersicherung aktivieren" | ||
|
||
msgid "Add service name to stream information" | ||
msgstr "Servicenamen zu den Streaminformationen hinzufügen" | ||
|
||
msgid "OpenWebif Configuration" | ||
msgstr "OpenWebif Konfiguration" | ||
|
||
msgid "New" | ||
msgstr "Neu" | ||
|
||
msgid "Services" | ||
msgstr "Sender" | ||
|
||
msgid "Cable" | ||
msgstr "Kabel" | ||
|
||
msgid "Terrestrial" | ||
msgstr "Terrestrisch" | ||
|
||
msgid "W" | ||
msgstr "W" | ||
|
||
msgid "E" | ||
msgstr "O" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# -*- coding: utf-8 -*- | ||
|
||
from Components.Language import language | ||
from Tools.Directories import resolveFilename, SCOPE_PLUGINS | ||
import gettext | ||
|
||
PluginLanguageDomain = "OpenWebif" | ||
PluginLanguagePath = "Extensions/OpenWebif/locale" | ||
|
||
def localeInit(): | ||
gettext.bindtextdomain(PluginLanguageDomain, resolveFilename(SCOPE_PLUGINS, PluginLanguagePath)) | ||
|
||
def _(txt): | ||
t = gettext.dgettext(PluginLanguageDomain, txt) | ||
if t == txt: | ||
t = gettext.gettext(txt) | ||
return t | ||
|
||
localeInit() | ||
language.addCallback(localeInit) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
# -*- coding: utf-8 -*- | ||
|
||
from web import WebController | ||
|
||
class ApiController(WebController): | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
# -*- coding: utf-8 -*- | ||
|
||
from Tools.ISO639 import LanguageCodes | ||
|
||
def getAudioTracks(session): | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# -*- coding: utf-8 -*- | ||
|
||
from distutils.core import setup | ||
import setup_translate | ||
|
||
pkg = 'Extensions.OpenWebif' | ||
setup (name = 'enigma2-plugin-extensions-openwebif', | ||
description = 'Control your receiver with a browser', | ||
cmdclass = setup_translate.cmdclass, | ||
) |
Oops, something went wrong.