summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSiebrand Mazeland <s.mazeland@xs4all.nl>2010-08-13 22:21:33 +0200
committerSiebrand Mazeland <s.mazeland@xs4all.nl>2010-08-13 22:21:33 +0200
commitf60ee85f680edbce549331f897368319f44623f4 (patch)
treea7d95449035c623c0aca86555b565e4aec808a53
parent185f18024a208e0d981721e492a4ca54263e2520 (diff)
Update extension configuration file creation (doesn't work yet in translatewiki.net).
-rwxr-xr-xscripts/update_po_templates.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/update_po_templates.php b/scripts/update_po_templates.php
index af9ed8d20..f10f20842 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