Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#3396 closed Bug (fixed)

Some long translated error strings are truncated

Reported by: socketpair@… Owned by: charles
Priority: Normal Milestone: 2.02
Component: GTK+ Client Version: 2.01
Severity: Normal Keywords:
Cc:

Description

See screenshot

Attachments (1)

Transmission-1.png (47.7 KB) - added by socketpair@… 11 years ago.

Download all attachments as: .zip

Change History (8)

Changed 11 years ago by socketpair@…

comment:1 Changed 11 years ago by charles

The ticket says 2.01, but that's not a 2.01 screenshot. What version of Transmission are you using?

comment:2 Changed 11 years ago by charles

Looks like this is the relevant part of ru.po:

#: ../libtransmission/torrent.c:1369
msgid ""
"No data found!  Reconnect any disconnected drives, use \"Set Location\", or "
"restart the torrent to re-download."
msgstr ""
"Данные не найдены! Переподключите съёмные носители, сделайте \"Указать "
"место\", или перезапустите торрент для повторной загрузки."

comment:3 Changed 11 years ago by charles

Looks like a buffer overrun:

$ grep "char errorString" ../libtransmission/transmission.h 
    char errorString[128];
$ cat tmp
Данные не найдены! Переподключите съёмные носители, сделайте \"Указать место\", или перезапустите торрент для повторной загрузки.
$ wc tmp
  1  15 237 tmp
$ cat tmp2
Данные не найдены! Переподключите съёмные носители, сделайте \"Указать
$ wc tmp2
  1   8 130 tmp2

comment:4 Changed 11 years ago by charles

  • Component changed from Transmission to GTK+ Client
  • Milestone changed from None Set to 2.02
  • Owner set to charles
  • Status changed from new to assigned

comment:5 Changed 11 years ago by charles

  • Resolution set to fixed
  • Status changed from assigned to closed

r10958 (2.0x gtk) #3396 "Not UTF-8 aware string truncation" -- fixed

r10959 (trunk gtk) #3396 "Not UTF-8 aware string truncation" -- fixed

comment:6 Changed 11 years ago by charles

  • Summary changed from Not UTF-8 aware string truncation to Translated error strings are truncated

comment:7 Changed 11 years ago by charles

  • Summary changed from Translated error strings are truncated to Some long translated error strings are truncated
Note: See TracTickets for help on using tickets.