Flowdock
method

translation

Importance_0
v5.2.3 - 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 18
          def translation
            method_and_value = @tag_value.present? ? "#{@method_name}.#{@tag_value}" : @method_name

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

            content
          end
Register or log in to add new notes.