Skip to content

Commit aae50bd

Browse files
committed
Bump version and information for phpBB 4.0 - dev status
1 parent 4a5942f commit aae50bd

File tree

2 files changed

+9
-11
lines changed

2 files changed

+9
-11
lines changed

README.md

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# phpBB Translation Validator
1+
# phpBB Translation Validator - master-dev
22

33
This console application allows you to validate [phpBB](https://www.phpbb.com) language packages.
44

@@ -13,12 +13,10 @@ Firstly, download the latest British English (`en`) [language pack from phpBB.co
1313
git clone https://github.com/phpbb/phpbb-translation-validator.git
1414
composer.phar install
1515

16-
For the easiest results, create a directory called `3.2` or `3.3` 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:
16+
For the easiest results, create a directory called `4.0` 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:
1717

18-
phpbb-translation-validator/3.2/en/
19-
phpbb-translation-validator/3.2/fr/
20-
phpbb-translation-validator/3.3/en/
21-
phpbb-translation-validator/3.3/fr/
18+
phpbb-translation-validator/4.0/en/
19+
phpbb-translation-validator/4.0/de/
2220
phpbb-translation-validator/translation.php
2321

2422
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):
@@ -28,16 +26,16 @@ The simplest way to validate is to then run this command (the final argument is
2826
There are more arguments that can be supplied. For example, suppose you wanted to have your `3.2` directory in a different location, you wanted to explicitly specify phpBB version 3.2 (default validation is against 3.3), you wanted to run in safe mode and you wanted to see all notices displayed - you would run this command:
2927

3028
php translation.php validate fr
31-
--package-dir=/path/to/your/3.2
32-
--phpbb-version=3.2
29+
--package-dir=/path/to/your/4.0
30+
--phpbb-version=4.0
3331
--safe-mode
3432
--display-notices
3533

3634
The `--safe-mode` flag indicates that you want to parse files instead of directly including them. This is useful if you want to run validations on a web server.
3735

3836
If you are missing the English language files for the official Viglink extension, they can be easily donwloaded using this command:
3937

40-
php translation.php download --files=phpbb-extensions/viglink --phpbb-version=3.3
38+
php translation.php download --files=phpbb-extensions/viglink --phpbb-version=4.0
4139

4240
## Tests
4341

@@ -47,7 +45,7 @@ In your project you can add phpBB Translation Validator as a dependency:
4745

4846
{
4947
"require-dev": {
50-
"phpbb/translation-validator": "1.6.*"
48+
"phpbb/translation-validator": "2.0.*"
5149
}
5250
}
5351

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "phpbb/translation-validator",
33
"description": "A language package validator for phpBB language packs. Language packs are required to pass the validator when submitted to the language pack database.",
44
"homepage": "https://github.com/phpbb/phpbb-translation-validator",
5-
"version": "1.6.1",
5+
"version": "2.0.0-dev",
66
"license": "GPL-2.0-only",
77
"authors": [
88
{

0 commit comments

Comments
 (0)