Skip to content

Commit

Permalink
Merge pull request #118 from AlwinEsch/Nexus-change2
Browse files Browse the repository at this point in the history
[Nexus] API related update
  • Loading branch information
AlwinEsch authored Jan 1, 2022
2 parents afc3485 + 539c414 commit 0d424e6
Show file tree
Hide file tree
Showing 7 changed files with 46 additions and 40 deletions.
14 changes: 7 additions & 7 deletions pvr.demo/addon.xml.in
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<addon
id="pvr.demo"
version="20.3.1"
version="20.4.0"
name="PVR Demo Client"
provider-name="Pulse-Eight Ltd., Team Kodi">
<requires>@ADDON_DEPENDS@</requires>
Expand All @@ -23,16 +23,16 @@
<summary lang="ca_ES">Demostració del client PVR</summary>
<summary lang="cs_CZ">Ukázka klienta nahrávače videa</summary>
<summary lang="cy_GB">Cleient Recordydd Fideo Personol Arddangos</summary>
<summary lang="da_DK">Demo PVR klient</summary>
<summary lang="da_DK">Demo PVR-klient</summary>
<summary lang="de_DE">Demo PVR Client</summary>
<summary lang="el_GR">Δοκιμαστικός Πελάτης PVR</summary>
<summary lang="en_AU">Demo PVR Client</summary>
<summary lang="en_GB">This add-on is aimed at both PVR add-on devs to show a worked example of the PVR API and at XBMC skin developers to test skin changes against PVR.</summary>
<summary lang="en_GB">Demo PVR Client</summary>
<summary lang="en_NZ">Demo PVR Client</summary>
<summary lang="en_US">Demo PVR Client</summary>
<summary lang="es_AR">Cliente PVR demo</summary>
<summary lang="es_ES">Demo Cliente PVR</summary>
<summary lang="es_MX">Cliente Demo PVR</summary>
<summary lang="es_MX">Cliente PVR de demostración</summary>
<summary lang="et_EE">Demo PVR'i klient</summary>
<summary lang="eu_ES">PVR bezeroaren demoa</summary>
<summary lang="fi_FI">Kodin PVR Demo -asiakasohjelma</summary>
Expand Down Expand Up @@ -84,7 +84,7 @@
<description lang="ca_ES">Demostració del client PVR</description>
<description lang="cs_CZ">Ukázkový klient PVR</description>
<description lang="cy_GB">Cleient Recordydd Fideo Personol Arddangos</description>
<description lang="da_DK">Demo PVR klient</description>
<description lang="da_DK">Demo PVR-klient</description>
<description lang="de_DE">Demo PVR Client</description>
<description lang="el_GR">Δοκιμαστικός Πελάτης PVR</description>
<description lang="en_AU">Demo PVR Client</description>
Expand All @@ -93,7 +93,7 @@
<description lang="en_US">Demo PVR Client</description>
<description lang="es_AR">Cliente PVR demo</description>
<description lang="es_ES">Demo Cliente PVR</description>
<description lang="es_MX">Cliente Demo PVR</description>
<description lang="es_MX">Cliente PVR de demostración</description>
<description lang="et_EE">Demo PVR'i klient</description>
<description lang="eu_ES">PVR bezeroaren demoa</description>
<description lang="fi_FI">Testauskäyttöön tarkoitettu PVR-asiakasohjelma</description>
Expand Down Expand Up @@ -154,7 +154,7 @@
<disclaimer lang="en_US">Just contains stubs</disclaimer>
<disclaimer lang="es_AR">contiene sólo marcadores</disclaimer>
<disclaimer lang="es_ES">Sólo contiene fragmentos</disclaimer>
<disclaimer lang="es_MX">Solo contiene talones</disclaimer>
<disclaimer lang="es_MX">Solo contiene ejemplos</disclaimer>
<disclaimer lang="et_EE">Sisaldab ainult juppe</disclaimer>
<disclaimer lang="eu_ES">Puskak ditu soilik</disclaimer>
<disclaimer lang="fi_FI">Sisältää vain tyngän</disclaimer>
Expand Down
4 changes: 4 additions & 0 deletions pvr.demo/changelog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
v20.4.0
- Translation updates by Weblate
- Kodi main API update to version 2.0.0

