Skip to content
This repository has been archived by the owner on Jan 2, 2024. It is now read-only.

timonv/gibber

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gibber

Gibber replaces text with nonsensical latin with a maximum size difference of +/- 30%.

Useful for testing the effects of localization on UI.

Build Status

Installation

Add this line to your application's Gemfile:

gem 'gibber'

And then execute:

$ bundle

Or install it yourself as:

$ gem install gibber

Usage

gibber = Gibber.new
gibber.replace("I have a passion for crooked bananas")
# => A arcu a fringilla nisi tempus venenatis (maybe)
# Roughly translates to 'From the bow, poisoned from the ecological, unless time'

Gibber preserves any non wordy characters to give your text that texty feel.

Contributing

  1. Fork it ( https://github.com/[my-github-username]/latin_replace/fork )
  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 a new Pull Request

About

Nonsensical latin text transformation

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages