Commit 11bb60d4 authored by Christian Beer's avatar Christian Beer

Locale: permanently move web translations

This removes the kludge to copy files to the new place, keeping an unneeded copy in the repository. Now the transifex client puts them directly in the right directory.
parent 289a95c7
......@@ -27,7 +27,7 @@ source_lang = en
type = PO
[boinc.project-generic]
file_filter = locale/<lang>/BOINC-Project-Generic.po
file_filter = html/languages/translations/<lang>.po
source_file = locale/templates/BOINC-Project-Generic.pot
source_lang = en
type = PO
......
......@@ -6,7 +6,7 @@
// if they differ, send email telling us to validate and commit
// the new versions.
$emails = "davea@ssl.berkeley.edu rwalton@ssl.berkeley.edu";
$emails = "davea@ssl.berkeley.edu";
$tdir = "locale/templates";
system("cd doc; ./build_po.php");
......@@ -31,7 +31,4 @@ system("tools/compare_pot mac_installer/BOINC-Setup.pot $tdir/BOINC-Setup.pot $e
//
system("cd doc; ./update_translations.php");
// copy generic web files to html/translations
//
system("cd locale; ./copy_files.php");
?>
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
#!/usr/bin/env php
<?php
// copy project-web-site translation files from new to old location.
// This is a kludge, but the simplest thing to do at this point
$d = opendir(".");
while ($f = readdir($d)) {
if ($f == '.') continue;
if ($f == '..') continue;
if ($f == 'templates') continue;
$x = $f."/BOINC-Project-Generic.po";
if (file_exists($x)) {
$cmd = "cp $x ../html/languages/translations/$f.po";
system($cmd);
}
}
?>
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment