lib/yard/i18n/message.rb in yard-0.9.28 vs lib/yard/i18n/message.rb in yard-0.9.29

- old
+ new

@@ -6,20 +6,20 @@ # +Message+ is a translation target message. It has message ID as # {#id} and some properties {#locations} and {#comments}. # # @since 0.8.1 class Message - # @return [String] the message ID of the trnslation target message. + # @return [String] the message ID of the translation target message. attr_reader :id # @return [Set] the set of locations. Location is an array of # path and line number where the message is appeared. attr_reader :locations # @return [Set] the set of comments for the messages. attr_reader :comments - # Creates a trasnlate target message for message ID +id+. + # Creates a translate target message for message ID +id+. # # @param [String] id the message ID of the translate target message. def initialize(id) @id = id @locations = Set.new