From 62b3b7e5cd5d8a2da9675c8171512083b4f2c6c2 Mon Sep 17 00:00:00 2001 From: ix <0x00fi@protonmail.com> Date: Tue, 7 Sep 2021 21:13:30 +0200 Subject: [PATCH] internationalization for news --- src/ctfs/templates/ctfs/ctf_info.html | 2 +- .../migrations/0002_auto_20210907_1912.py | 33 +++++++++++++++++++ src/home/models.py | 5 ++- src/home/templates/home/home.html | 15 ++++++++- src/home/views.py | 13 ++++++++ src/locale/de/LC_MESSAGES/django.po | 23 +++++++------ src/locale/en/LC_MESSAGES/django.po | 23 +++++++------ src/locale/es/LC_MESSAGES/django.po | 23 +++++++------ src/locale/fr/LC_MESSAGES/django.po | 23 +++++++------ src/locale/it/LC_MESSAGES/django.po | 23 +++++++------ src/locale/ru/LC_MESSAGES/django.po | 23 +++++++------ 11 files changed, 131 insertions(+), 75 deletions(-) create mode 100644 src/home/migrations/0002_auto_20210907_1912.py diff --git a/src/ctfs/templates/ctfs/ctf_info.html b/src/ctfs/templates/ctfs/ctf_info.html index 70043c6..4d08e8b 100644 --- a/src/ctfs/templates/ctfs/ctf_info.html +++ b/src/ctfs/templates/ctfs/ctf_info.html @@ -12,7 +12,7 @@ {% if description %} {{ description|safe }} {% else %} - {% trans "No translation available for this challenge. Try another lang (French or English)." %} + {% trans "No translation available. Please try another language (English or French)." %} {% endif %}