r70327 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r70326‎ | r70327 | r70328 >
Date:10:48, 2 August 2010
Author:siebrand
Status:resolved (Comments)
Tags:
Comment:
Add config files for Commonist
Modified paths:
  • /trunk/extensions/Translate/groups/Commonist (added) (history)
  • /trunk/extensions/Translate/groups/Commonist/Commonist.yml (added) (history)
  • /trunk/extensions/Translate/groups/Commonist/README (added) (history)

Diff [purge]

Index: trunk/extensions/Translate/groups/Commonist/Commonist.yml
@@ -0,0 +1,18 @@
 2+---
 3+BASIC:
 4+ id: out-commonist
 5+ label: Commonist
 6+ description: "{{int:bw-desc-commonist}}"
 7+ namespace: NS_COMMONIST
 8+ display: out/commonist/
 9+ class: FileBasedMessageGroup
 10+
 11+FILES:
 12+ class: JavaFFS
 13+ sourcePattern: %GROUPROOT%/commonist/messages_%CODE%.properties
 14+ definitionFile: %GROUPROOT%/commonist/messages_%CODE%.properties
 15+ targetPattern: commonist/messages_%CODE%.properties
 16+
 17+TAGS:
 18+ ignored:
 19+ - image.status.none
Property changes on: trunk/extensions/Translate/groups/Commonist/Commonist.yml
___________________________________________________________________
Added: svn:keywords
120 + Id
Added: svn:eol-style
221 + native
Index: trunk/extensions/Translate/groups/Commonist/README
@@ -0,0 +1,11 @@
 2+Check out read-only copy:
 3+cd $HOME/projects/
 4+svn co svn co http://svn.wikimedia.org/svnroot/mediawiki/trunk/tools/commonist/etc commonist
 5+
 6+To export:
 7+php export.php --target=$HOME/export --group=out-commonist --lang=*
 8+
 9+Then copy, diff and commit.
 10+
 11+TODO:
 12+* cannot be supported until product supports UTF-8 in L10n files.

Comments

#Comment by Platonides (talk | contribs)   23:35, 2 August 2010
#Comment by Siebrand (talk | contribs)   07:34, 3 August 2010

No, because for Translate only the L10n files are relevant, and those are in etc/. There is a double 'svn co svn co' I will fix, though.

#Comment by Platonides (talk | contribs)   13:40, 3 August 2010

Oh, you're right.

You may want to do.

-Check out read-only copy:
+Check out a read-only copy of commonist localization files:


#Comment by Siebrand (talk | contribs)   13:44, 3 August 2010

Are you sure you didn't cheat? :) -> r70382

#Comment by Platonides (talk | contribs)   13:54, 3 August 2010

Yes, I checked the link to the README on the top. But that of course contains the pathrev, not trunk one.

This is the speed I like on fixing bugs :)

Status & tagging log