Changeset 31855


Ignore:
Timestamp:
2017-08-07T11:45:44+12:00 (7 years ago)
Author:
kjdon
Message:

added keys in dictionary and replaceList in siteConfig to translate _textmonth01_ which comes from DateList classifier if you have -bymonth option on. Can we get these values from java instead??

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

Legend:

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

    r31537 r31855  
    3939debuginfo_tip=Display debug view options
    4040login_tip=Login
     41# months - used by replaceList in siteConfig. need to change to get from java..
     42textmonth01=January
     43textmonth02=February
     44textmonth03=March
     45textmonth04=April
     46textmonth05=May
     47textmonth06=June
     48textmonth07=July
     49textmonth08=August
     50textmonth09=September
     51textmonth10=October
     52textmonth11=November
     53textmonth12=December
     54
    4155aboutpage=About page
    4256home.quick_search=Quick Search
  • main/trunk/greenstone3/web/sites/localsite/siteConfig.xml

    r31596 r31855  
    8282    <replace macro="[ScreenWidth]" scope="metadata" metadata="ScreenWidth" resolve="false"/>
    8383    <replace macro="[ScreenHeight]" scope="metadata" metadata="ScreenHeight" resolve="false"/>
    84   </replaceList>
     84  </replaceList>
     85  <replaceList id="gs2-months">
     86    <replace macro="_textmonth01_" scope="metadata" resolve="false" bundle="interface_default" key="textmonth01"/>
     87    <replace macro="_textmonth02_" scope="metadata" resolve="false" bundle="interface_default" key="textmonth02"/>
     88    <replace macro="_textmonth03_" scope="metadata" resolve="false" bundle="interface_default" key="textmonth03"/>
     89    <replace macro="_textmonth04_" scope="metadata" resolve="false" bundle="interface_default" key="textmonth04"/>
     90    <replace macro="_textmonth05_" scope="metadata" resolve="false" bundle="interface_default" key="textmonth05"/>
     91    <replace macro="_textmonth06_" scope="metadata" resolve="false" bundle="interface_default" key="textmonth06"/>
     92    <replace macro="_textmonth07_" scope="metadata" resolve="false" bundle="interface_default" key="textmonth07"/>
     93    <replace macro="_textmonth08_" scope="metadata" resolve="false" bundle="interface_default" key="textmonth08"/>
     94    <replace macro="_textmonth09_" scope="metadata" resolve="false" bundle="interface_default" key="textmonth09"/>
     95    <replace macro="_textmonth10_" scope="metadata" resolve="false" bundle="interface_default" key="textmonth10"/>
     96    <replace macro="_textmonth11_" scope="metadata" resolve="false" bundle="interface_default" key="textmonth11"/>
     97    <replace macro="_textmonth12_" scope="metadata" resolve="false" bundle="interface_default" key="textmonth12"/>
     98  </replaceList>
    8599</siteConfig>
Note: See TracChangeset for help on using the changeset viewer.