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=/branches/gtk-2-12/; revision=19546
This commit is contained in:
committed by
Matthias Clasen
parent
ef31de52c6
commit
aa84805eb3
@@ -1,3 +1,11 @@
|
||||
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 Cody Russell <bratsche@gnome.org>
|
||||
|
||||
Merged from trunk:
|
||||
|
||||
@@ -18,24 +18,20 @@
|
||||
* Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
|
||||
#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 <config.h>
|
||||
|
||||
#include <string.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));
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -1517,8 +1517,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)
|
||||
|
||||
@@ -53,6 +53,7 @@
|
||||
#include "gtklabel.h"
|
||||
#endif
|
||||
|
||||
#include "gtkmain.h"
|
||||
#include "gdkkeysyms.h"
|
||||
|
||||
#include "gtkalias.h"
|
||||
|
||||
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user