Commits

Diego Búrigo Zacarão committed 6b5f238

minor: String fixes

Comments (0)

Files changed (2)

transifex/projects/management/commands/txstatsrefresh.py

                 sys.stderr.write(self.style.ERROR(str('Error: %s\n' % e)))
                 sys.exit(1)
         else:
-            print "Component '%s' has should_calculate=False." % comp_name
+            print "Statistics calculation is disabled for the particular component."

transifex/projects/views.py

                 "component. Maybe its file filter is not allowing access to it."))
 
     else:
-        logger.debug("Component %s has should_calculate=False" % component)
+        logger.debug("Statistics calculation is disabled for the '%s' component."
+                     % component)
         request.user.message_set.create(message = _(
-            "This component is set up for do not calculate statistics."))
+            "This component is not configured for statistics calculation."))
 
     return HttpResponseRedirect(reverse('projects.views.component_detail', 
                                 args=(project_slug, component_slug,)))