correctly display translated messages; ok pvalchev@

This commit is contained in:
naddy 2009-11-17 19:30:01 +00:00
parent 71d09c4ee1
commit 0a44a9b7dd
3 changed files with 18 additions and 6 deletions

View File

@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.27 2009/08/10 06:31:42 kili Exp $
# $OpenBSD: Makefile,v 1.28 2009/11/17 19:30:01 naddy Exp $
COMMENT= gtk+ clone of the lines ball logic game
DISTNAME= gtkballs-3.1.5
PKGNAME= ${DISTNAME}p7
PKGNAME= ${DISTNAME}p8
CATEGORIES= games x11
MASTER_SITES= ${HOMEPAGE}dist/ \
${MASTER_SITE_SUNSITE:=games/strategy/}

View File

@ -1,7 +1,7 @@
$OpenBSD: patch-src_game_c,v 1.1 2006/02/05 02:08:53 pvalchev Exp $
--- src/game.c.orig Sat Feb 4 17:14:39 2006
+++ src/game.c Sat Feb 4 17:14:46 2006
@@ -495,8 +495,8 @@ gint game_destroy_lines(gboolean count_s
$OpenBSD: patch-src_game_c,v 1.2 2009/11/17 19:30:01 naddy Exp $
--- src/game.c.orig Wed Oct 6 13:06:46 2004
+++ src/game.c Mon Nov 16 22:57:02 2009
@@ -495,8 +495,8 @@ gint game_destroy_lines(gboolean count_score) {
lock_actions(1);
draw_board();
for(animtime = 0, i = 0; i < animcadres;) {

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-src_gtkballs_c,v 1.1 2009/11/17 19:30:01 naddy Exp $
--- src/gtkballs.c.orig Mon Nov 16 23:00:14 2009
+++ src/gtkballs.c Mon Nov 16 23:00:22 2009
@@ -123,7 +123,7 @@ int main(int argc, char **argv) {
#ifdef ENABLE_NLS
bindtextdomain (PACKAGE, LOCALEDIR);
textdomain (PACKAGE);
- bind_textdomain_codeset(PACKAGE, "UTF8");
+ bind_textdomain_codeset(PACKAGE, "UTF-8");
#endif /* ENABLE_NLS */
/* drop privileges after spawning child with extra privs */