From | Amin Hedjazi |
Date | Sat Dec 13 18:39:21 2008 |
Subject | [greenstone-users] question about gsprintf,please help me |
hello every one
can any body out there tell me what is the line 231 in file gs2buildperllibgsprintf.pm is good for ? i wanted to traslate the strings.properties inside gs2buildperllib to persian but when i made a strings_fa.properties file like other traslations and saved it az utf-8 it returnd an error while trying to load the gli so i traced back the error and got to the line 231 in file gs2buildperllibgsprintf.pm and that wolude be the line below $linetext =~ s/(s*)#s+Updateds+(d?d-DDD-dddd)s*$//i; becouse of this line my xml out put from the file downloadeinfo.pl wasent well formed and i got the error when i was trying to load the gli but when i commented out the line 231 in file gs2buildperllibgsprintf.pm my errors where gone and the gli loaded perfectly whit my traslations in there own palceses so sombody please tell me what is this line good for and it apears this line was making my utf-8 code to have some syntax error in it !!!!! if that problem was spose to be a bug shoulde i report it in the tracs ? please help me tnx every one -------------- next part -------------- An HTML attachment was scrubbed... URL: https://list.scms.waikato.ac.nz/mailman/private/greenstone-users/attachments/20081213/e8e8baaf/attachment.html |