Ignore:
Timestamp:
2012-10-18T15:09:04+13:00 (12 years ago)
Author:
sjm84
Message:

Added a link to swap between the two languages. Also added missing macrons in the English text.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/model-cols/niupepa/resources/niupepa_mi.properties

    r26340 r26348  
    1616simple.query=Tirohia ki {0-subcolllist} mō {1-some/all} o ngā kupu {2-query box}
    1717
     18about.languageswap=<p>Click <a id="replaceLink">here</a> to view this page in English</p>\
     19<script type="text/javascript">\
     20    <xsl:text disable-output-escaping="yes">\
     21        $(window).ready(function()\
     22        {\
     23            var url = document.URL;\
     24            if(url.indexOf("?") != -1)\
     25            {\
     26                if(url.search(/[&amp;?]?l=[^&amp;\b]*/g) != -1)\
     27                {\
     28                    url = url.replace(/([&amp;?]?)l=[^&amp;\b]*/g, "$1l=en");\
     29                    $("#replaceLink").attr("href", url);\
     30                }\
     31                else\
     32                {\
     33                    $("#replaceLink").attr("href", url + "&amp;l=en");\
     34                }\
     35            }\
     36            else\
     37            {\
     38                $("#replaceLink").attr("href", url + "?l=en");\
     39            }\
     40        });\
     41    </xsl:text>\
     42</script>
     43
    1844about.textxwelcome=<h2>Nau mai ki te Kohikohinga Niupepa Māori</h2>
    1945about.textxwelcome2=<p>Kua whakaemitia mai ki konei he kohikohinga niupepa i tāngia mō ngā kaipānui Māori o ngā tau 1842-1932. E taea te pānui niupepa mā te <gsf:link type="query">rapu kupu</gsf:link>, i te <gsf:link type="classifier" nodeID="CL1">rārangi taitara</gsf:link>, me te rārangi <gsf:link type="classifier" nodeID="CL2">wātaka</gsf:link> hoki. He mea i whakatūria e te kaupapa <a href="http://www.nzdl.org">New Zealand Digital Library</a>, i te <a href="http://www.cs.waikato.ac.nz/cs/">Tari Rorohiko</a>, o te <a href="http://www.waikato.ac.nz">Whare Wānanga o Waikato</a>.</p>
Note: See TracChangeset for help on using the changeset viewer.