fixes Bug #281 'in src/manual.c URL for manuals and FAQ wrong'
authorPaul Mangan <paul@claws-mail.org>
Tue, 19 Aug 2003 07:56:18 +0000 (07:56 +0000)
committerPaul Mangan <paul@claws-mail.org>
Tue, 19 Aug 2003 07:56:18 +0000 (07:56 +0000)
ChangeLog.claws
configure.ac
src/common/defs.h
src/manual.c

index 76f8c62..ceb0560 100644 (file)
@@ -1,3 +1,14 @@
+2003-08-19 [paul]      0.9.4claws31
+
+       * src/common/defs.h
+               add the missing '/' to SYLDOC_MANUAL_HTML_INDEX and
+               SYLDOC_FAQ_HTML_INDEX.
+       * src/manual.c
+               use LC_MESSAGES instead of LC_ALL to find the current
+               language
+
+         fixes Bug #281 'in src/manual.c URL for manuals and FAQ wrong'.
+
 2003-08-19 [paul]      0.9.4claws30
 
        * po/bg.po
index c82e5fa..a09f944 100644 (file)
@@ -11,7 +11,7 @@ MINOR_VERSION=9
 MICRO_VERSION=4
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=30
+EXTRA_VERSION=31
 if test $EXTRA_VERSION -eq 0; then
     VERSION=${MAJOR_VERSION}.${MINOR_VERSION}.${MICRO_VERSION}claws
 else
index 0814302..5e24b3b 100644 (file)
@@ -67,8 +67,8 @@
 #define FAQ_HTML_INDEX         "sylpheed-faq.html"
 #define HOMEPAGE_URI           "http://claws.sylpheed.org/"
 #define SYLDOC_URI             "http://sylpheeddoc.sourceforge.net/"
-#define SYLDOC_MANUAL_HTML_INDEX "manual/manual.html"
-#define SYLDOC_FAQ_HTML_INDEX  "faq/faq.html"
+#define SYLDOC_MANUAL_HTML_INDEX "/manual/manual.html"
+#define SYLDOC_FAQ_HTML_INDEX  "/faq/faq.html"
 #define CLAWS_FAQ_URI          "http://sylpheed-claws.sourceforge.net/phpwiki/index.php"
 #define CLAWS_BUGZILLA_URI     "http://www.thewildbeast.co.uk/sylpheed-claws/bugzilla/enter_bug.cgi"
 #define FOLDER_LIST            "folderlist.xml"
index a1677af..8a3f5e7 100644 (file)
@@ -44,7 +44,7 @@ static gchar *get_language()
        gchar *language;
        gchar *c;
 
-       language = g_strdup(setlocale(LC_ALL, NULL));
+       language = g_strdup(setlocale(LC_MESSAGES, NULL));
        if((c = strchr(language, ',')) != NULL)
                *c = '\0';
        if((c = strchr(language, '_')) != NULL)