Minor - adding translation for variables.

1.10.x
Julio Montoya 11 years ago
parent 7b6c2b675e
commit 3f99dc869a
  1. 8
      main/install/templates/check-database.tpl
  2. 3
      main/install/templates/finish.tpl
  3. 9
      main/install/templates/index.tpl
  4. 1
      main/install/templates/layout.tpl
  5. 8
      main/install/templates/resume.tpl
  6. 3
      main/install/templates/settings.tpl

@ -1,9 +1,9 @@
{% extends 'layout.tpl' %}
{% block content %}
Checking DB
<form action="#" method="post">
{{ form_widget(form) }}
</form>
<h3> {{ 'Database settings' | trans }} </h3>
<form action="#" method="post">
{{ form_widget(form) }}
</form>
{% endblock %}

@ -1,12 +1,11 @@
{% extends 'layout.tpl' %}
{% block content %}
<h3>Congratulations Chamilo is now installed!</h3>
<h3> {{ 'Congratulations Chamilo is now installed!' | trans }} </h3>
<a class="btn btn-success btn-large btn-install" href= "{{ app.request.basepath }}../../../index.php" autofocus="autofocus">
{{ 'Go to your newly created portal'|trans }}
</a>
<br />
<br />

@ -1,11 +1,10 @@
{% extends 'layout.tpl' %}
{% block content %}
Welcome!
<form action="#" method="post">
{{ form_widget(form) }}
</form>
<h3> {{ 'Welcome !' | trans }} </h3>
<form action="#" method="post">
{{ form_widget(form) }}
</form>
{% endblock %}

@ -12,6 +12,7 @@
<div class="container">
<div id="main" class="container">
<h2>Chamilo Installation</h2>
{% set alertTypeAvaillable = [ 'info', 'success', 'warning', 'error'] %}
{% for alert in alertTypeAvaillable %}
{% for message in app.session.getFlashBag.get(alert) %}

@ -1,8 +1,8 @@
{% extends 'layout.tpl' %}
{% block content %}
Resume
<h3> Database settings </h3>
<h3> {{ 'Resume' | trans }} </h3>
<h3> {{ 'Database settings' | trans }} </h3>
<table class="table table-striped">
{% for key, value in database_settings %}
<tr>
@ -12,7 +12,7 @@
{% endfor %}
</table>
<h3> Portal settings </h3>
<h3> {{ 'Portal settings' | trans }} </h3>
<table class="table table-striped">
{% for key, value in portal_settings %}
<tr>
@ -22,7 +22,7 @@
{% endfor %}
</table>
<h3> Admin settings </h3>
<h3> {{ 'Admin settings' | trans }} </h3>
<table class="table table-striped">
{% for key, value in admin_settings %}
<tr>

@ -1,9 +1,8 @@
{% extends 'layout.tpl' %}
{% block content %}
Settings
<h3> {{ 'Settings' | trans }} </h3>
<form action="#" method="post">
{{ form_widget(form) }}
</form>
{% endblock %}

Loading…
Cancel
Save