[haiku-bugs] Re: [Haiku] #8956: Browser's context menu does not translate

  • From: "dsjonny" <trac@xxxxxxxxxxxx>
  • Date: Mon, 08 Oct 2012 05:50:00 -0000

#8956: Browser's context menu does not translate
----------------------------------------+------------------------
   Reporter:  dsjonny                   |      Owner:  leavengood
       Type:  bug                       |     Status:  new
   Priority:  normal                    |  Milestone:  R1
  Component:  Applications/WebPositive  |    Version:  R1/alpha3
 Resolution:                            |   Keywords:
 Blocked By:                            |   Blocking:
Has a Patch:  0                         |   Platform:  All
----------------------------------------+------------------------

Comment (by dsjonny):

 Thanks jessicah!

 I found the strings in the "LocalizedStringsHaiku.cpp" file.
 And do I know this right we need only to add
 {{{
 #include "<Catalog.h>"

 #define B_TRANSLATION_CONTEXT "WebPositive Page Context Menu"
 }}}
 to this file, and replace all

 {{{
 return "...";
 }}}
 to
 {{{
 return B_TRANSLATE("...");
 }}}
 ?

 If this is right, than one more ticket solved :)

 I attach this file with these modifications.

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/8956#comment:4>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: