X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=scripts%2Fupdate_po_templates.php;h=a5730e6d2f7f43955e08db8173ec5049c671ae36;hb=c18020561b8a01bbb2b3fc092694a7bb0fde70f9;hp=f10f2084244985ca4dcf8168cfe987365855cdf7;hpb=11661e62dfebf8702b63a159161c618ba8707ef3;p=quix0rs-gnu-social.git diff --git a/scripts/update_po_templates.php b/scripts/update_po_templates.php index f10f208424..a5730e6d2f 100755 --- a/scripts/update_po_templates.php +++ b/scripts/update_po_templates.php @@ -43,6 +43,7 @@ xgettext \ --keyword="_m:1c,2,3,4t" \ --keyword="pgettext:1c,2" \ --keyword="npgettext:1c,2,3" \ + index.php \ actions/*.php \ classes/*.php \ lib/*.php \ @@ -81,45 +82,6 @@ END; chdir($old); } -function do_translatewiki_plugin($basedir, $plugin) -{ - $yamldir = "$basedir/locale/TranslateWiki"; - if (!file_exists($yamldir)) { - mkdir($yamldir); - } - $outfile = "$yamldir/StatusNet-{$plugin}.yml"; - $pluginlc = strtolower( $plugin ); - $data = <<