Skip to content

Commit

Permalink
Improve README (remove $ in bash commands to allow copy-paste)
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelHoste committed May 22, 2023
1 parent 608d3b4 commit 91351e7
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ end
4. Initialize your project and push existing translations to Translation.io with:

~~~bash
$ bundle exec rake translation:init
bundle exec rake translation:init
~~~

If you need to add or remove languages in the future, please read our
Expand All @@ -157,15 +157,15 @@ If you need to add or remove languages in the future, please read our
To send new translatable keys/strings and get new translations from Translation.io, simply run:

~~~bash
$ bundle exec rake translation:sync
bundle exec rake translation:sync
~~~

### Sync and Show Purgeable

If you need to find out what are the unused keys/strings from Translation.io, using the current branch as reference:

~~~bash
$ bundle exec rake translation:sync_and_show_purgeable
bundle exec rake translation:sync_and_show_purgeable
~~~

As the name says, this operation will also perform a sync at the same time.
Expand All @@ -175,7 +175,7 @@ As the name says, this operation will also perform a sync at the same time.
If you need to remove unused keys/strings from Translation.io, using the current branch as reference:

~~~bash
$ bundle exec rake translation:sync_and_purge
bundle exec rake translation:sync_and_purge
~~~

As the name says, this operation will also perform a sync at the same time.
Expand Down Expand Up @@ -368,7 +368,7 @@ a queue but it returns an error under heavy load), we implemented this
threadsafe readonly task:

~~~bash
$ bundle exec rake translation:sync_readonly
bundle exec rake translation:sync_readonly
~~~

This task will prevent your CI from failing and still provide new translations. But
Expand Down Expand Up @@ -587,7 +587,7 @@ This gem was created specifically for Rails, but you can also use it in a pure R
To run the specs:

~~~bash
$ bundle exec rspec
bundle exec rspec
~~~

## Contributing
Expand Down

0 comments on commit 91351e7

Please sign in to comment.