After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 375555 - Strange messages in ContactViewer/ContactWindow.cs
Strange messages in ContactViewer/ContactWindow.cs
Status: RESOLVED FIXED
Product: beagle
Classification: Other
Component: General
0.2.12
Other All
: Normal normal
: ---
Assigned To: Beagle Bugs
Beagle Bugs
Depends on:
Blocks:
 
 
Reported: 2006-11-15 15:27 UTC by Gabor Kelemen
Modified: 2006-11-15 18:49 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Gabor Kelemen 2006-11-15 15:27:12 UTC
Please describe the problem:
I see the following messages in the po file:

#: ../ContactViewer/ContactWindow.cs:205
msgid "DisplayName"
msgstr ""

#: ../ContactViewer/ContactWindow.cs:303
msgid "FirstName"
msgstr ""

#: ../ContactViewer/ContactWindow.cs:303
msgid "NickName"
msgstr ""

#: ../ContactViewer/ContactWindow.cs:303
msgid "LastName"
msgstr ""

#: ../ContactViewer/ContactWindow.cs:313
msgid "PrimaryEmail"
msgstr ""

#: ../ContactViewer/ContactWindow.cs:317
msgid "_AimScreenName"
msgstr ""

#: ../ContactViewer/ContactWindow.cs:321
msgid "HomePhone"
msgstr ""

#: ../ContactViewer/ContactWindow.cs:325
msgid "CellularNumber"
msgstr ""

#: ../ContactViewer/ContactWindow.cs:329
msgid "WebPage2"
msgstr ""

I'm not sure they are supposed to be viewed by users at all, but if they are, please put spaces between the individual words, to make them look like normal English words. Otherwise, please remove the Catalog.GetString calls.

Steps to reproduce:
1. 
2. 
3. 


Actual results:


Expected results:


Does this happen every time?


Other information:
Comment 1 Joe Shaw 2006-11-15 18:39:21 UTC
Ah, I found the reason for this: there is another method called GetString() in the ContactWindow.cs source file which is different from the Catalog.GetString() method.  It looks like gettext just assumes all GetString() values are string marked for translation; in the cases above they aren't.

I'll look into changing the method name for these.
Comment 2 Joe Shaw 2006-11-15 18:49:30 UTC
Fixed this up, thanks for the report!