This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Problems with message translations (was: c++/7765)


> |> $line = 0;
> |> while (<IN>) {
> |>     ++$line;
> |> 
> |>     # get a msgid line and the corresponding msgstr
> |>     next if (! (/^msgid\s*\"(.*)\"/));
> 
> Note that msgids can be split across lines, so this probably won't catch
> all of them.

I was lucky: there are no multi-line message strings in the gcc 
translations :-)

Wolfgang

-------------------------------------------------------------------------
Wolfgang Bangerth              email:           bangerth@ticam.utexas.edu
                               www: http://www.ticam.utexas.edu/~bangerth



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]