This is the mail archive of the gcc-bugs@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]

[Bug fortran/36103] gfortran crash with zh_CN locale - error_print error ?



------- Comment #12 from burnus at gcc dot gnu dot org  2008-05-02 16:38 -------
I'm not sure whether there are other problems, but at least the following is
wrong. Maybe this is enough to fix the bug. Could someone check?
I'll write the translation team to fix it there.


msgid "'%s' argument of '%s' intrinsic at %L must be less than rank %d"
msgstr
"%3$L处内建函数?%2$s?的实参?%1$s?秩必须小于
%d"

The last item must be "%4$d" and not "%d". (See POSIX standard for "printf"
which mandates that either "%<n>$<f>" or "%<f>" has to be used, but no mixture
between both.)

This is wrong too:

msgid "Fortran 2003: %s specifier in %s statement at %C has value '%s'"
msgstr "Fortran 2003&#65306;%3$ &#22788; %2$ &#35821;&#21477;&#20013;&#30340;
%1$s &#38480;&#23450;&#31526;&#20540;&#20026;?%4$s?"

The 's' and the 'C' are missing.


msgid "'%s' at %L is not a function"
msgstr
"%2L&#22788;&#30340;?%1$s?&#19981;&#26159;&#19968;&#20010;&#20989;&#25968;"

Here, a '$' is missing.


-- 

burnus at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fxcoudert at gcc dot gnu dot
                   |                            |org
            Summary|gfortran crash with zh_CN   |gfortran crash with zh_CN
                   |locale                      |locale - error_print error ?


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36103


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