View ProjeQtOr On SourceForge.net
ProjeQtOr - Project Management Tool
Supportez nous sur Capterra
OIN - Open Invention Network
ProjeQtOr free project management software - SqlElement::getTitle() should return i18n('col'.ucfirst($col)) - ProjeQtOr

Prochaines Sessions

Les prochaines formations et démonstrations sont ouvertes, inscrivez-vous rapidement !

 

Démonstration de ProjeQtOr

(gratuit, sur inscription)
 

13 mai 2025 (10h30-12h)

5 juin 2025 (16h-17h30)

 
 

Planifiez avec ProjeQtOr

14 et 15 mai 2025 (9h-12h30)

18 et 19 juin 2025 (9h-12h30)

 
 

Administrez avec ProjeQtOr

20 et 21 mai (9h-12h30)

25 et 26 juin (9h-12h30)

 

 

 

SqlElement::getTitle() should return i18n('col'.ucfirst($col))

More
09 Juil 2015 10:51 - 09 Juil 2015 14:54 #1 by papjul
Hi,

Before:
public function getTitle($col) {
return i18n('col'.$col);
}
After:
public function getTitle($col) {
return i18n('col'.ucfirst($col));
}

See the difference by moving your mouse over environment lists on TestCase, for example.
Before: [colidContext1]
After: environment

By the way, is it possible to have a specific "title" language element? I mean, use i18n('title'.ucfirst($col)) instead of i18n('col'.ucfirst($col)). Our new users doesn't know very well the application so it would be very useful to have a longer description of the field (instead of just the name) so they can see what to do with the field by moving their mouse over (without having to open the documentation every time). If it is too much work for you, maybe you can just add them for the fields with "title" attribute (I think there are only titleIdContext1, titleIdContext2, titleIdContext3). What do you think?
Last edit: 09 Juil 2015 14:54 by papjul. Reason: Resolved

Please Connexion or Create an account to join the conversation.

More
09 Juil 2015 12:55 #2 by babynus
Hi,

You're right there is a issue. :blush:
Your fix is a good start but is not complete. :huh:
It seems to work unless you change context type values. :ohmy:
Try and change context type values, then compare result on Ticket and on Test Case... ;)
To get correct values, you'll have to copy the getTitle() function from TicketMain.php to TestCaseMain.php.
This fix will be included in patch V5.0.2.

Anyway thanks a lot for reporting the issue and proposing a fix.

Babynus
Administrator of ProjeQtOr web site

Please Connexion or Create an account to join the conversation.

Moderators: babynusprotion
Time to create page: 0.035 seconds

Paramétrages de cookies

×

Cookies fonctionnels

Ce site utilise des cookies pour assurer son bon fonctionnement et ne peuvent pas être désactivés de nos systèmes. Nous ne les utilisons pas à des fins publicitaires. Si ces cookies sont bloqués, certaines parties du site ne pourront pas fonctionner.

Session

Veuillez vous connecter pour voir vos activités!

Autres cookies

Ce site web utilise un certain nombre de cookies pour gérer, par exemple, les sessions utilisateurs.