From: Elrond Date: Sat, 17 Mar 2012 12:18:43 +0000 (+0100) Subject: More/better translation. X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=416b439fc883a570902edd094b44f310d66e849c;p=mediagoblin.git More/better translation. - Try to preserve some translations (somehow). - Mark "Tagged with" again for translation. - Do not translate the empty string --- diff --git a/mediagoblin/templates/mediagoblin/base.html b/mediagoblin/templates/mediagoblin/base.html index 174fb3fd..be81c27b 100644 --- a/mediagoblin/templates/mediagoblin/base.html +++ b/mediagoblin/templates/mediagoblin/base.html @@ -81,8 +81,11 @@ {% block mediagoblin_footer %} {% endblock mediagoblin_footer %} diff --git a/mediagoblin/templates/mediagoblin/utils/tags.html b/mediagoblin/templates/mediagoblin/utils/tags.html index bcf3b5fd..eb31aba0 100644 --- a/mediagoblin/templates/mediagoblin/utils/tags.html +++ b/mediagoblin/templates/mediagoblin/utils/tags.html @@ -17,7 +17,7 @@ #} {% block tags_content -%} -

Tagged with

+

{% trans %}Tagged with{% endtrans %}

{% for tag in media.tags %} {% if loop.last %} diff --git a/mediagoblin/user_pages/forms.py b/mediagoblin/user_pages/forms.py index acfbadab..f17e6c00 100644 --- a/mediagoblin/user_pages/forms.py +++ b/mediagoblin/user_pages/forms.py @@ -21,7 +21,7 @@ from mediagoblin.tools.translate import fake_ugettext_passthrough as _ class MediaCommentForm(wtforms.Form): comment_content = wtforms.TextAreaField( - _(''), + '', [wtforms.validators.Required()])