ArnAud
6d3ca3e6a9
MlString: __repr__() now return __str__()
9 jaren geleden
Yann Weber
cedf457ee0
Bugfix on instanciation and infinit grows of translations
9 jaren geleden
ArnAud
218d1f9afc
MlString: ensure __str__() will always output same string by ordering the keys
9 jaren geleden
Roland Haroutiounian
a86bbfbd49
[mlstring] Mise à jour des todo avec le process à implémenter
On se base sur gettext, mais avec l'utilisation d'une langue par défaut qui sera obligatoire lors de la création de la chaine.
9 jaren geleden
Roland Haroutiounian
c0d83c3af9
PEP8 sur Lodel/utils/mlstring.py
9 jaren geleden
Yann Weber
27d178e531
Code factorization and create methods for EmComponent and childs changes
Behaviour changed for EmComponent and childs create method :
- Takes care of duplicated names at creation
- Handle all the checks in EmComponent method
Factorization of EmField.get_class_table() method
Added a @property method class_table_name to EmClass
9 jaren geleden
Yann Weber
c74f65ac55
Normalize comments for MlString
9 jaren geleden
Yann Weber
712a2710a0
Added __eq__ to MlString
Now an MlString instance is able to say if another MlString instance is equivalent using mlstr1 == mlstr2
9 jaren geleden
ArnAud
fbb6a39261
mlstring: delete an translation
9 jaren geleden
ArnAud
50fb6fa1fd
mlstring: empty mlstring should be an empty string
9 jaren geleden
ArnAud
c779ede921
MlString: Class to handle multilingual strings
9 jaren geleden
Yann Weber
eeaaf945d2
Created the class MlString and fixing syntax error
Created the class Lodel.utils.mlstring.MlString needed by EditorialModel.lib.component.EmComponent
The first test pass ! =)
9 jaren geleden