diff --git a/lib/bootstrap_helper/breadcrumb.rb b/lib/bootstrap_helper/breadcrumb.rb
index a02c708..45beed3 100644
--- a/lib/bootstrap_helper/breadcrumb.rb
+++ b/lib/bootstrap_helper/breadcrumb.rb
@@ -15,7 +15,7 @@ module InstanceMethods
protected
def set_breadcrumbs
- @breadcrumbs = ["Home".html_safe]
+ @breadcrumbs = ["#{t('home', default: 'Home')}".html_safe]
end
def drop_breadcrumb(title=nil, url=nil)
@@ -50,11 +50,7 @@ def render_breadcrumb
breadcrumb_class << "first" if i == 0
breadcrumb_class << "last active" if i == (@breadcrumbs.length - 1)
- if i == (@breadcrumbs.length - 1)
- breadcrumb_content = c
- else
- breadcrumb_content = c + " " + content_tag(:span, "/", :class => "divider")
- end
+ breadcrumb_content = c
crumb += content_tag(:li, breadcrumb_content ,:class => breadcrumb_class ) + "\n"
end