[damned-lies] Enhance typography (change x to ×)



commit 2bb2deb2b2df3f290de8f2fdc07b51a1bac94444
Author: Marek Černocký <marek manet cz>
Date:   Thu Nov 17 11:12:07 2016 +0100

    Enhance typography (change x to ×)

 people/forms.py  |    2 +-
 people/models.py |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/people/forms.py b/people/forms.py
index 76c580e..e140c8e 100644
--- a/people/forms.py
+++ b/people/forms.py
@@ -100,7 +100,7 @@ class DetailForm(forms.ModelForm):
             return
         size = get_image_size(url)
         if size[0]>100 or size[1]>100:
-            raise forms.ValidationError(_(u"Image too high or too wide (%(width)dx%(height)d, maximum is 
100x100 pixels)") % {
+            raise forms.ValidationError(_(u"Image too high or too wide (%(width)dx%(height)d, maximum is 
100×100 pixels)") % {
                 'width': size[0], 'height': size[1]})
         return url
 
diff --git a/people/models.py b/people/models.py
index 3a9a3fb..4bf5062 100644
--- a/people/models.py
+++ b/people/models.py
@@ -44,7 +44,7 @@ class Person(User):
 
     svn_account = models.SlugField(max_length=20, null=True, blank=True)
     image = models.URLField(_("Image"), null=True, blank=True,
-                            help_text=_("URL to an image file (.jpg, .png, …) of an hackergotchi (max. 
100x100 pixels)"))
+                            help_text=_("URL to an image file (.jpg, .png, …) of an hackergotchi (max. 
100×100 pixels)"))
     use_gravatar = models.BooleanField(_("Use gravatar"), default=False,
         help_text=_("Display the image of your gravatar.com account"))
     webpage_url = models.URLField(_("Web page"), null=True, blank=True)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]