"Open http://...../trucmuche" and content-type

David Faure dfaure at trolltech.com
Sun Jul 20 13:50:43 BST 2003


On Sunday 20 July 2003 14:57, Shift wrote:
> On Sunday 20 July 2003 14:31, David Faure wrote:
> > The code is ok, but the message shown to the user surprises me a little.
> >
> > : i18n("Open '%2' (%1)?").arg(suggestedFilename + " : " +
> > : comment).arg(surl);
> >
> > Your screenshots only test the other case (suggestedFilename not known).
> > When it is known, "... (guerre.pps:PowerPoint File)?" will appear, which
> > lacks internationalization (e.g. in French there's a space before and after
> > the ':', IIRC :)).
> >
> > It's ok to add i18n()s in KDE HEAD at this point.
> > We want to display a URL, a filename, and a file type, this starts to be a
> > little too much for a single sentence IMHO. What about something like
> >  i18n("Open
> > '%3'?\nName:(%1)\nType:(%2)?").arg(suggestedFilename).arg(comment).arg(surl
> >); ?
> >
> > (Let's hope the comments don't contain '%' ... Should we use multiarg? Ah
> > that's 3.2-only, right?)
> 
> I am OK for this.
> It was just that I don't know how work i18n and what imply a new i18n string. 
> Is it just an update of the *.po files ?

You don't have to do anything, it's all automated. Just send a new complete patch :)

-- 
David FAURE, faure at kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).
Qtella users - stability patches at http://blackie.dk/~dfaure/qtella.html




More information about the kfm-devel mailing list