2001-11-28 16:17:51 -06:00
|
|
|
/********************************************************************\
|
|
|
|
* File: core-utils.c
|
|
|
|
*
|
|
|
|
* Copyright (C) 2001 Linux Developers Group
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU General Public License as
|
|
|
|
* published by the Free Software Foundation; either version 2 of the
|
|
|
|
* License, or (at your option) any later version.
|
2009-12-29 14:12:48 -06:00
|
|
|
*
|
2001-11-28 16:17:51 -06:00
|
|
|
* This program is distributed in the hope that it will be useful, but
|
|
|
|
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
* General Public License for more details.
|
2009-12-29 14:12:48 -06:00
|
|
|
*
|
2001-11-28 16:17:51 -06:00
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program; if not, write to the Free Software
|
|
|
|
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
|
|
|
*
|
|
|
|
\********************************************************************/
|
|
|
|
|
2017-10-26 04:14:21 -05:00
|
|
|
#include <config.h>
|
2005-11-19 17:53:34 -06:00
|
|
|
|
|
|
|
#include <glib.h>
|
|
|
|
#include <glib/gi18n.h>
|
2001-08-16 19:44:01 -05:00
|
|
|
#include <string.h>
|
|
|
|
|
2001-10-26 05:17:41 -05:00
|
|
|
#include "gnc-gettext-util.h"
|
|
|
|
|
2001-11-28 16:17:51 -06:00
|
|
|
/* ============================================================== */
|
|
|
|
|
2001-08-16 19:44:01 -05:00
|
|
|
char *
|
|
|
|
gnc_gettext_helper(const char *string)
|
|
|
|
{
|
2009-12-29 14:12:48 -06:00
|
|
|
return strdup(string && *string ? _(string) : "");
|
2001-08-16 19:44:01 -05:00
|
|
|
}
|
|
|
|
|