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 #tryton23:45
-!- springwurm(~Springwur@5.104.149.54) has joined #tryton05:00
-!- odicha(~odicha@91.142.107.66) has joined #tryton05:19
-!- odicha(~odicha@91.142.107.66) has joined #tryton05:34
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton06:49
-!- mrichez(~Maxime@mail.saluc.com) has joined #tryton06:51
-!- udono(~udono@190-062-210-188.ip-addr.inexio.net) has joined #tryton07:01
-!- yangoon(~mathiasb@i59F72EF7.versanet.de) has joined #tryton07:31
-!- nicoe(~nicoe@host-85-201-184-151.dynamic.voo.be) has joined #tryton07:58
-!- yangoon(~mathiasb@i59F72EF7.versanet.de) has joined #tryton08:20
-!- mariomop(~quassel@181.90.108.232) has joined #tryton11:02
cedkpokoli: about your comment on lazy_gettext review, are you sure it is not working for you?11:50
pokolicedk: I did not remove anything from po files11:51
pokolicedk: I will expect that this will be removed on the clean wizard11:51
pokoliACTION recheck's it11:52
pokolicedk: yes, I see a lot of Record Name records for the spanish language11:54
pokolicedk: I've initialized the database with trytond-admin -u party -l ca es --activate-dependencies11:54
cedkpokoli: OK so it is only the cleaning11:54
pokolicedk: and I can share a database backup if you want11:55
cedkpokoli: not needed11:56
cedkpokoli: the cleaning can not clean former field definition if the field stays11:57
cedkpokoli: but we can not be sure that the translation must be delete even if the string is a LazyString11:57
cedkso for me, it is just some junk that stays in the database but it does not hurt11:58
pokolicedk: ok, I've tested updating the LazyString message and all the field labels are updated despite having a diferent translation for the field12:00
pokolicedk: but it will be great if we can add some query on migration topic to clean the translations like we did for error translations12:01
cedkpokoli: I do not understand12:01
pokolimaybe deleting all the field translations that have an ir.message translation with same source will do the trick12:01
cedkfor me we must not migrate anything12:02
pokolicedk: My concern is with po files, as if they are not cleaning the translations will be always updated12:02
cedkif clean wizard can not do it, we can neither with a SQL query12:02
cedkpokoli: po files from the release will be cleaned because they are generated from an empty database12:03
pokolicedk: but we can not ensure the same for third party modules12:04
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 translations12:08
-!- springwurm(~Springwur@5.104.149.54) has joined #tryton12:28
cedkpokoli: for me, there can be colision13:03
cedkpokoli: it is not sure13:03
cedkand for third party module, they must manage the translations also from an empty database13:03
-!- giesen(~ggiesen@ego.giesen.me) has joined #tryton14:17
-!- kwmiebach(sid16855@gateway/web/irccloud.com/x-eubmhmwtavesszkw) has joined #tryton14:18
-!- csotelo(~csotelo@200.121.143.208) has joined #tryton15:47
-!- hedererjs(~hedererjs@81.56.169.23) has joined #tryton16:36
-!- nicoe(~nicoe@2a02:578:858c:500:7e2a:31ff:fe5e:b25d) has joined #tryton16:49
-!- nicoe(~nicoe@2a02:578:858c:500:7e2a:31ff:fe5e:b25d) has joined #tryton17:31
-!- nicoe(~nicoe@2a02:578:858c:500:7e2a:31ff:fe5e:b25d) has joined #tryton18:39
-!- nicoe(~nicoe@2a02:578:858c:500:7e2a:31ff:fe5e:b25d) has joined #tryton19:16
-!- hedererjs(~hedererjs@81.56.169.23) has left #tryton19:19
-!- semarie(~semarie@unaffiliated/semarie) has joined #tryton20:00
-!- csotelo(~csotelo@161.132.198.34) has joined #tryton21:22
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton21:40

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