1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-21 14:50:08 +03:00

Self-Service: include copyright when generating translation template

(cherry picked from commit 067204434dec74ed3d4d4afb7b21db810734597e)
This commit is contained in:
Hector Sanjuan 2012-07-06 12:23:55 +02:00 committed by Ruben S. Montero
parent 7cfbf651e6
commit 96a5e49bfc
2 changed files with 7 additions and 4 deletions

View File

@ -16,10 +16,13 @@
# limitations under the License. #
#--------------------------------------------------------------------------- #
COPYRIGHT_HOLDER="2002-2012, OpenNebula Project Leads (OpenNebula.org)"
PACKAGE_NAME="OpenNebula"
find ../public/js -name \*.js > file_list.txt
echo "../../../../../sunstone/public/js/sunstone.js" >> file_list.txt
echo "../../../../../sunstone/public/js/sunstone-util.js" >> file_list.txt
echo "../public/customize/custom.js" >> file_list.txt
xgettext --from-code=utf-8 --no-wrap --keyword=tr -L python -f file_list.txt -p .
xgettext --from-code=utf-8 --copyright-holder="$COPYRIGHT_HOLDER" --package-name="$PACKAGE_NAME" --no-wrap --keyword=tr -L python -f file_list.txt -p .
mv messages.po messages.pot
rm file_list.txt

View File

@ -1,14 +1,14 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# Copyright (C) YEAR 2002-2012, OpenNebula Project Leads (OpenNebula.org)
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Project-Id-Version: OpenNebula\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2012-07-06 10:30+0200\n"
"POT-Creation-Date: 2012-07-06 12:23+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"