#! /bin/sh
#
# @(#)getlangname	1.2	LPS_UNX_COM	2/19/95
#
# Copyright 1993   Digital Equipment Corporation, Maynard, MA
#
# getlangname
#
# Display the readable form of the given LPS front panel language tag
# on stdout.
#
# NOTE:  This function has a STRONG BINDING to the setLANGUAGE script.
#        If (and when) new languages are provided, both of these scripts
#        must be updated.
#
# Parameters:
#    $1 - Formal LPS language tag, eg: "eng", "spa", etc.
#
# Global variables:
#    -none-
#
# Exit values:
#    0 - Always.  If the language tag is not recognized, the tag value
#        is displayed (ie, pass-thru).
###

case "$1" in
    "dut" )  LANGNAME="Dutch"      ;;
    "eng" )  LANGNAME="English"    ;;
    "fre" )  LANGNAME="French"     ;;
    "ger" )  LANGNAME="German"     ;;
    "ita" )  LANGNAME="Italian"    ;;
    "nor" )  LANGNAME="Norwegian"  ;;
    "por" )  LANGNAME="Portuguese" ;;
    "spa" )  LANGNAME="Spanish"    ;;
    "swe" )  LANGNAME="Swedish"    ;;
       *  )  LANGNAME="$1"         ;;    # Default: use the given tag string
esac

echo "$LANGNAME"

exit 0
