Sha256: dcfe11fa6b47cd29dcaa4fdc022a597f41971922ce6863dcc20527c1702de3d6
Contents?: true
Size: 1.36 KB
Versions: 1
Compression:
Stored size: 1.36 KB
Contents
require_relative '../base' require 'manabu/client' require 'manabu/student' module ManabuDesktop module Screens module Student class Registration < ManabuDesktop::Screens::Base def initialize(client, parent) @client = client @parent = parent super('student_registration') @builder.get_object('surname.label').set_label( I18n.t('student.surname')) @builder.get_object('name.label').set_label( I18n.t('student.name')) @builder.get_object('middle_name.label').set_label( I18n.t('student.middle_name')) @builder.get_object('surname_reading.label').set_label( I18n.t('student.surname_reading')) @builder.get_object('name_reading.label').set_label( I18n.t('student.name_reading')) @builder.get_object('middle_name_reading.label').set_label( I18n.t('student.middle_name_reading')) @builder.get_object('sex.label').set_label(I18n.t('student.sex')) sex_comboboxtext = @builder.get_object('sex.comboboxtext') sex_comboboxtext.append_text(I18n.t('student.male')) sex_comboboxtext.append_text(I18n.t('student.female')) @builder.get_object('birth_date.label').set_label(I18n.t('student.dob')) _show() end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
manabu-desktop-0.0.2 | lib/screens/student/registration.rb |