cancel
Showing results for 
Search instead for 
Did you mean: 

Where does label.skype come from ?? [Solved]

michaelc
Champ on-the-rise
Champ on-the-rise
So I think I understand the product and then the simplest item throws me.

So I wanted to change so,me minor literals Skype being one.
  it shows on the myprofile dashlet and a view-edit profile page.

  So I find in userprofile.get.html.ftl  the following.

         <#if profile.skype?? && profile.skype?length!=0>
         <div class="row">
            <span class="fieldlabelright">${msg("label.skype")}:</span>
            <span class="fieldvalue">${profile.skype?html}</span>
         </div>
         </#if>
  
Ok, so I expect to find ${msg("label.skype")} in
   userprofile.get.properties

Nope not there.

Now if I add label.skype to userprofile.get.properties it shows what I added but where did it come from ?
3 REPLIES 3

mrogers
Star Contributor
Star Contributor
It will be in a message bundle.

mikeh
Star Contributor
Star Contributor
It's in slingshot.properties ("Slingshot" is the project name for the Share client)

Thanks,
Mike

michaelc
Champ on-the-rise
Champ on-the-rise
It's in slingshot.properties ("Slingshot" is the project name for the Share client)

Thanks,
Mike

Thanks Mike and that makes perfect sense, and userprofile.get.properties only contains overides.
  odd thing I did a search and did not find it, windows search missed it . . . windows sucks.

  Guess I will include the complete web-inf somewhere in eclipse just to browse and search