Hi. Thank you for nice module.

My Drupal site is multilingual and I added multilingual support for footer message.
To declare 'footer_message_msg' as multilingual varible, I added the following file, footer_message.variable.inc :

/**
* @file
 * This module provides a configurable footer message as a block.
 */

/**
 * Implements hook_variable_info()
 */
function footer_message_variable_info($options) {
  $variables['footer_message_msg'] = array(
    'type' => 'string',
    'title' => t('Site footer', array(), $options),
    'default' => 'Drupal',
    'description' => t('The footer of this website.', array(), $options),
    'required' => FALSE,
  );

  return $variables;
}

Comments

hkirsman’s picture

Issue summary: View changes
StatusFileSize
new653 bytes

Add patch for this feature. Also included the group parameter.

hkirsman’s picture

Version: 7.x-1.1 » 7.x-1.x-dev
seanberto’s picture

This makes sense. Sorry for the delay in getting back to you. Right now, I'm interested in porting the module to D8. But when I get a little time for testing, I'll implement this. It would be great, in the meantime, if we could get a few others to test this patch. I can't imagine any issues, but just to be thorough.

  • justin. committed 701df5d on 7.x-1.x authored by hkirsman
    Issue #1874908 by hkirsman: multilingual support for footer message
    
andrew_tspkh’s picture

Status: Patch (to be ported) » Fixed

Thank you for the patch. Commited to 7.x-1.x

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.