*
* 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
/*
#include <time.h>
#include <string.h>
#include <glib.h>
+#include <glib/gi18n.h>
-#include "intl.h"
#include "mgutils.h"
#include "utils.h"
#include "exporthtml.h"
static gint exporthtml_create_css_dfl( const gchar *fileSpec ) {
FILE *cssFile;
- cssFile = fopen( fileSpec, "rb" );
+ cssFile = g_fopen( fileSpec, "rb" );
if( cssFile ) {
fclose( cssFile );
return MGU_SUCCESS;
}
- cssFile = fopen( fileSpec, "wb" );
+ cssFile = g_fopen( fileSpec, "wb" );
if( ! cssFile ) {
return MGU_OPEN_FILE;
}
static gint exporthtml_create_css_full( const gchar *fileSpec ) {
FILE *cssFile;
- cssFile = fopen( fileSpec, "rb" );
+ cssFile = g_fopen( fileSpec, "rb" );
if( cssFile ) {
fclose( cssFile );
return MGU_SUCCESS;
}
- cssFile = fopen( fileSpec, "wb" );
+ cssFile = g_fopen( fileSpec, "wb" );
if( ! cssFile ) {
return MGU_OPEN_FILE;
}
gchar *dsName;
static gchar *title;
- htmlFile = fopen( ctl->path, "wb" );
+ htmlFile = g_fopen( ctl->path, "wb" );
if( ! htmlFile ) {
/* Cannot open file */
printf( "Cannot open file for write\n" );
return;
}
- title = _( "Sylpheed Address Book" );
+ title = _( "Sylpheed-Claws Address Book" );
rootFolder = cache->rootFolder;
dsName = cache->name;