mirror of
https://gitlab.crans.org/bde/nk20
synced 2025-08-13 09:29:40 +02:00
Translation for family
This commit is contained in:
@@ -16,6 +16,9 @@ class FamilyTable(tables.Table):
|
||||
"""
|
||||
List all families
|
||||
"""
|
||||
|
||||
description = tables.Column(verbose_name=_("Description"))
|
||||
|
||||
class Meta:
|
||||
attrs = {
|
||||
'class': 'table table-condensed table-striped table-hover'
|
||||
@@ -35,6 +38,11 @@ class ChallengeTable(tables.Table):
|
||||
"""
|
||||
List all challenges
|
||||
"""
|
||||
|
||||
name = tables.Column(verbose_name=_("Name"))
|
||||
description = tables.Column(verbose_name=_("Description"))
|
||||
points = tables.Column(verbose_name=_("Points"))
|
||||
|
||||
class Meta:
|
||||
attrs = {
|
||||
'class': 'table table-condensed table-striped table-hover'
|
||||
@@ -77,6 +85,9 @@ class AchievementTable(tables.Table):
|
||||
"""
|
||||
List recent achievements.
|
||||
"""
|
||||
|
||||
challenge = tables.Column(verbose_name=_("Challenge"))
|
||||
|
||||
validate = tables.LinkColumn(
|
||||
'family:achievement_validate',
|
||||
args=[A('id')],
|
||||
@@ -125,6 +136,9 @@ class FamilyAchievementTable(tables.Table):
|
||||
"""
|
||||
Table des défis réalisés par une famille spécifique.
|
||||
"""
|
||||
|
||||
challenge = tables.Column(verbose_name=_("Challenge"))
|
||||
|
||||
class Meta:
|
||||
model = Achievement
|
||||
template_name = 'django_tables2/bootstrap4.html'
|
||||
|
File diff suppressed because it is too large
Load Diff
@@ -151,3 +151,33 @@ msgid "An error occured while (in)validating this transaction:"
|
||||
msgstr ""
|
||||
"Une erreur est survenue lors de la validation/dévalidation de cette "
|
||||
"transaction :"
|
||||
|
||||
msgid "Recent achievements history"
|
||||
msgstr "Historique des derniers succès"
|
||||
|
||||
msgid "Family"
|
||||
msgstr "Famille"
|
||||
|
||||
msgid "obtained at"
|
||||
msgstr "Réalisé le"
|
||||
|
||||
msgid "Return to the family list"
|
||||
msgstr "Retour à la liste des familles"
|
||||
|
||||
msgid "rank"
|
||||
msgstr "rang"
|
||||
|
||||
msgid "Challenge"
|
||||
msgstr "Défis"
|
||||
|
||||
msgid "Invalid achievements history"
|
||||
msgstr "Historique des défis invalides"
|
||||
|
||||
msgid "Valid achievements history"
|
||||
msgstr "Historique des défis valides"
|
||||
|
||||
msgid "Return to management page"
|
||||
msgstr "Retour à la page de gestion"
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user