? ? Success

User tests: Successful: Unsuccessful:

avatar JoomliC
JoomliC
14 Mar 2015

Remove all colons ":" at the end of labels, for consistency with all form field labels, and to improve rendering of client-side form validation (no ":" for label in the Field invalid : %s)

avatar JoomliC JoomliC - open - 14 Mar 2015
avatar joomla-cms-bot joomla-cms-bot - change - 14 Mar 2015
Labels Added: ?
avatar Bloggerschmidt
Bloggerschmidt - comment - 14 Mar 2015

tested. it works.


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/6424.
avatar Bloggerschmidt Bloggerschmidt - test_item - 14 Mar 2015 - Tested successfully
avatar brianteeman brianteeman - change - 14 Mar 2015
Category Language & Strings
avatar brianteeman
brianteeman - comment - 14 Mar 2015

Why only in com_users

We use a : throughout the core

If we want to make this change then we should be consistent and make the change throughout

avatar JoomliC
JoomliC - comment - 14 Mar 2015
If we want to make this change then we should be consistent and make the change throughout

I didn't find another place where labels have colon... but i may miss something...

avatar designbengel
designbengel - comment - 14 Mar 2015

Tested in Frontend on Edit Profile, all fine! - anywhere else?


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/6424.
avatar designbengel designbengel - test_item - 14 Mar 2015 - Tested successfully
avatar brianteeman
brianteeman - comment - 14 Mar 2015

I didn't find another place where labels have colon... but i may miss something...

com_banners
com_content
com_finder
com_languages
com_menus
com_users
and probably a lot more


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/6424.
avatar JoomliC
JoomliC - comment - 14 Mar 2015

@brianteeman i don't mean all colons, but colons in form field labels.

For example, in com_banners, colon in label are only in Hathor overrides, and in tracks export (with the calendar field below the label, so could be kept in this case).

The purpose with this PR, is the removal of colon in inline form fields.
For example, no admin form have ":" for label.
And in frontend, contact form has no label.
Another example, about registration form, if you enable the captcha plugin, you won't have colon for captcha label, but you will for all other fields.

I never mean to remove all the colon, it would be non-sense. But only for inline label related to form fields.
And it fixes the "stupid" alert message when invalid field => "Field invalid : Name :"
Isn't better with only this : "Field invalid : Name" ?

Don't know if i'm clear...


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/6424.
avatar brianteeman
brianteeman - comment - 14 Mar 2015

COM_BANNERS_BEGIN_LABEL="Begin Date:"
COM_BANNERS_END_LABEL="End Date:"

Quick examples

On 14 March 2015 at 20:19, Cyril Rezé notifications@github.com wrote:

@brianteeman https://github.com/brianteeman i don't mean all colons,
but colons in form field labels.

For example, in com_banners, colon in label are only in Hathor overrides,
and in tracks export (with the calendar field below the label, so could be
kept in this case).

The purpose with this PR, is the removal of colon in inline form fields.
For example, no admin form have ":" for label.
And in frontend, contact form has no label.
Another example, about registration form, if you enable the captcha
plugin, you won't have colon for captcha label, but you will for all other
fields.

I never mean to remove all the colon, it would be non-sense. But only for
inline label related to form fields.
And it fixes the "stupid" alert message when invalid field => "Field
invalid : Name :"
Isn't better with only this : "Field invalid : Name" ?

Don't know if i'm clear...

This comment was created with the J!Tracker Application
https://github.com/joomla/jissues at issues.joomla.org/joomla-cms/6424
http://issues.joomla.org/tracker/joomla-cms/6424.


Reply to this email directly or view it on GitHub
#6424 (comment).

Brian Teeman
Co-founder Joomla! and OpenSourceMatters Inc.
http://brian.teeman.net/

avatar JoomliC
JoomliC - comment - 15 Mar 2015

@brianteeman your examples in com_banners are for "Filters" labels, not form field label.

com_banners, filters labels, not form field label :+1:

capture d ecran 2015-03-15 a 16 47 31
There, it's not really a problem, as no form validation.

ADMIN com_contact form (available for all admin forms as far as i know...) :+1:

capture d ecran 2015-03-15 a 16 42 04
No : in labels, and so, no : in Field invalid alert message if field required invalid.

FRONTEND com_contact form :+1:

capture d ecran 2015-03-15 a 16 44 49
Form fields labels have no : , and alert message is ok

FRONTEND com_users forms :-1:

(example with edit profile, where there's an issue with consistency and alert message for required field)
capture d ecran 2015-03-15 a 16 45 50 copie
There, 2 issues :

  • no consistency of labels, Edit Your Profile with : and Basic Settings with no : in labels...
  • issue with alert message

I hope it's better with images than with my poor English ;-)

Cyril

avatar brianteeman
brianteeman - comment - 15 Mar 2015

Ah. Now I understand the issue better. The problem isnt just a cosmetic one
of it looking better without the : in the label it is really about
re!moving the : from the error messagea

avatar JoomliC
JoomliC - comment - 15 Mar 2015

@brianteeman Yes! It's not a cosmetic one. ;-)

And i found only in com_users frontend the use of : in form fields (and there's a consistency break with all other forms in core).

avatar zero-24 zero-24 - change - 15 Mar 2015
Status Pending Ready to Commit
avatar adhocgraFX adhocgraFX - test_item - 15 Mar 2015 - Tested successfully
avatar zero-24
zero-24 - comment - 1 Apr 2015

RTC Thanks :smile:


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/6424.
avatar zero-24 zero-24 - change - 1 Apr 2015
Labels Added: ?
avatar phproberto phproberto - change - 6 Apr 2015
Status Ready to Commit Closed
Closed_Date 0000-00-00 00:00:00 2015-04-06 12:06:11
avatar phproberto phproberto - close - 6 Apr 2015
avatar phproberto phproberto - close - 6 Apr 2015
avatar Bakual Bakual - close - 6 Apr 2015
avatar phproberto
phproberto - comment - 6 Apr 2015

Merged. Thanks!

avatar Bakual Bakual - change - 14 Apr 2015
Labels Added: ?
avatar zero-24 zero-24 - change - 14 Oct 2015
Labels Removed: ?

Add a Comment

Login with GitHub to post a comment