diff options
author | Baurzhan Ismagulov <ibr@radix50.net> | 2005-01-29 17:53:26 +0000 |
---|---|---|
committer | Baurzhan Ismagulov <ibr@radix50.net> | 2005-01-29 17:53:26 +0000 |
commit | 3d263c1d0a2f82fcf209a00e029b32ac8cf8f838 (patch) | |
tree | 4c8fcfbe635f21cba7c4165e70b9352247ec08a8 /gdb/charset.c | |
parent | a80493b821dfa3fee047adfb9250c41b4a2e211a (diff) | |
download | gdb-3d263c1d0a2f82fcf209a00e029b32ac8cf8f838.zip gdb-3d263c1d0a2f82fcf209a00e029b32ac8cf8f838.tar.gz gdb-3d263c1d0a2f82fcf209a00e029b32ac8cf8f838.tar.bz2 |
2005-01-29 Baurzhan Ismagulov <ibr@radix50.net>
* ax-gdb.c, ax-general.c, bcache.c, bfd-target.c, bsd-kvm.c,
* buildsym.c, c-lang.c, c-typeprint.c, c-valprint.c, charset.c,
* coff-pe-read.c, coffread.c, complaints.c, copying.c: I18n markup.
Diffstat (limited to 'gdb/charset.c')
-rw-r--r-- | gdb/charset.c | 66 |
1 files changed, 33 insertions, 33 deletions
diff --git a/gdb/charset.c b/gdb/charset.c index 89e3b75..8e724a1 100644 --- a/gdb/charset.c +++ b/gdb/charset.c @@ -394,8 +394,8 @@ check_iconv_cache (struct cached_iconv *ci, ci->i = (iconv_t) 0; if (iconv_close (i) == -1) - error ("Error closing `iconv' descriptor for " - "`%s'-to-`%s' character conversion: %s", + error (_("Error closing `iconv' descriptor for " + "`%s'-to-`%s' character conversion: %s"), ci->from->name, ci->to->name, safe_strerror (errno)); } @@ -444,8 +444,8 @@ cached_iconv_convert (struct cached_iconv *ci, int from_char, int *to_char) /* Anything else is mysterious. */ internal_error (__FILE__, __LINE__, - "Error converting character `%d' from `%s' to `%s' " - "character set: %s", + _("Error converting character `%d' from `%s' to `%s' " + "character set: %s"), from_char, ci->from->name, ci->to->name, safe_strerror (errno)); } @@ -923,7 +923,7 @@ lookup_charset_or_error (const char *name) struct charset *cs = lookup_charset (name); if (! cs) - error ("GDB doesn't know of any character set named `%s'.", name); + error (_("GDB doesn't know of any character set named `%s'."), name); return cs; } @@ -932,7 +932,7 @@ static void check_valid_host_charset (struct charset *cs) { if (! cs->valid_host_charset) - error ("GDB can't use `%s' as its host character set.", cs->name); + error (_("GDB can't use `%s' as its host character set."), cs->name); } /* Set the host and target character sets to HOST and TARGET. */ @@ -962,14 +962,14 @@ set_host_and_target_charsets (struct charset *host, struct charset *target) { if (check_iconv_cache (&cached_iconv_host_to_target, host, target) < 0) - error ("GDB can't convert from the `%s' character set to `%s'.", + error (_("GDB can't convert from the `%s' character set to `%s'."), host->name, target->name); } if (! t2h || ! t2h->convert_char) { if (check_iconv_cache (&cached_iconv_target_to_host, target, host) < 0) - error ("GDB can't convert from the `%s' character set to `%s'.", + error (_("GDB can't convert from the `%s' character set to `%s'."), target->name, host->name); } } @@ -1079,14 +1079,14 @@ show_charset (char *arg, int from_tty) { if (current_host_charset == current_target_charset) { - printf_filtered ("The current host and target character set is `%s'.\n", + printf_filtered (_("The current host and target character set is `%s'.\n"), host_charset ()); } else { - printf_filtered ("The current host character set is `%s'.\n", + printf_filtered (_("The current host character set is `%s'.\n"), host_charset ()); - printf_filtered ("The current target character set is `%s'.\n", + printf_filtered (_("The current target character set is `%s'.\n"), target_charset ()); } } @@ -1222,12 +1222,12 @@ _initialize_charset (void) class_support, host_charset_enum, &host_charset_name, - "Set the host and target character sets.\n" - "The `host character set' is the one used by the system GDB is running on.\n" - "The `target character set' is the one used by the program being debugged.\n" - "You may only use supersets of ASCII for your host character set; GDB does\n" - "not support any others.\n" - "To see a list of the character sets GDB supports, type `set charset <TAB>'.", + _("Set the host and target character sets.\n\ +The `host character set' is the one used by the system GDB is running on.\n\ +The `target character set' is the one used by the program being debugged.\n\ +You may only use supersets of ASCII for your host character set; GDB does\n\ +not support any others.\n\ +To see a list of the character sets GDB supports, type `set charset <TAB>'."), &setlist); /* Note that the sfunc below needs to set target_charset_name, because @@ -1235,12 +1235,12 @@ _initialize_charset (void) set_cmd_sfunc (new_cmd, set_charset_sfunc); /* Don't use set_from_show - need to print some extra info. */ add_cmd ("charset", class_support, show_charset, - "Show the host and target character sets.\n" - "The `host character set' is the one used by the system GDB is running on.\n" - "The `target character set' is the one used by the program being debugged.\n" - "You may only use supersets of ASCII for your host character set; GDB does\n" - "not support any others.\n" - "To see a list of the character sets GDB supports, type `set charset <TAB>'.", + _("Show the host and target character sets.\n\ +The `host character set' is the one used by the system GDB is running on.\n\ +The `target character set' is the one used by the program being debugged.\n\ +You may only use supersets of ASCII for your host character set; GDB does\n\ +not support any others.\n\ +To see a list of the character sets GDB supports, type `set charset <TAB>'."), &showlist); @@ -1248,11 +1248,11 @@ _initialize_charset (void) class_support, host_charset_enum, &host_charset_name, - "Set the host character set.\n" - "The `host character set' is the one used by the system GDB is running on.\n" - "You may only use supersets of ASCII for your host character set; GDB does\n" - "not support any others.\n" - "To see a list of the character sets GDB supports, type `set host-charset <TAB>'.", + _("Set the host character set.\n\ +The `host character set' is the one used by the system GDB is running on.\n\ +You may only use supersets of ASCII for your host character set; GDB does\n\ +not support any others.\n\ +To see a list of the character sets GDB supports, type `set host-charset <TAB>'."), &setlist); set_cmd_sfunc (new_cmd, set_host_charset_sfunc); @@ -1265,11 +1265,11 @@ _initialize_charset (void) class_support, target_charset_enum, &target_charset_name, - "Set the target character set.\n" - "The `target character set' is the one used by the program being debugged.\n" - "GDB translates characters and strings between the host and target\n" - "character sets as needed.\n" - "To see a list of the character sets GDB supports, type `set target-charset'<TAB>", + _("Set the target character set.\n\ +The `target character set' is the one used by the program being debugged.\n\ +GDB translates characters and strings between the host and target\n\ +character sets as needed.\n\ +To see a list of the character sets GDB supports, type `set target-charset'<TAB>"), &setlist); set_cmd_sfunc (new_cmd, set_target_charset_sfunc); |