diff --git a/addons/base/po/base.pot b/addons/base/po/base.pot index 84f7ebfe6db..e6fc85cfa0a 100644 --- a/addons/base/po/base.pot +++ b/addons/base/po/base.pot @@ -8,14 +8,14 @@ msgid "" msgstr "" "Project-Id-Version: PROJECT VERSION\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2011-08-16 09:44+0200\n" +"POT-Creation-Date: 2011-08-16 15:47+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"Generated-By: Babel 0.9.4\n" +"Generated-By: Babel 0.9.6\n" #: addons/base/static/src/js/form.js:1459 msgid "   Search More..." diff --git a/addons/base_calendar/po/base_calendar.pot b/addons/base_calendar/po/base_calendar.pot new file mode 100644 index 00000000000..5e81313e02c --- /dev/null +++ b/addons/base_calendar/po/base_calendar.pot @@ -0,0 +1,19 @@ +# Translations template for PROJECT. +# Copyright (C) 2011 ORGANIZATION +# This file is distributed under the same license as the PROJECT project. +# FIRST AUTHOR , 2011. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PROJECT VERSION\n" +"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" +"POT-Creation-Date: 2011-08-16 15:47+0200\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 0.9.6\n" + diff --git a/addons/base_dashboard/po/base_dashboard.pot b/addons/base_dashboard/po/base_dashboard.pot new file mode 100644 index 00000000000..5e81313e02c --- /dev/null +++ b/addons/base_dashboard/po/base_dashboard.pot @@ -0,0 +1,19 @@ +# Translations template for PROJECT. +# Copyright (C) 2011 ORGANIZATION +# This file is distributed under the same license as the PROJECT project. +# FIRST AUTHOR , 2011. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PROJECT VERSION\n" +"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" +"POT-Creation-Date: 2011-08-16 15:47+0200\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 0.9.6\n" + diff --git a/addons/base_default_home/po/base_default_home.pot b/addons/base_default_home/po/base_default_home.pot new file mode 100644 index 00000000000..5e81313e02c --- /dev/null +++ b/addons/base_default_home/po/base_default_home.pot @@ -0,0 +1,19 @@ +# Translations template for PROJECT. +# Copyright (C) 2011 ORGANIZATION +# This file is distributed under the same license as the PROJECT project. +# FIRST AUTHOR , 2011. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PROJECT VERSION\n" +"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" +"POT-Creation-Date: 2011-08-16 15:47+0200\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 0.9.6\n" + diff --git a/addons/base_diagram/po/base_diagram.pot b/addons/base_diagram/po/base_diagram.pot new file mode 100644 index 00000000000..5e81313e02c --- /dev/null +++ b/addons/base_diagram/po/base_diagram.pot @@ -0,0 +1,19 @@ +# Translations template for PROJECT. +# Copyright (C) 2011 ORGANIZATION +# This file is distributed under the same license as the PROJECT project. +# FIRST AUTHOR , 2011. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PROJECT VERSION\n" +"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" +"POT-Creation-Date: 2011-08-16 15:47+0200\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 0.9.6\n" + diff --git a/addons/base_gantt/po/base_gantt.pot b/addons/base_gantt/po/base_gantt.pot new file mode 100644 index 00000000000..5e81313e02c --- /dev/null +++ b/addons/base_gantt/po/base_gantt.pot @@ -0,0 +1,19 @@ +# Translations template for PROJECT. +# Copyright (C) 2011 ORGANIZATION +# This file is distributed under the same license as the PROJECT project. +# FIRST AUTHOR , 2011. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PROJECT VERSION\n" +"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" +"POT-Creation-Date: 2011-08-16 15:47+0200\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 0.9.6\n" + diff --git a/addons/base_graph/po/base_graph.pot b/addons/base_graph/po/base_graph.pot new file mode 100644 index 00000000000..5e81313e02c --- /dev/null +++ b/addons/base_graph/po/base_graph.pot @@ -0,0 +1,19 @@ +# Translations template for PROJECT. +# Copyright (C) 2011 ORGANIZATION +# This file is distributed under the same license as the PROJECT project. +# FIRST AUTHOR , 2011. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PROJECT VERSION\n" +"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" +"POT-Creation-Date: 2011-08-16 15:47+0200\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 0.9.6\n" + diff --git a/addons/base_hello/po/base_hello.pot b/addons/base_hello/po/base_hello.pot new file mode 100644 index 00000000000..5e81313e02c --- /dev/null +++ b/addons/base_hello/po/base_hello.pot @@ -0,0 +1,19 @@ +# Translations template for PROJECT. +# Copyright (C) 2011 ORGANIZATION +# This file is distributed under the same license as the PROJECT project. +# FIRST AUTHOR , 2011. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PROJECT VERSION\n" +"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" +"POT-Creation-Date: 2011-08-16 15:47+0200\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 0.9.6\n" + diff --git a/addons/web_chat/po/web_chat.pot b/addons/web_chat/po/web_chat.pot new file mode 100644 index 00000000000..5e81313e02c --- /dev/null +++ b/addons/web_chat/po/web_chat.pot @@ -0,0 +1,19 @@ +# Translations template for PROJECT. +# Copyright (C) 2011 ORGANIZATION +# This file is distributed under the same license as the PROJECT project. +# FIRST AUTHOR , 2011. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PROJECT VERSION\n" +"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" +"POT-Creation-Date: 2011-08-16 15:47+0200\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 0.9.6\n" + diff --git a/addons/web_mobile/po/web_mobile.pot b/addons/web_mobile/po/web_mobile.pot new file mode 100644 index 00000000000..5e81313e02c --- /dev/null +++ b/addons/web_mobile/po/web_mobile.pot @@ -0,0 +1,19 @@ +# Translations template for PROJECT. +# Copyright (C) 2011 ORGANIZATION +# This file is distributed under the same license as the PROJECT project. +# FIRST AUTHOR , 2011. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PROJECT VERSION\n" +"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" +"POT-Creation-Date: 2011-08-16 15:47+0200\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 0.9.6\n" + diff --git a/babel.cfg b/babel.cfg index c8542bbdf80..c8899df863f 100644 --- a/babel.cfg +++ b/babel.cfg @@ -1,6 +1,6 @@ [extractors] qweb = npybabel:extract_qweb -[javascript: **.js] -[qweb: **.xml] +[javascript: static/src/js/**.js] +[qweb: static/src/xml/**.xml] diff --git a/gen_translations.sh b/gen_translations.sh index 7d5ec68b82a..364503e6793 100755 --- a/gen_translations.sh +++ b/gen_translations.sh @@ -1,7 +1,6 @@ #!/bin/sh -usage() -{ +usage() { cat << EOF usage: $0 -a usage: $0 DIR OUTPUT_FILE @@ -32,7 +31,20 @@ shift $((OPTIND-1)) if [ -n "$do_all" ] then echo "Extracting all the translations" - $0 addons/base/static/src/ addons/base/po/base.pot + executable=$0 + extract_module() { + $executable addons/$1 addons/$1/po/$1.pot + } + extract_module base + extract_module base_calendar + extract_module base_dashboard + extract_module base_default_home + extract_module base_diagram + extract_module base_gantt + extract_module base_graph + extract_module base_hello + extract_module web_chat + extract_module web_mobile elif [ -n "$2" ] then ./npybabel.py extract -F babel.cfg -o $2 -k _t --no-default-keywords $1