From 234b1e6c236118d915af458b8db966e425645d68 Mon Sep 17 00:00:00 2001 From: Siebrand Mazeland Date: Sat, 18 Sep 2010 00:23:38 +0200 Subject: [PATCH] Remove do_translatewiki_plugin(). No longer needed. Replaced by MediaWiki Translate extension script http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/Translate/scripts/genStatusNetPluginsConfig.php?view=markup --- scripts/update_po_templates.php | 42 --------------------------------- 1 file changed, 42 deletions(-) diff --git a/scripts/update_po_templates.php b/scripts/update_po_templates.php index f10f208424..a0ab5819d5 100755 --- a/scripts/update_po_templates.php +++ b/scripts/update_po_templates.php @@ -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 = <<