BUG 9339 Exist function G_STRINGS SOLVED

- I removed G_STRINGS and I add funcion "_"
This commit is contained in:
Brayan Osmar Pereyra Suxo
2012-06-28 17:37:06 -04:00
parent 51a4223dfa
commit 40f4eadd16
2 changed files with 6 additions and 6 deletions

View File

@@ -594,21 +594,21 @@ function getElementByPMClass(__class){
var dField = new input(getField('PME_XMLNODE_NAME'));
if(str.split(" ").length>=2){
msgBox(G_STRINGS.ID_EMPTY_NODENAME, "alert");
msgBox(_("ID_EMPTY_NODENAME"), "alert");
dField.failed();
dField.focus();
return;
}
if (str.length == 0) {
msgBox(G_STRINGS.DYNAFIELD_EMPTY, "alert");
msgBox(_("DYNAFIELD_EMPTY"), "alert");
dField.failed();
dField.focus();
return;
}
if (!(isNaN(parseInt(str.substr(0,1))))) {
msgBox(G_STRINGS.DYNAFIELD_NODENAME_NUMBER, "alert");
msgBox(_("DYNAFIELD_NODENAME_NUMBER"), "alert");
dField.failed();
dField.focus();
return;