Flowdock
method

translation

Importance_0
v4.2.7 - Show latest stable - 0 notes - Class: LabelBuilder
translation() public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionview/lib/action_view/helpers/tags/label.rb, line 16
          def translation
            method_and_value = @tag_value.present? ? "#{@method_name}.#{@tag_value}" : @method_name

            content ||= Translator
              .new(object, @object_name, method_and_value, "helpers.label")
              .translate
            content ||= @method_name.humanize

            content
          end
Register or log in to add new notes.