Commit 2838b3e0 authored by guus's avatar guus

OF-534: Copied some i18n label, created documentation and metadata for the new plugin.

git-svn-id: http://svn.igniterealtime.org/svn/repos/openfire/trunk@13025 b35dd754-fafc-0310-a699-88a17e54d16e
parent 026f2226
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>STUN Server Plugin Changelog</title>
<style type="text/css">
BODY {
font-size : 100%;
}
BODY, TD, TH {
font-family : tahoma, verdana, arial, helvetica, sans-serif;
font-size : 0.8em;
}
H2 {
font-size : 10pt;
font-weight : bold;
padding-left : 1em;
}
A:hover {
text-decoration : none;
}
H1 {
font-family : tahoma, arial, helvetica, sans-serif;
font-size : 1.4em;
font-weight: bold;
border-bottom : 1px #ccc solid;
padding-bottom : 2px;
}
TT {
font-family : courier new;
font-weight : bold;
color : #060;
}
PRE {
font-family : courier new;
font-size : 100%;
}
</style>
</head>
<body>
<h1>
STUN Server Plugin Changelog
</h1>
<p><b>1.0.0</b> -- February 26th, 2012 (GdK)</p>
<ul>
<li>Initial release based on the existing functionality in Openfire source code
(see <a href="http://issues.igniterealtime.org/browse/OF-534">issue OF-534</a>).</li>
</ul>
</body>
</html>
<?xml version="1.0" encoding="UTF-8"?>
<plugin>
<class>org.jivesoftware.openfire.stun.STUNService</class>
<name>STUN server plugin</name>
<description>Adds STUN functionality to Openfire</description>
<author>Ignite Realtime</author>
<version>1.0.0</version>
<date>February 26, 2012</date>
<minServerVersion>3.5.0</minServerVersion>
<adminconsole>
<tab id="sidebar-media-services">
<item id="stun-settings" name="${sidebar.stun}"
url="stun-settings.jsp"
description="${sidebar.stun.descr}"/>
</tab>
</adminconsole>
</plugin>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>STUN server Plugin Readme</title>
<style type="text/css">
BODY {
font-size : 100%;
}
BODY, TD, TH {
font-family : tahoma, verdana, arial, helvetica, sans-serif;
font-size : 0.8em;
}
H2 {
font-size : 10pt;
font-weight : bold;
}
A:hover {
text-decoration : none;
}
H1 {
font-family : tahoma, arial, helvetica, sans-serif;
font-size : 1.4em;
font-weight: bold;
border-bottom : 1px #ccc solid;
padding-bottom : 2px;
}
TT {
font-family : courier new;
font-weight : bold;
color : #060;
}
PRE {
font-family : courier new;
font-size : 100%;
}
</style>
</head>
<body>
<h1>STUN server Plugin Readme</h1>
<h2>Overview</h2>
<p>
The STUN Server plugin provides address discovery for peer-to-peer sessions to be used for media transmission and
receiving of UDP packets. It's especially useful for clients behind NAT devices. More details on STUN is available
on <a href="http://en.wikipedia.org/wiki/STUN">http://en.wikipedia.org/wiki/STUN</a>.
</p>
<h2>Installation</h2>
<p>
Copy the file, &quot;stunserver.jar&quot; into the plugins directory of your Openfire installation. The plugin will
then be automatically deployed. To upgrade to a new version just replace the &quot;stunserver.jar&quot; file with
the newest version or you can just update the plugin from the admin console in the plugins page.
</p>
<h2>Using the Plugin</h2>
<p>
Once the plugin has been installed you can log into the admin console to modify the STUN server settings.
</p>
<p>
Log into the admin console and in the main page you will see the <b>Media Settings</b> tab. In that tab,
you will find the <b>STUN settings</b> menu item. Go to that page to configure the STUN server.
</p>
</body>
</html>
global.add=P\u0159idat
global.delete=Smazat
sidebar.stun=STUN Settings
ports.stun=Slu\u017eba STUN
ports.stun.desc=Port pou\u017e\u00edvan\u00fd slu\u017ebou, kter\u00e1 zaji\u0161\u0165uje konktivitu mezi dv\u011bma entitami za NAT.
......
global.add=Hinzuf\u00fcgen
global.delete=L\u00f6schen
ports.stun=STUN Service
ports.stun.desc=The port used for the service that ensures connectivity between entities when behind a NAT.
......
global.add=Add
global.delete=Delete
sidebar.stun=STUN Settings
sidebar.stun.descr=Click to view STUN settings.
ports.stun=STUN Service
......
global.add=Agregar
global.delete=Borrar
ports.stun=Servicio STUN
ports.stun.desc=Puerto utilizado por el servicio para asegurar conectividad entre entidades detr\u00e1s de NATs.
......
global.add = Ajouter
global.delete = Supprimer
ports.stun=STUN Service
ports.stun.desc=The port used for the service that ensures connectivity between entities when behind a NAT.
# STUN Settings
......
global.add=\u8ffd\u52a0
global.delete=\u524a\u9664
sidebar.stun=STUN\u8a2d\u5b9a
sidebar.stun.descr=STUN\u8a2d\u5b9a\u3092\u53c2\u7167\u3059\u308b\u5834\u5408\u306b\u30af\u30ea\u30c3\u30af\u3057\u3066\u304f\u3060\u3055\u3044\u3002
ports.stun=STUN\u30b5\u30fc\u30d3\u30b9
......
global.add=Toevoegen
global.delete=Verwijderen
ports.stun=STUN Service
ports.stun.desc=The port used for the service that ensures connectivity between entities when behind a NAT.
# STUN Settings
stun.settings.alert.notvalidip = The selected IP values are not valid. Please select different IPs.
stun.settings.alert.notvalidport = The selected port numbers are not valid. Please select different port numbers.
......
global.add=Dodaj
global.delete=Usu\u0144
ports.stun=STUN Service
ports.stun.desc=The port used for the service that ensures connectivity between entities when behind a NAT.
# STUN Settings
......
global.add=Adicionar
global.delete=Apagar
ports.stun=Servi\u00e7o STUN
ports.stun.desc=A porta utilizada pelo servi\u00e7o que testa conectividade nos clientes que est\u00e3o atr\u00e1s de NAT.
# STUN Settings
stun.settings.alert.notvalidip = Os IPs selecionados n\u00e3o s\u00e3o v\u00e1lidos. Escolha dois IPs diferentes.
stun.settings.alert.notvalidport = As portas selecionadas n\u00e3o s\u00e3o v\u00e1lidas. Selecione duas portas diferentes.
......
global.add=\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C
global.delete=\u0423\u0434\u0430\u043B\u0438\u0442\u044C
ports.stun=\u0423\u0421\u041B\u0423\u0413\u0410 STUN
ports.stun.desc=\u041F\u043E\u0440\u0442 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u0442\u0441\u044F \u0434\u043B\u044F \u0443\u0441\u043B\u0443\u0433\u0438, \u043A\u043E\u0442\u043E\u0440\u0430\u044F \u0433\u0430\u0440\u0430\u043D\u0442\u0438\u0440\u0443\u0435\u0442 \u0441\u0432\u044F\u0437\u044C \u0437\u0430 NAT.
sidebar.stun=\u041D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438 STUN
......
## Added section 'stun.*'
## Added key: 'sidebar.stun'
## Added key: 'sidebar.stun.descr'
## Removed key: 'stun.settings.comment'
## Removed key: 'stun.settings.change'
## Removed key: 'stun.external.add'
## Removed key: 'stun.external.delete'
global.add=Prida\u0165
global.delete=Zmaza\u0165
sidebar.stun Se=Nastavenia STUN
sidebar.stun.descr t=Zobrazenie nastaven\u00ed STUN
ports.stun=Slu\u017eba STUN
ports.stun.desc=Tento port pou\u017e\u00edva slu\u017eba, ktor\u00e1 zabezpe\u010duje spojenia medzi entitami za NAT.
# STUN Settings
......
global.add=\u6dfb\u52a0
global.delete=\u5220\u9664
ports.stun=STUN\u670d\u52a1\u5668
ports.stun.desc=\u7aef\u53e3\u7528\u4e8e\u786e\u4fdd\u5b9e\u4f53\u4e4b\u95f4\u5728NAT\u4e0b\u7684\u8fde\u63a5.
# STUN Settings
stun.settings.alert.notvalidip = \u9009\u62e9\u7684IP\u503c\u65e0\u6548\uff0c\u8bf7\u9009\u62e9\u4e0d\u540c\u7684IP\u503c\u3002
stun.settings.alert.notvalidport = \u9009\u62e9\u7684\u7aef\u53e3\u65e0\u6548\uff0c\u8bf7\u9009\u62e9\u4e0d\u540c\u7684\u7aef\u53e3\u503c\u3002
......
......@@ -57,8 +57,7 @@
</script>
<%
STUNService stunService = XMPPServer.getInstance().getSTUNService();
STUNService stunService = (STUNService) XMPPServer.getInstance().getPluginManager().getPlugin("stunserver");
boolean save = request.getParameter("save") != null;
boolean add = request.getParameter("add") != null;
......@@ -91,7 +90,6 @@
JiveGlobals.setProperty("stun.local.enabled", String.valueOf(localEnabled));
stunService.stop();
stunService.initialize(XMPPServer.getInstance());
if (!enabled) localEnabled = false;
stunService.setEnabled(enabled, localEnabled);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment