From 1505bf990dfb01b03c8ae7d68b0d3adf24212606 Mon Sep 17 00:00:00 2001 From: Timon Wong Date: Sun, 28 Apr 2013 17:18:34 +0800 Subject: [PATCH] MDict: localizable article loading error string. --- mdx.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mdx.cc b/mdx.cc index 1093a022..5d574b88 100644 --- a/mdx.cc +++ b/mdx.cc @@ -778,7 +778,7 @@ void MdxDictionary::loadArticle( uint32_t offset, string & articleText ) QString articleId; articleId.setNum( ( quint64 )pRecordInfo, 16 ); - articleText = "Article loading error"; + articleText = string( QObject::tr( "Article loading error" ).toUtf8().constData() ); try {