Changeset 1610


Ignore:
Timestamp:
May 20, 2016, 10:32:02 AM (3 years ago)
Author:
jrpelegrina
Message:

Fix outils files

Location:
pyromaths/trunk/fuentes/src/pyromaths/outils
Files:
2 edited

Legend:

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

    r423 r1610  
    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))
  • pyromaths/trunk/fuentes/src/pyromaths/outils/Polynomes.py

    r423 r1610  
    5353    string += "\\end{array}\n$$"
    5454
    55     string += "\n On a $$" + dividende.TeX() + " = \\left(" + texquotient.TeX() + "\\right) \\times \\left(" + diviseur.TeX() + "\\right)"
     55    string += _(u"\n On a $$") + dividende.TeX() + " = \\left(" + texquotient.TeX() + _("\\right) \\times \\left(") + diviseur.TeX() + "\\right)"
    5656    if restera != Polynome(0):
    5757        if len(restera.puiss) == 1 and restera[restera.deg] > 0:  # monome
Note: See TracChangeset for help on using the changeset viewer.