File: MakeTranslations.sh

package info (click to toggle)
mp3diags 1.5.01-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 21,120 kB
  • sloc: cpp: 34,487; sh: 316; makefile: 101; xml: 97; python: 14
file content (24 lines) | stat: -rwxr-xr-x 445 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/bin/bash
#


if [[ "$#" != "0" ]]; then
    echo "Usage: `basename $0`"
    echo ""
    exit
fi

LRelease=lrelease-qt5

# if [ -f /etc/fedora-release ] ; then
#     LRelease=lrelease-qt4
# fi


#lupdate mp3diags.pro
#lrelease src/src.pro
$LRelease src/translations/mp3diags_*.ts

if [[ "$?" != "0" ]] ; then
    echo -e "\nThere was an error trying to build the translations. This shouldn't impact other parts of the build process.\n" >&2
fi