"Fossies" - the Fresh Open Source Software Archive

Member "MP3Diags-unstable-1.5.01/MakeTranslations.sh" (6 Apr 2019, 445 Bytes) of package /linux/privat/MP3Diags-unstable-1.5.01.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Bash source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the latest Fossies "Diffs" side-by-side code changes report for "MakeTranslations.sh": 1.3.04_vs_1.5.01.

    1 #!/bin/bash
    2 #
    3 
    4 
    5 if [[ "$#" != "0" ]]; then
    6     echo "Usage: `basename $0`"
    7     echo ""
    8     exit
    9 fi
   10 
   11 LRelease=lrelease-qt5
   12 
   13 # if [ -f /etc/fedora-release ] ; then
   14 #     LRelease=lrelease-qt4
   15 # fi
   16 
   17 
   18 #lupdate mp3diags.pro
   19 #lrelease src/src.pro
   20 $LRelease src/translations/mp3diags_*.ts
   21 
   22 if [[ "$?" != "0" ]] ; then
   23     echo -e "\nThere was an error trying to build the translations. This shouldn't impact other parts of the build process.\n" >&2
   24 fi