fldigi/po/remove-potcdate.sin
Stelios Bounanos c3814bc1a4 Add NLS support
Merge patch by Stephane Fillod <fillods@users.sourceforge.net>:

* gettextsize fldigi
* add initial French translation

Minor additional changes by me (sb):

* Remove bundled intl and associated m4 macros and compiler flags
* Move new m4 macros to m4/intl
* Move gettext.h to src/include and add to src/Makefile.am
* Modify setup_nls():
  * Search for message catalogs in $PWD/locale and
    $FLDIGI_LOCALE_DIR/locale, in addition to LOCALEDIR
  * Do not call setlocale() for LC_NUMERIC, as this can break the
    configuration read/write routines when handling floating point
    numbers in locales that use a comma as the decimal point
  * Fix static initialisation
* Add INTL_LIBS and INTL_CFLAGS configure variables that can be used
  to override AM_GNU_GETTEXT
* Update po/Makevars
* Update po files
* Remove po/Makefile.in and po/remove-potcdate.sed
2008-12-04 16:11:21 +00:00

19 lines
432 B
Text

# Sed script that remove the POT-Creation-Date line in the header entry
# from a POT file.
#
# The distinction between the first and the following occurrences of the
# pattern is achieved by looking at the hold space.
/^"POT-Creation-Date: .*"$/{
x
# Test if the hold space is empty.
s/P/P/
ta
# Yes it was empty. First occurrence. Remove the line.
g
d
bb
:a
# The hold space was nonempty. Following occurrences. Do nothing.
x
:b
}