# this file must be UTF-8 encoded package gti _gtiadministratoremail_ {lh92@cs.waikato.ac.nz} ####################################################################### # page head ####################################################################### _cssheader_ { _style:cssheader_ } ####################################################################### # page content ####################################################################### _pagewidth_ {700} _pagetitle_ {_textgti_} _imagecollection_ {_textgti_} # The preferences button must go to the "homepref" page, since we are not in a collection _preflink_ {_navtaborig_(_home:httppagehomepref_,_linktextPREFERENCES_,_textdescrpref_)} _gtidownloadglihelp_ {_gwcgi_?a=gti&p=glihelp&e=_compressedoptions_} _content_ {
 
_gtiformcontent_
 
} # Content of the GTI "error" page _gtierror_ { _textgtierror_:

_gtierrormessage_ } # Content of the GTI "home" page _gtihome_ {

_textgtihome_

_textgtiselecttlc_:_gtitlcselection_
} # Content of the GTI "language status" page _gtilang_ {

_gtitargetlanguagename_

_textgtiselecttfk_:

_gtitfkselection_
} # Content of the GTI "view status" page _gtistatus_ {

_textgtistatustable_

green:_textgtinumchunkstranslated2_
orange:_textgtinumchunksrequiringupdating2_
red:_textgtinumchunksrequiringtranslation2_
_gtistatustable_ } # Content of the GTI "find text fragments" page _gtifind_ {

_gtitargetlanguagename_ -- _gtitranslationfiledesc_

_textgtienterquery_:

_gtifindformcontent_ } # Content of the GTI "offline" page _gtioffline_ {

_gtitargetlanguagename_ -- _gtitranslationfiledesc_

_textgtiofflinetranslation_ } # Content of the GTI "core" page (with text areas for entering and updating translations) _gticore_ {

_gtitargetlanguagename_ -- _gtitranslationfiledesc_

_gtitranslationfilestatus_(_gtinumchunkstranslated_, _gtinumchunksrequiringtranslation_, _gtinumchunksrequiringupdating_, _gtitargetfilepath_)

_gticoreformcontent_

} # Content of the GTI "done" page, thanking the translator for completing the file _gtidone_ {

_gtitargetlanguagename_ -- _gtitranslationfiledesc_

_gtitranslationfilestatus_(_gtinumchunkstranslated_, _gtinumchunksrequiringtranslation_, _gtinumchunksrequiringupdating_, _gtitargetfilepath_)


_textgtitranslationfilecomplete_ } _gtifindformheader_ {


_textgtinumchunksmatchingquery_: _gtinumchunksmatchingquery_ } _gtifindformfooter_ {

} _gtitextareawidth_ {85} _gtitextareaheight_ {6} # -------------------------------------------------------------------------------- # Displays the status of a translation file # # Used on the GTI "lang" and "core" pages # # Parameters: 1 -- Number of chunks translated # 2 -- Number of chunks requiring translation # 3 -- Number of chunks requiring updating # 4 -- Relative URL of target file # -------------------------------------------------------------------------------- # _If_(_gtiglihelpzipfilepath_ ne "", _textgtiglihelpzipfile_,)
# _textgtiglihelpzipfile_ _gtitranslationfilestatus_ { _If_(_4_,)
_1__textgtinumchunkstranslated_ (_textgtinumchunksrequiringupdating_(_3_))
_2__textgtinumchunksrequiringtranslation_
  _textgticorrectexistingtranslations_
_If_(_4_ eq _gtidownloadglihelp, , )_textgtidownloadtargetfile_ _If_(_gtiglihelpzipfilepath_, _textgtiglihelpzipfile_,)
_textgtitranslatefileoffline_
_gtiviewtranslationfileinaction_
} _gtiglihelpzipfilepath_ {} _textgtiglihelpzipfile_ {Clicke here to download the operational files for GLI Help} # -------------------------------------------------------------------------------- # Displays the status of a translation file # # Used on the GTI "view status" page # # Parameters: 1 -- Number of chunks translated # 2 -- Number of chunks requiring translation # 3 -- Number of chunks requiring updating # -------------------------------------------------------------------------------- _gtitranslationfilestatus2_ { _If_("_1_" eq "0", , _1_+_3_+_2_) } # -------------------------------------------------------------------------------- # Displays text area for correcting a chunk # # Used on the GTI "find" page # # Parameters: 1 -- Chunk key # 2 -- Target file chunk text # -------------------------------------------------------------------------------- _gtichunkmatchingquery_ {

_1_
} # -------------------------------------------------------------------------------- # Displays text areas for translating a chunk # # Used on the GTI "core" page # # Parameters: 1 -- Chunk key # 2 -- Source file chunk text # 3 -- Source file chunk date # -------------------------------------------------------------------------------- _gtichunkrequiringtranslation_ {
_textgtitranslatingchunk_(_1_)

English_textgtilastupdated_ _3_
_gtitargetlanguagename_ 
} # -------------------------------------------------------------------------------- # Displays text areas for updating a chunk # # Used on the GTI "core" page # # Parameters: 1 -- Chunk key # 2 -- Source file chunk text # 3 -- Source file chunk date # 4 -- Target file chunk text # 5 -- Target file chunk date # -------------------------------------------------------------------------------- _gtichunkrequiringupdating_ {
_textgtiupdatingchunk_(_1_)

English_textgtilastupdated_ _3_

_gtitargetlanguagename__textgtilastupdated_ _5_

} # Links to see the translation files in action _gtiviewcoredminaction_ {_textgtiviewtargetfileinaction_} _gtiviewauxdminaction_ {_textgtiviewtargetfileinaction_} _gtiviewperlmodulesinaction_ {} _gtiviewglihelpinaction_{} _gtiviewglidictinaction_ {} _gtiviewgreenorginaction_ {}