mirror of
https://github.com/ae-utbm/sith.git
synced 2024-11-18 04:03:22 +00:00
Add missing translations and update doc
This commit is contained in:
parent
47a332445c
commit
0e5c8b53b0
@ -6,7 +6,7 @@
|
||||
|
||||
{% block content %}
|
||||
{% for a in albums %}
|
||||
<button id="download_all_pictures", onclick=download_pictures()>{% trans %} Download all my pictures {% endtrans %}</button>
|
||||
<button id="download_all_pictures", onclick=download_pictures()>{% trans %}Download all my pictures{% endtrans %}</button>
|
||||
<div style="padding: 10px">
|
||||
<h4>{{ a.name }}</h4>
|
||||
<hr>
|
||||
@ -78,7 +78,7 @@
|
||||
},
|
||||
error: function(data){
|
||||
console.log("Error retrieving data from url: " + data);
|
||||
$("#download_all_pictures").text("{% trans %} Error downloading your pictures {% endtrans %}");
|
||||
$("#download_all_pictures").text("{% trans %}Error downloading your pictures{% endtrans %}");
|
||||
}
|
||||
});
|
||||
}
|
||||
|
@ -39,7 +39,7 @@ La traduction se fait en trois étapes. Il faut d'abord générer un fichier de
|
||||
|
||||
.. sourcecode:: bash
|
||||
|
||||
./manage.py makemessages --ignore "env/*" -e py,jinja
|
||||
./manage.py makemessages --locale=fr --ignore "env/*" -e py,jinja
|
||||
|
||||
Éditer le fichier django.po
|
||||
---------------------------
|
||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user