IRC logs of #tryton for Wednesday, 2019-08-21

chat.freenode.net #tryton log beginning Wed 21 Aug 2019 12:00:01 AM CEST
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton01:08
-!- springwurm(~Springwur@5.104.149.54) has joined #tryton07:08
-!- odicha(~odicha@91.142.107.66) has joined #tryton07:08
-!- odicha(~odicha@91.142.107.66) has joined #tryton07:08
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton08:08
-!- mrichez(~Maxime@mail.saluc.com) has joined #tryton08:08
-!- udono(~udono@190-062-210-188.ip-addr.inexio.net) has joined #tryton09:08
-!- yangoon(~mathiasb@i59F72EF7.versanet.de) has joined #tryton09:08
-!- nicoe(~nicoe@host-85-201-184-151.dynamic.voo.be) has joined #tryton09:08
-!- yangoon(~mathiasb@i59F72EF7.versanet.de) has joined #tryton10:08
-!- mariomop(~quassel@181.90.108.232) has joined #tryton13:08
cedkpokoli: about your comment on lazy_gettext review, are you sure it is not working for you?13:08
pokolicedk: I did not remove anything from po files13:08
pokolicedk: I will expect that this will be removed on the clean wizard13:08
pokoliACTION recheck's it13:08
pokolicedk: yes, I see a lot of Record Name records for the spanish language13:08
pokolicedk: I've initialized the database with trytond-admin -u party -l ca es --activate-dependencies13:08
cedkpokoli: OK so it is only the cleaning13:08
pokolicedk: and I can share a database backup if you want13:08
cedkpokoli: not needed13:08
cedkpokoli: the cleaning can not clean former field definition if the field stays13:08
cedkpokoli: but we can not be sure that the translation must be delete even if the string is a LazyString13:08
cedkso for me, it is just some junk that stays in the database but it does not hurt13:08
pokolicedk: ok, I've tested updating the LazyString message and all the field labels are updated despite having a diferent translation for the field14:08
pokolicedk: but it will be great if we can add some query on migration topic to clean the translations like we did for error translations14:08
cedkpokoli: I do not understand14:08
pokolimaybe deleting all the field translations that have an ir.message translation with same source will do the trick14:08
cedkfor me we must not migrate anything14:08
pokolicedk: My concern is with po files, as if they are not cleaning the translations will be always updated14:08
cedkif clean wizard can not do it, we can neither with a SQL query14:08
cedkpokoli: po files from the release will be cleaned because they are generated from an empty database14:08
pokolicedk: but we can not ensure the same for third party modules14:08
pokolicedk: something like DELETE from ir_translation t where type = 'field' and exists (select id from ir_translation t2 where t2.source = t.source and t2.name = 'ir.message,text'); should do the trick to clean translations14:08
-!- springwurm(~Springwur@5.104.149.54) has joined #tryton14:08
cedkpokoli: for me, there can be colision15:08
cedkpokoli: it is not sure15:08
cedkand for third party module, they must manage the translations also from an empty database15:08
-!- giesen(~ggiesen@ego.giesen.me) has joined #tryton16:08
-!- kwmiebach(sid16855@gateway/web/irccloud.com/x-eubmhmwtavesszkw) has joined #tryton16:08
-!- csotelo(~csotelo@200.121.143.208) has joined #tryton17:08
-!- hedererjs(~hedererjs@81.56.169.23) has joined #tryton18:08
-!- nicoe(~nicoe@2a02:578:858c:500:7e2a:31ff:fe5e:b25d) has joined #tryton18:08
-!- nicoe(~nicoe@2a02:578:858c:500:7e2a:31ff:fe5e:b25d) has joined #tryton19:08
-!- nicoe(~nicoe@2a02:578:858c:500:7e2a:31ff:fe5e:b25d) has joined #tryton20:08
-!- nicoe(~nicoe@2a02:578:858c:500:7e2a:31ff:fe5e:b25d) has joined #tryton21:08
-!- hedererjs(~hedererjs@81.56.169.23) has left #tryton21:08
-!- semarie(~semarie@unaffiliated/semarie) has joined #tryton22:08
-!- csotelo(~csotelo@161.132.198.34) has joined #tryton23:08
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton23:08

Generated by irclog2html.py 2.16.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!