v20.3.1
- Add sub channel icons

Expand Down
10 changes: 5 additions & 5 deletions pvr.demo/resources/language/resource.language.da_dk/strings.po
Original file line number Diff line number Diff line change
Expand Up @@ -5,25 +5,25 @@
msgid ""
msgstr ""
"Project-Id-Version: KODI Main\n"
"Report-Msgid-Bugs-To: http://trac.kodi.tv/\n"
"Report-Msgid-Bugs-To: translations@kodi.tv\n"
"POT-Creation-Date: YEAR-MO-DA HO:MI+ZONE\n"
"PO-Revision-Date: 2021-08-27 01:29+0000\n"
"PO-Revision-Date: 2021-11-14 14:13+0000\n"
"Last-Translator: Christian Gade <gade@kodi.tv>\n"
"Language-Team: Danish <https://kodi.weblate.cloud/projects/kodi-add-ons-pvr-clients/pvr-demo/da_dk/>\n"
"Language: da_dk\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 4.8\n"
"X-Generator: Weblate 4.9\n"

msgctxt "Addon Summary"
msgid "Demo PVR Client"
msgstr "Demo PVR klient"
msgstr "Demo PVR-klient"

msgctxt "Addon Description"
msgid "Demo PVR Client"
msgstr "Demo PVR klient"
msgstr "Demo PVR-klient"

msgctxt "Addon Disclaimer"
msgid "Just contains stubs"
Expand Down
27 changes: 14 additions & 13 deletions pvr.demo/resources/language/resource.language.es_mx/strings.po
Original file line number Diff line number Diff line change
Expand Up @@ -5,49 +5,50 @@
msgid ""
msgstr ""
"Project-Id-Version: KODI Main\n"
"Report-Msgid-Bugs-To: http://trac.kodi.tv/\n"
"Report-Msgid-Bugs-To: translations@kodi.tv\n"
"POT-Creation-Date: YEAR-MO-DA HO:MI+ZONE\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
"PO-Revision-Date: 2021-12-15 05:13+0000\n"
"Last-Translator: Edson Armando <edsonarmando78@outlook.com>\n"
"Language-Team: Spanish (Mexico) <https://kodi.weblate.cloud/projects/kodi-add-ons-pvr-clients/pvr-demo/es_mx/>\n"
"Language: es_mx\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 4.9.1\n"

msgctxt "Addon Summary"
msgid "Demo PVR Client"
msgstr "Cliente Demo PVR"
msgstr "Cliente PVR de demostración"

msgctxt "Addon Description"
msgid "Demo PVR Client"
msgstr "Cliente Demo PVR"
msgstr "Cliente PVR de demostración"

msgctxt "Addon Disclaimer"
msgid "Just contains stubs"
msgstr "Solo contiene talones"
msgstr "Solo contiene ejemplos"

msgctxt "#30000"
msgid "PVR client menu hook item (settings)"
msgstr ""
msgstr "Elemento de enlace de menú de cliente PVR (configuración)"

msgctxt "#30001"
msgid "PVR client menu hook item (all items)"
msgstr ""
msgstr "Elemento de enlace de menú de cliente PVR (todos los elementos)"

msgctxt "#30002"
msgid "PVR client menu hook item (channels)"
msgstr ""
msgstr "Elemento de enlace de menú de cliente PVR (canales)"

msgctxt "#30010"
msgid "PVR client menu hook item (settings) called."
msgstr ""
msgstr "Llamado a elemento de enlace de menú de cliente PVR (configuración)."

msgctxt "#30011"
msgid "PVR client menu hook item (all items) called"
msgstr ""
msgstr "Llamado a elemento de enlace de menú de cliente PVR (todos los elementos)"

