|
Re: Different Action name depending on the OS (Operation System) [message #719126 is a reply to message #718981] |
Fri, 26 August 2011 03:03  |
Eclipse User |
|
|
|
Originally posted by:
On 2011-08-25 19:21, Randy Hudson wrote:
> I have an object contribution containing a single action. I would like
> the action's label to be different depending on the os. For example,
> using the term "Explorer" on windows, and "Finder" on macosx.
This is solvable via internationalization combined with fragments. You
just have to define fragment bundles to your the bundle which contains
the message property files which contain the OS-specific labels. The
effect will be that property files from the corresponding fragment will
be used. You have to ensure that each fragment has a mutually exclusive
constraint for the corresponding OS.
HTH & Greetings from Bremen,
- Daniel Krügler
|
|
|
Powered by
FUDForum. Page generated in 0.05069 seconds