I think CDeailView widget should use generateAttributeLabel() method from the model, instead of doing the same thing itself.
as far as I can see right now it is using CModel::getAttributeLabel() what do you mean, which code are you talking about?
See line 203 if the attribute name is not set it generates from the attribute name, which is exactly the functionality of generateAttributeLabel (code is exactly the same).
Okay, this is to not have CDetailview depend on CModel. Is there any problem with that?
I found this when I tried to rewrite the CModel::generateAttributeLabel()
But I do not understand your last comment, as CDetailview depends on CModel anyway with the CModel::getAttributeLabel() ?
generateAttributeLabel() is ment to be used to quickly generate a working prototype as it guesses label names from attribute names to help you as you do not have to write code to get it to work. When you need you own labels, you have to use attributeLabels.