Changeset 4694


Ignore:
Timestamp:
May 11, 2017, 10:29:58 AM (2 years ago)
Author:
hectorgh
Message:

fixing daynames

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lliurex-shutdowner/trunk/fuentes/lliurex-shutdowner.install/usr/sbin/shutdowner

    r2379 r4694  
    1818# with this program.  If not, see <http://www.gnu.org/licenses/>.
    1919
     20import gi
     21gi.require_version('Gtk', '3.0')
    2022from gi.repository import Gtk, GdkPixbuf, Gdk, GObject
    2123import os, sys
     
    8587        #liststore1 = Gtk.ListStore(GObject.TYPE_STRING)
    8688        #liststore2 = Gtk.ListStore(GObject.TYPE_STRING)
    87         days = { 'Lunes': False, 'Martes' : False, 'Miercoles': False, 'Jueves': False, 'Viernes': False}
    88         daynames = ['Lunes','Martes','Miercoles','Jueves','Viernes']
     89        days = { _('Monday'): False, _('Tuesday') : False, _('Wednesday'): False, _('Thursday'): False, _('Friday'): False}
     90        daynames = [_('Monday'),_('Tuesday'),_('Wednesday'),_('Thursday'),_('Friday')]
    8991        hora = None
    9092        clients_file="/run/clients_tmp"
Note: See TracChangeset for help on using the changeset viewer.