DICT servers: Translation in dictionary description window

This commit is contained in:
Abs62 2014-05-09 11:29:20 +04:00
parent 3607529454
commit 75bcb3bcbf

View file

@ -236,9 +236,9 @@ QString const & DictServerDictionary::getDescription()
{
if( dictionaryDescription.isEmpty() )
{
dictionaryDescription = "Url: " + url + "\n";
dictionaryDescription += "Databases: " + databases.join( ", " ) + "\n";
dictionaryDescription += "Strategies: " + strategies.join( ", " );
dictionaryDescription = QCoreApplication::translate( "DictServer", "Url: " ) + url + "\n";
dictionaryDescription += QCoreApplication::translate( "DictServer", "Databases: " ) + databases.join( ", " ) + "\n";
dictionaryDescription += QCoreApplication::translate( "DictServer", "Search strategies: " ) + strategies.join( ", " );
}
return dictionaryDescription;
}