Merge pull request #302 from bfreiband/patch-1

chore: fix typo in formatters.md
This commit is contained in:
Sebastian Celis 2021-06-17 17:11:09 -05:00 committed by GitHub
commit 67a856d10a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -61,7 +61,7 @@ Formatters inherit from [`Abstract`](/lib/twine/formatters/abstract.rb) and need
The `Abstract` formatter also specifies two utility methods to be used when read a localization file, `set_translation_for_key` and `set_comment_for_key`, however the actual parsing is too formatter specific and must be implemented in the `read` method of a formatter.
Which methods to overwrite to produce the desired output depends pretty much on the format. Again, looking at the [bundeled formatters](/lib/twine/formatters) will provide some insight.
Which methods to overwrite to produce the desired output depends pretty much on the format. Again, looking at the [bundled formatters](/lib/twine/formatters) will provide some insight.
Finally, to make a formatter available, it needs to be added to the list of formatters