Menu

#115 rc files (resource source files) and comments

open-accepted
None
5
2005-07-27
2005-07-27
Ely
No

Hi.

I'm translating a program that already had an external
resource file with all the strings. When I found very
dificult to use unicode there, I decided to use gettext
(GREAT PROGRAM, BY THE WAY)

I found when trying to extract the strings from rcfiles
from my projects that dxgettext gets confused with
comments. Those comments are correctly ignored by
BRCC32 in delphi 7.

Also... It would be great if the comments at the right of
the strings got to the comments for the translations,
just like it happens with resourcestrings.

Here I'm attaching the files necesary to reproduce the
problem.

dxgettext --help reports:
dxgettext 1.2

(I'm preatty sure it's the last one, I downloaded it about
two or three weeks ago)

I hope nobody submitted this bug report... I couldn't find
it here. Also I couldn't find any messages in the yahoo
forums.

Cheers.

Discussion

  • Ely

    Ely - 2005-07-27

    Set of files with a bat file to compile the resource, a bat to extract the strings, and an image with the contents of the res file

     
  • Ely

    Ely - 2005-07-27

    Logged In: YES
    user_id=1316694

    -------
    I forgot to specificaly explain the bug. d:o)

    Just compare the strings added in the res file (by openning
    the res_contents.JPG file) and you will notice there are just 6
    strings all with normal caracters (no signs). Then open
    default.po file and you will see there are 11 strings and some
    of the comments saying "Programmer's name:" are wrong.

    Also there doesn't appear any of the comments I added to
    the right of some strings in the rc file. For example the
    text "This is the background window title" as a comment for
    the "Installation" msgid

     
  • Nobody/Anonymous

    Logged In: NO

    Same problem using dxgettext 1.2.1 beta 4

     
  • Lars B. Dybdahl

    Lars B. Dybdahl - 2005-07-27
    • status: open --> open-accepted
     
  • Lars B. Dybdahl

    Lars B. Dybdahl - 2005-07-27
    • assigned_to: nobody --> dybdahl
     
  • Lars B. Dybdahl

    Lars B. Dybdahl - 2008-03-08

    Logged In: YES
    user_id=116253
    Originator: NO

    It would be great to see a suggestion for how to fix this one.

     

Log in to post a comment.