mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-01-17 17:57:54 -05:00
* 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>
20 lines
345 B
PHP
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;
|
|
|
|
}
|