aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2005-02-02 08:51:33 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2005-02-02 08:51:33 +0000
commit03bbb1a6ae673e3b722c19bd045cc18d5243dffd (patch)
treedd9339bd0f3268a56a057acee87a52b5566de3ca
parent929b15a3688f2a576f7f15758013af1df95b0487 (diff)
convert help message to locale encoding.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@74 ee746299-78ed-0310-b773-934348b2243d
-rw-r--r--ChangeLog5
-rw-r--r--ChangeLog.ja5
-rw-r--r--src/main.c26
3 files changed, 23 insertions, 13 deletions
diff --git a/ChangeLog b/ChangeLog
index 6ab92a69..5511c7a5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2005-02-02
+ * src/main.c: parse_cmd_opt(): convert help message to locale
+ encoding.
+
+2005-02-02
+
* src/compose.c:
GET_CHAR(): speed up by using gtk_text_iter_get_char().
get_indent_length(): use GtkTextIter for the loop.
diff --git a/ChangeLog.ja b/ChangeLog.ja
index 9f95cbf5..ac3594eb 100644
--- a/ChangeLog.ja
+++ b/ChangeLog.ja
@@ -1,5 +1,10 @@
2005-02-02
+ * src/main.c: parse_cmd_opt(): ヘルプメッセージを locale
+ エンコーディングに変換。
+
+2005-02-02
+
* src/compose.c:
GET_CHAR(): gtk_text_iter_get_char() を使用して高速化。
get_indent_length(): ループに GtkTextIter を使用。
diff --git a/src/main.c b/src/main.c
index 020a43b9..4c78d157 100644
--- a/src/main.c
+++ b/src/main.c
@@ -420,19 +420,19 @@ static void parse_cmd_opt(int argc, char *argv[])
g_print(_("Usage: %s [OPTION]...\n"),
g_basename(argv[0]));
- puts(_(" --compose [address] open composition window"));
- puts(_(" --attach file1 [file2]...\n"
- " open composition window with specified files\n"
- " attached"));
- puts(_(" --receive receive new messages"));
- puts(_(" --receive-all receive new messages of all accounts"));
- puts(_(" --send send all queued messages"));
- puts(_(" --status [folder]... show the total number of messages"));
- puts(_(" --status-full [folder]...\n"
- " show the status of each folder"));
- puts(_(" --debug debug mode"));
- puts(_(" --help display this help and exit"));
- puts(_(" --version output version information and exit"));
+ g_print("%s\n", _(" --compose [address] open composition window"));
+ g_print("%s\n", _(" --attach file1 [file2]...\n"
+ " open composition window with specified files\n"
+ " attached"));
+ g_print("%s\n", _(" --receive receive new messages"));
+ g_print("%s\n", _(" --receive-all receive new messages of all accounts"));
+ g_print("%s\n", _(" --send send all queued messages"));
+ g_print("%s\n", _(" --status [folder]... show the total number of messages"));
+ g_print("%s\n", _(" --status-full [folder]...\n"
+ " show the status of each folder"));
+ g_print("%s\n", _(" --debug debug mode"));
+ g_print("%s\n", _(" --help display this help and exit"));
+ g_print("%s\n", _(" --version output version information and exit"));
exit(1);
}