Localization of filepanel, part I
|Reported by:||Karvjorm||Owned by:||pulkomandy|
|Has a Patch:||yes||Platform:||All|
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.