Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: fa3910fa63
Fetching contributors…

Cannot retrieve contributors at this time

executable file 28 lines (23 sloc) 0.651 kb
#!/bin/bash
# Guess the target application if we aren't supplied one
if [ $# == 1 ]; then
targetapp=$1
else
targetapp=$(basename $(pwd))
echo "Guessing application name is \"${targetapp}\""
fi
share=share/$targetapp
desktop=share/applications/$targetapp.desktop
mimetype=share/mime/packages/$targetapp-mimetype.xml
cache="po/.intltool-merge-cache"
rm -f $cache
if [ -d po ]; then
if [ -f ${mimetype}.in ]; then
intltool-merge --xml-style --cache $cache po ${mimetype}.in $mimetype
fi
if [ -f ${desktop}.in ]; then
intltool-merge --desktop-style --cache $cache po ${desktop}.in $desktop
fi
else
echo "$0: No translation directory"
fi
Jump to Line
Something went wrong with that request. Please try again.