Bug 161987 - Please do not use substring in messages should be trabslated
Please do not use substring in messages should be trabslated
Product: Fedora
Classification: Fedora
Component: system-config-bind (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Jason Vas Dias
Depends On:
  Show dependency treegraph
Reported: 2005-06-28 16:49 EDT by Andrew Martynov
Modified: 2007-11-30 17:11 EST (History)
0 users

See Also:
Fixed In Version: 4.0.0-18
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-08-19 04:36:23 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
screen shot with English and Russian (Translated) Dialog (71.04 KB, image/png)
2005-06-28 16:49 EDT, Andrew Martynov
no flags Details

  None (edit)
Description Andrew Martynov 2005-06-28 16:49:06 EDT
Description of problem:
During translation I found code line where substring
of translated message was used:

724: s.importEntryLabels[s.azMethodCombo.get_active()].get_text()[6:]

It breaks translation and user will see only part of first word of message.

Version-Release number of selected component (if applicable):

How reproducible:
Every time.

Steps to Reproduce:
1. Run s-c-b while LANG=C
2. Choose New -> DNSSEC Trusted Key -> Add -> OK
3. You will see message regarding "non-empty" string.
4. Run s-c-b while LANG=ru_RU.UTF-8
5. Choose New -> DNSSEC Trusted Key -> Add -> OK
6. You will see message with only 4 last chars of word "Введите" (Enter)
Actual results:

Expected results:

Additional info:
This code is going to cut 6 chars from string "Enter DNS Server Name"

I suppose it is not good idea to use string operation with localized GUI label
Comment 1 Andrew Martynov 2005-06-28 16:49:07 EDT
Created attachment 116088 [details]
screen shot with English and Russian (Translated) Dialog
Comment 2 Jason Vas Dias 2005-07-15 20:51:06 EDT
This bug is now fixed with system-config-bind-4.0.0-18
Comment 3 Andrew Martynov 2005-07-19 14:23:21 EDT

Bug should be closed now.

Note You need to log in before you can comment on or make changes to this bug.