[Cosmo-dev] Re: [commits-cosmo] (travis) [5093] Bug 9960: Point links to new landing page.

Matthew Eernisse mde at osafoundation.org
Mon Jul 16 20:37:50 PDT 2007


Travis,

Is there some reason you did away with the parametric replacement in the 
localized strings?

The JavaScript getText function is fully capable of doing replacement -- 
and breaking the strings up like that make it impossible to do 
translations in languages that have word-order different from English. 
That's the point of the replacement stuff -- it lets you insert 
arbitrary strings (like version numbers or URLs) into the localized text 
wherever you need it.

Was it just an oversight, or is something else wrong with our JS i18n code?


M.



svncheckin at osafoundation.org wrote:
> --- cosmo/trunk/cosmo/src/main/resources/PimMessageResources.properties	2007-07-16 23:55:40 UTC (rev 5092)
> +++ cosmo/trunk/cosmo/src/main/resources/PimMessageResources.properties	2007-07-16 23:56:57 UTC (rev 5093)
> @@ -334,17 +334,18 @@
>  About.LogoAltText=Chandler Server
>  About.Version=Version {0}
>  About.VersionString=Version
> -About.License=Chandler Server is licensed under the {0}Apache License, Version 2.0{1}.
> -About.LicenseOpen=Chandler Server is licensed under the
> +
> +About.LicenseOpen=Chandler Server is licensed under the 
>  About.LicenseLinkText=Apache License, Version 2.0
> +About.LicenseLink=http://www.apache.org/licenses/LICENSE-2.0
>  About.LicenseClose=.
> -About.Info=Visit the {0}Chandler Server project page{1} for more information.
> -About.InfoOpen=Visit the
> -About.InfoLinkText=Chandler Server project page
> -About.InfoClose= for more information.
> +About.InfoOpen=Visit 
> +About.InfoLinkText=chandlerproject.org
> +About.InfoLink=http://chandlerproject.org
> +About.InfoClose=\ for more information.
>  About.NoticesUrl=/NOTICE.txt
> -About.Width=400
> -About.Height=280
> +About.Width=500
> +About.Height=300



More information about the cosmo-dev mailing list