Tryton - Issues

 

Issue6374

Title Indentifier type are not translatable
Priority bug Status resolved
Superseder Nosy List ced, pokoli, reviewbot, risto3, roundup-bot
Type behavior Components account_payment_sepa, party
Assigned To ced Keywords review
Reviews 35301002,34781002
View: 35301002, 34781002

Created on 2017-03-20.00:13:44 by ced, last changed by roundup-bot.

Messages
New changeset 6280441b9c5b by C?dric Krier in branch 'default':
Use static selection for identifier type
http://hg.tryton.org/modules/account_payment_sepa/rev/6280441b9c5b
New changeset 501472ccb129 by C?dric Krier in branch 'default':
Use static selection for identifier type
http://hg.tryton.org/modules/party/rev/501472ccb129
msg32620 (view) Author: [hidden] (risto3) Date: 2017-03-21.07:02:55
using "selection:party.identifier,type:" seems okay
msg32618 (view) Author: [hidden] (risto3) Date: 2017-03-20.17:28:45
as to the correct translation references, what should be used?
The following doesn't seem to work in fr.po:
+msgctxt "field:party.identifier,eu_vat:"
+msgid "VAT"
+msgstr "TVA"
+
review34781002 updated at https://codereview.tryton.org/34781002/#ps1
msg32593 (view) Author: [hidden] (pokoli) (Tryton committer) Date: 2017-03-20.09:15:43
account_payment_sepa must be updated also: http://hg.tryton.org/modules/account_payment_sepa/file/4176fccfbf5e/party.py#l70
review35301002 updated at https://codereview.tryton.org/35301002/#ps1
msg32591 (view) Author: [hidden] (ced) (Tryton committer) (Tryton translator) Date: 2017-03-20.00:13:43
The selection is a method which makes the options not translated by default. But indeed there is not need to use a method (it was just a simplification for override).
But the type_string is used on reports which should be translated.
History
Date User Action Args
2017-03-21 10:43:38roundup-botsetmessages: + msg32622
2017-03-21 10:43:04roundup-botsetstatus: testing -> resolved
nosy: + roundup-bot
messages: + msg32621
2017-03-21 07:02:55risto3setmessages: + msg32620
2017-03-20 17:28:45risto3setnosy: + risto3
messages: + msg32618
2017-03-20 09:31:54reviewbotsetmessages: + msg32594
2017-03-20 09:26:46cedsetreviews: 35301002 -> 35301002,34781002
component: + account_payment_sepa
2017-03-20 09:15:43pokolisetnosy: + pokoli
messages: + msg32593
2017-03-20 00:39:48reviewbotsetnosy: + reviewbot
messages: + msg32592
2017-03-20 00:16:30cedsetstatus: in-progress -> testing
reviews: 35301002
keyword: + review
2017-03-20 00:13:44cedcreate

Showing 10 items. Show all history (warning: this could be VERY long)