Ignore:
Timestamp:
29 Jun 2012, 21:48:09 (12 years ago)
Author:
Henrik Bettermann
Message:

Do not translate system messages.

Improve pagetemplates for better translation.

Location:
main/waeup.kofa/trunk/src/waeup/kofa/applicants
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/applicants/applicant.py

    r8843 r8855  
    125125                setattr(student, name, getattr(self, name, None))
    126126        except RequiredMissing, err:
    127             return False, _('RequiredMissing: %s' % err)
     127            return False, 'RequiredMissing: %s' % err
    128128        except:
    129             return False, _('Error: %s' % err)
     129            return False, 'Error: %s' % err
    130130        # Finally prove if the certificate still exists
    131131        try:
    132132            StudentStudyCourse().certificate = self.course_admitted
    133133        except ConstraintNotSatisfied, err:
    134             return False, _('ConstraintNotSatisfied: %s' % self.course_admitted.code)
     134            return False, 'ConstraintNotSatisfied: %s' % self.course_admitted.code
    135135        # Add student
    136136        site = grok.getSite()
  • main/waeup.kofa/trunk/src/waeup/kofa/applicants/browser_templates/applicantregemailsent.pt

    r8629 r8855  
    2929    <tr>
    3030  </table>
    31   <p i18n:translate="">
    32     Print this page and proceed to the
     31  <p>
     32    <span i18n:translate="">Print this page and proceed to the</span>
    3333    <a tal:attributes="href python: view.url(layout.site, 'login')">login form</a>.
    34     Please note that passwords are case-sensitive,
     34    <span i18n:translate="">Please note that passwords are case-sensitive,
    3535    <br />when entering your credentials, and keep your password secret!
     36    </span>
    3637  </p>
    3738  <p tal:condition = "view/email">
Note: See TracChangeset for help on using the changeset viewer.