how to translate %user's wall any lang?

CommentFileSizeAuthor
#4 screen.png27.49 KBmailfox
#2 panel122.22 KBmailfox
#2 panels_pane in data base84.54 KBmailfox

Comments

icecreamyou’s picture

Priority: Critical » Normal
Status: Active » Fixed
mailfox’s picture

StatusFileSize
new84.54 KB
new122.22 KB

module interface translation did not find % user's wall is not one of the criteria in the database, I found the% user's wall is lost when you change the title to the units panel content stream is not configured to override the header is not possible

icecreamyou’s picture

The phrase "user's wall" is not used anywhere in this module.

mailfox’s picture

StatusFileSize
new27.49 KB

I can not understand ... where then it changes, I use the panel to display the profile module facebook_status with views fbss_ur_stream ... attached a screenshot

mailfox’s picture

Status: Fixed » Active

how to get the views fbss_ur_stream output is not "default" such as a block or page?

icecreamyou’s picture

Status: Active » Closed (cannot reproduce)

That tab is not part of FBSS. FBSS does not add any tabs to users' profiles. Maybe it's part of Heartbeat or some other module?

mailfox’s picture

I use the APK http://drupal.org/project/advanced_profile all set as it is written here http://drupal.org/node/517182 eventually faced with this problem I am not a novice of course he used the search and dug but which is not see attached files found there screenshots ... where it is possible to override but I have not found yet because they do not know where to dig ... may be you have any ideas ... sorry for bad english

icecreamyou’s picture

Project: Facebook-style Statuses (Microblog) » Advanced Profile Kit
Version: 6.x-3.1 » 6.x-1.x-dev
Status: Closed (cannot reproduce) » Active

The tab is not part of FBSS. The word "wall" is not used anywhere in the module. I do not know what module is providing that but I can't help you further.

michelle’s picture

Status: Active » Fixed

Yeah, I'm pretty sure it's in APK. You can go into the pane and check the "override title" box and change it to whatever you like.

Michelle

mailfox’s picture

Status: Fixed » Active

This pane "Stream" does not have settings where you can override the title, see screenshot panel in # 2

michelle’s picture

Oh... Hmm... You might have to change it in code, then. It's been so long since I've looked at it... I don't remember how it was set up.

Michelle

mailfox’s picture

Michelle remember please! because there are some hard code it because you can not change this tab ... but not tried it does not go ... help me! or at least indicate where to dig

michelle’s picture

It's been at least a year since I looked at any of this. I think I might have made a custom CTools content type for this so look in includes.

mailfox’s picture

Michelle no solution???

michelle’s picture

Other than look in the includes directory, nope, sorry. It's been so very long since I've looked at this that I don't remember much about how things were done anymore.

mailfox’s picture

I found advanced_profile.pages_default.inc on line 194 the following lines

$display->cache = array();
$display->title = 'Profile of %user';
$display->content = array();
$display->panels = array();
  $pane = new stdClass;
  $pane->pid = 'new-1';
  $pane->panel = 'center';
  $pane->type = 'facebook_status_stream';
  $pane->subtype = 'facebook_status_stream';
  $pane->shown = TRUE;
  $pane->access = array();
  $pane->configuration = array(
    'view_name' => 'facebook_status',
    'context' => 'argument_uid_1',
    'override_title' => 1,
    'override_title_text' => '%user\'s wall',
  );
  $pane->cache = array();
  $pane->style = array(
    'settings' => NULL,
  );

but not change what does not change (

michelle’s picture

@IceCreamYou: Didn't FBSS start coming with a CTools content type at some point? I sorta vaguely remember not having to use my own anymore but could be wrong on that... If it does, the OP could just use that.

icecreamyou’s picture

Yeah, although it's dropped from D7 -- but that just provides the content, not the title or separate page.

There are ways to translate user-configured text strings like Panel titles using contributed modules. I have never had a reason to do that but I know it exists. Sounds like exported Panels title text should really be wrapped in t() though.

michelle’s picture

Separate page? I know it's been a really long time since I looked at APK but I don't remember providing a separate page. All I remember is that I made a content type to go on the profile page before FBSS had one of its own.

As for wrapping in t(), that code is generated by CTools and used unmodified so that would have to be CTools adding it.

I think I've hit the end of what I can do here unless something occurs to me. It's literally been at least a year, maybe two since I had my head in this at all. I've got way too much on my plate to dig into support for essentially abandoned modules, sorry.

icecreamyou’s picture

I'm assuming a page from the tab in the screenshot from #4.

But yeah, there's nothing else I can contribute here either.

michelle’s picture

Status: Active » Closed (won't fix)

Doh! I somehow totally missed that. And here I was just assuming this was about APK. From that screenshot, I don't think it is. That looks like page tabs, not parts of the profile page. Ok, then, yeah, I don't think there's anything more that can be done here. Possibly try the forums?