commit | 18ec035ec3c44a3d88d13837ad8f6f64f19ecb3b | [log] [tgz] |
---|---|---|
author | Solomon Peachy <pizza@shaftnet.org> | Sun Jul 26 19:59:29 2020 -0400 |
committer | Solomon Peachy <pizza@shaftnet.org> | Sun Jul 26 19:59:29 2020 -0400 |
tree | d1ac33be9361a33f5967c1613f8029daea5e7c3a | |
parent | 7cb0b9e689b8d5813e97984f141b4503a7cac145 [diff] |
ignore commented lines in the translation
diff --git a/common.php b/common.php index 1028383..a66d36e 100644 --- a/common.php +++ b/common.php
@@ -58,6 +58,9 @@ $thisphrase['notes'][] = $matches[1]; } } + elseif (preg_match("/^ *#/", $line, $matches)) { + continue; + } elseif ($pos == 'phrase' && preg_match("/^([^:]+): ?(.*)$/", $line, $matches)) { $subs = explode(',' , $matches[1]); foreach($subs as $sub) {