Hi Caty,
On 12 Nov 2014 at 10:58:36, Ecaterina Moraru (Valica)
(valicac@gmail.com(mailto:valicac@gmail.com)) wrote:
Should we do the capitalization from CSS or also when
writing the
Translations?
I would like it to be through CSS. This way if someone doesn't like it, can
create a custom skin and reset it: initial, uppercase, etc. Also note that
certain languages (german for example) have meaning problems capitalizing
all the words.
In your example:
* “Reset to default” —> “Reset to Default”
this cannot be done with CSS. We either capitalize all the words or none,
we cannot skip one.
I’d be -1 for CSS since:
* extra CPU work not required
* doesn’t work as you mentioned for “Reset to Default"
* it’s not something optional that the user should be allowed to change! If they really
want they’ll just need to override the translations (similar use case than if they wish to
change some wording)
Note that the rule I’m proposing is *ONLY* for English. I’m not proposing anything for
other languages (each language has its own rules regarding Capitalization).
Thanks
-Vincent
Thanks,
Caty
On Wed, Nov 12, 2014 at 10:31 AM, Manuel Smeria wrote:
> Hello,
>
> Here's my +1.
>
> I always thought capitalized buttons look more professional :)
>
> Thanks,
> Manuel
>
> On Wed, Nov 12, 2014 at 10:21 AM, vincent(a)massol.net
> wrote:
>
> > Hi devs,
> >
> > Andrea created an issue about capitalizing button labels (
> >
http://jira.xwiki.org/browse/XWIKI-11265) and I think it’s a good idea
> > that we decide some rules about capitalization indeed.
> >
> > I’ve found this document from MSDN:
> >
> >
>
http://msdn.microsoft.com/en-us/library/windows/desktop/bb246428(v=vs.85).a…
> >
> > I propose to adopt this document’s content as our rule for Capitalization
> > and to document that in our dev best practices on
dev.xwiki.org.
> >
> > Example of labels:
> > * “Add comment” —> “Add Comment”
> > * “Reset to default” —> “Reset to Default”
> >
> > WDYT?
> >
> > Thanks
> > -Vincent