finish queries and change to spanish

This commit is contained in:
Chris Cromer 2019-07-14 12:22:00 -04:00
parent 66b8fe1b6a
commit 8c8e9851b8
Signed by: cromer
GPG Key ID: 39CC813FF3C8708A
5 changed files with 17 additions and 33 deletions

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.22.1 <!-- Generated with glade 3.22.1
Copyright 2019 Chris Cromer Copyright 2019 Chris Cromer
@ -38,33 +38,17 @@ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
<object class="GtkMenuItem"> <object class="GtkMenuItem">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">False</property> <property name="can_focus">False</property>
<property name="label" translatable="yes">_Menu</property> <property name="label" translatable="yes">_Menú</property>
<property name="use_underline">True</property> <property name="use_underline">True</property>
<child type="submenu"> <child type="submenu">
<object class="GtkMenu"> <object class="GtkMenu">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">False</property> <property name="can_focus">False</property>
<child> <child>
<object class="GtkMenuItem" id="tours"> <object class="GtkMenuItem" id="asignaturas">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">False</property> <property name="can_focus">False</property>
<property name="label" translatable="yes">Tours</property> <property name="label" translatable="yes">Asignaturas</property>
<signal name="activate" handler="on_activate_menu" swapped="no"/>
</object>
</child>
<child>
<object class="GtkMenuItem" id="staff">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="label" translatable="yes">Staff</property>
<signal name="activate" handler="on_activate_menu" swapped="no"/>
</object>
</child>
<child>
<object class="GtkMenuItem" id="tourists">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="label" translatable="yes">Tourists</property>
<signal name="activate" handler="on_activate_menu" swapped="no"/> <signal name="activate" handler="on_activate_menu" swapped="no"/>
</object> </object>
</child> </child>
@ -78,7 +62,7 @@ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
<object class="GtkMenuItem" id="quit"> <object class="GtkMenuItem" id="quit">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">False</property> <property name="can_focus">False</property>
<property name="label" translatable="yes">Quit</property> <property name="label" translatable="yes">Salir</property>
<signal name="activate" handler="on_activate_menu" swapped="no"/> <signal name="activate" handler="on_activate_menu" swapped="no"/>
</object> </object>
</child> </child>
@ -90,7 +74,7 @@ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
<object class="GtkMenuItem"> <object class="GtkMenuItem">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">False</property> <property name="can_focus">False</property>
<property name="label" translatable="yes">_Views</property> <property name="label" translatable="yes">_Consultas</property>
<property name="use_underline">True</property> <property name="use_underline">True</property>
<child type="submenu"> <child type="submenu">
<object class="GtkMenu"> <object class="GtkMenu">

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.22.1 <!-- Generated with glade 3.22.1
Copyright 2019 Chris Cromer Copyright 2019 Chris Cromer
@ -63,7 +63,7 @@ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
<property name="spacing">25</property> <property name="spacing">25</property>
<child> <child>
<object class="GtkButton" id="close_query"> <object class="GtkButton" id="close_query">
<property name="label" translatable="yes">Close</property> <property name="label" translatable="yes">Cerrar</property>
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">True</property> <property name="can_focus">True</property>
<property name="receives_default">True</property> <property name="receives_default">True</property>
@ -81,7 +81,7 @@ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
</child> </child>
<child> <child>
<object class="GtkButton" id="run_query"> <object class="GtkButton" id="run_query">
<property name="label" translatable="yes">Run</property> <property name="label" translatable="yes">Correr</property>
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">True</property> <property name="can_focus">True</property>
<property name="receives_default">True</property> <property name="receives_default">True</property>
@ -123,7 +123,7 @@ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
<property name="margin_right">5</property> <property name="margin_right">5</property>
<property name="margin_top">5</property> <property name="margin_top">5</property>
<property name="margin_bottom">5</property> <property name="margin_bottom">5</property>
<property name="label" translatable="yes">Statement</property> <property name="label" translatable="yes">Enunciado</property>
<attributes> <attributes>
<attribute name="font-desc" value="Sans Bold 6"/> <attribute name="font-desc" value="Sans Bold 6"/>
</attributes> </attributes>
@ -153,7 +153,7 @@ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
<property name="margin_right">5</property> <property name="margin_right">5</property>
<property name="margin_top">5</property> <property name="margin_top">5</property>
<property name="margin_bottom">5</property> <property name="margin_bottom">5</property>
<property name="label" translatable="yes">View and Query</property> <property name="label" translatable="yes">Vista y Consulta</property>
<attributes> <attributes>
<attribute name="font-desc" value="Sans Bold 6"/> <attribute name="font-desc" value="Sans Bold 6"/>
</attributes> </attributes>

