Ignore:
Timestamp:
Oct 4, 2016, 9:16:04 AM (3 years ago)
Author:
jrpelegrina
Message:

WIP in i18n

Location:
lliurex-session-manager/trunk/fuentes
Files:
2 added
2 deleted
3 edited

Legend:

Unmodified
Added
Removed
  • lliurex-session-manager/trunk/fuentes/install-files/usr/bin/lliurex-session-manager

    r2547 r2548  
    3434                self.max_seconds=15.0
    3535                self.current_second=0
    36                 #self.progress_txt=_("%s will %s in %s seconds...")
     36                self.progress_txt=_("%s will %s in %s seconds...")
    3737                self.can_suspend=True
    3838                self.can_hibernate=True
     
    311311               
    312312                csecond=int(self.max_seconds+1-self.current_second)
    313                 #self.progressbar.set_text(self.progress_txt%(what,how,csecond))
    314                 self.progressbar.set_text(_("%s will %s in %s seconds...")%(what,how,csecond))
     313                self.progressbar.set_text(self.progress_txt%(what,how,csecond))
    315314                self.progressbar.set_fraction(self.current_second/self.max_seconds)
    316315                self.current_second+=0.01
     
    318317                if self.current_second>=self.max_seconds:
    319318                        print "Executing callback..."
    320                         #self.progressbar.set_text(self.progress_txt%(what,how,0))
    321                         self.progressbar.set_text(_("%s will %s in %s seconds...")%(what,how,0))
     319                        self.progressbar.set_text(self.progress_txt%(what,how,0))
    322320                        callback()
    323321                        self.exit(None)
  • lliurex-session-manager/trunk/fuentes/lliurex-po/lliurex-session-manager/es.po

    r2547 r2548  
    77msgid ""
    88msgstr ""
    9 "Project-Id-Version: PACKAGE VERSION\n"
     9"Project-Id-Version: \n"
    1010"Report-Msgid-Bugs-To: \n"
    11 "POT-Creation-Date: 2016-10-03 12:22+0200\n"
    12 "PO-Revision-Date: 2016-10-03 12:22+0200\n"
     11"POT-Creation-Date: 2016-10-04 09:04+0200\n"
     12"PO-Revision-Date: 2016-10-04 09:11+0200\n"
    1313"Last-Translator: lliurex <lliurex@edu.gva.es>\n"
    1414"Language-Team: Spanish\n"
     
    1818"Content-Transfer-Encoding: 8bit\n"
    1919"Plural-Forms: nplurals=2; plural=(n != 1);\n"
     20"X-Generator: Poedit 1.8.7.1\n"
    2021
    2122#: ../install-files/usr/share/lliurex-session-manager/rsrc/lliurex-session-manager.ui:72
     
    5859msgid "Shutdown"
    5960msgstr "Apagar"
     61
     62#: /tmp/lliurex-session-manager.py:36
     63#, python-format
     64msgid "%s will %s in %s seconds..."
     65msgstr "%s %s en %s segundos..."
    6066
    6167#: /tmp/lliurex-session-manager.py:241
     
    107113msgid "shutdown"
    108114msgstr "se apagará"
    109 
    110 #: /tmp/lliurex-session-manager.py:314 /tmp/lliurex-session-manager.py:321
    111 #, python-format
    112 msgid "%s will %s in %s seconds..."
    113 msgstr "%s %s en %s segundos..."
  • lliurex-session-manager/trunk/fuentes/lliurex-po/lliurex-session-manager/lliurex-session-manager.pot

    r2547 r2548  
    99"Project-Id-Version: PACKAGE VERSION\n"
    1010"Report-Msgid-Bugs-To: \n"
    11 "POT-Creation-Date: 2016-10-03 12:22+0200\n"
     11"POT-Creation-Date: 2016-10-04 09:04+0200\n"
    1212"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    1313"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
     
    5656#: ../install-files/usr/share/lliurex-session-manager/rsrc/lliurex-session-manager.ui:478
    5757msgid "Shutdown"
     58msgstr ""
     59
     60#: /tmp/lliurex-session-manager.py:36
     61#, python-format
     62msgid "%s will %s in %s seconds..."
    5863msgstr ""
    5964
     
    106111msgid "shutdown"
    107112msgstr ""
    108 
    109 #: /tmp/lliurex-session-manager.py:314 /tmp/lliurex-session-manager.py:321
    110 #, python-format
    111 msgid "%s will %s in %s seconds..."
    112 msgstr ""
Note: See TracChangeset for help on using the changeset viewer.