mirror of
https://github.com/yacy/yacy_search_server.git
synced 2024-09-19 00:01:41 +02:00
allow multiple #File: Sektions for one File in translations.
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@1534 6c8d7289-2bf4-0310-a012-ef5d649a1542
This commit is contained in:
parent
1bb768178f
commit
af2127f3ad
|
@ -13,6 +13,8 @@ version 0.43svn
|
|||
* UPDATED: New Searchstyle
|
||||
* FIXED: notifier.gif works even when only DATA is writable (allo)
|
||||
* FIXED: Translations work with readonly htroot now. (allo)
|
||||
* ADDED: Log for unused Translationstrings & Support for multiple
|
||||
#File: Sektions for the same file (Allo)
|
||||
|
||||
version 0.40 (8/21/2005):
|
||||
* The Server now provides the virtuel Header IS_ADMIN (Alexander Schier)
|
||||
|
|
|
@ -116,7 +116,7 @@ public class translator {
|
|||
}else{ //Invalid line
|
||||
}
|
||||
}else if(line.startsWith("#File: ")){
|
||||
if(forFile != ""){
|
||||
if(!forFile.equals("")){
|
||||
lists.put(forFile, translationList);
|
||||
}
|
||||
if(line.charAt(6)==' '){
|
||||
|
@ -124,7 +124,11 @@ public class translator {
|
|||
}else{
|
||||
forFile=line.substring(6);
|
||||
}
|
||||
translationList=new Hashtable();
|
||||
if(lists.containsKey(forFile)){
|
||||
translationList=(Hashtable) lists.get(forFile);
|
||||
}else{
|
||||
translationList=new Hashtable();
|
||||
}
|
||||
}
|
||||
}
|
||||
lists.put(forFile, translationList);
|
||||
|
|
Loading…
Reference in New Issue
Block a user