dynamoid

https://github.com/veraticus/dynamoid

Ruby ORM for Amazon's DynamoDB

GettextI18nRails::HamlParser.convert_to_code

We need to convert text in Mustache format
to a format that can be parsed by Gettext scripts.
If we found a content like "{{ __('Stage') }}"
in a HAML file we convert it to "= _('Stage')", that way
it can be processed by the "rake gettext:find" script.

Overwrites: https://github.com/grosser/gettext_i18n_rails/blob/8396387a431e0f8ead72fc1cd425cad2fa4992f2/lib/gettext_i18n_rails/haml_parser.rb#L9

Source | Google | Stack overflow

Edit

git clone [email protected]:veraticus/dynamoid.git

cd dynamoid

open

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-GettextI18nRails--HamlParser-convert_to_code-for-pr


# Commit to git

git add git commit -m "better docs for GettextI18nRails::HamlParser.convert_to_code"


# Open pull request

gem install hub # on a mac you can `brew install hub`

hub fork

git push <your name> -your-name--update-docs-GettextI18nRails--HamlParser-convert_to_code-for-pr

hub pull-request


# Celebrate!