~ubuntu-branches/ubuntu/raring/codeblocks/raring-proposed

« back to all changes in this revision

Viewing changes to src/i18n/extract.bash

  • Committer: Bazaar Package Importer
  • Author(s): Cosme Domínguez Díaz
  • Date: 2010-08-09 04:38:38 UTC
  • mfrom: (1.1.1 upstream)
  • mto: This revision was merged to the branch mainline in revision 4.
  • Revision ID: james.westby@ubuntu.com-20100809043838-a59ygguym4eg0jgw
Tags: 10.05-0ubuntu1
* New upstream release. Closes (LP: #322350)
 - Switch to dpkg-source 3.0 (quilt) format
 - Remove unneeded README.source
 - Add debian/get-source-orig script that removes all
   Windows prebuilt binaries
* Bump Standards-Version to 3.9.1
 - Stop shipping *.la files
* debian/control
 - Add cdbs package as Build-Depend
 - Add libbz2-dev and zlib1g-dev packages as
   Build-Depends (needed by libhelp_plugin.so)
 - Remove dpatch package of Build-Depends
 - Add codeblocks-contrib-debug package
 - Split architecture-independent files of codeblocks
   package in codeblocks-common package
* debian/rules
 - Switch to CDBS rules system
 - Add parallel build support
 - Add a call to debian/get-source-orig script
 - Use lzma compression (saves 23,5 MB of free space)
* debian/patches
 - Refresh 01_codeblocks_plugin_path
 - Add 02_no_Makefiles_in_debian_dir to remove any link
   in codeblocks build system to deleted Makefiles of debian directory
 - Drop 02_ftbfs_gcc44 and 03_ftbfs_glib221 (merged in upstream)
* debian/watch
 - Update to use the new host (berlios.de)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
echo "creating core .pot files"
2
 
find ../sdk ../src                      |grep -P "(\.cpp|\.h)$" |xargs xgettext --keyword=_ -o codeblocks.pot
3
 
find ../plugins |grep -v contrib        |grep -P "(\.cpp|\.h)$" |xargs xgettext --keyword=_ -o coreplugins.pot
4
 
 
5
 
echo "creating contrib .pot files"
6
 
find ../plugins/contrib/codestat        |grep -P "(\.cpp|\.h)$" |xargs xgettext --keyword=_ -o  codestat.pot
7
 
find ../plugins/contrib/byogames        |grep -P "(\.cpp|\.h)$" |xargs xgettext --keyword=_ -o  byogames.pot
8
 
find ../plugins/contrib/cb_koders       |grep -P "(\.cpp|\.h)$" |xargs xgettext --keyword=_ -o  cb_koders.pot
9
 
find ../plugins/contrib/codesnippets    |grep -P "(\.cpp|\.h)$" |xargs xgettext --keyword=_ -o  codesnippets.pot
10
 
find ../plugins/contrib/copystrings     |grep -P "(\.cpp|\.h)$" |xargs xgettext --keyword=_ -o  copystrings.pot
11
 
find ../plugins/contrib/devpak_plugin   |grep -P "(\.cpp|\.h)$" |xargs xgettext --keyword=_ -o  devpak_plugin.pot
12
 
find ../plugins/contrib/dragscroll      |grep -P "(\.cpp|\.h)$" |xargs xgettext --keyword=_ -o  dragscroll.pot
13
 
find ../plugins/contrib/source_exporter |grep -P "(\.cpp|\.h)$" |xargs xgettext --keyword=_ -o  source_exporter.pot
14
 
find ../plugins/contrib/help_plugin     |grep -P "(\.cpp|\.h)$" |xargs xgettext --keyword=_ -o  help_plugin.pot
15
 
find ../plugins/contrib/keybinder       |grep -P "(\.cpp|\.h)$" |xargs xgettext --keyword=_ -o  keybinder.pot
16
 
find ../plugins/contrib/profiler        |grep -P "(\.cpp|\.h)$" |xargs xgettext --keyword=_ -o  profiler.pot
17
 
find ../plugins/contrib/wxSmith         |grep -P "(\.cpp|\.h)$" |xargs xgettext --keyword=_ -o  wxsmith.pot
18
 
 
19
 
 
20
 
echo "running msginit"
21
 
 
22
 
for LANG in de fr it es cs da nl ga hu pl ru sk jp tr
23
 
do
24
 
mkdir $LANG
25
 
for POT in *.pot
26
 
do
27
 
 
28
 
# Windows hack: use cmd /C mkdir because the UnxUtils mkdir does nothing when run from bash...
29
 
#       test -d $LANG || mkdir $LANG
30
 
        test -d $LANG || cmd /C mkdir $LANG
31
 
 
32
 
        msginit -i $POT -o $LANG/$POT -l $LANG
33
 
done
34
 
 
35
 
done
36
 
 
37