~ubuntu-branches/ubuntu/vivid/installation-guide/vivid-proposed

« back to all changes in this revision

Viewing changes to scripts/revert_pot

  • Committer: Bazaar Package Importer
  • Author(s): Frans Pop
  • Date: 2005-10-25 17:37:25 UTC
  • Revision ID: james.westby@ubuntu.com-20051025173725-aq0bm11be7bfd7rw
Tags: 20051025
* Mention in copyright that full GPL is included in the manual.
  Closes: #334925
* Register installed documents with doc-base.
* Minor updates in English text and translations.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
 
 
3
# Reverts local changes in POT files.
 
4
# Translators are normally not supposed to commit any changes to POT
 
5
# files after they've run update_pot.
 
6
 
 
7
POTDIR="./po/pot"
 
8
 
 
9
[ -d $POTDIR ] || exit 1
 
10
 
 
11
echo "Reverting modified POT files (if any)..."
 
12
for POT in $(svn st $POTDIR | grep "^M" | sed "s/^M[[:space:]]*//"); do
 
13
    svn revert $POT
 
14
done
 
15
echo "done."