msgctxt "#30012"
msgid "PVR client menu hook item (channels) called"
msgstr ""
msgstr "Llamado a elemento de enlace de menú de cliente PVR (canales)"
23 changes: 12 additions & 11 deletions pvr.demo/resources/language/resource.language.lt_lt/strings.po
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,17 @@
msgid ""
msgstr ""
"Project-Id-Version: KODI Main\n"
"Report-Msgid-Bugs-To: http://trac.kodi.tv/\n"
"Report-Msgid-Bugs-To: translations@kodi.tv\n"
"POT-Creation-Date: YEAR-MO-DA HO:MI+ZONE\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
"PO-Revision-Date: 2021-12-15 05:13+0000\n"
"Last-Translator: Raimondas Dužinskas <raimondas.duzinskas@gmail.com>\n"
"Language-Team: Lithuanian <https://kodi.weblate.cloud/projects/kodi-add-ons-pvr-clients/pvr-demo/lt_lt/>\n"
"Language: lt_lt\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=3; plural=(n % 10 == 1 && (n % 100 < 11 || n % 100 > 19)) ? 0 : ((n % 10 >= 2 && n % 10 <= 9 && (n % 100 < 11 || n % 100 > 19)) ? 1 : 2);\n"
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
"X-Generator: Weblate 4.9.1\n"

msgctxt "Addon Summary"
msgid "Demo PVR Client"
Expand All @@ -30,24 +31,24 @@ msgstr "Tiesiog tuščia struktūra"

msgctxt "#30000"
msgid "PVR client menu hook item (settings)"
msgstr ""
msgstr "PVR kliento meniu kabliukas (nustatymai)"

msgctxt "#30001"
msgid "PVR client menu hook item (all items)"
msgstr ""
msgstr "PVR kliento meniu kabliukas (visi elementai)"

msgctxt "#30002"
msgid "PVR client menu hook item (channels)"
msgstr ""
msgstr "PVR kliento meniu kabliukas (kanalai)"

msgctxt "#30010"
msgid "PVR client menu hook item (settings) called."
msgstr ""
msgstr "Iškviestas PVR kliento meniu kabliukas (nustatymai)."

msgctxt "#30011"
msgid "PVR client menu hook item (all items) called"
msgstr ""
msgstr "Iškviestas PVR kliento meniu kabliukas (visi elementai)"

msgctxt "#30012"
msgid "PVR client menu hook item (channels) called"
msgstr ""
msgstr "Iškviestas PVR kliento meniu kabliukas (kanalai)"
4 changes: 2 additions & 2 deletions src/PVRDemo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -423,15 +423,15 @@ PVR_ERROR CPVRDemo::CallMenuHook(const kodi::addon::PVRMenuhook& menuhook)
default:
return PVR_ERROR_INVALID_PARAMETERS;
}
kodi::QueueNotification(QUEUE_INFO, "", kodi::GetLocalizedString(iMsg));
kodi::QueueNotification(QUEUE_INFO, "", kodi::addon::GetLocalizedString(iMsg));

return PVR_ERROR_NO_ERROR;
}

bool CPVRDemo::LoadDemoData(void)
{
XMLDocument xmlDoc;
std::string strSettingsFile = kodi::GetAddonPath("PVRDemoAddonSettings.xml");
std::string strSettingsFile = kodi::addon::GetAddonPath("PVRDemoAddonSettings.xml");

XMLError err = xmlDoc.LoadFile(strSettingsFile.c_str());
if (err != XML_SUCCESS)
Expand Down
4 changes: 2 additions & 2 deletions src/PVRDemo.h
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,8 @@ namespace tinyxml2
class XMLNode;
}

class ATTRIBUTE_HIDDEN CPVRDemo : public kodi::addon::CAddonBase,
public kodi::addon::CInstancePVRClient
class ATTR_DLL_LOCAL CPVRDemo : public kodi::addon::CAddonBase,
public kodi::addon::CInstancePVRClient
{
public:
CPVRDemo();
Expand Down

0 comments on commit 0d424e6

Please sign in to comment.