Ignore:
Timestamp:
Apr 26, 2017, 5:16:35 PM (3 years ago)
Author:
Juanma
Message:

WIP on locale

Location:
lliurex-remote-installer/trunk/fuentes
Files:
5 added
1 edited

Legend:

Unmodified
Added
Removed
  • lliurex-remote-installer/trunk/fuentes/lliurex-remote-installer-gui.install/usr/share/lliurex-remote-installer/LliurexRemoteInstaller.py

    r4056 r4465  
    1414
    1515signal.signal(signal.SIGINT, signal.SIG_DFL)
     16gettext.textdomain('lliurex-remote-installer')
    1617_=gettext.gettext
    1718
     
    270271                if COMMENT not in [None,"",[]]:
    271272                        COMMENT='\n'.join(COMMENT)
    272                         dialog=Dialog.InfoDialog(self.main_window,"LliureX Remote Installer Summary","You are published this list to install:\n\n%s"%(COMMENT))
     273                        dialog=Dialog.InfoDialog(self.main_window,_(u"LliureX Remote Installer Summary"),_(u"You published this list to install:\n\n%s")%(COMMENT))
    273274                        response=dialog.run()
    274275                        dialog.destroy()
     
    283284               
    284285               
    285                 dialog=Dialog.QuestionDialog(self.main_window,"Changes detected","There are unsaved changes. Do you want to discard them?")
     286                dialog=Dialog.QuestionDialog(self.main_window,_(u"Changes detected"),_(u"There are unsaved changes. Do you want to discard them?"))
    286287                response=dialog.run()
    287288                dialog.destroy()
Note: See TracChangeset for help on using the changeset viewer.