Index: trunk/extensions/Translate/groups/Nocc/Nocc.yaml |
— | — | @@ -1,11 +1,25 @@ |
| 2 | +TEMPLATE: |
| 3 | + BASIC: |
| 4 | + namespace: NS_NOCC |
| 5 | + description: "{{int:bw-desc-nocc}}" |
| 6 | + class: FileBasedMessageGroup |
| 7 | + |
2 | 8 | BASIC: |
3 | | - id: out-nocc |
| 9 | + id: out-nocc-0-all |
4 | 10 | label: NOCC |
5 | | - namespace: NS_NOCC |
6 | | - class: FileBasedMessageGroup |
7 | | - description: "{{int:bw-desc-nocc}}" |
8 | 11 | display: out/nocc |
| 12 | + meta: yes |
| 13 | + class: AggregateMessageGroup |
9 | 14 | |
| 15 | +GROUPS: |
| 16 | + - out-nocc-* |
| 17 | + |
| 18 | +--- |
| 19 | +BASIC: |
| 20 | + id: out-nocc-core |
| 21 | + label: NOCC - Core |
| 22 | + display: out/nocc/core |
| 23 | + |
10 | 24 | FILES: |
11 | 25 | class: FlatPhpFFS |
12 | 26 | sourcePattern: %GROUPROOT%/nocc/webmail/lang/%CODE%.php |
— | — | @@ -42,3 +56,34 @@ |
43 | 57 | checks: |
44 | 58 | - printfCheck |
45 | 59 | - braceBalanceCheck |
| 60 | + |
| 61 | +--- |
| 62 | +BASIC: |
| 63 | + id: out-nocc-site |
| 64 | + label: NOCC - Site |
| 65 | + display: out/nocc/site |
| 66 | + |
| 67 | +FILES: |
| 68 | + class: GettextFFS |
| 69 | + definitionFile: %GROUPROOT%/nocc/htdocs/engine/languages/en.pot |
| 70 | + sourcePattern: %GROUPROOT%/nocc/htdocs/engine/languages/%CODE%.po |
| 71 | + targetPattern: nocc/htdocs/engine/languages/%CODE%.po |
| 72 | + codeMap: |
| 73 | + en-gb: en_GB |
| 74 | + en-us: en_US |
| 75 | + no: nb |
| 76 | + pt-br: pt_BR |
| 77 | + zh-hans: zh_CN |
| 78 | + zh-hant: zh_TW |
| 79 | + header: | |
| 80 | + # This file is part of NOCC <http://nocc.sf.net/> |
| 81 | + # Released under the "GNU General Public License" |
| 82 | + # |
| 83 | + # You should have received a copy of the GNU General Public License |
| 84 | + # along with NOCC. If not, see <http://www.gnu.org/licenses/>. |
| 85 | + # |
| 86 | + |
| 87 | +CHECKER: |
| 88 | + class: MessageChecker |
| 89 | + checks: |
| 90 | + - printfCheck |
Index: trunk/extensions/Translate/groups/Nocc/README |
— | — | @@ -0,0 +1,13 @@ |
| 2 | +== Setup ==
|
| 3 | + cd %GROUPROOT%
|
| 4 | + svn checkout http://nocc.svn.sourceforge.net/svnroot/nocc/trunk nocc
|
| 5 | +
|
| 6 | +Add to your LocalSettings.php:
|
| 7 | + wfAddNamespace( 1204, 'Nocc' );
|
| 8 | + $wgTranslateGroupFiles[] = "$IP/extensions/Translate/groups/Nocc/Nocc.yaml";
|
| 9 | +
|
| 10 | +== Export ==
|
| 11 | +* Required: connect access to the NOCC SourceForge project. Contact:
|
| 12 | + Tim Gerundt <tim AT gerundt DOT de>.
|
| 13 | +* php export.php --target=$EXPORTPATH --grouptrail=out-nocc- --skip=en --lang=* --threshold=35
|
| 14 | +* Download, diff and commit the export to the project.
|