# 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_ {}
# 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_ {
}
# 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_ {
}
_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_ {
}
_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_ {}