Opened 12 years ago

Closed 12 years ago

#2237 closed bug (Fixed)

[Label] Torrent names blank with portuguese locale

Reported by: asayake Owned by:
Priority: minor Milestone: 1.3.6
Component: Plugin Version: 1.3.5
Keywords: label plugin Cc:

Description

Issue: When running Deluge(GTK UI) in a portuguese(pt_BR.utf8) locale with the Label plugin enabled the torrent name field is displayed as blank. Moreover, both the Label and Name field are written as "Nome"(name in portuguese).

When the label plugin is disabled, Deluge is started with it disabled and then enable during runtime, or Deluge is ran under a different locale(tested with en_US.utf8) the issue ceases to happen. (i.e. torrent names show fine)


Images: The first screenshot attached shows that the configuration page for the Labels plugin in the preferences window is displayed as "Nome".

On the second screenshot please notice on the torrent list:

  • The Name field is left blank(not even the torrent status icon is shown)
  • Both the Name and Label field display the text "Nome"
  • The Label field displays correctly(with the Label "live" set to the torrent)

Also notice that on the Sidebar the Labels section is displayed as "Rótulo"(an acceptable translation for "Label" in portuguese).

Finally, notice that on the Details tab the torrent name is actually shown correctly.


Additional information:

Deluge version: 1.3.5 (using the GTK UI)

libtorrent version: 0.15.10-1

Operating System: Linux Mint 13(MATE desktop environment)

Instalation type: package(from Ubuntu Precise repositories, IIRC)

On a test performed by opening Deluge, adding a single torrent, removing it and then exiting the following debug log was generated:

http://pastebin.com/DS0hwqSc

There was also additional console output. This is displayed in the console whenever the application ran in a portuguese locale and doesn't happen under an english one:

/usr/lib/python2.7/dist-packages/deluge/ui/gtkui/addtorrentdialog.py:66: GtkWarning: Failed to set text from markup due to error parsing markup: Erro na linha 1 caractere 53: Elemento "markup" foi fechado, mas o elemento atualmente aberto é "b"
  "deluge.ui.gtkui", "glade/add_torrent_dialog.glade"))

Attachments (2)

Captura_de_tela-Preferências.png (31.2 KB ) - added by asayake 12 years ago.
Captura_de_tela-Deluge.png (69.7 KB ) - added by asayake 12 years ago.

Download all attachments as: .zip

Change History (3)

by asayake, 12 years ago

by asayake, 12 years ago

Attachment: Captura_de_tela-Deluge.png added

comment:1 by Calum, 12 years ago

Milestone: Future1.3.6
Resolution: fixed
Status: newclosed
Summary: Torrent names blank under portuguese locale with Label plugin[Label] Torrent names blank with portuguese locale

The simple fix for this is to alter that translation text, which I have done on translation site.

The permanent fix so that translation texts are not used as column keys is covered by #1957 and will be applied to git master code.

Note: See TracTickets for help on using tickets.