Allow translation of the cylinder use strings for the UI

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2014-11-17 14:15:19 +00:00
parent 0c3f13d128
commit 8856417b2f
3 changed files with 9 additions and 7 deletions

View file

@ -173,7 +173,7 @@ QVariant CylindersModel::data(const QModelIndex &index, int role) const
ret = get_depth_string(cyl->depth, true);
break;
case USE:
ret = QString(cylinderuse_text[cyl->cylinder_use]);
ret = gettextFromC::instance()->trGettext(cylinderuse_text[cyl->cylinder_use]);
break;
}
break;