summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorEvan Prodromou <evan@status.net>2010-08-13 14:51:51 -0700
committerEvan Prodromou <evan@status.net>2010-08-13 14:51:51 -0700
commit1dadb8efc04cbb807b2cd8b6291f7c2f64a631dc (patch)
treea35027e95a6b0900195dc3bb4ca4fef1c00b2f5a /scripts
parent718317542940a8976f2c6f2a9ea09a04f2f00ca6 (diff)
parent926c77246bb168097b3f937b5cc22ee9721b83c9 (diff)
Merge branch '0.9.x' into 1.0.x
Diffstat (limited to 'scripts')
-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