Needs work
Project:
Entity API
Version:
7.x-1.x-dev
Component:
Entity property wrapper
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
1 May 2012 at 17:53 UTC
Updated:
12 May 2012 at 00:16 UTC
Jump to comment: Most recent file
Comments
Comment #1
alexweber commentedPatch attached!
Comment #2
hass commentedFirst of all ucfirst on translatable string is nightmare for translators. It may be correct case in one language, but not in others and not in context.
Schema descriptions are not translatable strings. Cannot used here.
Comment #3
alexweber commented@hass, ucfirst() is already there, its the default implementation.
If schema descriptions are not translatable string we could at least wrap them in t().
Either way, it makes no sense if you define a description to have Entity API do the whole ucfirst() thing instead of use the description thats already there.
Comment #4
alexweber commentedUpdated patch which wraps schema description in a t() function
Comment #5
alexweber commentedComment #6
hass commentedSorry, but this does not make the schema string translatable. Localization server does not work this way and cannot extract the strings that needs translation. Additionally we don't like to translate schema strings... This is a developer rule.
I see ucfirst is already in the code, but this don't make it right... This is a bug :-)