Changeset 28497


Ignore:
Timestamp:
10/18/13 19:20:46 (7 years ago)
Author:
ak19
Message:

Removing hyphens in some of the macros for adding user comments, as otherwise these macros don't appear in the language files for other languages.

Location:
main/trunk/greenstone2/macros
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/macros/document.dm

    r27365 r28497  
    165165<label id="usercommentfeedback"></label>
    166166
    167 <div id="usercommentlogoutlink"><a href="_doc-url_&amp;un=">_text-usercomment-logout_</a></div>
     167<div id="usercommentlogoutlink"><a href="_doc-url_&amp;un=">_textusercommentlogout_</a></div>
    168168</form>
    169169
     
    189189              doc.AddUserCommentForm.comment.value = "";             
    190190              //doc.AddUserCommentForm.username.value = "";
    191               doc.getElementById("usercommentfeedback").innerHTML = "_text-is-empty_";
     191              doc.getElementById("usercommentfeedback").innerHTML = "_textisempty_";
    192192              return;
    193193        \}
  • main/trunk/greenstone2/macros/english.dm

    r28223 r28497  
    338338_textcommentusername_ {User name}
    339339_textaddusercomment_ {Add Comment}
    340 _text-usercomment-logout_ {Logout}
     340_textusercommentlogout_ {Logout}
    341341_textaddcomment_ {submit comment}
    342342_textcommentsubmitted_ {Comment Submitted}
    343 _text-is-empty_ {Comment was empty.}
    344 _text-usercomments-section_ {Comments}
     343_textisempty_ {Comment was empty.}
     344_textusercommentssection_ {Comments}
    345345
    346346_textgoto_ {go to page}
  • main/trunk/greenstone2/macros/style.dm

    r27786 r28497  
    315315                 attr.nodeValue="usercommentheading";
    316316                 heading.setAttributeNode(attr);
    317                  var txt=document.createTextNode("_text-usercomments-section_");
     317                 var txt=document.createTextNode("_textusercommentssection_");
    318318                 heading.appendChild(txt);
    319319                 usercommentdiv.appendChild(heading);
Note: See TracChangeset for help on using the changeset viewer.