minor fixes to the translation

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@429 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
rramthun 20 years ago
parent fc83032579
commit fe62a38896

@ -166,9 +166,9 @@ public class translator {
if(sourceFiles[i].getName().endsWith(extension)){
if(translationLists.containsKey(sourceFiles[i].getName())){
if(translateFile(sourceFiles[i], new File(destDir, sourceFiles[i].getName()), (Hashtable)translationLists.get(sourceFiles[i].getName()))){
serverLog.logInfo("Translator", "Translated File: "+ sourceFiles[i].getName());
serverLog.logInfo("Translator", "Translated file: "+ sourceFiles[i].getName());
}else{
serverLog.logError("Translator", "File Error while translating File "+sourceFiles[i].getName());
serverLog.logError("Translator", "File error while translating file "+sourceFiles[i].getName());
}
}else{
serverLog.logInfo("Translator", "No translation for file: "+sourceFiles[i].getName());

@ -99,7 +99,7 @@ parseableMimeTypes=
# a comma-separated list of extensions that denote media file formats
# this is important to recognize <a href> - tags as not-html reference
# These files will be excluded from indexing _(Please keep extensions in alphabetical order)_
mediaExt=ace,arj,asf,avi,bin,bz2,css,deb,doc,dmg,gif,gz,hqx,img,iso,jar,jpe,jpg,jpeg,mpeg,mov,mp3,mpg,ogg,png,pdf,ppt,ps,ram,rar,rm,rpm,sit,swf,sxc,sxd,sxi,sxw,tar,tgz,torrent,wmv,xcf,xls,zip
mediaExt=ace,arj,asf,avi,bin,bz2,css,deb,doc,dmg,gif,gz,hqx,ico,img,iso,jar,jpe,jpg,jpeg,mpeg,mov,mp3,mpg,ogg,png,pdf,ppt,ps,ram,rar,rm,rpm,sit,swf,sxc,sxd,sxi,sxw,tar,tgz,torrent,wmv,xcf,xls,zip
parseableExt=html,htm,txt,php,shtml,asp
# Promotion Strings

Loading…
Cancel
Save