1 /* Copyright (c) 2003-2014 Xfce Development Team 2 * 3 * This program is free software; you can redistribute it and/or modify 4 * it under the terms of the GNU General Public License as published by 5 * the Free Software Foundation; either version 2 of the License, or 6 * (at your option) any later version. 7 * 8 * This program is distributed in the hope that it will be useful, 9 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 11 * General Public License for more details. 12 * 13 * You should have received a copy of the GNU General Public License 14 * along with this program; if not, write to the Free Software 15 * Foundation, Inc., 51 Franklin Street, Fifth Floor, 16 * Boston, MA 02110-1301, USA. 17 */ 18 19 #ifndef __WEATHER_TRANSLATE_H__ 20 #define __WEATHER_TRANSLATE_H__ 21 22 #include <glib.h> 23 #include <gtk/gtk.h> 24 25 G_BEGIN_DECLS 26 27 const gchar *get_symbol_for_id(guint id); 28 29 const gchar *translate_desc(const gchar *desc, 30 gboolean nighttime); 31 32 const gchar *translate_moon_phase(const gchar *moon_phase); 33 34 /* these return a newly allocated string, that should be freed */ 35 gchar *translate_day(gint weekday); 36 37 G_END_DECLS 38 39 #endif 40