Comments

svdhout’s picture

Same here

Sk8erPeter’s picture

Perfect, thank you. By the way, you could also put a usual "Implements hook_variable_info()." comment before function custom_breadcrumbs_variable_info. :)

To prove that it works correctly, let me attach some screenshots of my own experiences!
I also hope it helps somebody how to translate the "Home" text in Custom breadcrumbs settings.

BEFORE applying the patch:

BEFORE applying the text

AFTER applying the patch:

AFTER applying the text

How-to steps:

  1. apply patch (e.g. in NetBeans)
  2. go to admin/config/regional/i18n/variable and check "Homepage breadcrumb", then click "Save configuration" like this
  3. go to admin/config/user-interface/custom-breadcrumbs, now you can see that "Home breadcrumb text" is already a multilingual variable: http://drupal.org/files/Custom_breadcrumbs_05._admin-config-user-interfa...
  4. save the English text:
    English home breadcrumb text
  5. click on your other enabled language(s), and save the appropriate text(s):
    Hungarian Home breadcrumb text
colan’s picture

Status: Reviewed & tested by the community » Fixed

Marking #504400: home reference and i18n as a duplicate of this issue. Also, committed the above patch with the proper documentation header in 8532947.

colan’s picture

Category: task » feature

Status: Fixed » Closed (fixed)

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