Skip to content

Commit

Permalink
Merge pull request #42 from AlwinEsch/Nexus-change
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 9e0a94b + 9198c18 commit f9368a2
Show file tree
Hide file tree
Showing 8 changed files with 41 additions and 29 deletions.
10 changes: 9 additions & 1 deletion screensaver.asteroids/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="screensaver.asteroids"
version="20.0.0"
version="20.1.0"
name="Asteroids"
provider-name="Team Kodi">
<requires>@ADDON_DEPENDS@</requires>
Expand All @@ -19,9 +19,17 @@
<screenshot>resources/screenshot-02.png</screenshot>
<screenshot>resources/screenshot-03.png</screenshot>
</assets>
<summary lang="da_DK">Asteroids pauseskærm</summary>
<summary lang="de_DE">Asteroiden Bildschirmschoner</summary>
<summary lang="en_GB">Asteroids screensaver</summary>
<summary lang="ko_KR">소행성 화면 보호기</summary>
<summary lang="pt_BR">Protetor de tela Asteroides</summary>
<summary lang="zh_CN">小行星屏保</summary>
<description lang="da_DK">En pauseskærm i gammel stil, hvor asteroiderne bliver skudt væk.</description>
<description lang="de_DE">Ein Bildschirmschoner im alten Stil, welcher die Asteroiden davon schießt.</description>
<description lang="en_GB">An old-style screen saver where the asteroids are shot away.</description>
<description lang="ko_KR">소행성이 총격을 당하는 구식 화면 보호기.</description>
<description lang="pt_BR">Um protetor de tela de estilo antigo, onde os asteroides são disparados.</description>
<description lang="zh_CN">一个老式的屏幕保护程序,小行星被射出。</description>
</extension>
</addon>
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,22 @@
msgid ""
msgstr ""
"Project-Id-Version: KODI Main\n"
"Report-Msgid-Bugs-To: https://github.com/xbmc/screensaver.asteroids/issues\n"
"Report-Msgid-Bugs-To: [email protected]\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-10-02 15:58+0000\n"
"Last-Translator: Christian Gade <[email protected]>\n"
"Language-Team: Danish <https://kodi.weblate.cloud/projects/kodi-add-ons-look-and-feel/screensaver-asteroids/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"

msgctxt "Addon Summary"
msgid "Asteroids screensaver"
msgstr ""
msgstr "Asteroids pauseskærm"

msgctxt "Addon Description"
msgid "An old-style screen saver where the asteroids are shot away."
msgstr ""
msgstr "En pauseskærm i gammel stil, hvor asteroiderne bliver skudt væk."
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,22 @@
msgid ""
msgstr ""
"Project-Id-Version: KODI Main\n"
"Report-Msgid-Bugs-To: https://github.com/xbmc/screensaver.asteroids/issues\n"
"Report-Msgid-Bugs-To: [email protected]\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-09-28 13:30+0000\n"
"Last-Translator: Minho Park <[email protected]>\n"
"Language-Team: Korean <https://kodi.weblate.cloud/projects/kodi-add-ons-look-and-feel/screensaver-asteroids/ko_kr/>\n"
"Language: ko_kr\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=1; plural=0;\n"
"X-Generator: Weblate 4.8\n"

msgctxt "Addon Summary"
msgid "Asteroids screensaver"
msgstr ""
msgstr "소행성 화면 보호기"

msgctxt "Addon Description"
msgid "An old-style screen saver where the asteroids are shot away."
msgstr ""
msgstr "소행성이 총격을 당하는 구식 화면 보호기."
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,22 @@
msgid ""
msgstr ""
"Project-Id-Version: KODI Main\n"
"Report-Msgid-Bugs-To: https://github.com/xbmc/screensaver.asteroids/issues\n"
"Report-Msgid-Bugs-To: [email protected]\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-07 02:13+0000\n"
"Last-Translator: Fabio <[email protected]>\n"
"Language-Team: Portuguese (Brazil) <https://kodi.weblate.cloud/projects/kodi-add-ons-look-and-feel/screensaver-asteroids/pt_br/>\n"
"Language: pt_br\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 "Asteroids screensaver"
msgstr ""
msgstr "Protetor de tela Asteroides"

msgctxt "Addon Description"
msgid "An old-style screen saver where the asteroids are shot away."
msgstr ""
msgstr "Um protetor de tela de estilo antigo, onde os asteroides são disparados."
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,22 @@
msgid ""
msgstr ""
"Project-Id-Version: KODI Main\n"
"Report-Msgid-Bugs-To: https://github.com/xbmc/screensaver.asteroids/issues\n"
"Report-Msgid-Bugs-To: [email protected]\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-11-04 04:06+0000\n"
"Last-Translator: 撷星芒 <[email protected]>\n"
"Language-Team: Chinese (China) <https://kodi.weblate.cloud/projects/kodi-add-ons-look-and-feel/screensaver-asteroids/zh_cn/>\n"
"Language: zh_cn\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.1\n"

msgctxt "Addon Summary"
msgid "Asteroids screensaver"
msgstr ""
msgstr "小行星屏保"

msgctxt "Addon Description"
msgid "An old-style screen saver where the asteroids are shot away."
msgstr ""
msgstr "一个老式的屏幕保护程序,小行星被射出。"
2 changes: 1 addition & 1 deletion src/Asteroids.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

////////////////////////////////////////////////////////////////////////////
//
class ATTRIBUTE_HIDDEN CAsteroids
class ATTR_DLL_LOCAL CAsteroids
{
public:
CAsteroids(CMyAddon* addon);
Expand Down
4 changes: 2 additions & 2 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,8 @@ bool CMyAddon::Start()
#ifndef WIN32
m_projMat = glm::ortho(0.0f, float(Width()), float(Height()), 0.0f);

std::string fraqShader = kodi::GetAddonPath("resources/shaders/" GL_TYPE_STRING "/frag.glsl");
std::string vertShader = kodi::GetAddonPath("resources/shaders/" GL_TYPE_STRING "/vert.glsl");
std::string fraqShader = kodi::addon::GetAddonPath("resources/shaders/" GL_TYPE_STRING "/frag.glsl");
std::string vertShader = kodi::addon::GetAddonPath("resources/shaders/" GL_TYPE_STRING "/vert.glsl");
if (!LoadShaderFiles(vertShader, fraqShader) || !CompileAndLink())
return false;

Expand Down
2 changes: 1 addition & 1 deletion src/main.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ typedef struct TRenderVertex
class CAsteroids;
class CTimer;

class ATTRIBUTE_HIDDEN CMyAddon
class ATTR_DLL_LOCAL CMyAddon
: public kodi::addon::CAddonBase,
public kodi::addon::CInstanceScreensaver
#ifndef WIN32
Expand Down

0 comments on commit f9368a2

Please sign in to comment.