X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=scripts%2Fupdate_po_templates.php;h=a0ab5819d562a21d3e76b370ed026ca8c39162cb;hb=267d7b6bffc2dc094d525c36e251adcb61be32ef;hp=0bfa62a22e79d2c47a8bfb84094a6d3cb4c3bf5e;hpb=6c1321b108206d05b75703da22ea8abab82071bf;p=quix0rs-gnu-social.git diff --git a/scripts/update_po_templates.php b/scripts/update_po_templates.php index 0bfa62a22e..a0ab5819d5 100755 --- a/scripts/update_po_templates.php +++ b/scripts/update_po_templates.php @@ -34,7 +34,7 @@ function update_core($dir, $domain) xgettext \ --from-code=UTF-8 \ --default-domain=$domain \ - --output=locale/$domain.po \ + --output=locale/$domain.pot \ --language=PHP \ --add-comments=TRANS \ --keyword="_m:1,1t" \ @@ -64,7 +64,7 @@ function do_update_plugin($dir, $domain) xgettext \ --from-code=UTF-8 \ --default-domain=$domain \ - --output=locale/$domain.po \ + --output=locale/$domain.pot \ --language=PHP \ --add-comments=TRANS \ --keyword='' \ @@ -81,45 +81,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 = <<