From: Emmanuel S. <esa...@no...> - 2004-06-28 18:05:31
|
hi all, I need confirmation on the following point: -> when translating webmin itself, "/webmin/lang/*" should be encoded for latin-1 languages, but "/lang/*" must not be encoded at all (or webmin's dynamically generated images will contain code instead of right character). am I right? thanks, bye |
From: Martin M. <mm...@me...> - 2004-06-28 18:20:48
|
Hi Emmanuel, Emmanuel Saracco <esa...@no...> wrote: >-> when translating webmin itself, "/webmin/lang/*" should be encoded >for latin-1 languages, but "/lang/*" must not be encoded at all (or >webmin's dynamically generated images will contain code instead of right >character). > >am I right? afaik, no :-) If letters are selected to be shown as images in menu, some script = escapes the HTML-Entities into 8bit and then presents the relevant gif. This is what Jamie told me sometime ago, if I am not totally in error. bis dahin - kind regards Martin Mewes --=20 http://webmin.mamemu.de/ Official Webmin/Usermin Translation Co-Ordinator 2003/2004 http://www.mamemu.de/ | http://www.mewes.tv/ |
From: Emmanuel S. <esa...@no...> - 2004-06-28 18:28:56
|
Le lun 28/06/2004 à 20:20, Martin Mewes a écrit : > Hi Emmanuel, hi, > afaik, no :-) so there is a bug in the current webmin stable release? > If letters are selected to be shown as images in menu, some script escapes > the HTML-Entities into 8bit and then presents the relevant gif. > > This is what Jamie told me sometime ago, if I am not totally in error. ----- cd /usr/share/webmin-1.150/lang/ char2ent.pl --mode=work fr ----- -> webmin interface ok ----- cd /usr/share/webmin-1.150/lang/ char2ent.pl --mode=html fr ----- -> images are broken (code instead of roght character). bye |
From: Martin M. <mm...@me...> - 2004-06-28 18:34:20
|
Hi Emmanuel, Emmanuel Saracco <esa...@no...> wrote: >> If letters are selected to be shown as images in menu, some script = escapes >> the HTML-Entities into 8bit and then presents the relevant gif. >>=20 >> This is what Jamie told me sometime ago, if I am not totally in error. > >----- >cd /usr/share/webmin-1.150/lang/ >char2ent.pl --mode=3Dwork fr >----- > >-> webmin interface ok > >----- >cd /usr/share/webmin-1.150/lang/ >char2ent.pl --mode=3Dhtml fr >----- > >-> images are broken (code instead of roght character). Well, this info is only "afaik" ;-) Maybe there have been changes in the meantime causing the script to = change. Jamie will clarify hopefully. bis dahin - kind regards Martin Mewes --=20 http://webmin.mamemu.de/ Official Webmin/Usermin Translation Co-Ordinator 2003/2004 http://www.mamemu.de/ | http://www.mewes.tv/ |
From: Jamie C. <jca...@we...> - 2004-06-28 23:23:20
|
On Tue, 2004-06-29 at 04:34, Martin Mewes wrote: > Hi Emmanuel, > > Emmanuel Saracco <esa...@no...> wrote: > > >> If letters are selected to be shown as images in menu, some script escapes > >> the HTML-Entities into 8bit and then presents the relevant gif. > >> > >> This is what Jamie told me sometime ago, if I am not totally in error. > > > >----- > >cd /usr/share/webmin-1.150/lang/ > >char2ent.pl --mode=work fr > >----- > > > >-> webmin interface ok > > > >----- > >cd /usr/share/webmin-1.150/lang/ > >char2ent.pl --mode=html fr > >----- > > > >-> images are broken (code instead of roght character). > > Well, this info is only "afaik" ;-) > Maybe there have been changes in the meantime causing the script to change. > Jamie will clarify hopefully. Assuming you are using one of the built-in themes, all entities should be converted to ascii automatically before a title made of image letters is displayed. However, non-standard themes may not do this .. which theme are you using? - Jamie |
From: Emmanuel S. <esa...@no...> - 2004-06-29 06:43:01
|
Le mar 29/06/2004 à 01:23, Jamie Cameron a écrit : hi jamie, > Assuming you are using one of the built-in themes, all entities should > be converted to ascii automatically before a title made of image letters > is displayed. However, non-standard themes may not do this .. which > theme are you using? I am using "the MSC.Linux Theme". bye |
From: Emmanuel S. <esa...@no...> - 2004-06-29 07:24:46
Attachments:
theme.pl.patch
|
Le mar 29/06/2004 à 08:47, Emmanuel Saracco a écrit : > Le mar 29/06/2004 à 01:23, Jamie Cameron a écrit : > > hi jamie, > > > Assuming you are using one of the built-in themes, all entities should > > be converted to ascii automatically before a title made of image letters > > is displayed. However, non-standard themes may not do this .. which > > theme are you using? > > I am using "the MSC.Linux Theme". here is a smurf patch against "mscstyle3/theme.pl" from the last webmin-1.152 that solved my problem. bye |
From: Jamie C. <jca...@we...> - 2004-06-29 11:09:37
|
On Tue, 2004-06-29 at 16:47, Emmanuel Saracco wrote: > Le mar 29/06/2004 à 01:23, Jamie Cameron a écrit : > > hi jamie, > > > Assuming you are using one of the built-in themes, all entities should > > be converted to ascii automatically before a title made of image letters > > is displayed. However, non-standard themes may not do this .. which > > theme are you using? > > I am using "the MSC.Linux Theme". Argh .. I just checked my code, and in fact no entity conversion is done for that theme! I will fix this in the next development version .. - Jamie |