Commits

Maciej Wiśniowski  committed 17bde92

removed hints and ugettext

  • Participants
  • Parent commits 45fcbd7

Comments (0)

Files changed (3)

File lfs/manage/views/categories/category.py

 from django.template.loader import render_to_string
 from django.views.decorators.http import require_POST
 from django.utils import simplejson
-from django.utils.translation import ugettext_lazy as _, ugettext
+from django.utils.translation import ugettext_lazy as _
 
 # lfs imports
 from lfs.caching.utils import lfs_get_object_or_404
         "seo": edit_seo(request, category_id),
         "view": category_view(request, category_id),
         "portlets": portlets_inline(request, category),
-        "dialog_message": ugettext("Do you really want to delete the category <b>'%(name)s'</b> and all its sub categories?") % {"name": category.name},
+        "dialog_message": _("Do you really want to delete the category <b>'%(name)s'</b> and all its sub categories?") % {"name": category.name},
     }))
 
 

File lfs/static/css/lfs.manage.css

     color: #aaa;
 }
 
-div.section-info{
-    font-size: 90%;
-    color: #aaa;
-    margin-bottom: 5px;
-}
-
 .label {
     font-weight: bold;
     color: #58585a;

File lfs/templates/manage/product/data.html

         {% if not product.is_variant %}
             <fieldset>
                 <legend>{% trans "Quantity field" %}</legend>
-                <div class="section-info">
-                    {% blocktrans %}Define how Quantity field (one used by customers to enter amount of items) is displayed for this product.{% endblocktrans %}
-                </div>
                 <div class="field">
                     <div class="label">
                         {{ form.unit.label_tag }}:
 
         <fieldset>
             <legend>{% trans "Base price" %}</legend>
-            <div class="section-info">
-                {% blocktrans %}Define how base price for product should be calculated. Formula is: base price = price / base price amount{% endblocktrans %}
-            </div>
-
-
             <div class="field">
                 <div class="label">
                     {{ form.active_base_price.label_tag }}: