@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.)
hq.recaptime.dev/wiki/Phorge
phorge
phabricator
1<?php
2
3final class PhorgeI18nTestCase extends PhabricatorTestCase {
4 public function testi18nValidation() {
5 $validator = new PhorgeInternationalizationValidator();
6 $errors = $validator->validateLibraries(
7 $validator->loadExtractions(true, true));
8 $this->assertEqual(array(),
9 $errors,
10 pht('i18n validation errors found!'));
11 }
12}