Files
FreshRSS/cli/i18n/I18nValidatorInterface.php
Inverle f9a42adade Show translation status in README.md (#7715)
* Show translation status in README.md

* Fix colon

* markdownlint: Allow tag `<translations>`

* Use mostly Unicode flags instead

* Only `oc.svg` remains in an image format
* `check.translation.php` still supports `.png` even though there aren't any PNGs as of right now

* Fix CodeSniffer

* Attempt approach with generating local SVGs

* Fixes for local SVG approach

* Cleanup old code

* PHPStan fix

* Remove decimal precision from percentages

* Suggestions + better error messages

* codesniffer fix v2

* Revert `ghSearchUrl` change

* Generate readme

* Fix syntax highlight, maybe

* Regenerate

* Update help message

* Use existing translation files instead of .txt

* Add test against wrong Unicode flag

---------

Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
2025-07-16 16:11:51 +02:00

20 lines
345 B
PHP

<?php
declare(strict_types=1);
interface I18nValidatorInterface {
/**
* Display the validation result.
* Empty if there are no errors.
*/
public function displayResult(): string;
public function validate(): bool;
/**
* Display the validation report.
*/
public function displayReport(bool $percentage_only = false): string;
}