build_pos 1.12 KB
Newer Older
1 2 3 4 5 6 7 8
#! /usr/bin/env php
<?php

// Generate translation templates from source code.
// Compare them with the current versions in trunk;
// if they differ, send email telling us to validate and commit
// the new versions.

9
$emails = "davea@ssl.berkeley.edu";
10 11
$tdir = "locale/templates";

12
system("cd doc; ./build_po.php");
13 14
system("tools/compare_pot doc/BOINC-Web.pot $tdir/BOINC-Web.pot $emails");

15
system("cd html/ops; ./build_po_boinc.php");
16 17
system("tools/compare_pot html/ops/BOINC-Project-Generic.pot $tdir/BOINC-Project-Generic.pot $emails");

18
system("cd client; ./build_po");
19 20
system("tools/compare_pot client/BOINC-Client.pot $tdir/BOINC-Client.pot $emails");

21
system("cd clientgui; ./build_po");
22 23
system("tools/compare_pot clientgui/BOINC-Manager.pot $tdir/BOINC-Manager.pot $emails");

24
system("cd mac_installer; ./build_po");
25 26
system("tools/compare_pot mac_installer/BOINC-Setup.pot $tdir/BOINC-Setup.pot $emails");

27 28
//system("cd android; a2po export -v");
//system("tools/compare_pot android/BOINC-Android.pot $tdir/BOINC-Android.pot $emails");
29

David Anderson's avatar
David Anderson committed
30 31
// generate translations for BOINC web site
//
32
system("cd doc; ./update_translations.php");
David Anderson's avatar
David Anderson committed
33

34
?>