#!/bin/sh

echo -e "\
/* this is a placeholder so that xgettext can find the translatable
 * strings. This file is automatically generated, look at
 * ./create_placeholder
 */
char *foobar[] = {
/* This is a list of chars acceptable as a 'yes' answer to a Yes/No question;
   you can put here the letters for 'yes' for your language, so people 
   can hit those keys in their keyboard to reply.
   please keep the 'Yy' for compatibility reasons
 */
	N_(\"Yy\"),
/* This is a list of chars acceptable as a 'no' answer to a Yes/No question;
   you can put here the letters for 'no' for your language, so people 
   can hit those keys in their keyboard to reply.
   please keep the 'Nn' for compatibility reasons
 */
	N_(\"Nn\"), " > placeholder.h.$$

echo "};" >> placeholder.h.$$

# diff returns true if files are equal
if ! diff placeholder.h.$$ placeholder.h > /dev/null 2> /dev/null
then
	cat placeholder.h.$$ > placeholder.h
fi
rm -f placeholder.h.$$