From 3bde6cc3e88cf620a19b741a26476fcbb17e5f50 Mon Sep 17 00:00:00 2001 From: Abs62 Date: Mon, 29 Apr 2013 17:57:19 +0400 Subject: [PATCH] Aard: localizable article loading error string --- aard.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aard.cc b/aard.cc index 9ab9a01e..57a533a5 100644 --- a/aard.cc +++ b/aard.cc @@ -433,7 +433,7 @@ void AardDictionary::loadArticle( uint32_t address, while( 1 ) { - articleText = "Article loading error"; + articleText = string( QObject::tr( "Article loading error" ).toUtf8().constData() ); try { Mutex::Lock _( aardMutex ); @@ -515,7 +515,7 @@ void AardDictionary::loadArticle( uint32_t address, if( !articleText.empty() ) articleText = convert( articleText ); else - articleText = "Article decoding error"; + articleText = string( QObject::tr( "Article decoding error" ).toUtf8().constData() ); articleText = "
" + articleText + "
"; }