|
ILIAS
trunk Revision v13.0_alpha-62-g3b72d83f2e5
|
The dated "not translated yet" marker of the legacy .lang files ("28 08 2012 new variable") in a ### comment or a lng_data remark.
More...
Collaboration diagram for ILIAS\Language\ComponentTranslation\LegacyFuzzyMarker:Static Public Member Functions | |
| static | matches (string $comment) |
Private Attributes | |
| const string | PATTERN = '/^[\s#]*(\d{1,2}\s+\d{1,2}\s+\d{4}|\d{1,2}\s+[A-Za-z]{3}\s+\d{4}|\d{4}-\d{1,2}-\d{1,2})\b.*\bnew variable\b/i' |
The dated "not translated yet" marker of the legacy .lang files ("28 08 2012 new variable") in a ### comment or a lng_data remark.
The conversion to PO turns it into the fuzzy flag, the installation does not take it over as a remark. Only the dated marker counts - a note merely mentioning "new variable" is a note. Leading "#" are tolerated ("####30 08 2015 new variable").
Definition at line 29 of file LegacyFuzzyMarker.php.
|
static |
Definition at line 33 of file LegacyFuzzyMarker.php.
References $comment.
Referenced by ILIAS\Language\ComponentTranslation\LegacyFuzzyMarkerTest\testMatches().
Here is the caller graph for this function:
|
private |
Definition at line 31 of file LegacyFuzzyMarker.php.