[PATCH] Allow British pound symbol in gnumeric number format.



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


The attached patch allows the British pound sign within a number format
string.

Are their plans to properly internationalize this? For example I have
LANG=en_GB so the list of formats offered should probably reflect this. 
I'm guessing this falls outside the realm of ordinary gettext?

Thanks,
Ian

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 5.0i for non-commercial use
Charset: noconv

iQA/AwUBNwQh2eolgMMQo8i5EQL8OgCdGrNdmoTh1TrhrvFAKLC8TJFX6X0An0bw
BivD6zhbs+6Ps3HtIF2JFx9f
=LBRM
-----END PGP SIGNATURE-----
Index: src/format.c
===================================================================
RCS file: /cvs/gnome/gnumeric/src/format.c,v
retrieving revision 1.38
diff -u -r1.38 format.c
--- src/format.c	1999/02/19 07:41:10	1.38
+++ src/format.c	1999/04/02 01:38:15
@@ -823,7 +823,11 @@
 		case '$':
 			g_string_append_c (result, *format);
 			break;
-			
+	
+		case '£':
+			g_string_append_c (result, *format);
+			break;
+		
 		case ')':
 			if (can_render_number && !info.rendered)
 				g_string_append (result, do_render_number (number, &info));


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]