Ticket #2726 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

[i18n] add context to None translation in manage bookmark window

Reported by: Yavor Doganov <yavor@…> Owned by: asterix
Priority: normal Milestone: 0.11.1
Component: None Version:
Severity: normal Keywords:
Cc: OS:

Description

In src/config.py:2638 there is an error, IMVHO. Should be:

-	self.option_list = {'': _('Default'), 'all': _('?print_status:All'),
+	self.option_list = {'': _('Default'), 'all': _('All'),

Attachments

Change History

Changed 2 years ago by asterix

  • status changed from new to closed
  • resolution set to invalid
  • milestone set to 0.11

I don't see the pb: the first part (before : ) is here to give the context. See DevTranslate page:

What to do with string like ?vcard:Unknown

You translate only the Unknown part. The ?vcard: part is there to help you with the gender (masculine, feminin, neutral). More on why it is needed

Changed 2 years ago by Yavor Doganov <yavor@…>

  • status changed from closed to reopened
  • resolution invalid deleted

Well, it is shown in the UI (if not translated), that is the problem. I don't think that this has to be seen by the user -- it is ugly and confusing.

Changed 2 years ago by asterix

  • status changed from reopened to closed
  • resolution set to fixed

(In [7565]) use Q_() to translate strings with a context. fixes #2726

Changed 2 years ago by jim++

  • status changed from closed to reopened
  • resolution fixed deleted
13:55:24 Sergio: Why isn't this string in manage_bookmarks_window.glade ?
[...]
14:00:50 Sergio: i need Q_('?print_status:None')

Changed 2 years ago by asterix

  • summary changed from [i18n] '?print_status:All' improperly marked as translatable string to [i18n] add context to None translation in manage bookmark window
  • milestone changed from 0.11 to 0.12

we'll do that for next release. strings are frozen for 0.11

Changed 2 years ago by asterix

  • status changed from reopened to closed
  • resolution set to fixed
  • milestone changed from 0.12 to 0.11.1

(In [7813]) add context to None translation. fixes #2726

Add/Change #2726 ([i18n] add context to None translation in manage bookmark window)

Author



Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.