X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=scripts%2Fupdate_po_templates.php;h=a5730e6d2f7f43955e08db8173ec5049c671ae36;hb=c18020561b8a01bbb2b3fc092694a7bb0fde70f9;hp=af9ed8d208aab46b00309d1097522899cd4e430a;hpb=3da8989242cc010c9c314bb3d67058dd047fe255;p=quix0rs-gnu-social.git diff --git a/scripts/update_po_templates.php b/scripts/update_po_templates.php index af9ed8d208..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 = <<