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

Shift shift at free.fr
Sun Jul 20 13:57:38 BST 2003


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 ?

Thanks,
 
Franck




More information about the kfm-devel mailing list