From c2710be9f944b731bd007c9e59b1026107008a80 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Fri, 1 May 2009 17:05:12 +0000 Subject: [PATCH] - removed outdated translation files; updated template svn path=/trunk/boinc/; revision=17962 --- checkin_notes | 3 + doc/build_po.php | 46 ++ doc/index.php | 1 + languages/translations/ar.po | 835 -------------------- languages/translations/be.po | 847 -------------------- languages/translations/bg.po | 589 -------------- languages/translations/ca.po | 482 ------------ languages/translations/cs.po | 419 ---------- languages/translations/de.po | 804 ------------------- languages/translations/fr.po | 805 ------------------- languages/translations/it.po | 636 --------------- languages/translations/ja.po | 1300 ------------------------------- languages/translations/ja_JP.po | 1300 ------------------------------- languages/translations/lt.po | 637 --------------- languages/translations/pl.po | 468 ----------- languages/translations/pt_BR.po | 526 ------------- languages/translations/ru.po | 856 -------------------- languages/translations/sk.po | 596 -------------- languages/translations/tr.po | 605 -------------- languages/translations/zh-TW.po | 636 --------------- languages/translations/zh_CN.po | 428 ---------- locale/templates/BOINC-Web.pot | 35 +- sched/trickle_handler.cpp | 16 +- 23 files changed, 86 insertions(+), 12784 deletions(-) create mode 100755 doc/build_po.php delete mode 100644 languages/translations/ar.po delete mode 100644 languages/translations/be.po delete mode 100644 languages/translations/bg.po delete mode 100644 languages/translations/ca.po delete mode 100644 languages/translations/cs.po delete mode 100644 languages/translations/de.po delete mode 100644 languages/translations/fr.po delete mode 100644 languages/translations/it.po delete mode 100644 languages/translations/ja.po delete mode 100644 languages/translations/ja_JP.po delete mode 100644 languages/translations/lt.po delete mode 100644 languages/translations/pl.po delete mode 100644 languages/translations/pt_BR.po delete mode 100644 languages/translations/ru.po delete mode 100644 languages/translations/sk.po delete mode 100644 languages/translations/tr.po delete mode 100644 languages/translations/zh-TW.po delete mode 100644 languages/translations/zh_CN.po diff --git a/checkin_notes b/checkin_notes index b105fe8608..b1e6eaeb71 100644 --- a/checkin_notes +++ b/checkin_notes @@ -4257,3 +4257,6 @@ Rom 30 Apr 2009 ViewStatistics.cpp ViewTransfers.cpp ViewWork.cpp + +David 1 May 2009 + - removed outdated translation files; updated template diff --git a/doc/build_po.php b/doc/build_po.php new file mode 100755 index 0000000000..406e5b9c5f --- /dev/null +++ b/doc/build_po.php @@ -0,0 +1,46 @@ +#!/usr/bin/php +\\n" +"POT-Creation-Date: $date\\n" +"Last-Translator: Generated automatically from source files\\n" +"MIME-Version: 1.0\\n" +"Content-Type: text/plain; charset=utf-8\\n" +"Content-Transfer-Encoding: 8bit\\n" +"X-Poedit-SourceCharset: utf-8\\n" + +HDR; + +$out = fopen("BOINC-Web.pot", "w"); +fwrite($out, $header); +$pipe = popen("xgettext --omit-header -o - --keyword=tra -L PHP --no-location $path/*.inc $path/*.php", "r"); +stream_copy_to_stream($pipe, $out); +fclose($pipe); +fclose($out); + +// msgen duplicates everything. +// Don't need this. Just rename to en.po + +//system("msgen -o $path/html/languages/translations/en.po $path/html/languages/translations/web.pot"); + +echo "Created BOINC-Web.pot. Move it to ../locale/templates\n"; +?> diff --git a/doc/index.php b/doc/index.php index 751cb9802f..4694c683c1 100644 --- a/doc/index.php +++ b/doc/index.php @@ -213,6 +213,7 @@ function language_form() {