Bug or feature : need a space between '(' and '&' in gui.po

classic Classic list List threaded Threaded
2 messages Options
Yung-Jang Lee Yung-Jang Lee
Reply | Threaded
Open this post in threaded view
|

Bug or feature : need a space between '(' and '&' in gui.po

Hi,

I translate menu items  '&File' to 'aChinese(&F)' and '&Edit'  to 'anotherChinese(&E)' and the left paranthesis '(' disappear in the  Java console.

But if I add a blank space between '(' and '&', then the left paranthesis show up without following blank space.

The attached PNG showing the correct result only if I insert extra space between '(' and '&' in my Chinese  gui.po file.

Is it a bug or a feature ?

YungLee



Scilab5LinuxZHTWBIG5.png (70K) Download Attachment
Vincent COUVERT-3 Vincent COUVERT-3
Reply | Threaded
Open this post in threaded view
|

Re: Bug or feature : need a space between '(' and '&' in gui.po

Hi,

It's a "feature" we had to take into account when writing our menu files
(See in SCI/modules/gui/etc/*.xml).

Vincent

Yung-Jang Lee a écrit :

> Hi,
>
> I translate menu items  '&File' to 'aChinese(&F)' and '&Edit'  to
> 'anotherChinese(&E)' and the left paranthesis '(' disappear in the  
> Java console.
>
> But if I add a blank space between '(' and '&', then the left
> paranthesis show up without following blank space.
>
> The attached PNG showing the correct result only if I insert extra
> space between '(' and '&' in my Chinese  gui.po file.
>
> Is it a bug or a feature ?
>
> YungLee
>
>
>
> ------------------------------------------------------------------------
>

--
==============================================
Vincent COUVERT
Centre de Recherche INRIA Paris-Rocquencourt
Domaine de Voluceau - B.P. 105
78153 Le Chesnay Cedex
==============================================
Equipe Projet SCILAB
Bâtiment 1B - Bureau 013
Email : [hidden email]
Tél : +33 (0)1 39 63 54 46
Fax : +33 (0)1 39 63 55 94
==============================================