Ignore:
Timestamp:
Jun 6, 2016, 12:07:09 PM (5 years ago)
Author:
jrpelegrina
Message:

Fix i18 in some files

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pyromaths/trunk/fuentes/src/pyromaths/ex/troisiemes/geometrie.py

    r1789 r1841  
    736736
    737737def resolution_trigo(cor, v2, l2, arrondi):
    738     f = ((_(u'\\sin'), 1, 0), (_(u'\\cos'), 2, 0), (_(u'\\tan'), 1, 2))[v2[1][0]]
     738    f = (('\\sin', 1, 0), ('\\cos', 2, 0), ('\\tan', 1, 2))[v2[1][0]]
    739739    cor.append(u'\\[%s%s=\\cfrac{%s}{%s}' % (f[0], l2[4], v2[0][f[1]], v2[0][f[2]]) + '\\] ')
    740740    if not v2[1][3]:
     
    747747        else:
    748748            r = (atan(v2[1][1] / v2[1][2]) * 180) / pi
    749         cor.append(_(ur'\[ \boxed{%s=%s^{-1}\left(\cfrac{%s}{%s}\right) %s\degres} \]') %
     749        cor.append(r'\[ \boxed{%s=%s^{-1}\left(\cfrac{%s}{%s}\right) %s\degres} \]' %
    750750                  (l2[4], f[0], nombre(v2[1][1]), v2[1][2], valeur_exacte(r, approx=arrondi, unit=0)))
    751751    elif not v2[1][1]:
     
    759759            r = tan((v2[1][3] * pi) / 180)
    760760        r = r * v2[1][2]
    761         cor.append(_(ur'\[ \boxed{%s=%s%s\times %s %s } \]') % (v2[0][f[1]],
     761        cor.append(r'\[ \boxed{%s=%s%s\times %s %s } \]' % (v2[0][f[1]],
    762762                  f[0], v2[1][3], nombre(v2[1][2]), valeur_exacte(r, approx=arrondi)))
    763763    else:
Note: See TracChangeset for help on using the changeset viewer.