Changeset 30815

Show
Ignore:
Timestamp:
15.09.2016 14:35:40 (3 years ago)
Author:
kjdon
Message:

putting 'remove' into properties

Location:
main/trunk/greenstone3/web
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/web/WEB-INF/classes/interface_default.properties

    r30812 r30815  
    141141 
    142142external.title=External Link 
    143 external.text=The link you have selected is external to any of your currently selected collections. If you still wish to view this link and your browser has access to the Web, you can {0-go-forward-link} to this page; otherwise use your browsers "back" button to return to the previous document. 
     143external.text=The link you have selected is external to any of your currently selected collections. If you still wish to view this link and your browser has access to the Web, you can {0-go-forward-link} to this page; otherwise use your browsers 'back' button to return to the previous document. 
    144144external.go_forward=go forward 
    145145 
     
    160160de.edit_metadata=edit metadata 
    161161de.hide_metadata=hide metadata 
     162de.remove=remove 
    162163de.edit_content=Edit content 
    163164de.hide_editor=Hide Editor 
  • main/trunk/greenstone3/web/interfaces/default/js/documentmaker_scripts_util.js

    r30780 r30815  
    842842{ 
    843843    var newCell = $("<td>"); 
    844     var removeLink = $("<a>remove</a>", {"href": "javascript:;"}); 
     844    var removeLink = $("<a>"+gs.text.de.remove+"</a>", {"href": "javascript:;"}); 
    845845    removeLink.click(function() 
    846846    { 
     
    874874     
    875875    var metadataListLabel = document.createElement("SPAN"); 
    876     metadataListLabel.innerHTML = gs.text.de.visible_metadata; //"Visible metadata: "; 
     876    metadataListLabel.innerHTML = gs.text.de.visible_metadata;  
    877877    var metadataList = document.createElement("SELECT"); 
    878878    metadataList.setAttribute("id", "metadataSetList"); 
     
    880880    var allMetadataOption = document.createElement("OPTION"); 
    881881    metadataList.appendChild(allMetadataOption); 
    882     allMetadataOption.innerHTML = gs.text.de.all_metadata; // "All"; 
     882    allMetadataOption.innerHTML = gs.text.de.all_metadata;  
    883883    metadataListCell.appendChild(metadataListLabel); 
    884884    metadataListCell.appendChild(metadataList); 
     
    907907    //The "Undo" button 
    908908    var undoButton = document.createElement("BUTTON"); 
    909     undoButton.innerHTML = gs.text.dse.undo; //"Undo"; 
     909    undoButton.innerHTML = gs.text.dse.undo;  
    910910    undoButton.setAttribute("onclick", "undo();"); 
    911911    undoCell.appendChild(undoButton);