QString TranslationGoogle::toHtml() const {
QString result("");
- if(googlePlugin) {
- result+="<dict> <info bookmark=\"false\">GOOGLE TRANSLATOR </info>";
- result+=_trans +"</dict>";
- }
- qDebug()<<"test"+result;
- return result;
+ if(!googlePlugin)
+ return result;
+ result="<dict> <info path=\"\" ";
+ if(isBookmark())
+ result+="bookmark=\"true\" >";
+ else
+ result+="bookmark=\"false\" >";
+ result+=_dictionaryInfo+ "</info>"+_trans +"</dict>";
}
void TranslationGoogle::setKey(QString) {