From: <dam...@us...> - 2006-09-15 16:37:21
|
Revision: 1040 http://svn.sourceforge.net/azsmrc/?rev=1040&view=rev Author: damokles Date: 2006-09-15 09:37:07 -0700 (Fri, 15 Sep 2006) Log Message: ----------- fixed the runtime generation of Entries in flexyConf complete I18N for StatusMailerSupport Modified Paths: -------------- trunk/azsmrc/lbms/azsmrc/plugin/internat/Messages.properties trunk/azsmrc/lbms/azsmrc/plugin/internat/Messages_de_DE.properties trunk/azsmrc/lbms/azsmrc/plugin/internat/Messages_en_EN.properties trunk/azsmrc/lbms/azsmrc/plugin/pluginsupport/PSupportStatusMailer.java trunk/azsmrc/lbms/tools/flexyconf/Entry.java Modified: trunk/azsmrc/lbms/azsmrc/plugin/internat/Messages.properties =================================================================== --- trunk/azsmrc/lbms/azsmrc/plugin/internat/Messages.properties 2006-09-15 16:13:06 UTC (rev 1039) +++ trunk/azsmrc/lbms/azsmrc/plugin/internat/Messages.properties 2006-09-15 16:37:07 UTC (rev 1040) @@ -1,46 +1,50 @@ -Views.plugins.AzSMRC_View.title=AzSMRC -plugin.azsmrc=AzSMRC -azsmrc.auto.open=Auto Open:\nAuto open GUI tab on Azureus startup\n -azsmrc.military.time=24hr Time:\nIncluding European Style Date (dd:mm:yy)\n -azsmrc.remote.port=Port to use for remote interaction\n -azsmrc.portchange.alert=A restart of Azureus is needed if the port is changed or ssl is enabled!\n -azsmrc.singleusermode=Enable single user mode only\n -azsmrc.usernameCategory=Use Usernames as Category names\n -azsmrc.mytorrents.menutext1=AzSMRC Menu..text here -azsmrc.disable.auto.import=Disable AutoImport -azsmrc.use.ssl=Use SSL Encryption.\nNote: You need to create a certificate in Azureus\nto use this feature (Tools->Options->Security)\n -azsmrc.ssl.enabled=[SSL Encryption Enabled and working] -azsmrc.ssl.possible=[SSL Encryption is possible] -azsmrc.ssl.impossible=[SSL Encryption is not possible please create a certificate first.] -GUIAdminShell.slotShell.title=Download Slot Manager -GUIAdminShell.slotShell.nameLabel=Total Download Slots to use in Azureus: -GUIAdminShell.slotShell.warningLabel=Warning: Setting the total download slots too high will result in poor download speeds. -GUIAdminShell.slotShell.userName=User Name -GUIAdminShell.slotShell.userSlots=Download Slots -GUIAdminShell.configDialog.title=Administrator Settings -GUIAdminShell.configDialog.treeItem.generalSettings=General Plugin Settings -GUIAdminShell.configDialog.treeItem.slotSettings=Manage Download Slots -GUIAdminShell.configDialog.button.close=Close -GUIAdminShell.generalSettings.title=General Settings -GUIAdminShell.generalSettings.timerLabel=Interval for importing new torrents from user's directories (minutes) -GUILogin.openLogin.userNameLabel=User Name: -GUILogin.openLogin.passwordLabel=Password: -GUILogin.openLogin.loginButton=Login -GUILogin.openLogin.status=Login failed, please try again -General.UserNotFoundError.MessageBox.title=Error -General.UserNotFoundError.MessageBox.message=Plugin is reporting a 'User Not Found' error. \n Possible error in your plugin config file. \nPlease Check your settings and try again. -General.CannotDeleteYourselfError.MessageBox.title=Error -General.CannotDeleteYourselfError.MessageBox.message=You cannot delete yourself! -GUIMain.userTable_group.title=Currently logged in as -GUIMain.userTable.userName=User Name -GUIMain.userTable.userType=User Type -GUIMain.userTable.downloadSlots=Download Slots -GUIMain.userTable.downloadCount=Downloads Running -GUIMain.userTable.outputDir=Output Directory -GUIMain.userTable.inputDir=Automatic Input Directory -GUIMain.userTable.popupmenu.changePassword=Change Password -GUIMain.userTable.popupmenu.editUser=Edit User Information -GUIMain.userTable_toolbar.addUser=Add a New User -GUIMain.userTable_toolbar.deleteUser=Delete Selected User -GUIMain.userTable_toolbar.admin=Administrator Settings -GUIMain.userTable_toolbar.logout=Logout User \ No newline at end of file +GUIAdminShell.configDialog.button.close=Close +GUIAdminShell.configDialog.title=Administrator Settings +GUIAdminShell.configDialog.treeItem.generalSettings=General Plugin Settings +GUIAdminShell.configDialog.treeItem.slotSettings=Manage Download Slots +GUIAdminShell.generalSettings.timerLabel=Interval for importing new torrents from user's directories (minutes) +GUIAdminShell.generalSettings.title=General Settings +GUIAdminShell.slotShell.nameLabel=Total Download Slots to use in Azureus: +GUIAdminShell.slotShell.title=Download Slot Manager +GUIAdminShell.slotShell.userName=User Name +GUIAdminShell.slotShell.userSlots=Download Slots +GUIAdminShell.slotShell.warningLabel=Warning: Setting the total download slots too high will result in poor download speeds. +GUILogin.openLogin.loginButton=Login +GUILogin.openLogin.passwordLabel=Password: +GUILogin.openLogin.status=Login failed, please try again +GUILogin.openLogin.userNameLabel=User Name: +GUIMain.userTable.downloadCount=Downloads Running +GUIMain.userTable.downloadSlots=Download Slots +GUIMain.userTable.inputDir=Automatic Input Directory +GUIMain.userTable.outputDir=Output Directory +GUIMain.userTable.popupmenu.changePassword=Change Password +GUIMain.userTable.popupmenu.editUser=Edit User Information +GUIMain.userTable.userName=User Name +GUIMain.userTable.userType=User Type +GUIMain.userTable_group.title=Currently logged in as +GUIMain.userTable_toolbar.addUser=Add a New User +GUIMain.userTable_toolbar.admin=Administrator Settings +GUIMain.userTable_toolbar.deleteUser=Delete Selected User +GUIMain.userTable_toolbar.logout=Logout User +General.CannotDeleteYourselfError.MessageBox.message=You cannot delete yourself! +General.CannotDeleteYourselfError.MessageBox.title=Error +General.UserNotFoundError.MessageBox.message=Plugin is reporting a 'User Not Found' error. \n Possible error in your plugin config file. \nPlease Check your settings and try again. +General.UserNotFoundError.MessageBox.title=Error +Views.plugins.AzSMRC_View.title=AzSMRC +azsmrc.auto.open=Auto Open:\nAuto open GUI tab on Azureus startup\n +azsmrc.disable.auto.import=Disable AutoImport +azsmrc.military.time=24hr Time:\nIncluding European Style Date (dd:mm:yy)\n +azsmrc.mytorrents.menutext1=AzSMRC Menu..text here +azsmrc.pluginsupport.StatusMailerSupport.info=If you have the plugin StatusMailer installed\nyou can configure the user address here. +azsmrc.pluginsupport.config.email=eMail-Address +azsmrc.pluginsupport.config.emailnotify=Enable email notification for this user. +azsmrc.pluginsupport.StatusMailerSupport=StatusMailer Support +azsmrc.portchange.alert=A restart of Azureus is needed if the port is changed or ssl is enabled!\n +azsmrc.remote.port=Port to use for remote interaction\n +azsmrc.singleusermode=Enable single user mode only\n +azsmrc.ssl.enabled=[SSL Encryption Enabled and working] +azsmrc.ssl.impossible=[SSL Encryption is not possible please create a certificate first.] +azsmrc.ssl.possible=[SSL Encryption is possible] +azsmrc.use.ssl=Use SSL Encryption.\nNote: You need to create a certificate in Azureus\nto use this feature (Tools->Options->Security)\n +azsmrc.usernameCategory=Use Usernames as Category names\n +plugin.azsmrc=AzSMRC Modified: trunk/azsmrc/lbms/azsmrc/plugin/internat/Messages_de_DE.properties =================================================================== --- trunk/azsmrc/lbms/azsmrc/plugin/internat/Messages_de_DE.properties 2006-09-15 16:13:06 UTC (rev 1039) +++ trunk/azsmrc/lbms/azsmrc/plugin/internat/Messages_de_DE.properties 2006-09-15 16:37:07 UTC (rev 1040) @@ -1,46 +1,51 @@ -Views.plugins.AzSMRC_View.title=AzSMRC -plugin.azmultiuser=AzSMRC -azsmrc.auto.open=Automatisches \xD6ffnen:\n\xD6ffnet den GUI Tab beim Start\n -azsmrc.remote.port=Port f\xFCr Remoteverbindungen -azsmrc.portchange.alert=Sie m\xFCssen Azureus neu starten wenn Sie den Port oder Die SSL Einstellungen \xE4ndern. -azsmrc.singleusermode=Einzelnutzer Modus (Alle Benutzer k\xF6nnen alle Torrents sehen und ver\xE4ndern)\n -azsmrc.usernameCategory=Benutze Benutzernahmen als Kategorienamen\n -azsmrc.military.time=24hr Zeit:\nMit euro. Datumsformat (dd:mm:yy)\n -azsmrc.mytorrents.menutext1=AzSMRC Menu..text here --TRANSLATE ME! -azsmrc.disable.auto.import=AutoImport deaktivieren -azsmrc.use.ssl=SSL verwenden.\nHinweis: Sie m\xFCssen vorher ein SSL Zertifikat erstellen\n (Tools->Konfiguration->Sicherheit)\n -azsmrc.ssl.enabled=[SSL Verschl\xFCsslung aktiviert] -azsmrc.ssl.possible=[SSL Verschl\xFCsslung ist m\xF6glich] -azsmrc.ssl.impossible=[SSL Verschl\xFCsslung ist nicht m\xF6glich.\nSie m\xFCssen vorher ein SSL Zertifikat erstellen] -GUIAdminShell.slotShell.title=Download Slot Manager -GUIAdminShell.slotShell.nameLabel=Anzahl an Download Slots in Azureus: -GUIAdminShell.slotShell.warningLabel=Warnung: Wenn Sie zu viele Download Slots einstellen, k\xF6nnen die Downloadraten beeintr\xE4chtigt werden. -GUIAdminShell.slotShell.userName=Benutzername -GUIAdminShell.slotShell.userSlots=Download Slots -GUIAdminShell.configDialog.title=Administratoren Einstellungen -GUIAdminShell.configDialog.treeItem.generalSettings=Plugin Einstellungen -GUIAdminShell.configDialog.treeItem.slotSettings=Download Slots Verwalten -GUIAdminShell.configDialog.button.close=Schlie\xDFen -GUIAdminShell.generalSettings.title=Allgemeine Einstellungen -GUIAdminShell.generalSettings.timerLabel=Interval in denen neue Torrents aus den Benutzerverzeichnissen geladen werden (minuten) -GUILogin.openLogin.userNameLabel=Benutzername: -GUILogin.openLogin.passwordLabel=Passwort: -GUILogin.openLogin.loginButton=Anmelden -GUILogin.openLogin.status=Anmeldung fehlgeschlage, versuche es bitte nochmal -General.UserNotFoundError.MessageBox.title=Fehler -General.UserNotFoundError.MessageBox.message= Das Plugin meldet einen 'Benutzer nicht gefunden' Fehler.\nEs gibt m\xF6glicherweise einen Fehler in der Plugin Configurationsdatei.\nBitte \xFCberpr\xFCfen Sie Ihre einstellungen und versuchen sie es erneut. -General.CannotDeleteYourselfError.MessageBox.title=Error -General.CannotDeleteYourselfError.MessageBox.message=Du kannst dich nicht selbst l\xF6schen. -GUIMain.userTable_group.title=Angemeldet als -GUIMain.userTable.userName=Benutzername -GUIMain.userTable.userType=Benutzer Typ -GUIMain.userTable.downloadSlots=Download Slots -GUIMain.userTable.downloadCount=Downloads -GUIMain.userTable.outputDir=Ausgabe Verzeichnis -GUIMain.userTable.inputDir=Auto Import Verzeichnis -GUIMain.userTable.popupmenu.changePassword=Passwort \xE4ndern -GUIMain.userTable.popupmenu.editUser=Benutzereinstellungen \xE4ndern -GUIMain.userTable_toolbar.addUser=Neuen Benutzer hinzuf\xFCgen -GUIMain.userTable_toolbar.deleteUser=Ausgew\xE4hlten Benutzer l\xF6schen -GUIMain.userTable_toolbar.admin=Administratoren Einstellungen -GUIMain.userTable_toolbar.logout=Abmelden \ No newline at end of file +GUIAdminShell.configDialog.button.close=Schlie\xDFen +GUIAdminShell.configDialog.title=Administratoren Einstellungen +GUIAdminShell.configDialog.treeItem.generalSettings=Plugin Einstellungen +GUIAdminShell.configDialog.treeItem.slotSettings=Download Slots Verwalten +GUIAdminShell.generalSettings.timerLabel=Interval in denen neue Torrents aus den Benutzerverzeichnissen geladen werden (minuten) +GUIAdminShell.generalSettings.title=Allgemeine Einstellungen +GUIAdminShell.slotShell.nameLabel=Anzahl an Download Slots in Azureus: +GUIAdminShell.slotShell.title=Download Slot Manager +GUIAdminShell.slotShell.userName=Benutzername +GUIAdminShell.slotShell.userSlots=Download Slots +GUIAdminShell.slotShell.warningLabel=Warnung: Wenn Sie zu viele Download Slots einstellen, k\xF6nnen die Downloadraten beeintr\xE4chtigt werden. +GUILogin.openLogin.loginButton=Anmelden +GUILogin.openLogin.passwordLabel=Passwort: +GUILogin.openLogin.status=Anmeldung fehlgeschlage, versuche es bitte nochmal +GUILogin.openLogin.userNameLabel=Benutzername: +GUIMain.userTable.downloadCount=Downloads +GUIMain.userTable.downloadSlots=Download Slots +GUIMain.userTable.inputDir=Auto Import Verzeichnis +GUIMain.userTable.outputDir=Ausgabe Verzeichnis +GUIMain.userTable.popupmenu.changePassword=Passwort \xE4ndern +GUIMain.userTable.popupmenu.editUser=Benutzereinstellungen \xE4ndern +GUIMain.userTable.userName=Benutzername +GUIMain.userTable.userType=Benutzer Typ +GUIMain.userTable_group.title=Angemeldet als +GUIMain.userTable_toolbar.addUser=Neuen Benutzer hinzuf\xFCgen +GUIMain.userTable_toolbar.admin=Administratoren Einstellungen +GUIMain.userTable_toolbar.deleteUser=Ausgew\xE4hlten Benutzer l\xF6schen +GUIMain.userTable_toolbar.logout=Abmelden +General.CannotDeleteYourselfError.MessageBox.message=Du kannst dich nicht selbst l\xF6schen. +General.CannotDeleteYourselfError.MessageBox.title=Error +General.UserNotFoundError.MessageBox.message= Das Plugin meldet einen 'Benutzer nicht gefunden' Fehler.\nEs gibt m\xF6glicherweise einen Fehler in der Plugin Configurationsdatei.\nBitte \xFCberpr\xFCfen Sie Ihre einstellungen und versuchen sie es erneut. +General.UserNotFoundError.MessageBox.title=Fehler +Views.plugins.AzSMRC_View.title=AzSMRC +azsmrc.auto.open=Automatisches \xD6ffnen:\n\xD6ffnet den GUI Tab beim Start\n +azsmrc.disable.auto.import=AutoImport deaktivieren +azsmrc.military.time=24hr Zeit:\nMit euro. Datumsformat (dd:mm:yy)\n +azsmrc.mytorrents.menutext1=AzSMRC Menu..text here --TRANSLATE ME! +azsmrc.pluginsupport.config.statusMailerSupport.info=Wenn sie das Plugin StatusMailer installiert haben,\nk\xF6nnen sie hier die E-Mail-Adresse des Benutzers eingeben. +azsmrc.pluginsupport.config.email=E-Mail-Adresse +azsmrc.pluginsupport.config.emailnotify=Aktiviere E-Mail-Benachrichtigung f\xFCr diesen Benutzer +azsmrc.pluginsupport.StatusMailerSupport=StatusMailer Unterst\xFCtzung +azsmrc.portchange.alert=Sie m\xFCssen Azureus neu starten wenn Sie den Port oder Die SSL Einstellungen \xE4ndern. +azsmrc.remote.port=Port f\xFCr Remoteverbindungen +azsmrc.singleusermode=Einzelnutzer Modus (Alle Benutzer k\xF6nnen alle Torrents sehen und ver\xE4ndern)\n +azsmrc.ssl.enabled=[SSL Verschl\xFCsslung aktiviert] +azsmrc.ssl.impossible=[SSL Verschl\xFCsslung ist nicht m\xF6glich.\nSie m\xFCssen vorher ein SSL Zertifikat erstellen] +azsmrc.ssl.possible=[SSL Verschl\xFCsslung ist m\xF6glich] +azsmrc.use.ssl=SSL verwenden.\nHinweis: Sie m\xFCssen vorher ein SSL Zertifikat erstellen\n (Tools->Konfiguration->Sicherheit)\n +azsmrc.usernameCategory=Benutze Benutzernahmen als Kategorienamen\n +plugin.azmultiuser=AzSMRC +plugin.azsmrc=AzSMRC Modified: trunk/azsmrc/lbms/azsmrc/plugin/internat/Messages_en_EN.properties =================================================================== --- trunk/azsmrc/lbms/azsmrc/plugin/internat/Messages_en_EN.properties 2006-09-15 16:13:06 UTC (rev 1039) +++ trunk/azsmrc/lbms/azsmrc/plugin/internat/Messages_en_EN.properties 2006-09-15 16:37:07 UTC (rev 1040) @@ -1,46 +1,50 @@ -Views.plugins.AzSMRC_View.title=AzSMRC -plugin.azsmrc=AzSMRC -azsmrc.auto.open=Auto Open:\nAuto open GUI tab on Azureus startup\n -azsmrc.military.time=24hr Time:\nIncluding European Style Date (dd:mm:yy)\n -azsmrc.remote.port=Port to use for remote interaction\n -azsmrc.portchange.alert=A restart of Azureus is needed if the port is changed or ssl is enabled!\n -azsmrc.singleusermode=Enable single user mode only\n -azsmrc.usernameCategory=Use Usernames as Category names\n -azsmrc.mytorrents.menutext1=AzSMRC Menu..text here -azsmrc.disable.auto.import=Disable AutoImport -azsmrc.use.ssl=Use SSL Encryption.\nNote: You need to create a certificate in Azureus\nto use this feature (Tools->Options->Security)\n -azsmrc.ssl.enabled=[SSL Encryption Enabled and working] -azsmrc.ssl.possible=[SSL Encryption is possible] -azsmrc.ssl.impossible=[SSL Encryption is not possible please create a certificate first.] -GUIAdminShell.slotShell.title=Download Slot Manager -GUIAdminShell.slotShell.nameLabel=Total Download Slots to use in Azureus: -GUIAdminShell.slotShell.warningLabel=Warning: Setting the total download slots too high will result in poor download speeds. -GUIAdminShell.slotShell.userName=User Name -GUIAdminShell.slotShell.userSlots=Download Slots +GUIAdminShell.configDialog.button.close=Close GUIAdminShell.configDialog.title=Administrator Settings GUIAdminShell.configDialog.treeItem.generalSettings=General Plugin Settings GUIAdminShell.configDialog.treeItem.slotSettings=Manage Download Slots -GUIAdminShell.configDialog.button.close=Close +GUIAdminShell.generalSettings.timerLabel=Interval for importing new torrents from user's directories (minutes) GUIAdminShell.generalSettings.title=General Settings -GUIAdminShell.generalSettings.timerLabel=Interval for importing new torrents from user's directories (minutes) -GUILogin.openLogin.userNameLabel=User Name: +GUIAdminShell.slotShell.nameLabel=Total Download Slots to use in Azureus: +GUIAdminShell.slotShell.title=Download Slot Manager +GUIAdminShell.slotShell.userName=User Name +GUIAdminShell.slotShell.userSlots=Download Slots +GUIAdminShell.slotShell.warningLabel=Warning: Setting the total download slots too high will result in poor download speeds. +GUILogin.openLogin.loginButton=Login GUILogin.openLogin.passwordLabel=Password: -GUILogin.openLogin.loginButton=Login GUILogin.openLogin.status=Login failed, please try again -General.UserNotFoundError.MessageBox.title=Error -General.UserNotFoundError.MessageBox.message=Plugin is reporting a 'User Not Found' error. \n Possible error in your plugin config file. \nPlease Check your settings and try again. -General.CannotDeleteYourselfError.MessageBox.title=Error -General.CannotDeleteYourselfError.MessageBox.message=You cannot delete yourself! -GUIMain.userTable_group.title=Currently logged in as -GUIMain.userTable.userName=User Name -GUIMain.userTable.userType=User Type +GUILogin.openLogin.userNameLabel=User Name: +GUIMain.userTable.downloadCount=Downloads Running GUIMain.userTable.downloadSlots=Download Slots -GUIMain.userTable.downloadCount=Downloads Running +GUIMain.userTable.inputDir=Automatic Input Directory GUIMain.userTable.outputDir=Output Directory -GUIMain.userTable.inputDir=Automatic Input Directory GUIMain.userTable.popupmenu.changePassword=Change Password GUIMain.userTable.popupmenu.editUser=Edit User Information +GUIMain.userTable.userName=User Name +GUIMain.userTable.userType=User Type +GUIMain.userTable_group.title=Currently logged in as GUIMain.userTable_toolbar.addUser=Add a New User +GUIMain.userTable_toolbar.admin=Administrator Settings GUIMain.userTable_toolbar.deleteUser=Delete Selected User -GUIMain.userTable_toolbar.admin=Administrator Settings -GUIMain.userTable_toolbar.logout=Logout User \ No newline at end of file +GUIMain.userTable_toolbar.logout=Logout User +General.CannotDeleteYourselfError.MessageBox.message=You cannot delete yourself! +General.CannotDeleteYourselfError.MessageBox.title=Error +General.UserNotFoundError.MessageBox.message=Plugin is reporting a 'User Not Found' error. \n Possible error in your plugin config file. \nPlease Check your settings and try again. +General.UserNotFoundError.MessageBox.title=Error +Views.plugins.AzSMRC_View.title=AzSMRC +azsmrc.auto.open=Auto Open:\nAuto open GUI tab on Azureus startup\n +azsmrc.disable.auto.import=Disable AutoImport +azsmrc.military.time=24hr Time:\nIncluding European Style Date (dd:mm:yy)\n +azsmrc.mytorrents.menutext1=AzSMRC Menu..text here +azsmrc.pluginsupport.config.email=eMail-Address +azsmrc.pluginsupport.config.emailnotify=Enable email notification for this user. +azsmrc.pluginsupport.config.statusMailerSupport.info=If you have the plugin StatusMailer installed\nyou can configure the user address here. +azsmrc.pluginsupport.StatusMailerSupport=StatusMailer Support +azsmrc.portchange.alert=A restart of Azureus is needed if the port is changed or ssl is enabled!\n +azsmrc.remote.port=Port to use for remote interaction\n +azsmrc.singleusermode=Enable single user mode only\n +azsmrc.ssl.enabled=[SSL Encryption Enabled and working] +azsmrc.ssl.impossible=[SSL Encryption is not possible please create a certificate first.] +azsmrc.ssl.possible=[SSL Encryption is possible] +azsmrc.use.ssl=Use SSL Encryption.\nNote: You need to create a certificate in Azureus\nto use this feature (Tools->Options->Security)\n +azsmrc.usernameCategory=Use Usernames as Category names\n +plugin.azsmrc=AzSMRC Modified: trunk/azsmrc/lbms/azsmrc/plugin/pluginsupport/PSupportStatusMailer.java =================================================================== --- trunk/azsmrc/lbms/azsmrc/plugin/pluginsupport/PSupportStatusMailer.java 2006-09-15 16:13:06 UTC (rev 1039) +++ trunk/azsmrc/lbms/azsmrc/plugin/pluginsupport/PSupportStatusMailer.java 2006-09-15 16:37:07 UTC (rev 1040) @@ -21,7 +21,7 @@ private boolean active; private final static String SUPPORTED_PLUGIN_ID = "azstatusmailer"; private final static String NAME = "Status Mailer Support"; - private final static String MIN_VERSION = "0.8.0"; + private final static String MIN_VERSION = "0.7.1"; private IPCInterface ipc; /* (non-Javadoc) @@ -52,16 +52,16 @@ public void initialize(PluginInterface pi) { PluginInterface target = pi.getPluginManager().getPluginInterfaceByID(SUPPORTED_PLUGIN_ID); Section confSection = Plugin.addPSConfigSection("StatusMailerSupport"); + new Entry("","azsmrc.pluginsupport.config.statusMailerSupport.info",Entry.TYPE_LABEL,confSection); new Entry("eMailNotification","azsmrc.pluginsupport.config.emailnotify",Entry.TYPE_BOOLEAN,confSection); Entry mailE = new Entry("eMail","azsmrc.pluginsupport.config.email",Entry.TYPE_STRING,confSection); + mailE.setDependsOn("eMailNotification"); try { //only accept valid email addresses mailE.setRule("^[\\w-\\.]+@(?:[\\w-]+\\.)+[\\w-]{2,4}$"); } catch (InvalidRuleException e) { - // TODO Auto-generated catch block e.printStackTrace(); } catch (InvalidTypeException e) { - // TODO Auto-generated catch block e.printStackTrace(); } if (target == null) { Modified: trunk/azsmrc/lbms/tools/flexyconf/Entry.java =================================================================== --- trunk/azsmrc/lbms/tools/flexyconf/Entry.java 2006-09-15 16:13:06 UTC (rev 1039) +++ trunk/azsmrc/lbms/tools/flexyconf/Entry.java 2006-09-15 16:37:07 UTC (rev 1040) @@ -41,6 +41,7 @@ this.label = label; this.section = parent; this.fci = parent.getFCInterface(); + this.index = parent.getEntries().length; parent.addEntry(this); } @@ -51,6 +52,7 @@ this.fci = section.getFCInterface(); section.addEntry(this); group.addEntry(this); + this.index = group.getEntries().length; } protected Entry (Element e, Section parent, FCInterface fci) { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |