Skip to content

Commit

Permalink
Actual translations use
Browse files Browse the repository at this point in the history
  • Loading branch information
achow101 committed Sep 10, 2016
1 parent a37a506 commit c5b56e0
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions ArmoryQt.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,15 @@
#from announcefetch import AnnounceDataFetcher, ANNOUNCE_URL, ANNOUNCE_URL_BACKUP, \
# DEFAULT_FETCH_INTERVAL
from armorycolors import Colors, htmlColor, QAPP

import qt4reactor
qt4reactor.install()

# Setup translations
translator = QTranslator(QAPP)
translator.load("armory_da.qm", os.path.join(os.path.dirname(os.path.realpath(__file__)), "lang/"))
QAPP.installTranslator(translator)

from armoryengine.ALL import *
from armoryengine.Block import PyBlock
from armoryengine.Decorators import RemoveRepeatingExtensions
Expand Down

0 comments on commit c5b56e0

Please sign in to comment.