[haiku-bugs] Re: [Haiku] #6116: A localization patch fof libbluetooth

  • From: "pulkomandy" <trac@xxxxxxxxxxxx>
  • Date: Fri, 02 Jul 2010 13:40:12 -0000

#6116: A localization patch fof libbluetooth
--------------------------+-------------------------------------------------
  Reporter:  Karvjorm     |       Owner:  pulkomandy                            
           
      Type:  enhancement  |      Status:  closed                                
           
  Priority:  normal       |   Milestone:  R1                                    
           
 Component:  Kits         |     Version:  R1/alpha2                             
           
Resolution:  fixed        |    Keywords:  libbluetooth localization 
LocaleCatalog Singleton
 Blockedby:               |       Patch:  1                                     
           
  Platform:  All          |    Blocking:                                        
           
--------------------------+-------------------------------------------------
Changes (by pulkomandy):

  * status:  assigned => closed
  * resolution:  => fixed


Comment:

 Applied in r37339.

 However, you are using B_TRANSLATE_MARK and not calling B_TRANSLATE on the
 constants later on when they are used.

 services[i] should be replaced with B_TRANSLATE(services[i]) so that the
 replacement of the string is actually done. B_TRANSLATE_MARK will only
 ensure that the strings themselves will get into the catalog file ; it
 will not (and cannot) replace them in the executable nor at runtime.

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

Other related posts: