Skip to content
This repository has been archived by the owner on Oct 6, 2021. It is now read-only.

Dahie/chivy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chivy

Offers a quick way of analyzing language YAML-files and to add missing translation keys from the CLI.

Gem Version Gem Downloads Yard Docs

Installation

Add this line to your application's Gemfile:

gem 'chivy', require: false

And then execute:

$ bundle

Or install it yourself as:

$ gem install chivy

Usage

$ chivy list config/locales/

Will search in the directory config/locales for all translation yaml-files by the schema "..yml" and will output a list of the minimal changeset between both translations.

Testing

The project classes are tested through rspec.

$ rspec

The command line interface is tested through cucmber/aruba.

$ cucumber

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

About

List and fill missing translation keys in YAML-files.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages