Project

General

Profile

Bug #1715

automatic uppercase(ing) the first characters

Added by Marko Kastelic about 9 years ago. Updated over 8 years ago.

Status:
Feature implemented
Priority:
Normal
Category:
-
Target version:
Start date:
11/07/2010
Due date:
% Done:

100%

Estimated time:
Complexity:
Normal
SCRUM pts - complexity:
?

Description

in some cases, where a combination of the words like : created today, created yesterday, .. are used, i got a gramatical bug with translation becouse of the method date_to_str_ago from internationalization.lib.php that capitalizes the words (or translations) that are send to it.
If you, for example, look at the message thread from social network, you will notice something like Created Yesterday or Created Today. I'm not English native, so will not discuss about correctness of this phrase.
Acceptable cases for my language are : created today, Created today, Created: yesterday, Created: Friday,12. .... today & yesterday cannot be uppercased except at the beggining of the clause/sentence or are personal names or are geographical names, but this is not likely for my (many of them) language. ANd there is no case where is used capitalization to emphasise something really important..
instead of the auto-uppercasing i will rather see two variables; one capitalized and one that is not; so i can adapt translation to fit language legitimacy.

History

#1

Updated by Yannick Warnier about 9 years ago

  • Target version set to 1.8.8 stable
#2

Updated by Ivan Tcholakov almost 9 years ago

Examples for correct casing in Bulgarian language:
Created today
Created: yesterday
Created: friday, 12 january 2010 (all lowercase)

#3

Updated by Ivan Tcholakov over 8 years ago

  • Status changed from New to Feature implemented
  • Assignee set to Juan Carlos Raña Trabado
  • % Done changed from 0 to 100

Juan has removed this undesired uppercasing, there is no problem in the function date_to_str_ago().
12461:523502089ebd herodoto 2010-09-08 23:19 more fix socialnetwork styles and update lang
http://code.google.com/p/chamilo/source/diff?spec=svn.classic.523502089ebdb03c067827eb91ff596ee0630405&repo=classic&r=523502089ebdb03c067827eb91ff596ee0630405&format=side&path=/main/inc/lib/internationalization.lib.php

Also available in: Atom PDF