Ignore:
Timestamp:
May 23, 2016, 12:27:36 PM (4 years ago)
Author:
jrpelegrina
Message:

Fix i18n outils files

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pyromaths/trunk/fuentes/src/pyromaths/outils/Fractions.py

    r1610 r1642  
    6767    if fr1.n and fr2.n:
    6868        if abs(fr1s.d) < abs(fr1.d) or abs(fr2s.d) < abs(fr2.d):
    69             cor.append(_("%s%s \\times %s%s") % (pre, Fractions.TeXSimplifie(fr1),
     69            cor.append("%s%s \\times %s%s" % (pre, Fractions.TeXSimplifie(fr1),
    7070                       Fractions.TeXSimplifie(fr2), post))
    71             cor.append(_("%s%s \\times %s%s") % (pre, Fractions.TeX(fr1s,
     71            cor.append("%s%s \\times %s%s" % (pre, Fractions.TeX(fr1s,
    7272                       True), Fractions.TeX(fr2s, True), post))
    7373        fr = fr1s * fr2s
     
    8585def EffectueQuotientFractions(fr1, fr2, pre, post):
    8686    fr2 = Fractions(1, 1) / fr2
    87     cor = [_("%s%s \\times %s%s") % (pre, Fractions.TeX(fr1, True),
     87    cor = ["%s%s \\times %s%s" % (pre, Fractions.TeX(fr1, True),
    8888           Fractions.TeX(fr2, True), post)]
    8989    cor.extend(EffectueProduitFractions(fr1, fr2, pre, post))
Note: See TracChangeset for help on using the changeset viewer.