View File

@ -5,9 +5,9 @@ namespace Colegio {
public string apoderado { get; set; default = ""; } public string apoderado { get; set; default = ""; }
public string curso { get; set; default = ""; } public string curso { get; set; default = ""; }
public string jefe { get; set; default = ""; } public string jefe { get; set; default = ""; }
public string asistente { get; set; default = ""; } public string ?asistente { get; set; default = ""; }
public Q1 (string alumno = "", string apoderado = "", string curso = "", string jefe = "", string asistente = "") { public Q1 (string alumno = "", string apoderado = "", string curso = "", string jefe = "", string ?asistente = "") {
this.alumno = alumno; this.alumno = alumno;
this.apoderado = apoderado; this.apoderado = apoderado;
this.curso = curso; this.curso = curso;

View File

@ -51,8 +51,8 @@ JOIN apoderado AP ON (AP.rut_apoderado = AL.rut_apoderado)
JOIN cursar CU ON (CU.rut_alumno = AL.rut_alumno) JOIN cursar CU ON (CU.rut_alumno = AL.rut_alumno)
JOIN curso CO ON (CO.id_curso = CU.id_curso) JOIN curso CO ON (CO.id_curso = CU.id_curso)
JOIN profesor PJ ON (PJ.rut_profesor = CO.rut_profesor) JOIN profesor PJ ON (PJ.rut_profesor = CO.rut_profesor)
JOIN asistente ASI ON (ASI.id_curso = CO.id_curso) LEFT JOIN asistente ASI ON (ASI.id_curso = CO.id_curso)
JOIN profesor PA ON (PA.rut_profesor = ASI.rut_profesor) LEFT JOIN profesor PA ON (PA.rut_profesor = ASI.rut_profesor)
JOIN ciudad C ON (C.id_ciudad = AL.id_ciudad) JOIN ciudad C ON (C.id_ciudad = AL.id_ciudad)
JOIN region R ON (R.id_region = C.id_region) JOIN region R ON (R.id_region = C.id_region)
WHERE ( WHERE (

View File

@ -98,8 +98,8 @@ JOIN apoderado AP ON (AP.rut_apoderado = AL.rut_apoderado)
JOIN cursar CU ON (CU.rut_alumno = AL.rut_alumno) JOIN cursar CU ON (CU.rut_alumno = AL.rut_alumno)
JOIN curso CO ON (CO.id_curso = CU.id_curso) JOIN curso CO ON (CO.id_curso = CU.id_curso)
JOIN profesor PJ ON (PJ.rut_profesor = CO.rut_profesor) JOIN profesor PJ ON (PJ.rut_profesor = CO.rut_profesor)
JOIN asistente ASI ON (ASI.id_curso = CO.id_curso) LEFT JOIN asistente ASI ON (ASI.id_curso = CO.id_curso)
JOIN profesor PA ON (PA.rut_profesor = ASI.rut_profesor) LEFT JOIN profesor PA ON (PA.rut_profesor = ASI.rut_profesor)
JOIN ciudad C ON (C.id_ciudad = AL.id_ciudad) JOIN ciudad C ON (C.id_ciudad = AL.id_ciudad)
JOIN region R ON (R.id_region = C.id_region) JOIN region R ON (R.id_region = C.id_region)
WHERE ( WHERE (