From f60ee85f680edbce549331f897368319f44623f4 Mon Sep 17 00:00:00 2001 From: Siebrand Mazeland Date: Fri, 13 Aug 2010 22:21:33 +0200 Subject: [PATCH] Update extension configuration file creation (doesn't work yet in translatewiki.net). --- scripts/update_po_templates.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/update_po_templates.php b/scripts/update_po_templates.php index af9ed8d208..f10f208424 100755 --- a/scripts/update_po_templates.php +++ b/scripts/update_po_templates.php @@ -94,15 +94,15 @@ function do_translatewiki_plugin($basedir, $plugin) BASIC: id: out-statusnet-{$pluginlc} label: StatusNet - {$plugin} - description: "{{int:bw-desc-statusnet-plugin-{$pluginlc}}}" namespace: NS_STATUSNET + description: "{{int:bw-desc-statusnet-plugin}}" + class: FileBasedMessageGroup display: out/statusnet/{$pluginlc} - class: GettextMessageGroup FILES: class: GettextFFS - sourcePattern: %GROUPROOT%/plugins/{$plugin}/locale/%CODE%/LC_MESSAGES/{$plugin}.po - targetPattern: plugins/{$plugin}/locale/%CODE%/LC_MESSAGES/{$plugin}.po + sourcePattern: %GROUPROOT%/statusnet/plugins/{$plugin}/locale/{$plugin}.pot + targetPattern: statusnet/plugins/{$plugin}/locale/%CODE%/LC_MESSAGES/{$plugin}.po codeMap: en-gb: en_GB no: nb