This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [rfc] Bug fixes for CLI "show" command


Hi Andrew,

On Apr 20, 2004, at 10:34 AM, Andrew Cagney wrote:

-	  ui_out_field_string (uiout, "prefix", list->prefixname + 5);
-	  cmd_show_list (*list->prefixlist, from_tty, list->prefixname + 5);
+	  char *new_prefix = strstr (list->prefixname, "show ") + 5;

This is no better - i18n.

I don't understand - is there actual intention to internationalize the gdb commands themselves? When we talk about i18n'ing gdb, my reaction would be internationalizing the _output messages_ -- the errors, the warnings, the help text. Do you mean to say that it's a goal of yours to support something like


(gdb) 表示environment

in place of "show environment". Or 「(gdb) 表示環境」 (which is just painful to the eye in either language :-) to make it all Japanese.

Just MHO, but internationalizing the actual gdb commands is not particularly helpful for non-English native speakers. Internationalizing help/warning/errors would be very useful for them. Am I misunderstanding Daniel's patch?

Jason


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]