Skip to content

Commit 69e135e

Browse files
committed
BUG: i18n: Update loadTranslations() to ensure all *.qm files can be found
This commit removes the qm file filter resizer because Chinese Language have area differences. For example, file ending with "zh_tw.qm" and not only the one ending with "fr.qm" will be discovered. Reviewed-by: Jean-Christophe Fillion-Robin <[email protected]> From: Ted Chen <[email protected]> git-svn-id: http://svn.slicer.org/Slicer4/trunk@26944 3bd1e089-480b-0410-8dfb-8563597acbee
1 parent 0e2d2ea commit 69e135e

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Base/QTCore/qSlicerCoreApplication.cxx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1594,7 +1594,6 @@ void qSlicerCoreApplication::loadTranslations(const QString& dir)
15941594

15951595
QString localeFilter =
15961596
QString( QString("*") + app->settings()->value("language").toString());
1597-
localeFilter.resize(3);
15981597
localeFilter += QString(".qm");
15991598

16001599
QDir directory(dir);

0 commit comments

Comments
 (0)