This website requires JavaScript.
Explore
Help
Sign In
emelie
/
tidy-html5
Watch
1
Star
0
Fork
You've already forked tidy-html5
0
Code
Issues
Pull requests
Releases
Wiki
Activity
b5db02aeb9
tidy-html5
/
localize
/
Gemfile
6 lines
63 B
Ruby
Raw
Normal View
History
Unescape
Escape
Localization Support added to HTML Tidy - Languages can now be added to Tidy using standard toolchains. - Tidy's help output is improved with new options and some reorganization.
2016-01-15 04:06:15 +00:00
source
'https://rubygems.org'
gem
'thor'
gem
'i18n'
Add new `rebase` command to CLI. This is intended to make it very, very easy to update the POT and all of the POs when changes are made to `language_en.h`. Used without an sha-1 hash, untranslated strings (i.e., the "source" strings) are updated in the POT/PO's. However if you specify an --sha=HASH (or -c HASH) option, then the script will use git to examine the `language_en.h` file from that specified commit, determing the strings that have changed, and mark all of these strings as `fuzzy` in the POs. This will serve as a flag to translators that the original has changed. In addition, this `fuzzy` flag will appear in the headers as "(fuzzy) " in the item comments. If a translator edits the header directly, he should remove the "(fuzzy )" in the comment. Then when the PO is rebuilt, the fuzzy flag will be removed automatically. The reverse is also true; if a translator is working with the PO, he or she should clear the fuzzy flag and the comment will be adjusted accordingly in the generated header.
2016-03-24 03:38:04 +00:00
gem
'git'
Reference in a new issue
Copy permalink