Skip to content

Commit

Permalink
2.5 version plus added portugese language option
Browse files Browse the repository at this point in the history
  • Loading branch information
ccbogel authored Apr 6, 2021
1 parent 6cf63c7 commit eff9a21
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions qualcoder/qualcoder.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
from view_graph_original import ViewGraphOriginal
from view_image import DialogCodeImage

qualcoder_version = "QualCoder 2.4"
qualcoder_version = "QualCoder 2.5"

path = os.path.abspath(os.path.dirname(__file__))
home = os.path.expanduser('~')
Expand Down Expand Up @@ -1643,7 +1643,7 @@ def gui():
lang = settings.get('language', 'en')
getlang = gettext.translation('en', localedir=path +'/locale', languages=['en'])
#if lang != "en":
if lang in ["de", "el", "es", "fr", "it", "jp"]:
if lang in ["de", "el", "es", "fr", "it", "jp", "pt"]:
translator = QtCore.QTranslator()
translator.load(path + "/locale/" + lang + "/app_" + lang + ".qm")
getlang = gettext.translation(lang, localedir=path + '/locale', languages=[lang])
Expand Down

0 comments on commit eff9a21

Please sign in to comment.