forked from rc/aircox
fix translation
This commit is contained in:
Binary file not shown.
File diff suppressed because it is too large
Load Diff
@ -202,6 +202,10 @@ class Comment(models.Model):
|
||||
date = models.DateTimeField(auto_now_add=True)
|
||||
content = models.TextField(_('content'), max_length=1024)
|
||||
|
||||
class Meta:
|
||||
verbose_name = _('Comment')
|
||||
verbose_name_plural = _('Comments')
|
||||
|
||||
|
||||
class NavItem(models.Model):
|
||||
""" Navigation menu items """
|
||||
@ -221,6 +225,7 @@ class NavItem(models.Model):
|
||||
|
||||
class Meta:
|
||||
verbose_name = _('Menu item')
|
||||
verbose_name_plural = _('Menu items')
|
||||
ordering = ('order', 'pk')
|
||||
|
||||
def render(self, request, css_class='', active_class=''):
|
||||
|
@ -71,7 +71,7 @@ Context:
|
||||
{% endfor %}
|
||||
<div class="has-text-right">
|
||||
<button type="reset" class="button is-danger">{% trans "Reset" %}</button>
|
||||
<button type="submit" class="button is-success">{% trans "Comment" %}</button>
|
||||
<button type="submit" class="button is-success">{% trans "Post comment" %}</button>
|
||||
</div>
|
||||
</form>
|
||||
{% endif %}
|
||||
|
Reference in New Issue
Block a user