Skip to content
This repository has been archived by the owner on Mar 24, 2021. It is now read-only.

Commit

Permalink
changed option categories
Browse files Browse the repository at this point in the history
[wsp]
  • Loading branch information
Akizo96 committed May 29, 2017
1 parent 61f76b5 commit 3df8fd2
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 9 deletions.
3 changes: 2 additions & 1 deletion language/de.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<language xmlns="http://www.woltlab.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.woltlab.com https://www.woltlab.com/XSD/maelstrom/language.xsd" languagecode="de">
<category name="wcf.acp.option">
<item name="wcf.acp.option.category.general.discord"><![CDATA[Discord]]></item>
<item name="wcf.acp.option.category.discord"><![CDATA[Discord]]></item>
<item name="wcf.acp.option.category.discord.general"><![CDATA[Allgemein]]></item>
<item name="wcf.acp.option.discord_app_id"><![CDATA[Client ID]]></item>
<item name="wcf.acp.option.discord_app_id.description"><![CDATA[Ihre Discord App Daten können Sie jederzeit auf <a href="{@$__wcf->getPath()}acp/dereferrer.php?url={'https://discordapp.com/developers/applications/me'|rawurlencode}" class="externalURL">Discord</a> abrufen.]]></item>
<item name="wcf.acp.option.discord_app_secret"><![CDATA[Client Secret]]></item>
Expand Down
3 changes: 2 additions & 1 deletion language/en.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<language xmlns="http://www.woltlab.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.woltlab.com https://www.woltlab.com/XSD/maelstrom/language.xsd" languagecode="en">
<category name="wcf.acp.option">
<item name="wcf.acp.option.category.general.discord"><![CDATA[Discord]]></item>
<item name="wcf.acp.option.category.discord"><![CDATA[Discord]]></item>
<item name="wcf.acp.option.category.discord.general"><![CDATA[General]]></item>
<item name="wcf.acp.option.discord_app_id"><![CDATA[Client ID]]></item>
<item name="wcf.acp.option.discord_app_id.description"><![CDATA[You can obtain your Discord App data at any time on <a href="{@$__wcf->getPath()}acp/dereferrer.php?url={'https://discordapp.com/developers/applications/me'|rawurlencode}" class="externalURL">Discord</a>.]]></item>
<item name="wcf.acp.option.discord_app_secret"><![CDATA[Client Secret]]></item>
Expand Down
4 changes: 2 additions & 2 deletions package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
<packagename><![CDATA[Discord API]]></packagename>
<packagedescription language="de"><![CDATA[Fügt der WoltLab Suite™ die grundlegenden Discord API Schnittstellen hinzu]]></packagedescription>
<packagedescription language="en"><![CDATA[Adds the basic Discord API interfaces to the WoltLab Suite™]]></packagedescription>
<version>1.0.0</version>
<date>2017-05-27</date>
<version>1.0.1</version>
<date>2017-05-29</date>
</packageinformation>

<authorinformation>
Expand Down
13 changes: 8 additions & 5 deletions xml/option.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,24 @@
<data xmlns="http://www.woltlab.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.woltlab.com http://www.woltlab.com/XSD/maelstrom/option.xsd">
<import>
<categories>
<category name="general.discord">
<parent>general</parent>
<category name="discord">
<parent/>
</category>
<category name="discord.general">
<parent>discord</parent>
</category>
</categories>
<options>
<option name="discord_app_id">
<categoryname>general.discord</categoryname>
<categoryname>discord.general</categoryname>
<optiontype>text</optiontype>
</option>
<option name="discord_app_secret">
<categoryname>general.discord</categoryname>
<categoryname>discord.general</categoryname>
<optiontype>password</optiontype>
</option>
<option name="discord_app_token">
<categoryname>general.discord</categoryname>
<categoryname>discord.general</categoryname>
<optiontype>password</optiontype>
</option>
</options>
Expand Down

0 comments on commit 3df8fd2

Please sign in to comment.