Skip to content

Commit e1a922a

Browse files
author
Frank Evers
committed
Remove language files (mo/po). Update README for running tests.
1 parent 8eafd63 commit e1a922a

11 files changed

Lines changed: 18 additions & 662 deletions

README.md

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -31,20 +31,16 @@ Got questions or feedback? Let us know! Contact us at support@tinypng.com.
3131
1. Run `bin/unit-tests`.
3232

3333
### Running the integration tests
34-
1. Start PhantomJS server: `phantomjs --webdriver=127.0.0.1:8910`.
34+
1. Start PhantomJS server: `phantomjs --webdriver=127.0.0.1:8910`. Tested with version 2.1.1.
3535
2. Run `bin/integration-tests $version [$to_version]` (When $to_version is
3636
added, all versions between $version and $to_version are tested). E.g.
3737
`bin/integration-tests 41` or `bin/integration-tests 40 42`.
3838

39-
### Create language files
39+
### Translating the plugin
40+
Language packs will be generated for the plugin once translations for a
41+
language are 100% filled in and approved.
4042

41-
WordPress requires both .po and .mo files for each language. The .mo files
42-
can be generated with [gettext](https://www.gnu.org/software/gettext/) that
43-
needs to be installed first.
44-
45-
1. Install gettext for example run `brew install gettext`.
46-
2. Add a link msgfmt `ln -s /usr/local/Cellar/gettext/0.19.6/bin/msgfmt ~/.bin`.
47-
3. Generate the .mo files `bin/format-language-files`.
43+
See https://translate.wordpress.org/projects/wp-plugins/tiny-compress-images.
4844

4945
## License
5046

bin/format-language-files

Lines changed: 0 additions & 15 deletions
This file was deleted.
-8.35 KB
Binary file not shown.

src/languages/tiny-compress-images-nl_NL.po

Lines changed: 0 additions & 305 deletions
This file was deleted.
-3.92 KB
Binary file not shown.

0 commit comments

Comments
 (0)