Skip to content

Commit

Permalink
Merge pull request #56 from Crizz0/update-readme-composerjs
Browse files Browse the repository at this point in the history
Updates composer.json and readme for 1.5.0
  • Loading branch information
battye authored Apr 13, 2019
2 parents bb20646 + f1ae266 commit a9d017d
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 6 deletions.
14 changes: 9 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,20 @@ This console application allows you to validate [phpBB](https://www.phpbb.com) l

## Requirements

This extension requires PHP 5.3.3 or above.
This extension requires PHP 5.5.9 or above.

### Installation

Firstly, download the British English (`en`) language pack from phpBB.com as this is the default source language. Then clone this repository and download the dependencies:
Firstly, download the latest British English (`en`) [language pack from phpBB.com](http://www.phpbb.com/customise/db/translation/british_english/) as this is the default source language. Then clone this repository and download the dependencies:

git clone https://github.com/phpbb/phpbb-translation-validator.git
composer install

For the easiest results, create a directory called `3.2` in the root of the Translation Validator. Upload the `en` language page into this directory, along with the languages you wish to test.
composer.phar install

For the easiest results, create a directory called `3.2` in the root of the Translation Validator. Upload the `en` language page into this directory, along with the languages you wish to test. Which leads e.g. to:

phpbb-translation-validator/3.2/en/
phpbb-translation-validator/3.2/fr/
phpbb-translation-validator/translation.php

The simplest way to validate is to then run this command (the final argument is the language you wish to test and that has already been uploaded to the `3.2` directory; eg. `fr` for French):

Expand Down
8 changes: 7 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,19 @@
"description": "A language package validator for phpBB language packs. Language packs are required to pass the validator when submitted to the language pack database.",
"homepage": "https://github.com/phpbb/phpbb-translation-validator",
"version": "1.5.0",
"license": "GPL-2.0",
"license": "GPL-2.0-only",
"authors": [
{
"name": "Joas Schilling",
"email": "[email protected]",
"homepage": "http://www.phpbb.com/",
"role": "Developer"
},
{
"name": "Battye",
"email": "[email protected]",
"homepage": "https://www.phpbb.com",
"role": "Developer"
}
],
"minimum-stability": "stable",
Expand Down

0 comments on commit a9d017d

Please sign in to comment.