bug 55847, Wallet Editor is not translation enabled, submitter=mkaply r=morse, a=ben

This commit is contained in:
morse%netscape.com 2000-11-14 22:11:25 +00:00
parent def2693d6c
commit ba98b65ad1
2 changed files with 6 additions and 6 deletions

View File

@ -350,7 +350,7 @@ function SchemaSelected()
var schemanumb =parseInt(schemaId.substring(5, schemaId.length));
var schemaName = strings[entries[schemas[schemanumb]]];
var entryText = document.getElementById("entrytext");
entryText.setAttribute("value", entryText.getAttribute("value2") + schemaName);
entryText.setAttribute("value", entryText.getAttribute("value2") + schemaName + entryText.getAttribute("value3"));
// display instructions above synonym tree
var synonymText = document.getElementById("synonymtext");
@ -379,7 +379,7 @@ function EntrySelected()
var entrynumb =parseInt(entryId.substring(5, entryId.length));
var entryName = Decrypt(strings[entries[schemas[schemanumb]+entrynumb]+1]);
var synonymText = document.getElementById("synonymtext");
synonymText.setAttribute("value", synonymText.getAttribute("value2") + entryName);
synonymText.setAttribute("value", synonymText.getAttribute("value2") + entryName + synonymText.getAttribute("value4"));
// enable certain buttons
document.getElementById("removeEntry").setAttribute("disabled", "false")
@ -644,7 +644,7 @@ function AddEntry0() {
var schemanumb =parseInt(schemaId.substring(5, schemaId.length));
var schemaName = strings[entries[schemas[schemanumb]]];
var text = myPrompt
(bundle.GetStringFromName("EnterNewEntry")+" "+schemaName, "",
(bundle.GetStringFromName("EnterNewEntry")+" "+schemaName+" "+bundle.GetStringFromName("EnterNewEntry1"), "",
bundle.GetStringFromName("AddingTitle"));
if (text == "") {
return;
@ -683,7 +683,7 @@ function AddSynonym0() {
var entrynumb =parseInt(entryId.substring(5, entryId.length));
var entryName = Decrypt(strings[entries[schemas[schemanumb]+entrynumb]+1]);
var text = myPrompt
(bundle.GetStringFromName("EnterNewSynonym")+" "+entryName, "",
(bundle.GetStringFromName("EnterNewSynonym")+" "+entryName+" "+bundle.GetStringFromName("EnterNewSynonym1"), "",
bundle.GetStringFromName("AddingTitle"));
if (text == "") {
return;

View File

@ -63,7 +63,7 @@
</box>
<spring style="width: 7px;"/>
<box orient="vertical">
<text class="label" id="entrytext" value2="&treehead.entries.label;"/>
<text class="label" id="entrytext" value2="&treehead.entries.label;" value3="&treehead.entries1.label;"/>
<tree multiple="true" id="entrytree" class="inset"
style="height: 113px;" orient="vertical" onclick="ViewSynonyms();">
<treecolgroup>
@ -72,7 +72,7 @@
<treechildren flex="1" id="entrieslist"/>
</tree>
<spring style="height: 7px;"/>
<text class="label" id="synonymtext" value2="&treehead.synonyms.label;" value3="&treehead.synonymsoff.label;"/>
<text class="label" id="synonymtext" value2="&treehead.synonyms.label;" value3="&treehead.synonymsoff.label;" value4="&treehead.synonyms1.label;"/>
<tree multiple="true" id="synonymtree" class="inset"
style="height: 113px;" orient="vertical" onclick="SynonymSelected();">
<treecolgroup>