mirror of
https://github.com/ae-utbm/sith.git
synced 2024-11-04 13:28:07 +00:00
Add missing translations and update doc
This commit is contained in:
parent
47a332445c
commit
0e5c8b53b0
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
{% for a in albums %}
|
{% 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">
|
<div style="padding: 10px">
|
||||||
<h4>{{ a.name }}</h4>
|
<h4>{{ a.name }}</h4>
|
||||||
<hr>
|
<hr>
|
||||||
@ -78,7 +78,7 @@
|
|||||||
},
|
},
|
||||||
error: function(data){
|
error: function(data){
|
||||||
console.log("Error retrieving data from url: " + 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
|
.. 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
|
Éditer le fichier django.po
|
||||||
---------------------------
|
---------------------------
|
||||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user