~ubuntu-branches/ubuntu/saucy/edubuntu-docs/saucy

« back to all changes in this revision

Viewing changes to edubuntu/get_pot.sh

  • Committer: Bazaar Package Importer
  • Author(s): Jordan Mantha
  • Date: 2008-03-25 22:22:37 UTC
  • Revision ID: james.westby@ubuntu.com-20080325222237-nlv1iiih1tarfzxk
Tags: 8.03.1
* First Hardy upload (Closes LP: #197138)
* Not shipping Edubuntu Handbook for Hardy
* Only install image files for About Edubuntu
* Added in translations for About Edubuntu and .desktop
* Refreshed .pots
* Bump standards version to 3.7.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
 
 
3
####################################################################################           
 
4
# Copyright (C) 2005-2006 Ubuntu Documentation Project (ubuntu-doc@lists.ubuntu.com)
 
5
#    This program is free software; you can redistribute it and/or modify
 
6
#    it under the terms of the GNU General Public License as published by
 
7
#    the Free Software Foundation; either version 2 of the License, or
 
8
#    (at your option) any later version. 
 
9
#
 
10
#    This program is distributed in the hope that it will be useful,
 
11
#    but WITHOUT ANY WARRANTY; without even the implied warranty of
 
12
#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
13
#    GNU General Public License for more details.
 
14
#
 
15
#    You should have received a copy of the GNU General Public License
 
16
#    along with this program; if not, write to the Free Software
 
17
#    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
18
#    On Debian based systems a copy of the GPL can be found 
 
19
#    at /usr/share/common-licenses/GPL
 
20
####################################################################################
 
21
 
 
22
# We have some different groups of documentation for the purposes of making
 
23
# the pot files
 
24
 
 
25
# Group one - those with an omf file
 
26
for x in about-edubuntu handbook SchoolAdvocacy; do
 
27
        echo ${x}
 
28
        xml2po -e -o ${x}/${x}.pot ${x}/C/*.xml ${x}/C/*-C.omf
 
29
done
 
30
 
 
31
# Group two - those without an omf file
 
32
#for y in administrative basic-commands desktop-effects games office programming windows; do
 
33
#       echo ${y}
 
34
#       xml2po -e -o ${y}/${y}.pot ${y}/C/*.xml
 
35
#done