There are some cases where using the locale module will not allow us to re-localize a string because the text in the form field is too generic. For ex.

Go to http://beta.ironweedfilms.com/?q=node/add/og

Go to the drop-down boxes beneath the Image field..

The purpose of this function is to specify who in your group is able to post each of these types of content..

But if I try to localize "personal blog entry" it will affect this text everywhere in the site (for e.g. blog&edit[og_groups][]=###)

So if you can create a block of text that would go on top of this field and allow us the ability to edit it, that would be an alternative solution to suggestion 49026 which we could implement down the road..

Comments

webchick’s picture

Ok, I've implemented this on beta. Changed:

  foreach (node_list() as $type) {
    if ($type == 'og') {
      continue;
    }
    $output .= form_select(node_invoke($type, 'node_name'), 'og_type]['. $type, $node->og_type[$type], array(t('All members'), /*t('Moderated'), */ 2 => t('Manager only')));
  }

to:

  // Add fine-grained permissions to each node type
  $output = form_item(t('Fine-grained permissions'), NULL, t('Here you may specify who has permission to post which types of content to your group.'));
  foreach (node_list() as $type) {
    if ($type == 'og' || in_array($type, variable_get('og_omitted', array()))) {
      continue;
    }
    $output .= form_select(node_invoke($type, 'node_name'), 'og_type]['. $type, $node->og_type[$type], array(t('All members'), /*t('Moderated'), */ 2 => t('Manager only')));
  }

This fixed two problems:
1. Better explains wtf those drop-downs are for ;)
2. Respects list of 'og omitted' content types

This will be updated on beta momentarily, and will be included in the new og.module patch.

webchick’s picture

Status: Active » Fixed
sdemps3’s picture

Status: Fixed » Closed (fixed)

Fix verified..