BF [2868898] - Exported xml element must be CDATA

https://sourceforge.net/tracker/?func=detail&aid=2868898&group_id=176962&atid=879332
and small code beautify.
This commit is contained in:
trifonnt 2009-09-28 14:54:59 +00:00
parent a26905d3fd
commit 6592007b92
3 changed files with 48 additions and 124 deletions

View File

@ -38,7 +38,7 @@ public class PlafRes extends ListResourceBundle
{ "LookAndFeelEditor", "Look & Feel Editor" },
{ "LookAndFeel", "Look & Feel" },
{ "Theme", "Theme" },
{ "EditAdempiereTheme", "Edit Adempiere Theme" },
{ "EditAdempiereTheme", "Edit Adempiere Theme" },
{ "SetDefault", "Default Background" },
{ "SetDefaultColor", "Background Color" },
{ "ColorBlind", "Color Deficiency" },
@ -47,10 +47,10 @@ public class PlafRes extends ListResourceBundle
{ "OK", "OK" },
{ "Cancel", "Cancel" },
//
{ "AdempiereThemeEditor", "Adempiere Theme Editor" },
{ "AdempiereThemeEditor", "Adempiere Theme Editor" },
{ "MetalColors", "Metal Colors" },
{ "AdempiereColors", "Adempiere Colors" },
{ "AdempiereFonts", "Adempiere Fonts" },
{ "AdempiereColors", "Adempiere Colors" },
{ "AdempiereFonts", "Adempiere Fonts" },
{ "Primary1Info", "Shadow, Separator" },
{ "Primary1", "Primary 1" },
{ "Primary2Info", "Focus Line, Selected Menu" },
@ -104,8 +104,8 @@ public class PlafRes extends ListResourceBundle
{ "TestString", "This is just a Test! The quick brown Fox is doing something. 12,3456.78 LetterLOne = l1 LetterOZero = O0" },
{ "FontString", "Font" },
//
{ "AdempiereColorEditor", "Adempiere Color Editor" },
{ "AdempiereType", "Color Type" },
{ "AdempiereColorEditor", "Adempiere Color Editor" },
{ "AdempiereType", "Color Type" },
{ "GradientUpperColor", "Gradient Upper Color" },
{ "GradientLowerColor", "Gradient Lower Color" },
{ "GradientStart", "Gradient Start" },

View File

@ -228,7 +228,7 @@ public class Translation
if (valueString == null)
valueString = "";
value.setAttribute(XML_VALUE_ATTRIBUTE_ORIGINAL, origString);
value.appendChild(document.createTextNode(valueString));
value.appendChild(document.createCDATASection(valueString));
row.appendChild(value);
}
root.appendChild(row);

View File

