Commit 9d695473 authored by Matthias Clasen's avatar Matthias Clasen Committed by Matthias Clasen

Fix some i18n errors. Pointed out by Behdad Esfahbod.

2008-02-12  Matthias Clasen  <mclasne@redhat.com>

        * gtk/gtkpapersize.c:
        * gtk/gtkprintoperation.c:
        * gtk/gtkvolumebutton.c:
        * gtk/gtkbulderparser.c: Fix some i18n errors. Pointed
        out by Behdad Esfahbod.



svn path=/trunk/; revision=19547
parent 1cda35d3
2008-02-12 Matthias Clasen <mclasne@redhat.com>
* gtk/gtkpapersize.c:
* gtk/gtkprintoperation.c:
* gtk/gtkvolumebutton.c:
* gtk/gtkbulderparser.c: Fix some i18n errors. Pointed
out by Behdad Esfahbod.
2008-02-12 Federico Mena Quintero <federico@novell.com>
Merged from gtk-2-12:
......
......@@ -18,24 +18,20 @@
* Boston, MA 02111-1307, USA.
*/
#include <config.h>
#include <string.h>
#include <glib/gfileutils.h>
#include <glib/gi18n.h>
#include <glib/gmacros.h>
#include <glib/gmessages.h>
#include <glib/gslist.h>
#include <glib/gstrfuncs.h>
#include <glib-object.h>
#include <gmodule.h>
#include <gdk/gdkenumtypes.h>
#include <gdk/gdkkeys.h>
#include <gtk/gtktypeutils.h>
#include "gtktypeutils.h"
#include "gtkbuilderprivate.h"
#include "gtkbuilder.h"
#include "gtkbuildable.h"
#include "gtkdebug.h"
#include "gtktypeutils.h"
#include "gtkintl.h"
#include "gtkalias.h"
static void free_property_info (PropertyInfo *info);
......
......@@ -525,7 +525,7 @@ gtk_paper_size_get_display_name (GtkPaperSize *size)
g_assert (size->info != NULL);
display_name = paper_names + size->info->display_name;
return g_strip_context (display_name, gettext (display_name));
return g_strip_context (display_name, _(display_name));
}
/**
......
......@@ -1518,8 +1518,7 @@ _gtk_print_operation_set_status (GtkPrintOperation *op,
status = GTK_PRINT_STATUS_FINISHED_ABORTED;
if (string == NULL)
string = g_strip_context (status_strs[status],
gettext (status_strs[status]));
string = g_strip_context (status_strs[status], _(status_strs[status]));
if (priv->status == status &&
strcmp (string, priv->status_string) == 0)
......
......@@ -29,12 +29,12 @@
#include <config.h>
#include <glib/gi18n.h>
#include <atk/atk.h>
#include "gtkvolumebutton.h"
#include "gtkstock.h"
#include "gtktooltip.h"
#include "gtkintl.h"
#include "gtkalias.h"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment