From 051580d1415ed4ac41ff8ba93e0594a37210e5d9 Mon Sep 17 00:00:00 2001
From: William Kendrick
Date: Wed, 27 Jul 2005 07:58:13 +0000
Subject: [PATCH] Using proper locale for Gronings ("gos_NL"), as per Karl.
---
Makefile | 18 +++++++++---------
docs/OPTIONS.txt | 2 +-
docs/html/OPTIONS.html | 2 +-
src/po/{gr.po => gos.po} | 0
src/tuxpaint.c | 12 ++++++------
5 files changed, 17 insertions(+), 17 deletions(-)
rename src/po/{gr.po => gos.po} (100%)
diff --git a/Makefile b/Makefile
index 74c0a19a4..8b4ac069f 100644
--- a/Makefile
+++ b/Makefile
@@ -365,7 +365,7 @@ uninstall:
-rm $(LOCALE_PREFIX)/fr/LC_MESSAGES/tuxpaint.mo
-rm $(LOCALE_PREFIX)/ga/LC_MESSAGES/tuxpaint.mo
-rm $(LOCALE_PREFIX)/gl/LC_MESSAGES/tuxpaint.mo
- -rm $(LOCALE_PREFIX)/gr/LC_MESSAGES/tuxpaint.mo
+ -rm $(LOCALE_PREFIX)/gos/LC_MESSAGES/tuxpaint.mo
-rm $(LOCALE_PREFIX)/he/LC_MESSAGES/tuxpaint.mo
-rm $(LOCALE_PREFIX)/hi/LC_MESSAGES/tuxpaint.mo
-rm $(LOCALE_PREFIX)/hr/LC_MESSAGES/tuxpaint.mo
@@ -690,10 +690,10 @@ install-gettext:
@cp trans/el.mo $(LOCALE_PREFIX)/el/LC_MESSAGES/tuxpaint.mo
@chmod 644 $(LOCALE_PREFIX)/el/LC_MESSAGES/tuxpaint.mo
@#
- @echo " gr_NL ...Gronings..."
- @install -d $(LOCALE_PREFIX)/gr/LC_MESSAGES
- @cp trans/gr.mo $(LOCALE_PREFIX)/gr/LC_MESSAGES/tuxpaint.mo
- @chmod 644 $(LOCALE_PREFIX)/gr/LC_MESSAGES/tuxpaint.mo
+ @echo " gos_NL ...Gronings..."
+ @install -d $(LOCALE_PREFIX)/gos/LC_MESSAGES
+ @cp trans/gos.mo $(LOCALE_PREFIX)/gos/LC_MESSAGES/tuxpaint.mo
+ @chmod 644 $(LOCALE_PREFIX)/gos/LC_MESSAGES/tuxpaint.mo
@#
@echo " he_IL ...Hebrew..."
@install -d $(LOCALE_PREFIX)/he/LC_MESSAGES
@@ -958,7 +958,7 @@ translations: trans \
trans/fr.mo \
trans/ga.mo \
trans/gl.mo \
- trans/gr.mo \
+ trans/gos.mo \
trans/he.mo \
trans/hi.mo \
trans/hr.mo \
@@ -1072,9 +1072,9 @@ trans/gl.mo: src/po/gl.po
@echo " gl_ES ...Galician..."
@msgfmt -o trans/gl.mo src/po/gl.po
-trans/gr.mo: src/po/gr.po
- @echo " gr_NL ...Gronings..."
- @msgfmt -o trans/gr.mo src/po/gr.po
+trans/gos.mo: src/po/gos.po
+ @echo " gos_NL ...Gronings..."
+ @msgfmt -o trans/gos.mo src/po/gos.po
trans/he.mo: src/po/he.po
@echo " he_IL ...Hebrew..."
diff --git a/docs/OPTIONS.txt b/docs/OPTIONS.txt
index 87e9cd457..9796da9e2 100644
--- a/docs/OPTIONS.txt
+++ b/docs/OPTIONS.txt
@@ -629,7 +629,7 @@ Available Languages
|---------------+---------------------+---------------------|
|gl_ES |Galego |Galician |
|---------------+---------------------+---------------------|
- |gr_NL |Zudelk Veenkelonioals|Gronings |
+ |gos_NL |Zudelk Veenkelonioals|Gronings |
|---------------+---------------------+---------------------|
|he_IL (*) | |Hebrew |
|---------------+---------------------+---------------------|
diff --git a/docs/html/OPTIONS.html b/docs/html/OPTIONS.html
index c495b3414..23904221c 100644
--- a/docs/html/OPTIONS.html
+++ b/docs/html/OPTIONS.html
@@ -982,7 +982,7 @@ New Breed Software
Galician |
- gr_NL |
+ gos_NL |
Zudelk Veenkelonioals |
Gronings |
diff --git a/src/po/gr.po b/src/po/gos.po
similarity index 100%
rename from src/po/gr.po
rename to src/po/gos.po
diff --git a/src/tuxpaint.c b/src/tuxpaint.c
index 41d60f846..31f106c3c 100644
--- a/src/tuxpaint.c
+++ b/src/tuxpaint.c
@@ -80,7 +80,7 @@
/* Compile-time options: */
-#define DEBUG
+/* #define DEBUG */
/* #define DEBUG_MALLOC */
/* #define LOW_QUALITY_THUMBNAILS */
/* #define LOW_QUALITY_COLOR_SELECTOR */
@@ -610,7 +610,7 @@ static const char * lang_prefixes[NUM_LANGS] = {
"fr",
"ga",
"gl",
- "gr",
+ "gos",
"he",
"hi",
"hr",
@@ -788,7 +788,7 @@ static void show_lang_usage(FILE * f, const char * const prg)
/* ka */ " georgian\n"
/* de */ " german deutsch\n"
/* el */ " greek\n"
-/* gr */ " gronings zudelk-veenkelonioals\n"
+/* gos */ " gronings zudelk-veenkelonioals\n"
/* he */ " hebrew\n"
/* hi */ " hindi\n"
/* hu */ " hungarian magyar\n"
@@ -851,7 +851,7 @@ static void show_locale_usage(FILE * f, const char * const prg)
" fr_FR (French Francais)\n"
" ga_IE (Gaelic Gaidhlig)\n"
" gl_ES (Galician Galego)\n"
- " gr_NL (Gronings Zudelk Veenkelonioals)\n"
+ " gos_NL (Gronings Zudelk Veenkelonioals)\n"
" de_DE (German Deutsch)\n"
" et_EE (Estonian)\n"
" el_GR (Greek)\n"
@@ -913,8 +913,8 @@ static const language_to_locale_struct language_to_locale_array[] = {
{"deutsch", "de_DE.UTF-8"},
{"estonian", "et_EE.UTF-8"},
{"greek", "el_GR.UTF-8"},
-{"gronings", "gr_NL.UTF-8"},
-{"zudelk-veenkelonioals","gr_NL.UTF-8"},
+{"gronings", "gos_NL.UTF-8"},
+{"zudelk-veenkelonioals","gos_NL.UTF-8"},
{"british-english", "en_GB.UTF-8"},
{"british", "en_GB.UTF-8"},
{"spanish", "es_ES.UTF-8"},