X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=scripts%2Fupdate_po_templates.php;h=a5730e6d2f7f43955e08db8173ec5049c671ae36;hb=22b9031ebeed923bf758199153b5cef6fce9661f;hp=af9ed8d208aab46b00309d1097522899cd4e430a;hpb=9ea0b0645249b7e3f4cb37ac6bc3ff8c628ad2ba;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 = <<