Index: trunk/translatewiki/OpenStreetMap/Potlatch2.yaml |
— | — | @@ -0,0 +1,60 @@ |
| 2 | +TEMPLATE: |
| 3 | + BASIC: |
| 4 | + namespace: NS_OSM |
| 5 | + description: "{{int:translate-group-desc-potlatch2}}" |
| 6 | + class: FileBasedMessageGroup |
| 7 | + |
| 8 | + FILES: |
| 9 | + class: JavaFFS |
| 10 | + codeMap: |
| 11 | + en: en_US |
| 12 | + cs: cs_CZ |
| 13 | + de: de_DE |
| 14 | + en-gb: en_GB |
| 15 | + es: es_ES |
| 16 | + fr: fr_FR |
| 17 | + it: it_IT |
| 18 | + ja: ja_JP |
| 19 | + nb: nb_NO |
| 20 | + nl: nl_NL |
| 21 | + nl-be: nl_BE |
| 22 | + nn: nn_NO |
| 23 | + pl: pl_PL |
| 24 | + sv: sv_SE |
| 25 | + pt: pt_PT |
| 26 | + pt-br: pt_BR |
| 27 | + zh-hans: zh_CN |
| 28 | + zh-hant: zh_TW |
| 29 | + |
| 30 | + MANGLER: |
| 31 | + class: StringMatcher |
| 32 | + patterns: |
| 33 | + - "*" |
| 34 | + |
| 35 | +--- |
| 36 | +BASIC: |
| 37 | + id: out-potlatch2-help |
| 38 | + label: Potlatch2 - Help |
| 39 | + display: out/osm/potlatch2/help |
| 40 | + |
| 41 | +FILES: |
| 42 | + sourcePattern: %GROUPROOT%/potlatch2/l10n/locale/%CODE%/help_dialog.properties |
| 43 | + definitionFile: %GROUPROOT%/potlatch2/l10n/locale/%CODE%/help_dialog.properties |
| 44 | + targetPattern: potlatch2/l10n/locale/%CODE%/help_dialog.properties |
| 45 | + |
| 46 | +MANGLER: |
| 47 | + prefix: help- |
| 48 | + |
| 49 | +--- |
| 50 | +BASIC: |
| 51 | + id: out-potlatch2-help |
| 52 | + label: Potlatch2 - Main |
| 53 | + display: out/osm/potlatch2/main |
| 54 | + |
| 55 | +FILES: |
| 56 | + sourcePattern: %GROUPROOT%/potlatch2/l10n/locale/%CODE%/p2_main.properties |
| 57 | + definitionFile: %GROUPROOT%/potlatch2/l10n/locale/%CODE%/p2_main.properties |
| 58 | + targetPattern: potlatch2/l10n/locale/%CODE%/p2_main.properties |
| 59 | + |
| 60 | +MANGLER: |
| 61 | + prefix: main- |
Property changes on: trunk/translatewiki/OpenStreetMap/Potlatch2.yaml |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 62 | + native |
Added: svn:keywords |
2 | 63 | + Id |
Index: trunk/translatewiki/OpenStreetMap/README |
— | — | @@ -1,25 +1,19 @@ |
2 | 2 | # Read-only repository setup |
3 | 3 | cd %GROUPROOT% |
4 | 4 | git clone git://git.openstreetmap.org/rails.git osm |
| 5 | +git clone git://github.com/systemed/potlatch2.git potlatch2 |
5 | 6 | |
6 | 7 | # Commits |
7 | 8 | * Execute on shell: "bxa osm". |
8 | | -* This will write all languages with 30%+ for the site and Potlatch to ~/export/ |
| 9 | +* This will write all languages with 35%+ for the site and Potlatch2 to ~/export/ |
9 | 10 | * download exports |
10 | | -* diff |
11 | | -* commit |
| 11 | +* diff for QA purposes |
| 12 | +* commit to the respective repositories |
12 | 13 | |
13 | 14 | # Documentation - partial /home/betawiki/bin/bxa: |
14 | 15 | # Export all OpenStreetMap groups in proper structure |
15 | 16 | if [ $1 = 'osm' ]; then |
16 | | - echo "Exporting OpenStreetMap potlatch and site with 30%+" |
17 | | - echo "Creating export folders..." |
18 | | - mkdir -p $HOME/export/config/potlatch/locales |
19 | | - mkdir -p $HOME/export/config/locales |
20 | | - echo "Exporting potlatch..." |
21 | | - php export.php --target=$HOME/export/potlatch --group=out-osm-potlatch --lang=* --threshold=30 |
22 | | - echo "Exporting site..." |
23 | | - php export.php --target=$HOME/export/site --group=out-osm-site --lang=* --threshold=30 |
24 | | - rm -rf $HOME/export/config/potlatch/locales/en.yml $HOME/export/config/locales/en.yml $HOME/export/config/potlatch/locales/qqq.yml $HOME/export/config/locales/qqq.yml |
| 17 | + echo "Exporting OpenStreetMap potlatch and site with 35%+" |
| 18 | + php export.php --target=$EXPORTPATH --groupprefix=out-osm- --lang='*' --skip=en,qqq --threshold=35 |
25 | 19 | exit; |
26 | 20 | fi |