Parent Directory
|
Revision Log
Add script to revert local changes in POT files
| 1 | fjpop-guest | 26053 | #!/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." |
| Name | Value |
|---|---|
| svn:executable | * |
| ViewVC Help | |
| Powered by ViewVC 1.1.5 |