OK copy that.
On Aug 12, 7:39 am, Blair McKenzie <[email protected]> wrote:
> The @ values help show resources that are associated with a single object.
> e.g. a message box might have both a title and a message resource, buttons
> can have a label and a confirmation alert message, webtop menu items have
> labels and descriptions. For consistency, all core resources have @ values.
> Your plugin resources can have any keys you'd like.
>
> On Wed, Aug 12, 2009 at 2:56 PM, Marco van den Oever <
>
> [email protected]> wrote:
>
> > Ok that's pretty cool, then i shall update where i didn't did yet,
> > would love to work with the
> > RB plugin but already done manually, but handy tool for future needs.
>
> > Couple more questions, i see a lot of varia...@label, varia...@text,
> > varia...@description variable naming etc, is the logic simply short
> > word is @label, text is @text (obvious).
>
> > So are these @label etc needed for some kind of functionality or are
> > they just there to quick understand what kind of variable it is?
>
> > Should all variables be named with @label etc?
>
> > On Aug 12, 5:06 am, Blair McKenzie <[email protected]> wrote:
> > > Yes. It means that a developer can write a plugin that can be translated
> > > without actually doing so before it's necessary. They're also used by the
> > RB
> > > plugin to log missing resources and update resource bundles.
>
> > > On Wed, Aug 12, 2009 at 12:51 PM, Marco van den Oever <
>
> > > [email protected]> wrote:
>
> > > > Ah ok, that explains stuff indeed, can you say those default values
> > > > are needed for all translation variables as they give a value even
> > > > before the resource bundles are loaded?
>
> > > > Or is that a rare condition?
>
> > > > On Aug 12, 3:01 am, Blair McKenzie <[email protected]> wrote:
> > > > > The second part of the call is the default value for when the
> > resource is
> > > > > not available.
>
> > > > > On Wed, Aug 12, 2009 at 9:43 AM, Marco van den Oever <
>
> > > > > [email protected]> wrote:
>
> > > > > > Ok but the text is in fact displayed on the page so does that come
> > > > > > from the text part in:
>
> > > > > > #application.rb.getResource
> > > > > > ("workflow.headings.lockedobje...@text","Items you have locked")#
>
> > > > > > I thought that text was only as reference to what is outputted.
> > > > > > I shall add them anyways.
>
> > > > > > On Aug 12, 1:18 am, Blair McKenzie <[email protected]> wrote:
> > > > > > > I see. I would say that they just haven't been added to the
> > resource
> > > > > > > bundles. If you could note any missing resources in a ticket (and
> > > > where
> > > > > > they
> > > > > > > are referenced) we will try to add them to the next FarCry
> > release.
> > > > In
> > > > > > the
> > > > > > > meantime you can add them to your own resource bundles.
>
> > > > > > > On Wed, Aug 12, 2009 at 1:02 AM, Marco van den Oever <
>
> > > > > > > [email protected]> wrote:
>
> > > > > > > > For example i see in overview/home.cfm, line 201:
>
> > > > > > > > <h3>#application.rb.getResource
> > > > > > > > ("workflow.headings.lockedobje...@text","Items you have
> > > > locked")#</h3>
>
> > > > > > > > but i can't find this variable in the resource bundles, where
> > is it
> > > > > > > > set, and how can i add any translation variable to it?
>
> > > > > > > > So are you saying that they are set in the permission page for
> > site
> > > > > > > > tree nodes? If so, where can i find it?
>
> > > > > > > > Thanks Sir.
>
> > > > > > > > On Aug 11, 6:12 am, Blair McKenzie <[email protected]> wrote:
> > > > > > > > > They ring a bell. They may be getting used on the Permissions
> > > > page
> > > > > > for
> > > > > > > > site
> > > > > > > > > tree nodes.
>
> > > > > > > > > Blair
>
> > > > > > > > > On Sat, Aug 8, 2009 at 2:00 AM, Marco van den Oever <
>
> > > > > > > > > [email protected]> wrote:
>
> > > > > > > > > > I encounter several workflow.constants.blabla resource
> > bundle
> > > > > > > > > > variables, i can't find them 1,2,3 in the resource bundles,
> > but
> > > > > > just
> > > > > > > > > > to be sure, are they being used somewhere, are they set
> > > > somewhere?
>
> > > > > > > > > > When not being used in bundles should i add them there or
> > can i
> > > > use
> > > > > > > > > > another variable name (in the light of updating the missing
> > > > webtop
> > > > > > > > > > translations).
>
> > > > > > > > > > Rings a bell to anyone?
>
> > > > > > > > > > Thanks.
>
>
--~--~---------~--~----~------------~-------~--~----~
You received this message cos you are subscribed to "farcry-dev" Google group.
To post, email: [email protected]
To unsubscribe, email: [email protected]
For more options: http://groups.google.com/group/farcry-dev
--------------------------------
Follow us on Twitter: http://twitter.com/farcry
-~----------~----~----~----~------~----~------~--~---