Bug 12023 - no mechanism for delivering platform-specific strings in squeezeplay
: no mechanism for delivering platform-specific strings in squeezeplay
Status: RESOLVED FIXED
Product: SB Touch
Classification: Unclassified
Component: UI
: unspecified
: PC Other
: -- major (vote)
: 8.0.0
Assigned To: Richard Titmuss
:
Depends on:
Blocks: 11096 11773 11914
  Show dependency treegraph
 
Reported: 2009-05-11 06:32 UTC by Ben Klaas
Modified: 2009-09-08 09:27 UTC (History)
3 users (show)

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ben Klaas 2009-05-11 06:32:56 UTC
I'm not necessarily arguing for this, but there are at least three bugs that are open where the issue is that the text that's delivered (typically help text) is inaccurate for a given platform. I'm going to point all of those bugs as blocked by this one.

one option (preferred) is to never deliver text for platform-agnostic applets that is platform-specific.

another option (perhaps) is to a platform-specific strings.txt file where needed. That is, if the text for SOMEAPPLET_FOO for controller in SomeApplet needs to read "press the center button...", and on Fab4 reads "touch the item...", and for all else reads "select the item", there would be these files:

squeezeplay_jive/share/applets/SomeApplet/strings.txt
squeezeplay_fab4/share/applets/SomeApplet/strings.txt
squeezeplay/share/applets/SomeApplet/strings.txt
squeezeplay/share/applets/SomeApplet/SomeAppletApplet.lua
squeezeplay/share/applets/SomeApplet/SomeAppletMeta.lua

the build process would then overwrite the platform-specific strings.txt file in the build, thus delivering platform-specific strings as needed.

Note that this solution would not account for multiple skins within a single platform, e.g. Touch and Remote for Fab4.

I have a strong preference to find a solution that's as simple as possible here, otherwise we're going to end up with a mess on our hands.
Comment 1 Blackketter Dean 2009-05-11 07:31:48 UTC
We also need this for other resources like images (wallpaper, button images, sounds, etc), right?

Strings need to be able to be merged, right?  so we have some base strings and then some platform-specific strings.  i.e. strings.txt and jive.strings.txt, for example?
Comment 2 Ben Klaas 2009-05-11 13:57:36 UTC
assign to Richard for comment.
Comment 3 Felix Mueller 2009-07-16 07:09:46 UTC
Platform specific strings have been fixed in r6604.

Do we still need a solution for other resources, like images?
Comment 4 Richard Titmuss 2009-07-16 07:16:14 UTC
Thanks Felix, Image resources have been done another way already, this can be closed now.