[haiku-bugs] [Haiku] #6058: Localization of filepanel, part I

  • From: "Karvjorm" <trac@xxxxxxxxxxxx>
  • Date: Sun, 23 May 2010 11:27:30 -0000

#6058: Localization of filepanel, part I
------------------------------------+---------------------------------------
 Reporter:  Karvjorm                |       Owner:  nobody   
     Type:  enhancement             |      Status:  new      
 Priority:  normal                  |   Milestone:  R1       
Component:  - General               |     Version:  R1/alpha2
 Keywords:  filepanel localization  |    Platform:  All      
Blockedby:                          |       Patch:  0        
 Blocking:                          |  
------------------------------------+---------------------------------------
 Here is a patch for localization of src/bin/filepanel.cpp

 I have done some changes:

 {{{
 - moved source code to filepanel subdirectory and created a Jam file for
 it.
 - edited src/bin/Jamfile to find a new subdirectory and to include
 liblocale.so
 - edited also filepanel --help texts by adding some  tabs. Command line
 texts are localized in many linux applications and developers have no
 problems to understand foreign text because options are still in English.
 :)
 }}}
 I was able to build new filepanel and when I tested it by the command
 ../../../generated/objects/haiku/x86/release/bin/filepanel, it worked
 fine. But when I  tried to test command line options
 (../../../generated/objects/haiku/x86/release/bin/filepanel --help or
 ../../../generated/objects/haiku/x86/release/bin/filepanel -h),
 application crashed always when it tried to read
 /boot/system/lib/liblocale.so and not that library I had defined in
 src/bin/filepanel/lib or src/bin/lib directory.

 I suppose, that something is still missing in my Jamfiles.

 Because files in filepanel subdirectory are not in version control, I will
 enclose them here with the src/bin patch.

 This is only part I of the filepanel localization, because private part is
 not localized yet. I will try it next.

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/6058>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: