Skip to content

Commit

Permalink
[DONE] Pampletousse/fix dashboard translation (#1021)
Browse files Browse the repository at this point in the history
* Delete last calls to my_videos

* Add missing translations in po file

* Finish fix translations + compile

* Add missing label on multiples actions

* Change makefile and fix not used tranlations

* Fix last tranlsation in pod/video/views.py

* Fix last translation in pod/video/views.py

* Add space on french translation

---------

Co-authored-by: pampletousse <sylvain.loppin@grenet.fr>
  • Loading branch information
pampletousse and pampletousse authored Jan 22, 2024
1 parent 37c4d62 commit 0da5a2a
Show file tree
Hide file tree
Showing 9 changed files with 426 additions and 112 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@ createDB:
# Mise à jour des fichiers de langue
lang:
echo "Processing python files..."
python3 manage.py makemessages --all -i "opencast-studio/*" -i "pod/custom/settings_local.py" --add-location=file
python3 manage.py makemessages --all -i "opencast-studio/*" -i "pod/custom/*" --add-location=file
echo "Processing javascript files..."
python3 manage.py makemessages -d djangojs -l fr -l nl -i "*.min.js" -i "pod/static/*" -i "opencast-studio/*" -i "*/node_modules/*" -i "node_modules/*" --add-location=file
python3 manage.py makemessages -d djangojs -l fr -l nl -i "*.min.js" -i "pod/static/*" -i "opencast-studio/*" -i "*/node_modules/*" -i "node_modules/*" -i "pod/custom/*" --add-location=file

#compilation des fichiers de langue
compilelang:
Expand Down
2 changes: 1 addition & 1 deletion pod/dressing/templates/video_dressing.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
{{block.super}}

<li class="breadcrumb-item">
<a href="{% url 'video:my_videos'%}">{% trans 'My videos' %}</a>
<a href="{% url 'video:dashboard'%}">{% trans 'Dashboard' %}</a>
</li>

<li class="breadcrumb-item">
Expand Down
Binary file modified pod/locale/fr/LC_MESSAGES/django.mo
Binary file not shown.
Loading

0 comments on commit 0da5a2a

Please sign in to comment.