@ -36,96 +36,47 @@ public class SetupRes_ru extends ListResourceBundle
}
static final Object contents[][] = {
{
"AdempiereServerSetup",
"\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u0430 Adempiere"},
{ "AdempiereServerSetup", "\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u0430 Adempiere"},
{ "Ok", "Ok"},
{ "File", "\u0424\u0430\u0439\u043b"},
{ "Exit", "\u0412\u044b\u0445\u043e\u0434"},
{ "Help", "\u041f\u043e\u043c\u043e\u0449\u044c"},
{
"PleaseCheck",
"\u041f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430 \u043f\u0440\u043e\u0432\u0435\u0440\u044c\u0442\u0435"},
{
"UnableToConnect",
"\u041d\u0435\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e c \u0441\u0430\u0439\u0442\u0430 Adempiere"},
{
"AdempiereHomeInfo",
"Adempiere Home - \u044d\u0442\u043e \u0433\u043b\u0430\u0432\u043d\u044b\u0439 \u043a\u0430\u0442\u0430\u043b\u043e\u0433"},
{ "PleaseCheck", "\u041f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430 \u043f\u0440\u043e\u0432\u0435\u0440\u044c\u0442\u0435"},
{ "UnableToConnect", "\u041d\u0435\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e c \u0441\u0430\u0439\u0442\u0430 Adempiere"},
{ "AdempiereHomeInfo", "Adempiere Home - \u044d\u0442\u043e \u0433\u043b\u0430\u0432\u043d\u044b\u0439 \u043a\u0430\u0442\u0430\u043b\u043e\u0433"},
{ "AdempiereHome", "Adempiere Home"},
{ "WebPortInfo", "\u0412\u0435\u0431 (HTML) \u043f\u043e\u0440\u0442"},
{ "WebPort", "\u0412\u0435\u0431 \u043f\u043e\u0440\u0442"},
{
"AppsServerInfo",
"\u0418\u043c\u044f \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439"},
{
"AppsServer",
"\u0421\u0435\u0440\u0432\u0435\u0440 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439"},
{
"DatabaseTypeInfo",
"\u0422\u0438\u043f \u0431\u0430\u0437\u044b \u0434\u0430\u043d\u043d\u044b\u0445"},
{
"DatabaseType",
"\u0422\u0438\u043f \u0431\u0430\u0437\u044b \u0434\u0430\u043d\u043d\u044b\u0445"},
{
"DatabaseNameInfo",
"\u0418\u043c\u044f \u0431\u0430\u0437\u044b \u0434\u0430\u043d\u043d\u044b\u0445"},
{
"DatabaseName",
"\u0418\u043c\u044f \u0431\u0430\u0437\u044b \u0434\u0430\u043d\u043d\u044b\u0445 (SID)"},
{ "AppsServerInfo", "\u0418\u043c\u044f \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439"},
{ "AppsServer", "\u0421\u0435\u0440\u0432\u0435\u0440 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439"},
{ "DatabaseTypeInfo", "\u0422\u0438\u043f \u0431\u0430\u0437\u044b \u0434\u0430\u043d\u043d\u044b\u0445"},
{ "DatabaseType", "\u0422\u0438\u043f \u0431\u0430\u0437\u044b \u0434\u0430\u043d\u043d\u044b\u0445"},
{ "DatabaseNameInfo", "\u0418\u043c\u044f \u0431\u0430\u0437\u044b \u0434\u0430\u043d\u043d\u044b\u0445"},
{ "DatabaseName", "\u0418\u043c\u044f \u0431\u0430\u0437\u044b \u0434\u0430\u043d\u043d\u044b\u0445 (SID)"},
{ "DatabasePortInfo", "\u041f\u043e\u0440\u0442 \u0411\u0414 Listener"},
{ "DatabasePort", "\u041f\u043e\u0440\u0442 \u0411\u0414"},
{
"DatabaseUserInfo",
"ID \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u0411\u0414"},
{
"DatabaseUser",
"\u041f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u0411\u0414"},
{
"DatabasePasswordInfo",
"\u041f\u0430\u0440\u043e\u043b\u044c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u0411\u0414"},
{ "DatabasePassword",
"\u041f\u0430\u0440\u043e\u043b\u044c \u0411\u0414"},
{ "DatabaseUserInfo", "ID \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u0411\u0414"},
{ "DatabaseUser", "\u041f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u0411\u0414"},
{ "DatabasePasswordInfo", "\u041f\u0430\u0440\u043e\u043b\u044c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u0411\u0414"},
{ "DatabasePassword", "\u041f\u0430\u0440\u043e\u043b\u044c \u0411\u0414"},
{ "TNSNameInfo", "TNS \u0438\u043b\u0438 Global Database Name"},
{ "TNSName", "\u0418\u043c\u044f TNS"},
{
"SystemPasswordInfo",
"\u041f\u0430\u0440\u043e\u043b\u044c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f System"},
{ "SystemPasswordInfo", "\u041f\u0430\u0440\u043e\u043b\u044c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f System"},
{ "SystemPassword", "\u041f\u0430\u0440\u043e\u043b\u044c System"},
{
"MailServerInfo",
"\u0421\u0435\u0440\u0432\u0435\u0440 \u044d\u043b\u0435\u043a\u0442\u0440\u043e\u043d\u043d\u043e\u0439 \u043f\u043e\u0447\u0442\u044b"},
{
"MailServer",
"\u0421\u0435\u0440\u0432\u0435\u0440 \u044d\u043b. \u043f\u043e\u0447\u0442\u044b"},
{
"AdminEMailInfo",
"\u0415\u043c\u0430\u0439\u043b \u0430\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0430\u0442\u043e\u0440\u0430"},
{
"AdminEMail",
"\u0415\u043c\u0430\u0439\u043b \u0430\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0430\u0442\u043e\u0440\u0430"},
{ "DatabaseServerInfo",
"\u0418\u043c\u044f \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u0411\u0414"},
{ "MailServerInfo", "\u0421\u0435\u0440\u0432\u0435\u0440 \u044d\u043b\u0435\u043a\u0442\u0440\u043e\u043d\u043d\u043e\u0439 \u043f\u043e\u0447\u0442\u044b"},
{ "MailServer", "\u0421\u0435\u0440\u0432\u0435\u0440 \u044d\u043b. \u043f\u043e\u0447\u0442\u044b"},
{ "AdminEMailInfo", "\u0415\u043c\u0430\u0439\u043b \u0430\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0430\u0442\u043e\u0440\u0430"},
{ "AdminEMail", "\u0415\u043c\u0430\u0439\u043b \u0430\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0430\u0442\u043e\u0440\u0430"},
{ "DatabaseServerInfo", "\u0418\u043c\u044f \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u0411\u0414"},
{ "DatabaseServer", "\u0421\u0435\u0440\u0432\u0435\u0440 \u0411\u0414"},
{ "JavaHomeInfo",
"\u041a\u0430\u0442\u0430\u043b\u043e\u0433 Java Home"},
{ "JavaHomeInfo", "\u041a\u0430\u0442\u0430\u043b\u043e\u0433 Java Home"},
{ "JavaHome", "Java Home"},
{
"JNPPortInfo",
"\u041f\u043e\u0440\u0442 JNP \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439"},
{ "JNPPortInfo", "\u041f\u043e\u0440\u0442 JNP \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439"},
{ "JNPPort", "\u041f\u043e\u0440\u0442 JNP"},
{
"MailUserInfo",
"\u041f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u044d\u043b\u0435\u043a\u0442\u0440\u043e\u043d\u043d\u043e\u0439 \u043f\u043e\u0447\u0442\u044b"},
{
"MailUser",
"\u041f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u044d\u043b. \u043f\u043e\u0447\u0442\u044b"},
{
"MailPasswordInfo",
"\u041f\u0430\u0440\u043e\u043b\u044c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u044d\u043b\u0435\u043a\u0442\u0440\u043e\u043d\u043d\u043e\u0439 \u043f\u043e\u0447\u0442\u044b"},
{
"MailPassword",
"\u041f\u0430\u0440\u043e\u043b\u044c \u0434\u043b\u044f \u044d\u043b. \u043f\u043e\u0447\u0442\u044b"},
{ "MailUserInfo", "\u041f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u044d\u043b\u0435\u043a\u0442\u0440\u043e\u043d\u043d\u043e\u0439 \u043f\u043e\u0447\u0442\u044b"},
{ "MailUser", "\u041f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u044d\u043b. \u043f\u043e\u0447\u0442\u044b"},
{ "MailPasswordInfo", "\u041f\u0430\u0440\u043e\u043b\u044c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u044d\u043b\u0435\u043a\u0442\u0440\u043e\u043d\u043d\u043e\u0439 \u043f\u043e\u0447\u0442\u044b"},
{ "MailPassword", "\u041f\u0430\u0440\u043e\u043b\u044c \u0434\u043b\u044f \u044d\u043b. \u043f\u043e\u0447\u0442\u044b"},
{ "KeyStorePassword", "Key Store Password"},
{ "KeyStorePasswordInfo", "Password for SSL Key Store"},
//
@ -137,52 +88,25 @@ public class SetupRes_ru extends ListResourceBundle
{ "DeployDirInfo", "J2EE Deployment Directory"},
{ "ErrorDeployDir", "Error Deployment Directory"},
//
{
"TestInfo",
"\u041f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043a"},
{ "TestInfo", "\u041f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043a"},
{ "Test", "\u041f\u0440\u043e\u0432\u0435\u0440\u043a\u0430"},
{
"SaveInfo",
"\u0421\u043e\u0445\u0440\u0430\u043d\u0438\u0442\u044c \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438"},
{ "SaveInfo", "\u0421\u043e\u0445\u0440\u0430\u043d\u0438\u0442\u044c \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438"},
{ "Save", "\u0421\u043e\u0445\u0440\u0430\u043d\u0438\u0442\u044c"},
{ "HelpInfo", "\u041f\u043e\u043c\u043e\u0449\u044c"},
{
"ServerError",
"\u041e\u0448\u0438\u0431\u043a\u0430 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 \u0441\u0435\u0440\u0432\u0435\u0440\u0430"},
{ "ServerError", "\u041e\u0448\u0438\u0431\u043a\u0430 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 \u0441\u0435\u0440\u0432\u0435\u0440\u0430"},
{ "ErrorJavaHome", "\u041e\u0448\u0438\u0431\u043a\u0430 Java Home"},
{ "ErrorAdempiereHome",
"\u041e\u0448\u0438\u0431\u043a\u0430 Adempiere Home"},
{
"ErrorAppsServer",
"\u041e\u0448\u0438\u0431\u043a\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439 (\u043d\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 localhost)"},
{
"ErrorWebPort",
"\u041e\u0448\u0438\u0431\u043a\u0430 \u0432\u0435\u0431 \u043f\u043e\u0440\u0442\u0430"},
{ "ErrorJNPPort",
"\u041e\u0448\u0438\u0431\u043a\u0430 \u043f\u043e\u0440\u0442\u0430 JNP"},
{
"ErrorDatabaseServer",
"\u041e\u0448\u0438\u0431\u043a\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u0411\u0414 (\u043d\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 localhost)"},
{
"ErrorDatabasePort",
"\u041e\u0448\u0438\u0431\u043a\u0430 \u043f\u043e\u0440\u0442\u0430 \u0411\u0414"},
{
"ErrorJDBC",
"\u041e\u0448\u0438\u0431\u043a\u0430 \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044f \u043f\u043e JDBC"},
{
"ErrorTNS",
"\u041e\u0448\u0438\u0431\u043a\u0430 \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044f \u0447\u0435\u0440\u0435\u0437 TNS"},
{
"ErrorMailServer",
"\u041e\u0448\u0438\u0431\u043a\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u044d\u043b\u0435\u043a\u0442\u0440\u043e\u043d\u043d\u043e\u0439 \u043f\u043e\u0447\u0442\u044b (\u043d\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 localhost)"},
{ "ErrorMail",
"\u041e\u0448\u0438\u0431\u043a\u0430 \u043f\u043e\u0447\u0442\u044b"},
{
"ErrorSave",
"\u041e\u0448\u0438\u0431\u043a\u0430 \u0441\u043e\u0445\u0440\u0430\u043d\u0435\u043d\u0438\u044f \u0444\u0430\u0439\u043b\u0430"},
{
"EnvironmentSaved",
"\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b \u0441\u043e\u0445\u0440\u0430\u043d\u0435\u043d\u044b\n\u0412\u0430\u043c \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u0441\u0435\u0440\u0432\u0435\u0440."},
{ "ErrorAdempiereHome", "\u041e\u0448\u0438\u0431\u043a\u0430 Adempiere Home"},
{ "ErrorAppsServer", "\u041e\u0448\u0438\u0431\u043a\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439 (\u043d\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 localhost)"},
{ "ErrorWebPort", "\u041e\u0448\u0438\u0431\u043a\u0430 \u0432\u0435\u0431 \u043f\u043e\u0440\u0442\u0430"},
{ "ErrorJNPPort", "\u041e\u0448\u0438\u0431\u043a\u0430 \u043f\u043e\u0440\u0442\u0430 JNP"},
{ "ErrorDatabaseServer", "\u041e\u0448\u0438\u0431\u043a\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u0411\u0414 (\u043d\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 localhost)"},
{ "ErrorDatabasePort", "\u041e\u0448\u0438\u0431\u043a\u0430 \u043f\u043e\u0440\u0442\u0430 \u0411\u0414"},
{ "ErrorJDBC", "\u041e\u0448\u0438\u0431\u043a\u0430 \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044f \u043f\u043e JDBC"},
{ "ErrorTNS", "\u041e\u0448\u0438\u0431\u043a\u0430 \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044f \u0447\u0435\u0440\u0435\u0437 TNS"},
{ "ErrorMailServer", "\u041e\u0448\u0438\u0431\u043a\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u044d\u043b\u0435\u043a\u0442\u0440\u043e\u043d\u043d\u043e\u0439 \u043f\u043e\u0447\u0442\u044b (\u043d\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 localhost)"},
{ "ErrorMail", "\u041e\u0448\u0438\u0431\u043a\u0430 \u043f\u043e\u0447\u0442\u044b"},
{ "ErrorSave", "\u041e\u0448\u0438\u0431\u043a\u0430 \u0441\u043e\u0445\u0440\u0430\u043d\u0435\u043d\u0438\u044f \u0444\u0430\u0439\u043b\u0430"},
{ "EnvironmentSaved", "\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b \u0441\u043e\u0445\u0440\u0430\u043d\u0435\u043d\u044b\n\u0412\u0430\u043c \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u0441\u0435\u0440\u0432\u0435\u0440."},
{ "RMIoverHTTP", "Tunnel Objects via HTTP"},
{ "RMIoverHTTPInfo", "RMI over HTTP allows to go through firewalls"}};
}