Changeset 3047


Ignore:
Timestamp:
2002-03-05T09:30:02+13:00 (22 years ago)
Author:
sjboddie
Message:

Moved some hard-coded English text out of C++ code and into macro file

Location:
trunk/gsdl
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/macros/english2.dm

    r3025 r3047  
    174174}
    175175
     176_text1coll_ {This Greenstone installation contains 1 collection}
     177
     178_textmorecolls_ {This Greenstone installation contains _1_ collections}
     179
    176180######################################################################
    177181# external link package
  • trunk/gsdl/src/recpt/pageaction.cpp

    r2945 r3047  
    289289
    290290  if (count == 1) {
    291     collectionlist = "<p>This Greenstone installation contains 1 collection\n<ul>" +
     291    collectionlist = "<p>_text1coll_\n<ul>" +
    292292      collectionlist + "</ul>\n";
    293293  } else if (count > 1) {
    294     collectionlist = "<p>This Greenstone installation contains " + text_t(count) +
    295       " collections\n<ul>" + collectionlist + "</ul>\n";
     294    collectionlist = "<p>_textmorecolls_(" + text_t(count) +
     295      ")\n<ul>" + collectionlist + "</ul>\n";
    296296  }
    297297
Note: See TracChangeset for help on using the changeset viewer.