Commit b7a255f6 by Manuel

Traducciones en views terminadas (#255)

parent f675c734
......@@ -12,6 +12,8 @@
"action-tryinit": "Try begin",
"action-unshow": "Writing mode",
"add": "Add",
"add_expression": "Add expression",
"add_instruction": "Add instruction",
"add_office": "Add office",
"add_picto": "Add picto",
"add_pictos": "Add pictos",
......@@ -35,12 +37,14 @@
"cancel": "Cancel",
"cannot_delete_method": "Method could not be deleted, maybe due to existing recorded sessions.",
"categories": "Categories",
"category_pictograms": "Category's pictograms",
"change_password": "Change password",
"change_picture": "Change picture",
"child": "Child",
"click": "Click",
"click_login": "Click to login",
"close": "Close",
"close_session": "Close session",
"collections": "Collections",
"confirmation": "Are you sure?",
"contact_person": "Contact person",
......@@ -49,8 +53,13 @@
"country": "Country",
"create_account": "Create account",
"create_an_account": "Create an account",
"crop_image": "Crop image",
"data_no_saved": "Data can't be saved",
"data_saved": "Data saved",
"day_format": "yyyy/MM/dd",
"days": "Days",
"days_from_first_session": "days from first session",
"days_from_first_trie": "days from first trie",
"December": "December",
"delete": "Delete",
"delete_template": "Delete from templates",
......@@ -77,16 +86,23 @@
"enormous": "Enormous",
"expand_navigation": "Expand navigation",
"expand_navigation": "Expand navigation",
"expression": "Expression:",
"February": "February",
"feedback_picto": "Feedback when a pictogram is placed",
"filter": "Filter",
"finish_session": "Finish session",
"finished": "Finished",
"firmware": "Firmware id",
"general_labels": "General labels",
"generate": "Generate",
"generate_serial": "Generate serial number",
"hide": "Hide",
"highlight": "highlight",
"highlighted": "Highlighted",
"hours": "hours",
"instruction": "Instruction",
"instruction_begin": "Begin instruction",
"instruction_end": "End instruction",
"instructions": "Instructions",
"invalid_fields": "Invalid values. Please, check fields introduced.",
"invisible": "Invisible. Clic for enable",
......@@ -113,7 +129,11 @@
"May": "May",
"method_name_duplicated": "template already exists.Please, change the name",
"method_save": "Method saved as a new template",
"methods": "Methods",
"minutes": "minutes",
"month_totals": "Month totals",
"name": "Name",
"new_session": "New session",
"next_actions": "Next actions",
"next_sessions": "Next sessions",
"no": "No",
......@@ -122,7 +142,10 @@
"no_instruction": "No instruction defined",
"normal": "Normal",
"notes": "Notes",
"November": "November",
"November": "November",
"num_sessions_per_day_in": "Sessions per day in",
"num_sessions_per_month_in": "Sessions per months in",
"objetive": "Objetive",
"October": "October",
"office": "Office",
"office_added": "Office added",
......@@ -132,6 +155,7 @@
"office_not_updated": "Office not updated",
"office_updated": "Office updated",
"offices": "Offices",
"own_labels": "Your labels",
"own_pictos": "Your pictograms",
"pages": "Pages",
"password": "Password",
......@@ -147,7 +171,9 @@
"phrase": "Phrase",
"phrase_tape": "Phrase tape",
"picto_behavior": "Behavior of a pictogram when it is selected (without phrase tape)",
"picto_labels": "Pictogram labels",
"pictogram": "Pictogram",
"pictogram_setup": "Pictogram setup",
"pictograms": "Pictograms",
"place_pictos": "Place pictograms in the phrase tape when",
"press": "Press",
......@@ -164,6 +190,10 @@
"search": "Search",
"search_sup_email": "Search supervisor by email",
"search_tutor_email": "Search tutor by email",
"seconds": "seconds",
"select_instruction": "-- Select an instruction --",
"select_a_method": "-- Select a method --",
"select_method": "-- Select a method or create it --",
"send": "Send",
"September": "September",
"serial": "Serial number",
......@@ -171,15 +201,25 @@
"serial_list": "Free serial numbers",
"serial_not_created": "Serial number couldn't be created",
"session": "Session",
"session_mean_length": "Session mean length: {{hours}} hours",
"session_notes": "Session notes",
"sessions": "Sessions",
"sessions_of": "Sessions of",
"setup": "Setup",
"setup": "Setup",
"show": "Show",
"size": "Size",
"sound_setup": "Sound setup",
"spanish": "Spanish",
"started": "Started",
"state": "State",
"state_broken": "Broken",
"state_correct": "Correct",
"state_demonstration": "Demonstration",
"state_discarded": "Discarded",
"state_fail": "Fail",
"state_not_evaluated": "Not evaluated",
"state_spontaneous": "Spontaneous",
"state_supervised": "Supervised",
"student_added": "Student added",
"student_deleted": "Student deleted",
"student_not_added": "Student not added",
......@@ -200,7 +240,23 @@
"supervisor_updated": "Supervisor updated",
"supervisors": "Therapist",
"surname": "Surname",
"time_instruction_method": "Time instructions of method",
"time_hours": "Time: {{hours}} hours",
"time_sessions_per_days": "Time of sessions per days in",
"time_sessions_per_month": "Time of sessions per months in",
"time_tries_per_days": "Time of tries per days in",
"time_tries_per_month": "Time of tries per months in",
"title": "Title",
"totals": "Totals",
"tpl_day": "{{ day | date:'yyyy-MM-dd' }}",
"tpl_hours_frame": "from {{ begin | date:'HH:mm' }} to {{ end | date:'HH:mm' }}",
"tries": "Tries",
"tries_length": "Tries length",
"tries_mean_length": "Tries mean length",
"tries_per_days": "Tries per days in",
"tries_per_instruction_method": "Tries per instruction of method",
"tries_per_months": "Tries per months in",
"tries_results_instruction": "Tries results in instruction",
"tutor_not_added": "Tutor not added to the student.",
"tutor_not_deleted": "The tutor couldn't be deleted by the student",
"tutor_not_found": "There is no tutor account in Pictogram with this email.",
......@@ -210,6 +266,7 @@
"undefined": "Undefined",
"update_office": "Update office",
"update_supervisor": "Update supervisor",
"upload_image": "Upload image",
"username": "Name of account (no spaces)",
"username_exists": "There is already an account with name '{{username}}'",
"user_created": "User {{name}} {{surname}} created. An email has been sent to validate the account.",
......@@ -219,7 +276,9 @@
"vibration": "Vibration",
"view": "View",
"voice": "Voice",
"warning_last_session_bad": "&nbsp;Last session was bad closed. <p/> &nbsp;Please, you must evaluate last tries before starting a new session",
"woman": "Woman",
"year_totals": "Year totals",
"yes": "Yes",
"your_email": "your@email.here",
"your_password": "your password"
......
......@@ -12,6 +12,8 @@
"action-tryinit": "Inicio de ensayo",
"action-unshow": "Modo escritura",
"add": "Añadir",
"add_expression": "Añadir expresión",
"add_instruction": "Añadir instrucción",
"add_office": "Añadir gabinete",
"add_picto": "Añadir picto",
"add_pictos": "Añadir pictogramas",
......@@ -35,12 +37,14 @@
"cancel": "Cancelar",
"cannot_delete_method": "No se pudo eliminar el método, tal vez porque existen sesiones asociadas.",
"categories": "Categorías",
"category_pictograms": "Pictogramas de la categoría",
"change_password": "Cambiar contraseña",
"change_picture": "Cambiar fotografía",
"child": "Niño",
"click": "Clic",
"click_login": "Clic para iniciar sesión",
"close": "Cerrar",
"close_session": "Cerrar sesion",
"collections": "Colecciones",
"confirmation": "¿Estás seguro?",
"contact_person": "Persona de contacto",
......@@ -49,8 +53,13 @@
"country": "País",
"create_account": "Crear cuenta",
"create_an_account": "Crear una cuenta",
"crop_image": "Recortar imagen",
"data_no_saved": "Los datos no se han podido guardar",
"data_saved": "Datos guardados",
"day_format": "dd/MM/yyyy",
"days": "Días",
"days_from_first_session": "días desde la primera sesión",
"days_from_first_trie": "días desde el primer ensayo",
"December": "Diciembre",
"delete": "Eliminar",
"delete_template": "Eliminar de plantillas",
......@@ -77,16 +86,23 @@
"enormous": "Enorme",
"expand_navigation": "Desplegar navegación",
"expand_navigation": "Desplegar navegación",
"expression": "Expresión:",
"February": "Febrero",
"feedback_picto": "Feedback al colocar un pictograma",
"filter": "Filtrar",
"finish_session": "Terminar sesión",
"finished": "Completada",
"firmware": "Id firmware",
"general_labels": "Generales",
"generate": "Generar",
"generate_serial": "Generar número de serie",
"hide": "Ocultar",
"highlight": "Resaltar",
"highlighted": "Resaltado",
"hours": "horas",
"instruction": "Instrucción",
"instruction_begin": "Primer intento",
"instruction_end": "Último intento",
"instructions": "Instrucciones",
"invalid_fields": "Valores inválidos. Compruebe los datos introducidos.",
"invisible": "Invisible. Clic para activar",
......@@ -113,7 +129,11 @@
"May": "Mayo",
"method_name_duplicated": "plantilla ya existe. Por favor, cambie el nombre",
"method_save": "Método guardado como nueva plantilla",
"methods": "Métodos",
"minutes": "minutos",
"month_totals": "Totales mes",
"name": "Nombre",
"new_session": "Nueva sesión",
"next_actions": "Acciones posteriores",
"next_sessions": "Sesiones posteriores",
"no": "No",
......@@ -122,7 +142,10 @@
"nobegin": "Sin iniciar",
"normal": "Normal",
"notes": "Notas",
"November": "Noviembre",
"November": "Noviembre",
"num_sessions_per_day_in": "Número de sesiones por día en",
"num_sessions_per_month_in": "Número de sesiones por meses en",
"objetive": "Objetivo",
"October": "Octubre",
"office": "Gabinete",
"office_added": "Gabinete añadido",
......@@ -132,6 +155,7 @@
"office_not_updated": "El gabinete no se ha podido actualizar",
"office_updated": "Gabinete actualizado",
"offices": "Gabinetes",
"own_labels": "Propias",
"own_pictos": "Propios",
"pages": "Páginas",
"password": "Contraseña",
......@@ -147,7 +171,9 @@
"phrase": "Frase",
"phrase_tape": "Cinta de frase",
"picto_behavior": "Comportamiento de un pictograma al seleccionarlo (sin cinta de frase)",
"picto_labels": "Etiquetas del pictograma",
"pictogram": "Pictograma",
"pictogram_setup": "Configuración del pictograma",
"pictograms": "Pictogramas",
"place_pictos": "Colocar pictogramas en la cinta de frase cuando",
"press": "Pulsación larga",
......@@ -164,6 +190,10 @@
"search": "Buscar",
"search_sup_email": "Buscar supervisor por email",
"search_tutor_email": "Buscar tutor por email",
"seconds": "segundos",
"select_instruction": "-- Selecciona una instrucción --",
"select_a_method": "-- Selecciona un método --",
"select_method": "-- Selecciona un método o créalo --",
"send": "Enviar",
"September": "Septiembre",
"serial": "Número de serie",
......@@ -171,6 +201,8 @@
"serial_list": "Números de serie libres",
"serial_not_created": "No se ha podido crear el número de serie",
"session": "Sesión",
"session_mean_length": "Duración media de sesión: {{hours}} horas",
"session_notes": "Notas de sesión",
"sessions": "Sesiones",
"sessions_of": "Sesiones de",
"setup": "Configuración",
......@@ -179,6 +211,15 @@
"sound_setup": "Ajustes de sonido",
"spanish": "Español",
"started": "Iniciada",
"state": "Estado",
"state_broken": "Roto",
"state_correct": "Correcto",
"state_demonstration": "Demostración",
"state_discarded": "Descartado",
"state_fail": "Fallido",
"state_not_evaluated": "No evaluado",
"state_spontaneous": "Espontáneo",
"state_supervised": "Guiado",
"student_added": "Estudiante añadido",
"student_deleted": "Estudiante eliminado",
"student_not_added": "Estudiante no añadido",
......@@ -199,7 +240,23 @@
"supervisor_updated": "Supervisor actualizado",
"supervisors": "Terapeutas",
"surname": "Apellidos",
"time_hours": "Tiempo: {{hours}} horas",
"time_instruction_method": "Tiempo instrucciones del método",
"time_sessions_per_days": "Tiempo de sesiones por días en",
"time_sessions_per_month": "Tiempo de sesiones por meses en",
"time_tries_per_days": "Tiempo de ensayos por días en",
"time_tries_per_month": "Tiempo de ensayos por meses en",
"title": "Título",
"totals": "Totales",
"tpl_day": "{{ day | date:'dd-MM-yyyy' }}",
"tpl_hours_frame": "de {{ begin | date:'HH:mm' }} a {{ end | date:'HH:mm' }}",
"tries": "Ensayos",
"tries_length": "Duración ensayos",
"tries_mean_length": "Duración media ensayos",
"tries_per_days": "Número de ensayos por días en",
"tries_per_instruction_method": "Ensayos por instrucción del método",
"tries_per_months": "Número de ensayos por meses en",
"tries_results_instruction": "Resultados ensayos en instrucción",
"tutor_not_added": "El tutor no se ha podido añadir al estudiante.",
"tutor_not_deleted": "El tutor no se ha podido desvincular del alumno.",
"tutor_not_found": "No hay ningún tutor en Pictoram con ese correo electrónico.",
......@@ -209,6 +266,7 @@
"up": "Arriba",
"update_office": "Editar gabinete",
"update_supervisor": "Editar supervisor",
"upload_image": "Subir imagen",
"username": "Nombre cuenta (sin espacios)",
"username_exists": "Ya existe un usuario con nombre de cuenta '{{username}}'",
"user_created": "Usuario {{name}} {{surname}} creado. Se ha enviado un mensaje de correo electrónico para validar la cuenta.",
......@@ -218,7 +276,9 @@
"vibration": "Vibración",
"view": "Vista",
"voice": "Voz",
"warning_last_session_bad": "&nbsp;La última sesión no se cerró correctamente. <p/> &nbsp;Por favor, evalúe los ensayos correspondientes antes de iniciar una nueva sesión ",
"woman": "Mujer",
"year_totals": "Totales año",
"yes": "Sí",
"your_email": "tu@email.aqui",
"your_password": "tu contraseña"
......
......@@ -32,9 +32,8 @@
<!-- Botones para añadir picto nuevo -->
<div ng-show="source == 'ownpictos'" id="upload_pictos">
<button style="border:none" class="glyphicon glyphicon-picture" type="file" ng-file-select="onPictoSelect($files)" ng-model="picFile" accept="image/*" popover="Subir imagen" popover-trigger="mouseenter"></button>
<button style="border:none" class="glyphicon glyphicon-picture" type="file" ng-file-select="onPictoSelect($files)" ng-model="picFile" accept="image/*" popover="{{ 'upload_image' | translate }}" popover-trigger="mouseenter"></button>
<button style="border:none" class="btn btn-md glyphicon glyphicon-camera" disabled="disabled"></button>
<button class="btn btn-md" disabled="disabled">
......
......@@ -66,7 +66,7 @@
</div>
<div ng-show="pictos.category" ng-style="{'background-color':pictos.colorCat}">
<h4 class="category">Pictogramas de la categoría {{pictos.category}}</h4>
<h4 class="category">{{ 'category_pictograms' | translate }} {{pictos.category}}</h4>
<div ng-repeat="row in pcb" class="filaPictos">
<div class="picto pull-left" ng-repeat="col in row track by $index" id="{{col.attributes.coord_x}}_{{col.attributes.coord_y}}" draggable droppable drop="handleDrop">
......
<div id="instruction_detail">
<div class="modal-header">
<button type="button" class="close" ng-click="close()">
<span aria-hidden="true">&times;</span><span class="sr-only">Cerrar</span>
<span aria-hidden="true">&times;</span><span class="sr-only" translate>close</span>
</button>
<h4 class="modal-title" id="myModalLabel">Instrucción</h4>
<h4 class="modal-title" id="myModalLabel" translate>instruction</h4>
</div>
<div class="modal-body">
<form class="form-horizontal">
<div class="form-group">
<label for="ins_title" class="col-sm-2 control-label">Título</label>
<label for="ins_title" class="col-sm-2 control-label" translate>title</label>
<div class="col-sm-10">
<input type="text" class="form-control" id="ins_title" placeholder="Título" ng-model="instruction.name" ng-change="update_instruction(instruction)" />
<input type="text" class="form-control" id="ins_title" placeholder="{{ 'title' | translate }}" ng-model="instruction.name" ng-change="update_instruction(instruction)" />
</div>
</div>
<div class="form-group">
<label for="ins_objective" class="col-sm-2 control-label">Objetivo</label>
<label for="ins_objective" class="col-sm-2 control-label" translate>objetive</label>
<div class="col-sm-10">
<textarea class="form-control" rows="6" id="ins_objective" placeholder="Objetivo" ng-model="instruction.objective" ng-change="update_instruction(instruction)" ></textarea>
<textarea class="form-control" rows="6" id="ins_objective" placeholder="{{ 'objetive' | translate }}" ng-model="instruction.objective" ng-change="update_instruction(instruction)" ></textarea>
</div>
</div>
<div class="form-group">
<label for="ins_begin" class="col-sm-2 control-label">Primer intento</label>
<label for="ins_begin" class="col-sm-2 control-label" translate>instruction_begin</label>
<div class="col-sm-10 padding8">
<span class="color_blue">{{ instruction.begin | date:"dd-MM-yyyy" }}</span>
{{ instruction.begin | date:"HH:mm:ss" }}
......@@ -30,7 +31,7 @@
</div>
<div class="form-group">
<label for="ins_end" class="col-sm-2 control-label">Último intento</label>
<label for="ins_end" class="col-sm-2 control-label" translate>instruction_end Último intento</label>
<div class="col-sm-10 padding8">
<span class="color_blue">{{ instruction.end | date:"dd-MM-yyyy" }}</span>
{{ instruction.end | date:"HH:mm:ss" }}
......@@ -38,7 +39,7 @@
</div>
<div class="form-group">
<label for="ins_status" class="col-sm-2 control-label">Estado</label>
<label for="ins_status" class="col-sm-2 control-label" translate>state</label>
<div class="col-sm-10 padding8">
<span id="ins_status" class="pointer text_medium glyphicon" ng-class="{
'color_green': instruction.status == 'finished',
......@@ -56,6 +57,6 @@
<!-- End modal-body -->
<div class="modal-footer">
<button class="btn btn-primary" ng-click="close()">Cerrar</button>
<button class="btn btn-primary" ng-click="close()" translate>close</button>
</div>
</div>
\ No newline at end of file
......@@ -6,7 +6,7 @@
<!-- Select to add new method -->
<div class="form-group">
<select class="form-control" name="method_select" id="method_select" ng-model="method_selected" ng-options="ma.name for ma in methods_available">
<option value="">-- Select a method or create it --</option>
<option value="" translate>select_method</option>
</select>
<!-- Botón añadir método -->
......@@ -39,11 +39,11 @@
<table class="table_instructions table">
<tr>
<th></th>
<th>Instrucción</th>
<th>Objetivo</th>
<th class="text-center">Primer intento</th>
<th class="text-center">Último intento</th>
<th class="text-center">Estado</th>
<th translate>instruction</th>
<th translate>objetive</th>
<th class="text-center" translate>instruction_begin</th>
<th class="text-center" translate>instruction_end</th>
<th class="text-center" translate>state</th>
<th></th>
</tr>
<tr ng-repeat="i in m.instructions">
......@@ -82,7 +82,7 @@
<!-- Añadir instrucción al método -->
<p class="text-right">
<a ng-click="add_instruction(m)" class="add_instruction btn btn-success btn-sm" role="button">
<span class="glyphicon glyphicon-plus" aria-hidden="true"></span> Añadir instrucción
<span class="glyphicon glyphicon-plus" aria-hidden="true"></span> {{ 'add_instruction' | translate }}
</a>
</p>
</div>
......
<div id="picto_config">
<div class="modal-header">
<button type="button" class="close" ng-click="close()">
<span aria-hidden="true">&times;</span><span class="sr-only">Cerrar</span>
<span aria-hidden="true">&times;</span><span class="sr-only" translate>close</span>
</button>
<h4 class="modal-title" id="myModalLabel">Configuración del pictograma</h4>
<h4 class="modal-title" id="myModalLabel" translate>pictogram_setup</h4>
</div>
<div class="modal-body">
<ul class="list-group">
<li class="list-group-item">
<p>Expresión:</p>
<p translate>expression</p>
<!-- Modificable sólo si es el propietario del picto -->
<form ng-submit="change()">
<div id="add_label" class="input-group">
<span class="input-group-addon glyphicon glyphicon-comment" aria-hidden="true"></span>
<input type="text" class="form-control" ng-model="expression" ng-readonly="{{!isOwner}}" />
<span class="input-group-btn">
<button class="btn btn-success" type="submit" ng-disabled="{{!isOwner}}">Guardar</button>
<button class="btn btn-success" type="submit" ng-disabled="{{!isOwner}}" translate>save</button>
</span>
</div>
</form>
......@@ -30,7 +30,7 @@
-->
<li class="list-group-item">
<div class="checkbox">
<label><input data-toggle="toggle" type="checkbox" ng-model="stuPicto.attributes.highlight" ng-change="update_properties()"> Resaltado</label>
<label><input data-toggle="toggle" type="checkbox" ng-model="stuPicto.attributes.highlight" ng-change="update_properties()" translate> highlighted</label>
</div>
</li>
</ul>
......
<div id="picto_exp">
<div class="modal-header">
<button type="button" class="close" ng-click="close()">
<span aria-hidden="true">&times;</span><span class="sr-only">Cerrar</span>
<span aria-hidden="true">&times;</span><span class="sr-only" translate>close</span>
</button>
<h4 class="modal-title" id="myModalLabel">Añadir expresión</h4>
<h4 class="modal-title" id="myModalLabel" translate>add_expression</h4>
</div>
<div class="modal-body">
......@@ -12,7 +12,7 @@
<span class="input-group-addon glyphicon glyphicon-comment" aria-hidden="true"></span>
<input type="text" class="form-control" ng-model="expression" />
<span class="input-group-btn">
<button class="btn btn-success" type="submit">Guardar</button>
<button class="btn btn-success" type="submit" translate>save</button>
</span>
</div>
</form>
......
......@@ -50,7 +50,7 @@
<div class="form-group">
<p class="input-group">
<input type="text" class="form-control" datepicker-popup="dd/MM/yyyy" ng-model="formUser.birthdate" placeholder="{{ 'birthdate' | translate }}" is-open="opened" close-text="{{'close' | translate}}" required />
<input type="text" class="form-control" datepicker-popup=" {{ 'day_format' | translate }}" ng-model="formUser.birthdate" placeholder="{{ 'birthdate' | translate }}" is-open="opened" close-text="{{'close' | translate}}" required />
<span class="input-group-btn">
<button type="button" class="btn btn-default" ng-click="open_calendar($event)"><i class="glyphicon glyphicon-calendar"></i></button>
</span>
......
<div id="picto_tags">
<div class="modal-header">
<button type="button" class="close" ng-click="close()">
<span aria-hidden="true">&times;</span><span class="sr-only">Cerrar</span>
<span aria-hidden="true">&times;</span><span class="sr-only" translate>close</span>
</button>
<h4 class="modal-title" id="myModalLabel">Etiquetas del pictograma</h4>
<h4 class="modal-title" id="myModalLabel" translate>picto_labels</h4>
</div>
<div class="modal-body">
......@@ -14,13 +14,13 @@
<span class="input-group-addon glyphicon glyphicon-tag" aria-hidden="true"></span>
<input type="text" class="form-control" ng-model="tagToAdd" />
<span class="input-group-btn">
<button class="btn btn-success" type="submit">Añadir</button>
<button class="btn btn-success" type="submit" translate>add</button>
</span>
</div>
</form>
</li>
<li class="list-group-item" id="own_labels">
<p>Propias:</p>
<p>{{ 'own_labels' | translate }}:</p>
<div class="label label-info text_sm" ng-repeat="ot in ownTags">
<span class="glyphicon glyphicon-tag" aria-hidden="true"></span> {{ot.tag}}
......@@ -31,7 +31,7 @@
</li>
<li class="list-group-item">
<p>Generales:</p>
<p> {{ 'general_labels' | translate }}:</p>
<div class="label label-primary text_sm" ng-repeat="t in tags | filter:{ lang: sup.lang }">
<span class="glyphicon glyphicon-tag" aria-hidden="true"></span> {{t.tag}}
......
......@@ -77,8 +77,8 @@
<form role="form" action="#">
<!-- Cabecera modal -->
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Cerrar</span></button>
<h4 class="modal-title" id="myModalLabel">Recortar imagen</h4>
<button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only" translate>close</span></button>
<h4 class="modal-title" id="myModalLabel" translate>crop_image</h4>
</div>
<!-- Fin Cabecera modal -->
<!-- Cuerpo modal -->
......@@ -90,8 +90,8 @@
<!-- Fin cuerpo modal -->
<!-- Pie modal -->
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Cerrar</button>
<button id="button_crop" type="submit" class="btn btn-primary">Guardar</button>
<button type="button" class="btn btn-default" data-dismiss="modal" translate>close</button>
<button id="button_crop" type="submit" class="btn btn-primary" translate>save</button>
</div>
<!-- Fin pie modal -->
</form>
......
......@@ -30,7 +30,7 @@
<div class="form-group">
<p class="input-group">
<input type="text" class="form-control" datepicker-popup="dd/MM/yyyy" ng-model="formdatastudent.birthdate" placeholder="{{ 'birthdate' | translate }}" is-open="opened_cal_student" close-text="{{'close' | translate}}" required />
<input type="text" class="form-control" datepicker-popup="{{ 'day_format' | translate }}" ng-model="formdatastudent.birthdate" placeholder="{{ 'birthdate' | translate }}" is-open="opened_cal_student" close-text="{{'close' | translate}}" required />
<span class="input-group-btn">
<button type="button" class="btn btn-default" ng-click="open_calendar($event)"><i class="glyphicon glyphicon-calendar"></i></button>
</span>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment