]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Update extension configuration file creation (doesn't work yet in translatewiki.net).
authorSiebrand Mazeland <s.mazeland@xs4all.nl>
Fri, 13 Aug 2010 20:21:33 +0000 (22:21 +0200)
committerSiebrand Mazeland <s.mazeland@xs4all.nl>
Fri, 13 Aug 2010 20:21:33 +0000 (22:21 +0200)
scripts/update_po_templates.php

index af9ed8d208aab46b00309d1097522899cd4e430a..f10f2084244985ca4dcf8168cfe987365855cdf7 100755 (executable)
@@ -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