Files
FreshRSS/tools/I18nValidatorInterface.php
Alexis Degrugillier ac60e35f6a Improve translation tools
I was not happy with the previous version. I refactored everything to make it reusable.
It allows me do do more verifications and to build a tool to handle the files themselves.
2017-10-10 06:46:25 +02:00

27 lines
402 B
PHP

<?php
interface I18nValidatorInterface {
/**
* Display the validation result.
* Empty if there are no errors.
*
* @return array
*/
public function displayResult();
/**
* @param array $ignore Keys to ignore for validation
* @return bool
*/
public function validate($ignore);
/**
* Display the validation report.
*
* @return array
*/
public function displayReport();
}