call RxFuncAdd 'SysLoadFuncs', 'REXXUTIL', 'SysLoadFuncs'
call SysLoadFuncs
/* based upon work from Doug Bissett */
parse arg aFile " Package:" Package
name = filespec('N', aFile)
/* clean up rxqueue */
'@rxqueue /clear'
val=0.0
compval=6.3
tag = 'VERSION'
/* consider libpath search for libcx0.dll? */
'@BLDLEVEL.EXE 'value('UNIXROOT',, 'OS2ENVIRONMENT')'\USR\LIB\'name' | RXQUEUE'
do while queued() > 0
pull thisline
if pos(tag,thisline)>0 then do
foundval = strip(word(thisline,3))
val = right(foundval,3)
end
end
if val > compval then do
MsgStr = ""
end
else MsgStr = 'REQUIRES="' || strip(Package) || '"'
return MsgStr
call RxFuncAdd 'SysLoadFuncs', 'REXXUTIL', 'SysLoadFuncs'
call SysLoadFuncs
/* based upon work from Dmitriy Kuminov */
parse arg aFile " Package:" Package
name = filespec('N', aFile)
ext = translate(right(name, 4))
search_path = ""
select
when (ext == '.DLL') then do
config_sys = SysBootDrive()'\CONFIG.SYS'
do while lines(config_sys)
line = strip(linein(config_sys))
if (left(line, 8) == 'LIBPATH=') then do
search_path = substr(line, 9)
leave
end
end
call lineout config_sys
search_path = SysQueryExtLibPath('B')';'search_path';'SysQueryExtLibPath('E')
end
when (ext == '.EXE') then search_path = value('PATH',, 'OS2ENVIRONMENT')
when (ext == '.HLP') then search_path = value('BOOKSHELF',, 'OS2ENVIRONMENT')
otherwise search_path = ''
end
if (search_path \= '') then do
ok = value('CHKREQ_SEARCH_PATH', search_path, 'OS2ENVIRONMENT')
real_file = SysSearchPath('CHKREQ_SEARCH_PATH', name)
ok = value('CHKREQ_SEARCH_PATH', '', 'OS2ENVIRONMENT')
end
else real_file = ""
/* generate the message string to return */
if real_file <> "" then MsgStr = ""; else MsgStr = 'REQUIRES="' || strip(Package) || '"'
return MsgStr
call RxFuncAdd 'SysLoadFuncs', 'REXXUTIL', 'SysLoadFuncs'
call SysLoadFuncs
langs = "EN,FR,DE,NL,ES,SV,IT,CS,DA,RU,ZH,PL"
lang = translate(left(strip(value("LANG",,"OS2ENVIRONMENT")),2))
if pos(lang,langs) = 0 then lang = 'EN'
rc =WirexxPutEnv('prog','Lucide')
/*Make sure you change the help file object name when adding a new translation*/
select
when lang = 'FR' then do
/* Translate */
rc =WirexxPutEnv('title','Lucide Afficheur de document')
rc =WirexxPutEnv('uguide','Lucide User Guide')
rc =WirexxPutEnv('plug_pdf','Lucide PDF plugin')
rc =WirexxPutEnv('plug_djvu','Lucide DjVu plugin')
rc =WirexxPutEnv('plug_jpeg','Lucide JPEG plugin')
rc =WirexxPutEnv('plug_gbm','Lucide GBM plugin')
rc =WirexxPutEnv('plug_pdfdes','Plugin for viewing documents in PDF format')
rc =WirexxPutEnv('plug_djvudes','Plugin for viewing documents in DjVu format')
rc =WirexxPutEnv('plug_gbmdes','Generalized bitmap plugin for viewing multiple '||,
'different image formats')
rc =WirexxPutEnv('alticons','AltIcons')
rc =WirexxPutEnv('alticonsdes','This package contains alternative icons for Lucide')
rc =WirexxPutEnv('debugsym','Debug symbols for Lucide.').
rc =WirexxPutEnv('debugsymdes','This package contains debug symbols for Lucide.')
rc =WirexxPutEnv('langsupport',' language support files for Lucide.').
rc =WirexxPutEnv('readmetitle','LisezMoi')
rc =WirexxPutEnv('welcome','Bienvenue dans l''installation du ')
rc =WirexxPutEnv('accept','Veuillez prendre connaissance et accepter l''accord de licence suivant.')
rc =WirexxPutEnv('target','Veuillez s‚lectionner le dossier de destination')
rc =WirexxPutEnv('re_install','Si vous effectuez une mise … jour de SearchPlus, le dossier d''installation par d‚faut sera celui actuellement utilis‚ par l''ancienne version.')
rc =WirexxPutEnv('ready','Veuillez confirmer les options d''installation.')
rc =WirexxPutEnv('scfind','Modifications du fichier CONFIG.SYS pr‚vues: param‚trage de la variable SCFINDUTILITY … SearchPlus.exe pour en faire le programme de recherche du systŠme par d‚faut. Ces modifications n‚cessiteront un red‚marrage.')
rc =WirexxPutEnv('over_write','Veuillez s‚lectionner de maniŠre … ‚craser tout fichier existant.')
rc =WirexxPutEnv('install','~Install')
rc =WirexxPutEnv('license','~J''accepte')
rc =WirexxPutEnv('next','~Suivant')
rc =WirexxPutEnv('nextText','Select "Suivant" to continue.')
rc =WirexxPutEnv('cancelText','Select "Cancel" to abort installation.')
rc =WirexxPutEnv('installText','Press "Install" in order to start installation of this archive.')
/* End Translate */
rc =WirexxPutEnv('pkgnum','1033')
/* Update us if this translation is added */
rc =WirexxPutEnv('readme','readme_fr.txt')
rc =WirexxPutEnv('lucidehelp','lucide_en.hlp+gbm_en.hlp')
rc =WirexxPutEnv('fr_sel','SELECT DESELECT')
end
when lang = 'DE' then do
/* Translate */
rc =WirexxPutEnv('title','Lucide Dokumentenbetrachter')
rc =WirexxPutEnv('uguide','Lucide User Guide')
rc =WirexxPutEnv('plug_pdf','Lucide PDF plugin')
rc =WirexxPutEnv('plug_djvu','Lucide DjVu plugin')
rc =WirexxPutEnv('plug_jpeg','Lucide JPEG plugin')
rc =WirexxPutEnv('plug_gbm','Lucide GBM plugin')
rc =WirexxPutEnv('plug_pdfdes','Plugin for viewing documents in PDF format')
rc =WirexxPutEnv('plug_djvudes','Plugin for viewing documents in DjVu format')
rc =WirexxPutEnv('plug_gbmdes','Generalized bitmap plugin for viewing multiple '||,
'different image formats')
rc =WirexxPutEnv('alticons','AltIcons')
rc =WirexxPutEnv('alticonsdes','This package contains alternative icons for Lucide')
rc =WirexxPutEnv('debugsym','Debug symbols for Lucide.').
rc =WirexxPutEnv('debugsymdes','This package contains debug symbols for Lucide.')
rc =WirexxPutEnv('langsupport',' language support files for Lucide.').
rc =WirexxPutEnv('readmetitle','Lies mich!')
rc =WirexxPutEnv('welcome','Willkommen zur Installation des ')
rc =WirexxPutEnv('accept','Bitte lesen Sie den folgenden Text und akzeptieren Sie die Lizenzvereinbarung.')
rc =WirexxPutEnv('target','W„hlen Sie bitte das Zielverzeichnis.')
rc =WirexxPutEnv('re_install','Wenn dies ein Update ist, dann ist das Installationsverzeichnis das aktuelle Verzeichnis des Plugins.')
rc =WirexxPutEnv('install','~Installieren')
rc =WirexxPutEnv('license','St~imme zu')
rc =WirexxPutEnv('next','W~eiter')
rc =WirexxPutEnv('nextText','Zum Fortfahren "Weiter" ausw„hlen.')
rc =WirexxPutEnv('cancelText','Zum Abbrechen "Cancel" ausw„hlen.')
rc =WirexxPutEnv('installText','Bitte "Installieren" ausw„hlen, um die Installation des Archivs zu starten.')
/* End Translate */
rc =WirexxPutEnv('pkgnum','1049')
/* Update us if this translation is added */
rc =WirexxPutEnv('readme','readme_de.txt')
rc =WirexxPutEnv('lucidehelp','lucide_en.hlp+gbm_en.hlp')
rc =WirexxPutEnv('de_sel','SELECT DESELECT')
end
when lang = 'NL' then do
/* Translate */
rc =WirexxPutEnv('title','Lucide Document Bekijker')
rc =WirexxPutEnv('uguide','Lucide User Guide')
rc =WirexxPutEnv('plug_pdf','Lucide PDF plugin')
rc =WirexxPutEnv('plug_djvu','Lucide DjVu plugin')
rc =WirexxPutEnv('plug_jpeg','Lucide JPEG plugin')
rc =WirexxPutEnv('plug_gbm','Lucide GBM plugin')
rc =WirexxPutEnv('plug_pdfdes','Plugin for viewing documents in PDF format')
rc =WirexxPutEnv('plug_djvudes','Plugin for viewing documents in DjVu format')
rc =WirexxPutEnv('plug_gbmdes','Generalized bitmap plugin for viewing multiple '||,
'different image formats')
rc =WirexxPutEnv('alticons','AltIcons')
rc =WirexxPutEnv('alticonsdes','This package contains alternative icons for Lucide')
rc =WirexxPutEnv('debugsym','Debug symbols for Lucide.').
rc =WirexxPutEnv('debugsymdes','This package contains debug symbols for Lucide.')
rc =WirexxPutEnv('langsupport',' language support files for Lucide.').
rc =WirexxPutEnv('readmetitle','Lees mij')
rc =WirexxPutEnv('welcome','Welcome to the installation of ')
rc =WirexxPutEnv('accept','Please read and accept the following license-agreement.')
rc =WirexxPutEnv('target','Please select target directory.')
rc =WirexxPutEnv('re_install','If you are updating Lucide, the default installation directory will be the current directory.')
rc =WirexxPutEnv('install','~Install')
rc =WirexxPutEnv('license','I ~accept')
rc =WirexxPutEnv('next','~Next')
rc =WirexxPutEnv('nextText','Select "Next" to continue.')
rc =WirexxPutEnv('cancelText','Select "Cancel" to abort installation.')
rc =WirexxPutEnv('installText','Press "Install" in order to start installation of this archive.')
/* End Translate */
rc =WirexxPutEnv('pkgnum','1031')
/* Update us if this translation is added */
rc =WirexxPutEnv('readme','readme_nl.txt')
rc =WirexxPutEnv('lucidehelp','lucide_en.hlp+gbm_en.hlp')
rc =WirexxPutEnv('nl_sel','SELECT DESELECT')
end
when lang = 'ES' Then Do
/* Translate */
rc =WirexxPutEnv('title','Visor de documentos Lucide')
rc =WirexxPutEnv('uguide','Manual del usuario de Lucide')
rc =WirexxPutEnv('plug_pdf','M¢dulo PDF para Lucide')
rc =WirexxPutEnv('plug_djvu','M¢dulo DjVu para Lucide')
rc =WirexxPutEnv('plug_jpeg','M¢dulo JPEG para Lucide')
rc =WirexxPutEnv('plug_gbm',' M¢dulo GBM para Lucide')
rc =WirexxPutEnv('plug_pdfdes','Plugin for viewing documents in PDF format')
rc =WirexxPutEnv('plug_djvudes','Plugin for viewing documents in DjVu format')
rc =WirexxPutEnv('plug_gbmdes','Generalized bitmap plugin for viewing multiple '||,
'different image formats')
rc =WirexxPutEnv('alticons','AltIcons')
rc =WirexxPutEnv('alticonsdes','This package contains alternative icons for Lucide')
rc =WirexxPutEnv('debugsym','Debug symbols for Lucide.').
rc =WirexxPutEnv('debugsymdes','This package contains debug symbols for Lucide.')
rc =WirexxPutEnv('langsupport',' language support files for Lucide.').
rc =WirexxPutEnv('readmetitle','L‚ame')
rc =WirexxPutEnv('welcome','Bienvenidos a la instalaci¢n de ')
rc =WirexxPutEnv('accept','Por favor, lea y acepte el siguiente acuerdo de licencia.')
rc =WirexxPutEnv('target','Por favor, seleccione el directorio de destino.')
rc =WirexxPutEnv('re_install','Si est actualizando Lucide, el directorio de instalaci¢n por omisi¢n ser el directorio actual.')
rc =WirexxPutEnv('install','~Instalar')
rc =WirexxPutEnv('license','~Acepto')
rc =WirexxPutEnv('next','~Siguiente')
rc =WirexxPutEnv('nextText','Seleccione ®Siguiente¯ para continuar.')
rc =WirexxPutEnv('cancelText','Seleccione ®Cancelar¯ para abortar la instalaci¢n.')
rc =WirexxPutEnv('installText','Pulse ®Instalar¯ para iniciar la instalaci¢n de este archivo.')
/* End Translate */
rc =WirexxPutEnv('pkgnum','1034')
/* Update us if this translation is added */
rc =WirexxPutEnv('readme','readme_es.txt')
rc =WirexxPutEnv('lucidehelp','lucide_es.hlp+gbm_es.hlp')
rc =WirexxPutEnv('es_sel','SELECT DESELECT')
end
when lang = 'SV' Then Do
/* Translate */
rc =WirexxPutEnv('title','Lucide Dokumentvisare')
rc =WirexxPutEnv('uguide','Lucide User Guide')
rc =WirexxPutEnv('plug_pdf','Lucide PDF plugin')
rc =WirexxPutEnv('plug_djvu','Lucide DjVu plugin')
rc =WirexxPutEnv('plug_jpeg','Lucide JPEG plugin')
rc =WirexxPutEnv('plug_gbm','Lucide GBM plugin')
rc =WirexxPutEnv('plug_pdfdes','Plugin for viewing documents in PDF format')
rc =WirexxPutEnv('plug_djvudes','Plugin for viewing documents in DjVu format')
rc =WirexxPutEnv('plug_gbmdes','Generalized bitmap plugin for viewing multiple '||,
'different image formats')
rc =WirexxPutEnv('alticons','AltIcons')
rc =WirexxPutEnv('alticonsdes','This package contains alternative icons for Lucide')
rc =WirexxPutEnv('debugsym','Debug symbols for Lucide.').
rc =WirexxPutEnv('debugsymdes','This package contains debug symbols for Lucide.')
rc =WirexxPutEnv('langsupport',' language support files for Lucide.').
rc =WirexxPutEnv('readmetitle','L„s mig')
rc =WirexxPutEnv('welcome','Welcome to the installation of ')
rc =WirexxPutEnv('accept','Please read and accept the following license-agreement.')
rc =WirexxPutEnv('target','Please select target directory.')
rc =WirexxPutEnv('re_install','If you are updating Lucide, the default installation directory will be the current directory.')
rc =WirexxPutEnv('install','~Install')
rc =WirexxPutEnv('license','I ~accept')
rc =WirexxPutEnv('next','~Next')
rc =WirexxPutEnv('nextText','Select "Next" to continue.')
rc =WirexxPutEnv('cancelText','Select "Cancel" to abort installation.')
rc =WirexxPutEnv('installText','Press "Install" in order to start installation of this archive.')
/* End Translate */
rc =WirexxPutEnv('pkgnum','1')
/* Update us if this translation is added */
rc =WirexxPutEnv('readme','readme')
rc =WirexxPutEnv('lucidehelp','lucide_en.hlp+gbm_en.hlp')
rc =WirexxPutEnv('sv_sel','SELECT DESELECT')
end
when lang = 'IT' Then Do
/* Translate */
rc =WirexxPutEnv('title','Lucide Document Viewer')
rc =WirexxPutEnv('uguide','Lucide User Guide')
rc =WirexxPutEnv('plug_pdf','Lucide PDF plugin')
rc =WirexxPutEnv('plug_djvu','Lucide DjVu plugin')
rc =WirexxPutEnv('plug_jpeg','Lucide JPEG plugin')
rc =WirexxPutEnv('plug_gbm','Lucide GBM plugin')
rc =WirexxPutEnv('plug_pdfdes','Plugin for viewing documents in PDF format')
rc =WirexxPutEnv('plug_djvudes','Plugin for viewing documents in DjVu format')
rc =WirexxPutEnv('plug_gbmdes','Generalized bitmap plugin for viewing multiple '||,
'different image formats')
rc =WirexxPutEnv('alticons','AltIcons')
rc =WirexxPutEnv('alticonsdes','This package contains alternative icons for Lucide')
rc =WirexxPutEnv('debugsym','Debug symbols for Lucide.').
rc =WirexxPutEnv('debugsymdes','This package contains debug symbols for Lucide.')
rc =WirexxPutEnv('langsupport',' language support files for Lucide.').
rc =WirexxPutEnv('readmetitle','ReadMe')
rc =WirexxPutEnv('welcome','Welcome to the installation of Lucide!')
rc =WirexxPutEnv('accept','Please read and accept the following license-agreement.')
rc =WirexxPutEnv('target','Please select target directory.')
rc =WirexxPutEnv('re_install','If you are updating Lucide, the default installation directory will be the current directory.')
rc =WirexxPutEnv('install','~Install')
rc =WirexxPutEnv('license','I ~accept')
rc =WirexxPutEnv('next','~Next')
rc =WirexxPutEnv('nextText','Select "Next" to continue.')
rc =WirexxPutEnv('cancelText','Select "Cancel" to abort installation.')
rc =WirexxPutEnv('installText','Press "Install" in order to start installation of this archive.')
/* End Translate */
rc =WirexxPutEnv('pkgnum','1039')
/* Update us if this translation is added */
rc =WirexxPutEnv('readme','readme_it.txt')
rc =WirexxPutEnv('lucidehelp','lucide_en.hlp+gbm_en.hlp')
rc =WirexxPutEnv('it_sel','SELECT DESELECT')
end
when lang = 'CS' Then Do
/* Translate */
rc =WirexxPutEnv('title','Lucide Document Viewer')
rc =WirexxPutEnv('uguide','Lucide User Guide')
rc =WirexxPutEnv('plug_pdf','Lucide PDF plugin')
rc =WirexxPutEnv('plug_djvu','Lucide DjVu plugin')
rc =WirexxPutEnv('plug_jpeg','Lucide JPEG plugin')
rc =WirexxPutEnv('plug_gbm','Lucide GBM plugin')
rc =WirexxPutEnv('plug_pdfdes','Plugin for viewing documents in PDF format')
rc =WirexxPutEnv('plug_djvudes','Plugin for viewing documents in DjVu format')
rc =WirexxPutEnv('plug_gbmdes','Generalized bitmap plugin for viewing multiple '||,
'different image formats')
rc =WirexxPutEnv('alticons','AltIcons')
rc =WirexxPutEnv('alticonsdes','This package contains alternative icons for Lucide')
rc =WirexxPutEnv('debugsym','Debug symbols for Lucide.').
rc =WirexxPutEnv('debugsymdes','This package contains debug symbols for Lucide.')
rc =WirexxPutEnv('langsupport',' language support files for Lucide.').
rc =WirexxPutEnv('readmetitle','ReadMe')
rc =WirexxPutEnv('welcome','Welcome to the installation of Lucide!')
rc =WirexxPutEnv('accept','Please read and accept the following license-agreement.')
rc =WirexxPutEnv('target','Please select target directory.')
rc =WirexxPutEnv('re_install','If you are updating Lucide, the default installation directory will be the current directory.')
rc =WirexxPutEnv('install','~Install')
rc =WirexxPutEnv('license','I ~accept')
rc =WirexxPutEnv('next','~Next')
rc =WirexxPutEnv('nextText','Select "Next" to continue.')
rc =WirexxPutEnv('cancelText','Select "Cancel" to abort installation.')
rc =WirexxPutEnv('installText','Press "Install" in order to start installation of this archive.')
/* End Translate */
rc =WirexxPutEnv('pkgnum','1041')
/* Update us if this translation is added */
rc =WirexxPutEnv('readme','readme_cs.txt')
rc =WirexxPutEnv('lucidehelp','lucide_en.hlp+gbm_en.hlp')
rc =WirexxPutEnv('cz_sel','SELECT DESELECT')
end
when lang = 'DA' Then Do
/* Translate */
rc =WirexxPutEnv('title','Lucide Document Viewer')
rc =WirexxPutEnv('uguide','Lucide User Guide')
rc =WirexxPutEnv('plug_pdf','Lucide PDF plugin')
rc =WirexxPutEnv('plug_djvu','Lucide DjVu plugin')
rc =WirexxPutEnv('plug_jpeg','Lucide JPEG plugin')
rc =WirexxPutEnv('plug_gbm','Lucide GBM plugin')
rc =WirexxPutEnv('plug_pdfdes','Plugin for viewing documents in PDF format')
rc =WirexxPutEnv('plug_djvudes','Plugin for viewing documents in DjVu format')
rc =WirexxPutEnv('plug_gbmdes','Generalized bitmap plugin for viewing multiple '||,
'different image formats')
rc =WirexxPutEnv('alticons','AltIcons')
rc =WirexxPutEnv('alticonsdes','This package contains alternative icons for Lucide')
rc =WirexxPutEnv('debugsym','Debug symbols for Lucide.').
rc =WirexxPutEnv('debugsymdes','This package contains debug symbols for Lucide.')
rc =WirexxPutEnv('langsupport',' language support files for Lucide.').
rc =WirexxPutEnv('readmetitle','ReadMe')
rc =WirexxPutEnv('welcome','Welcome to the installation of Lucide!')
rc =WirexxPutEnv('accept','Please read and accept the following license-agreement.')
rc =WirexxPutEnv('target','Please select target directory.')
rc =WirexxPutEnv('re_install','If you are updating Lucide, the default installation directory will be the current directory.')
rc =WirexxPutEnv('install','~Install')
rc =WirexxPutEnv('license','I ~accept')
rc =WirexxPutEnv('next','~Next')
rc =WirexxPutEnv('nextText','Select "Next" to continue.')
rc =WirexxPutEnv('cancelText','Select "Cancel" to abort installation.')
rc =WirexxPutEnv('installText','Press "Install" in order to start installation of this archive.')
/* End Translate */
rc =WirexxPutEnv('pkgnum','1')
/* Update us if this translation is added */
rc =WirexxPutEnv('readme','readme')
rc =WirexxPutEnv('lucidehelp','lucide_en.hlp+gbm_en.hlp')
rc =WirexxPutEnv('da_sel','SELECT DESELECT')
end
when lang = 'RU' Then Do
/* Translate */
rc =WirexxPutEnv('title','Lucide Document Viewer')
rc =WirexxPutEnv('uguide','Lucide User Guide')
rc =WirexxPutEnv('plug_pdf','Lucide PDF plugin')
rc =WirexxPutEnv('plug_djvu','Lucide DjVu plugin')
rc =WirexxPutEnv('plug_jpeg','Lucide JPEG plugin')
rc =WirexxPutEnv('plug_gbm','Lucide GBM plugin')
rc =WirexxPutEnv('plug_pdfdes','Plugin for viewing documents in PDF format')
rc =WirexxPutEnv('plug_djvudes','Plugin for viewing documents in DjVu format')
rc =WirexxPutEnv('plug_gbmdes','Generalized bitmap plugin for viewing multiple '||,
'different image formats')
rc =WirexxPutEnv('alticons','AltIcons')
rc =WirexxPutEnv('alticonsdes','This package contains alternative icons for Lucide')
rc =WirexxPutEnv('debugsym','Debug symbols for Lucide.').
rc =WirexxPutEnv('debugsymdes','This package contains debug symbols for Lucide.')
rc =WirexxPutEnv('langsupport',' language support files for Lucide.').
rc =WirexxPutEnv('readmetitle','ReadMe')
rc =WirexxPutEnv('welcome','Welcome to the installation of Lucide!')
rc =WirexxPutEnv('accept','Please read and accept the following license-agreement.')
rc =WirexxPutEnv('target','Please select target directory.')
rc =WirexxPutEnv('re_install','If you are updating Lucide, the default installation directory will be the current directory.')
rc =WirexxPutEnv('install','~Install')
rc =WirexxPutEnv('license','I ~accept')
rc =WirexxPutEnv('next','~Next')
rc =WirexxPutEnv('nextText','Select "Next" to continue.')
rc =WirexxPutEnv('cancelText','Select "Cancel" to abort installation.')
rc =WirexxPutEnv('installText','Press "Install" in order to start installation of this archive.')
/* End Translate */
rc =WirexxPutEnv('pkgnum','1')
/* Update us if this translation is added */
rc =WirexxPutEnv('readme','readme')
rc =WirexxPutEnv('lucidehelp','lucide_en.hlp+gbm_en.hlp')
rc =WirexxPutEnv('ru_sel','SELECT DESELECT')
end
when lang = 'PL' Then Do
/* Translate */
rc =WirexxPutEnv('title','Lucide Document Viewer')
rc =WirexxPutEnv('uguide','Lucide User Guide')
rc =WirexxPutEnv('plug_pdf','Lucide PDF plugin')
rc =WirexxPutEnv('plug_djvu','Lucide DjVu plugin')
rc =WirexxPutEnv('plug_jpeg','Lucide JPEG plugin')
rc =WirexxPutEnv('plug_gbm','Lucide GBM plugin')
rc =WirexxPutEnv('plug_pdfdes','Plugin for viewing documents in PDF format')
rc =WirexxPutEnv('plug_djvudes','Plugin for viewing documents in DjVu format')
rc =WirexxPutEnv('plug_gbmdes','Generalized bitmap plugin for viewing multiple '||,
'different image formats')
rc =WirexxPutEnv('alticons','AltIcons')
rc =WirexxPutEnv('alticonsdes','This package contains alternative icons for Lucide')
rc =WirexxPutEnv('debugsym','Debug symbols for Lucide.').
rc =WirexxPutEnv('debugsymdes','This package contains debug symbols for Lucide.')
rc =WirexxPutEnv('langsupport',' language support files for Lucide.').
rc =WirexxPutEnv('readmetitle','ReadMe')
rc =WirexxPutEnv('welcome','Welcome to the installation of Lucide!')
rc =WirexxPutEnv('accept','Please read and accept the following license-agreement.')
rc =WirexxPutEnv('target','Please select target directory.')
rc =WirexxPutEnv('re_install','If you are updating Lucide, the default installation directory will be the current directory.')
rc =WirexxPutEnv('install','~Install')
rc =WirexxPutEnv('license','I ~accept')
rc =WirexxPutEnv('next','~Next')
rc =WirexxPutEnv('nextText','Select "Next" to continue.')
rc =WirexxPutEnv('cancelText','Select "Cancel" to abort installation.')
rc =WirexxPutEnv('installText','Press "Install" in order to start installation of this archive.')
/* End Translate */
rc =WirexxPutEnv('pkgnum','1')
/* Update us if this translation is added */
rc =WirexxPutEnv('readme','readme')
rc =WirexxPutEnv('lucidehelp','lucide_en.hlp+gbm_en.hlp')
rc =WirexxPutEnv('pl_sel','SELECT DESELECT')
end
when lang = 'ZH' Then Do
/* Translate */
rc =WirexxPutEnv('title','Lucide Document Viewer')
rc =WirexxPutEnv('uguide','Lucide User Guide')
rc =WirexxPutEnv('plug_pdf','Lucide PDF plugin')
rc =WirexxPutEnv('plug_djvu','Lucide DjVu plugin')
rc =WirexxPutEnv('plug_jpeg','Lucide JPEG plugin')
rc =WirexxPutEnv('plug_gbm','Lucide GBM plugin')
rc =WirexxPutEnv('plug_pdfdes','Plugin for viewing documents in PDF format')
rc =WirexxPutEnv('plug_djvudes','Plugin for viewing documents in DjVu format')
rc =WirexxPutEnv('plug_gbmdes','Generalized bitmap plugin for viewing multiple '||,
'different image formats')
rc =WirexxPutEnv('alticons','AltIcons')
rc =WirexxPutEnv('alticonsdes','This package contains alternative icons for Lucide')
rc =WirexxPutEnv('debugsym','Debug symbols for Lucide.').
rc =WirexxPutEnv('debugsymdes','This package contains debug symbols for Lucide.')
rc =WirexxPutEnv('langsupport',' language support files for Lucide.').
rc =WirexxPutEnv('readmetitle','ReadMe')
rc =WirexxPutEnv('welcome','Welcome to the installation of Lucide!')
rc =WirexxPutEnv('accept','Please read and accept the following license-agreement.')
rc =WirexxPutEnv('target','Please select target directory.')
rc =WirexxPutEnv('re_install','If you are updating Lucide, the default installation directory will be the current directory.')
rc =WirexxPutEnv('install','~Install')
rc =WirexxPutEnv('license','I ~accept')
rc =WirexxPutEnv('next','~Next')
rc =WirexxPutEnv('nextText','Select "Next" to continue.')
rc =WirexxPutEnv('cancelText','Select "Cancel" to abort installation.')
rc =WirexxPutEnv('installText','Press "Install" in order to start installation of this archive.')
/* End Translate */
rc =WirexxPutEnv('pkgnum','1')
/* Update us if this translation is added */
rc =WirexxPutEnv('readme','readme')
rc =WirexxPutEnv('lucidehelp','lucide_en.hlp+gbm_en.hlp')
rc =WirexxPutEnv('tw_sel','SELECT DESELECT')
end
otherwise do
rc =WirexxPutEnv('title','Lucide Document Viewer')
rc =WirexxPutEnv('uguide','Lucide User Guide')
rc =WirexxPutEnv('plug_pdf','Lucide PDF plugin')
rc =WirexxPutEnv('plug_djvu','Lucide DjVu plugin')
rc =WirexxPutEnv('plug_jpeg','Lucide JPEG plugin')
rc =WirexxPutEnv('plug_gbm','Lucide GBM plugin')
rc =WirexxPutEnv('plug_pdfdes','Plugin for viewing documents in PDF format')
rc =WirexxPutEnv('plug_djvudes','Plugin for viewing documents in DjVu format')
rc =WirexxPutEnv('plug_gbmdes','Generalized bitmap plugin for viewing multiple '||,
'different image formats')
rc =WirexxPutEnv('alticons','AltIcons')
rc =WirexxPutEnv('alticonsdes','This package contains alternative icons for Lucide')
rc =WirexxPutEnv('debugsym','Debug symbols for Lucide.').
rc =WirexxPutEnv('debugsymdes','This package contains debug symbols for Lucide.')
rc =WirexxPutEnv('langsupport',' language support files for Lucide.').
rc =WirexxPutEnv('readmetitle','ReadMe')
rc =WirexxPutEnv('welcome','Welcome to the installation of Lucide!')
rc =WirexxPutEnv('accept','Please read and accept the following license-agreement.')
rc =WirexxPutEnv('target','Please select target directory.')
rc =WirexxPutEnv('re_install','If you are updating Lucide, the default installation directory will be the current directory.')
rc =WirexxPutEnv('install','~Install')
rc =WirexxPutEnv('license','I ~accept')
rc =WirexxPutEnv('next','~Next')
rc =WirexxPutEnv('nextText','Select "Next" to continue.')
rc =WirexxPutEnv('cancelText','Select "Cancel" to abort installation.')
rc =WirexxPutEnv('installText','Press "Install" in order to start installation of this archive.')
rc =WirexxPutEnv('pkgnum','1')
rc =WirexxPutEnv('readme','readme')
rc =WirexxPutEnv('lucidehelp','lucide_en.hlp+gbm_en.hlp')
rc =WirexxPutEnv('en_sel','SELECT DESELECT')
end
end
return ''
Parse Arg subject .
Return WirexxGetEnv(subject)
ans = WirexxShowMessage(WirexxGetEnv('title'),'Make Lucide the default program for PDF files?',4)
If ans = 6 Then Do
/* clear any previous associations */
Call SysIni 'USER','PMWP_ASSOC_FILTER','*.PDF','DELETE:'
Call SysIni 'USER','PMWP_ASSOC_FILTER','*PDF','DELETE:'
Call SysIni 'USER','PMWP_ASSOC_TYPE','Acrobat Document','DELETE:'
Call SysIni 'USER','PMWP_ASSOC_TYPE','Adobe Portable Document Format','DELETE:'
End
Return ''
readme = "readme.txt"
return readme
=("get_env title")
=("get_env title").
=("get_env plug_pdfdes")
=("get_env plug_djvudes")
=("get_env plug_gbmdes")
=("get_env plug_jpeg")
=("get_env alticonsdes")"
=("get_env debugsymdes")
/*Make sure you change the help file object name when adding a new translation*/
/*Readme objects are all different*/
|EXENAME=view.exe;OBJECTID=;TITLE==("get_env uguide");PROGTYPE=PM;PARAMETERS==("get_env lucidehelp");STARTUPDIR=$(1);"
CREATEOBJECT='WPProgram|=("get_env readmetitle")||EXENAME=e.exe;OBJECTID=;TITLE==("get_env readmetitle");PROGTYPE=PM;PARAMETERS=$(1)\readme;STARTUPDIR=$(1);'
CREATEOBJECT='WPProgram|Changelog||EXENAME=e.exe;OBJECTID=;TITLE=Changelog;PROGTYPE=PM;PARAMETERS=$(1)\changelog;STARTUPDIR=$(1);'
=("get_env en_sel")
>English=("get_env langsupport")
|EXENAME=view.exe;OBJECTID=;TITLE==("get_env uguide");PROGTYPE=PM;PARAMETERS=$(1)\Lucide_en.hlp;STARTUPDIR=$(1);"
CREATEOBJECT='WPProgram|=("get_env readmetitle")||EXENAME=e.exe;OBJECTID=;TITLE==("get_env readmetitle");PROGTYPE=PM;PARAMETERS=$(1)\readme_fr.txt;STARTUPDIR=$(1);'
CREATEOBJECT='WPProgram|Change Log||EXENAME=e.exe;OBJECTID=;TITLE=Change Log;PROGTYPE=PM;PARAMETERS=$(1)\changelog;STARTUPDIR=$(1);'
=("get_env fr_sel")
>Francais=("get_env langsupport")
|EXENAME=view.exe;OBJECTID=;TITLE==("get_env uguide");PROGTYPE=PM;PARAMETERS==("get_env lucidehelp");STARTUPDIR=$(1);"
CREATEOBJECT='WPProgram|=("get_env readmetitle")||EXENAME=e.exe;OBJECTID=;TITLE==("get_env readmetitle");PROGTYPE=PM;PARAMETERS=$(1)\readme_de.txt;STARTUPDIR=$(1);'
CREATEOBJECT='WPProgram|Entwicklungsgeschichte||EXENAME=e.exe;OBJECTID=;TITLE=Entwicklungsgeschichte;PROGTYPE=PM;PARAMETERS=$(1)\changelog;STARTUPDIR=$(1);'
=("get_env de_sel")
>Deutsch=("get_env langsupport")
|EXENAME=view.exe;OBJECTID=;TITLE==("get_env uguide");PROGTYPE=PM;PARAMETERS==("get_env lucidehelp");STARTUPDIR=$(1);"
CREATEOBJECT='WPProgram|=("get_env readmetitle")||EXENAME=e.exe;OBJECTID=;TITLE==("get_env readmetitle");PROGTYPE=PM;PARAMETERS=$(1)\readme_nl.txt;STARTUPDIR=$(1);'
CREATEOBJECT='WPProgram|Changelog||EXENAME=e.exe;OBJECTID=;TITLE=Changelog;PROGTYPE=PM;PARAMETERS=$(1)\changelog;STARTUPDIR=$(1);'
=("get_env nl_sel")
>Dutch=("get_env langsupport")
|EXENAME=view.exe;OBJECTID=;TITLE==("get_env uguide");PROGTYPE=PM;PARAMETERS==("get_env lucidehelp");STARTUPDIR=$(1);"
CREATEOBJECT='WPProgram|=("get_env readmetitle")||EXENAME=e.exe;OBJECTID=;TITLE==("get_env readmetitle");PROGTYPE=PM;PARAMETERS=$(1)\readme_es.txt;STARTUPDIR=$(1);'
CREATEOBJECT='WPProgram|Change Log||EXENAME=e.exe;OBJECTID=;TITLE=Changelog;PROGTYPE=PM;PARAMETERS=$(1)\changelog;STARTUPDIR=$(1);'
=("get_env es_sel")
>Espanol=("get_env langsupport")
|EXENAME=view.exe;OBJECTID=;TITLE==("get_env uguide");PROGTYPE=PM;PARAMETERS==("get_env lucidehelp");STARTUPDIR=$(1);"
CREATEOBJECT='WPProgram|=("get_env readmetitle")||EXENAME=e.exe;OBJECTID=;TITLE==("get_env readmetitle");PROGTYPE=PM;PARAMETERS=$(1)\readme;STARTUPDIR=$(1);'
CREATEOBJECT='WPProgram|Changelog||EXENAME=e.exe;OBJECTID=;TITLE=Changelog;PROGTYPE=PM;PARAMETERS=$(1)\changelog;STARTUPDIR=$(1);'
=("get_env sv_sel")
>Sverige=("get_env langsupport")
|EXENAME=view.exe;OBJECTID=;TITLE==("get_env uguide");PROGTYPE=PM;PARAMETERS==("get_env lucidehelp");STARTUPDIR=$(1);"
CREATEOBJECT='WPProgram|=("get_env readmetitle")||EXENAME=e.exe;OBJECTID=;TITLE==("get_env readmetitle");PROGTYPE=PM;PARAMETERS=$(1)\readme;STARTUPDIR=$(1);'
CREATEOBJECT='WPProgram|Changelog||EXENAME=e.exe;OBJECTID=;TITLE=Changelog;PROGTYPE=PM;PARAMETERS=$(1)\changelog;STARTUPDIR=$(1);'
=("get_env it_sel")
>Italian=("get_env langsupport")
|EXENAME=view.exe;OBJECTID=;TITLE==("get_env uguide");PROGTYPE=PM;PARAMETERS==("get_env lucidehelp");STARTUPDIR=$(1);"
CREATEOBJECT='WPProgram|=("get_env readmetitle")||EXENAME=e.exe;OBJECTID=;TITLE==("get_env readmetitle");PROGTYPE=PM;PARAMETERS=$(1)\readme;STARTUPDIR=$(1);'
CREATEOBJECT='WPProgram|Changelog||EXENAME=e.exe;OBJECTID=;TITLE=Changelog;PROGTYPE=PM;PARAMETERS=$(1)\changelog;STARTUPDIR=$(1);'
=("get_env pl_sel")
>Polish=("get_env langsupport")
|EXENAME=view.exe;OBJECTID=;TITLE==("get_env uguide");PROGTYPE=PM;PARAMETERS==("get_env lucidehelp");STARTUPDIR=$(1);"
CREATEOBJECT='WPProgram|=("get_env readmetitle")||EXENAME=e.exe;OBJECTID=;TITLE==("get_env readmetitle");PROGTYPE=PM;PARAMETERS=$(1)\readme;STARTUPDIR=$(1);'
CREATEOBJECT='WPProgram|Changelog||EXENAME=e.exe;OBJECTID=;TITLE=Changelog;PROGTYPE=PM;PARAMETERS=$(1)\changelog;STARTUPDIR=$(1);'
=("get_env cz_sel")
>Czech=("get_env langsupport")
|EXENAME=view.exe;OBJECTID=;TITLE==("get_env uguide");PROGTYPE=PM;PARAMETERS==("get_env lucidehelp");STARTUPDIR=$(1);"
CREATEOBJECT='WPProgram|=("get_env readmetitle")||EXENAME=e.exe;OBJECTID=;TITLE==("get_env readmetitle");PROGTYPE=PM;PARAMETERS=$(1)\readme;STARTUPDIR=$(1);'
CREATEOBJECT='WPProgram|Changelog||EXENAME=e.exe;OBJECTID=;TITLE=Changelog;PROGTYPE=PM;PARAMETERS=$(1)\changelog;STARTUPDIR=$(1);'
=("get_env da_sel")
>Danish=("get_env langsupport")
|EXENAME=view.exe;OBJECTID=;TITLE==("get_env uguide");PROGTYPE=PM;PARAMETERS==("get_env lucidehelp");STARTUPDIR=$(1);"
CREATEOBJECT='WPProgram|=("get_env readmetitle")||EXENAME=e.exe;OBJECTID=;TITLE==("get_env readmetitle");PROGTYPE=PM;PARAMETERS=$(1)\readme;STARTUPDIR=$(1);'
CREATEOBJECT='WPProgram|Changelog||EXENAME=e.exe;OBJECTID=;TITLE=Changelog;PROGTYPE=PM;PARAMETERS=$(1)\changelog;STARTUPDIR=$(1);'
=("get_env ru_sel")
>Russian=("get_env langsupport")
|EXENAME=view.exe;OBJECTID=;TITLE==("get_env uguide");PROGTYPE=PM;PARAMETERS==("get_env lucidehelp");STARTUPDIR=$(1);"
CREATEOBJECT='WPProgram|=("get_env readmetitle")||EXENAME=e.exe;OBJECTID=;TITLE==("get_env readmetitle");PROGTYPE=PM;PARAMETERS=$(1)\readme;STARTUPDIR=$(1);'
CREATEOBJECT='WPProgram|Changelog||EXENAME=e.exe;OBJECTID=;TITLE=Changelog;PROGTYPE=PM;PARAMETERS=$(1)\changelog;STARTUPDIR=$(1);'
=("get_env tw_sel")
>Chinese (TW)=("get_env langsupport")
=("get_env next")
=("get_env nextText")
=("get_env cancelText")
=("get_env readme")
=("get_env next")
The following list describes what is new in this version of =("get_env prog").
changelog
=("get_env license")
=("get_env accept")
LICENSE.CDDL
=("get_env license")
=("get_env accept")
LICENSE.LGPL
=("get_env next")
=("get_env target")
=("get_env next")
Please select additional configuration that WarpIN should perform after installing this archive.
=("get_env install")
=("get_env installText")