• Home
  • History
  • Annotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/gettext-0.17/gettext-tools/examples/hello-sh/
1#!/bin/sh
2# Example for use of GNU gettext.
3# This file is in the public domain.
4#
5# Source code of the POSIX sh program.
6
7. gettext.sh
8
9TEXTDOMAIN=hello-sh
10export TEXTDOMAIN
11TEXTDOMAINDIR='@localedir@'
12export TEXTDOMAINDIR
13
14gettext "Hello, world!"; echo
15
16pid=$$
17eval_gettext "This program is running as process number \$pid."; echo
18