* integrated German language pack into main package (XML-style rocks!)
* raised version to 1.14 + added modifications for the other 2 default themes (classic and babylon) ! ATTENTION: If you manually added the sbox to those themes, remove your code before installing this package!
This commit is contained in:
parent
d7f8b3d423
commit
fb8bc5cf31
@ -1,26 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<!DOCTYPE package-info SYSTEM "http://www.simplemachines.org/xml/package-info">
|
||||
<package-info xmlns="http://www.simplemachines.org/xml/package-info" xmlns:smf="http://www.simplemachines.org/">
|
||||
<name>SMF Shoutbox LanguagePack German</name>
|
||||
<id>Deep:SMF_Shoutbox:LangPack_German</id>
|
||||
<type>modification</type>
|
||||
<version>1.13</version>
|
||||
<install>
|
||||
<require-file name="sbox.german.php" destination="$languagedir" />
|
||||
<readme type="inline">
|
||||
<![CDATA[
|
||||
This adds the german language pack for SMF shoutbox to your SMF forum.
|
||||
|
||||
Originally written By Deep (diem4@gmx.net), inspired by Matthew Wolf (a.k.a Grudge)
|
||||
Heavily improved by Markus Birth (mbirth@webwriters.de)
|
||||
Copyright 2006 - Neither this package or any of it's contents may be distributed without authorization.
|
||||
]]>
|
||||
</readme>
|
||||
<modification type="file" format="boardmod">sbox_11rc3_german.mod</modification>
|
||||
</install>
|
||||
<uninstall>
|
||||
<remove-file name="$languagedir/sbox.german.php" />
|
||||
<readme type="inline">Uninstall will remove all the changes made by the SMF shoutbox german language pack. You must do this before upgrading!</readme>
|
||||
<modification type="file" format="boardmod" reverse="true">sbox_11rc3_german.mod</modification>
|
||||
</uninstall>
|
||||
</package-info>
|
@ -1,61 +0,0 @@
|
||||
<id>
|
||||
SMF Shoutbox, German Language Pack
|
||||
</id>
|
||||
|
||||
<version>
|
||||
1.13
|
||||
</version>
|
||||
|
||||
<mod info>
|
||||
This is the german language pack for SMF shoutbox.
|
||||
|
||||
Instructions:
|
||||
1. Install SMF shoutbox
|
||||
2. Install SMF shoutbox german language pack
|
||||
|
||||
Author:
|
||||
The SMF shoutbox language pack was originally written by Deep, some code ist "stolen" from Matthew Wolf (a.k.a Grudge).
|
||||
Thanks a lot, Grudge!
|
||||
Current development is done by Markus Birth
|
||||
|
||||
Please direct any questions regarding this version by posting
|
||||
in the appropriate place at www.simplemachines.org (the preferred option!)
|
||||
</mod info>
|
||||
|
||||
<author>
|
||||
Deep and Markus Birth
|
||||
</author>
|
||||
|
||||
<homepage>
|
||||
http://mods.simplemachines.org/index.php?mod=412
|
||||
</homepage>
|
||||
|
||||
<edit file>
|
||||
$languagedir/Help.german.php
|
||||
</edit file>
|
||||
|
||||
<search for>
|
||||
?>
|
||||
</search for>
|
||||
|
||||
<add before>
|
||||
|
||||
//SMF Shoutbox
|
||||
$helptxt['sbox_Visible'] = 'Hier können Sie einstellen, ob die Shoutbox sichtbar ist oder nicht. Diese Einstellung gilt für ALLE Benutzer.';
|
||||
$helptxt['sbox_ModsRule'] = 'Dies erlaubt jedem, der die <i>moderate_board</i>-Berechtigung auf mindestens einem Board hat, Shouts zu löschen.';
|
||||
$helptxt['sbox_DoHistory'] = 'Legt fest, ob alle Shouts auch in eine Verlaufsdatei geschrieben werden sollen, so dass ein Administrator angebliche Vorfälle nachprüfen kann.';
|
||||
|
||||
$helptxt['sbox_GuestVisible'] = 'Hiermit können Sie festlegen, ob Gäste die Shoutbox überhaupt sehen können oder nicht.';
|
||||
$helptxt['sbox_GuestAllowed'] = 'Hier können Sie einstellen, ob Gäste die Shoutbox benutzen dürfen.';
|
||||
$helptxt['sbox_GuestBBC'] = 'Hier können Sie BBCode für Gast-Shouts ein- oder ausschalten. Beachten Sie bitte, dass dies auch von der Einstellung <i>BBCode erlauben</i> abhängig ist.';
|
||||
|
||||
$helptxt['sbox_SmiliesVisible'] = 'Hier können Sie einstellen, ob die Smilies sichtbar sind oder nicht. Diese Einstellung gilt für ALLE Benutzer.';
|
||||
$helptxt['sbox_UserLinksVisible'] = 'Legt fest, ob die Namen der Shouter mit deren Profilseite verlinkt werden sollen oder nicht.';
|
||||
$helptxt['sbox_AllowBBC'] = 'Legt fest, ob Benutzer BBCode in Shouts benutzen können. Wenn dies deaktiviert ist, wird nur Klartext angezeigt - ohne Smileys oder Formatierungen. Diese Option beeinflusst auch die <i>BBCode für Gäste erlauben</i>-Option.';
|
||||
$helptxt['sbox_NewShoutsBar'] = 'Ist diese Option aktiviert, wird eine Linie zwischen neuen Shouts (seit dem letzten Refresh) und älteren gezeigt.';
|
||||
|
||||
$helptxt['sbox_RefreshTime'] = 'Hier können Sie das Aktualisierungsintervall einstellen, also die Anzahl der Sekunden, die vergehen müssen, bevor sich die Shoutbox automatisch aktualisiert.';
|
||||
$helptxt['sbox_BlockRefresh'] = 'Legt fest, ob die automatische Aktualisierung nach eine Weile Inaktivität automatisch gestoppt werden soll. Benutzer können die Shoutbox weiterhin manuell aktualisieren. Die Zeitspanne wird unter <i>Zeit der Benutzeranzeige</i> in den <i>Standard-Funktionen</i> festgelegt. (Momentan ' . $modSettings['lastActive'] . ' Minuten)';
|
||||
$helptxt['sbox_EnableSounds'] = 'Aktiviert einen Ton, der gespielt wird, wenn der eigene Nickname in einem neuen Shout auftaucht.';
|
||||
|
||||
</add before>
|
@ -4,15 +4,15 @@
|
||||
<name>SMF Shoutbox</name>
|
||||
<id>Deep:SMF_Shoutbox</id>
|
||||
<type>modification</type>
|
||||
<version>1.13</version>
|
||||
<version>1.14</version>
|
||||
<install for="1.1 RC2">
|
||||
<require-file name="sbox.php" destination="$sourcedir" />
|
||||
<require-file name="sboxDB.php" destination="$sourcedir" />
|
||||
<require-file name="sbox.english.php" destination="$languagedir" />
|
||||
<require-file name="sbox.german.php" destination="$languagedir" />
|
||||
<require-file name="sbox.template.php" destination="$themedir" />
|
||||
<require-file name="sbox_refresh.gif" destination="$themedir/images" />
|
||||
<require-file name="chat-inbound_GSM.wav" destination="$boarddir" />
|
||||
<require-file name="sbox_v1.13_german.zip" destination="$boarddir/Packages" />
|
||||
<code type="file">sbox_setup.php</code>
|
||||
<readme type="inline"><![CDATA[
|
||||
This allows you to put a shoutbox on your SMF forum above the board index of the default theme.
|
||||
@ -27,10 +27,10 @@
|
||||
<require-file name="sbox.php" destination="$sourcedir" />
|
||||
<require-file name="sboxDB.php" destination="$sourcedir" />
|
||||
<require-file name="sbox.english.php" destination="$languagedir" />
|
||||
<require-file name="sbox.german.php" destination="$languagedir" />
|
||||
<require-file name="sbox.template.php" destination="$themedir" />
|
||||
<require-file name="sbox_refresh.gif" destination="$themedir/images" />
|
||||
<require-file name="chat-inbound_GSM.wav" destination="$boarddir" />
|
||||
<require-file name="sbox_v1.13_german.zip" destination="$boarddir/Packages" />
|
||||
<code type="file">sbox_setup.php</code>
|
||||
<readme type="inline"><![CDATA[
|
||||
This allows you to put a shoutbox on your SMF forum above the board index of the default theme.
|
||||
@ -47,11 +47,11 @@
|
||||
<remove-file name="$sourcedir/sbox.php" />
|
||||
<remove-file name="$sourcedir/sboxDB.php" />
|
||||
<remove-file name="$languagedir/sbox.english.php" />
|
||||
<remove-file name="$languagedir/sbox.german.php" />
|
||||
<remove-file name="$themedir/sbox.template.php" />
|
||||
<remove-file name="$themedir/images/sbox_refresh.gif" />
|
||||
<remove-file name="$boarddir/chat-inbound_GSM.wav" />
|
||||
<remove-file name="$boarddir/sbox.history.html" />
|
||||
<remove-file name="$boarddir/Packages/sbox_v1.13_german.zip" />
|
||||
<code type="file">sbox_remove.php</code>
|
||||
</uninstall>
|
||||
<uninstall for="1.1 RC3">
|
||||
@ -60,11 +60,11 @@
|
||||
<remove-file name="$sourcedir/sbox.php" />
|
||||
<remove-file name="$sourcedir/sboxDB.php" />
|
||||
<remove-file name="$languagedir/sbox.english.php" />
|
||||
<remove-file name="$languagedir/sbox.german.php" />
|
||||
<remove-file name="$themedir/sbox.template.php" />
|
||||
<remove-file name="$themedir/images/sbox_refresh.gif" />
|
||||
<remove-file name="$boarddir/chat-inbound_GSM.wav" />
|
||||
<remove-file name="$boarddir/sbox.history.html" />
|
||||
<remove-file name="$boarddir/Packages/sbox_v1.13_german.zip" />
|
||||
<code type="file">sbox_remove.php</code>
|
||||
</uninstall>
|
||||
<install>
|
||||
|
@ -17,19 +17,61 @@
|
||||
<modification xmlns="http://www.simplemachines.org/xml/modification" xmlns:smf="http://www.simplemachines.org/">
|
||||
<!-- This information needs to be the same as that in the package-info.xml. -->
|
||||
<id>Deep:SMF_Shoutbox</id>
|
||||
<version>1.13</version>
|
||||
<version>1.14</version>
|
||||
|
||||
<!-- Edit BoardIndex.template.php in the SMF Default Theme. -->
|
||||
<file name="$themedir/BoardIndex.template.php">
|
||||
<operation>
|
||||
<search position="replace"><![CDATA[
|
||||
}
|
||||
|
||||
/* Each category in categories is made up of:
|
||||
]]></search>
|
||||
<add><![CDATA[
|
||||
}
|
||||
|
||||
// display shoutbox
|
||||
if (function_exists('sbox')) sbox();
|
||||
|
||||
/* (SMF Shoutbox added above!) Each category in categories is made up of:
|
||||
/* Each category in categories is made up of:
|
||||
]]></add>
|
||||
</operation>
|
||||
</file>
|
||||
|
||||
<!-- Edit BoardIndex.template.php in the classic Theme. -->
|
||||
<file name="$themes_dir/classic/BoardIndex.template.php" error="skip">
|
||||
<operation>
|
||||
<search position="replace"><![CDATA[
|
||||
}
|
||||
|
||||
// Show the "Board name Topics Posts Last Post" header.
|
||||
]]></search>
|
||||
<add><![CDATA[
|
||||
}
|
||||
|
||||
// display shoutbox
|
||||
if (function_exists('sbox')) sbox();
|
||||
|
||||
// Show the "Board name Topics Posts Last Post" header.
|
||||
]]></add>
|
||||
</operation>
|
||||
</file>
|
||||
|
||||
<!-- Edit BoardIndex.template.php in the Babylon Theme. -->
|
||||
<file name="$themes_dir/babylon/BoardIndex.template.php" error="skip">
|
||||
<operation>
|
||||
<search position="replace"><![CDATA[
|
||||
}
|
||||
|
||||
/* Each category in categories is made up of:
|
||||
]]></search>
|
||||
<add><![CDATA[
|
||||
}
|
||||
|
||||
// display shoutbox
|
||||
if (function_exists('sbox')) sbox();
|
||||
|
||||
/* Each category in categories is made up of:
|
||||
]]></add>
|
||||
</operation>
|
||||
</file>
|
||||
@ -37,7 +79,7 @@
|
||||
<!-- Edit Subs.php and add sbox(). -->
|
||||
<file name="$sourcedir/Subs.php">
|
||||
<operation>
|
||||
<search position="end"></search>
|
||||
<search position="end" />
|
||||
<add><![CDATA[
|
||||
|
||||
function sbox() {
|
||||
@ -54,7 +96,7 @@ function sbox() {
|
||||
<!-- Edit Help.english.php and add strings. -->
|
||||
<file name="$languagedir/Help.english.php">
|
||||
<operation>
|
||||
<search position="end"></search>
|
||||
<search position="end" />
|
||||
<add><![CDATA[
|
||||
|
||||
//SMF Shoutbox
|
||||
@ -75,6 +117,34 @@ $helptxt['sbox_RefreshTime'] = 'Here you can adjust the refresh time';
|
||||
$helptxt['sbox_BlockRefresh'] = 'Defines whether the Shoutbox should stop refreshing after there have been no new shouts for a while. Users can still manually refresh the Shoutbox. The time treshold used is the <i>User online time treshold</i> found in the <i>Basic Features</i>-settings. (currently ' . $modSettings['lastActive'] . ' minutes)';
|
||||
$helptxt['sbox_EnableSounds'] = 'Enables the notification sound, when your nickname was mentioned since the last refresh.';
|
||||
|
||||
]]></add>
|
||||
</operation>
|
||||
</file>
|
||||
|
||||
<!-- Edit Help.german.php and add strings. -->
|
||||
<file name="$languagedir/Help.german.php" error="skip">
|
||||
<operation>
|
||||
<search position="end" />
|
||||
<add><![CDATA[
|
||||
|
||||
//SMF Shoutbox
|
||||
$helptxt['sbox_Visible'] = 'Hier können Sie einstellen, ob die Shoutbox sichtbar ist oder nicht. Diese Einstellung gilt für ALLE Benutzer.';
|
||||
$helptxt['sbox_ModsRule'] = 'Dies erlaubt jedem, der die <i>moderate_board</i>-Berechtigung auf mindestens einem Board hat, Shouts zu löschen.';
|
||||
$helptxt['sbox_DoHistory'] = 'Legt fest, ob alle Shouts auch in eine Verlaufsdatei geschrieben werden sollen, so dass ein Administrator angebliche Vorfälle nachprüfen kann.';
|
||||
|
||||
$helptxt['sbox_GuestVisible'] = 'Hiermit können Sie festlegen, ob Gäste die Shoutbox überhaupt sehen können oder nicht.';
|
||||
$helptxt['sbox_GuestAllowed'] = 'Hier können Sie einstellen, ob Gäste die Shoutbox benutzen dürfen.';
|
||||
$helptxt['sbox_GuestBBC'] = 'Hier können Sie BBCode für Gast-Shouts ein- oder ausschalten. Beachten Sie bitte, dass dies auch von der Einstellung <i>BBCode erlauben</i> abhängig ist.';
|
||||
|
||||
$helptxt['sbox_SmiliesVisible'] = 'Hier können Sie einstellen, ob die Smilies sichtbar sind oder nicht. Diese Einstellung gilt für ALLE Benutzer.';
|
||||
$helptxt['sbox_UserLinksVisible'] = 'Legt fest, ob die Namen der Shouter mit deren Profilseite verlinkt werden sollen oder nicht.';
|
||||
$helptxt['sbox_AllowBBC'] = 'Legt fest, ob Benutzer BBCode in Shouts benutzen können. Wenn dies deaktiviert ist, wird nur Klartext angezeigt - ohne Smileys oder Formatierungen. Diese Option beeinflusst auch die <i>BBCode für Gäste erlauben</i>-Option.';
|
||||
$helptxt['sbox_NewShoutsBar'] = 'Ist diese Option aktiviert, wird eine Linie zwischen neuen Shouts (seit dem letzten Refresh) und älteren gezeigt.';
|
||||
|
||||
$helptxt['sbox_RefreshTime'] = 'Hier können Sie das Aktualisierungsintervall einstellen, also die Anzahl der Sekunden, die vergehen müssen, bevor sich die Shoutbox automatisch aktualisiert.';
|
||||
$helptxt['sbox_BlockRefresh'] = 'Legt fest, ob die automatische Aktualisierung nach eine Weile Inaktivität automatisch gestoppt werden soll. Benutzer können die Shoutbox weiterhin manuell aktualisieren. Die Zeitspanne wird unter <i>Zeit der Benutzeranzeige</i> in den <i>Standard-Funktionen</i> festgelegt. (Momentan ' . $modSettings['lastActive'] . ' Minuten)';
|
||||
$helptxt['sbox_EnableSounds'] = 'Aktiviert einen Ton, der gespielt wird, wenn der eigene Nickname in einem neuen Shout auftaucht.';
|
||||
|
||||
]]></add>
|
||||
</operation>
|
||||
</file>
|
||||
@ -104,7 +174,7 @@ $helptxt['sbox_EnableSounds'] = 'Enables the notification sound, when your nickn
|
||||
]]></add>
|
||||
</operation>
|
||||
<operation>
|
||||
<search position="end"></search>
|
||||
<search position="end" />
|
||||
<add><![CDATA[
|
||||
loadLanguage('sbox');
|
||||
|
||||
|
Reference in New Issue
Block a user