Overriding "Download" prefix for dumper plugins?

View: New views
3 Messages — Rating Filter:   Alert me  

Overriding "Download" prefix for dumper plugins?

by Shaun Mahony-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Is it possible to tell GBrowse not to prefix the "Download" string to
the name of a dumper plugin when displaying the name in the Reports and
Analysis dropdown or in the quicklinks? For example, if I have a
Submitter-style alignment plugin that submits data to a URL, I'd like to
display "Align" in the quicklinks rather than "Download Align".

Thanks,

Shaun Mahony

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Gmod-gbrowse mailing list
Gmod-gbrowse@...
https://lists.sourceforge.net/lists/listinfo/gmod-gbrowse

Re: Overriding "Download" prefix for dumper plugins?

by Dave Clements, GMOD Help Desk-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Shaun,

I don't think there is a clean way to do this.

I don't know if this will work, but a "dirty" way to do this may be to
edit conf/languages/en.pm and change
   DUMP     => 'Download',
to
   DUMP     => '',

If that doesn't work you could try changing this line.
   DOWNLOAD         => 'Download',

Dave C.

On Thu, Oct 29, 2009 at 8:12 AM, Shaun Mahony <shaun.mahony@...> wrote:

> Is it possible to tell GBrowse not to prefix the "Download" string to
> the name of a dumper plugin when displaying the name in the Reports and
> Analysis dropdown or in the quicklinks? For example, if I have a
> Submitter-style alignment plugin that submits data to a URL, I'd like to
> display "Align" in the quicklinks rather than "Download Align".
>
> Thanks,
>
> Shaun Mahony
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> http://p.sf.net/sfu/devconference
> _______________________________________________
> Gmod-gbrowse mailing list
> Gmod-gbrowse@...
> https://lists.sourceforge.net/lists/listinfo/gmod-gbrowse
>



--
Please keep responses on the list!
http://gmod.org/wiki/GMOD_News
http://gmod.org/wiki/Training_and_Outreach#Online_Tutorials
Was this helpful? http://gmod.org/wiki/Help_Desk_Feedback

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Gmod-gbrowse mailing list
Gmod-gbrowse@...
https://lists.sourceforge.net/lists/listinfo/gmod-gbrowse

Re: Overriding "Download" prefix for dumper plugins?

by Shaun Mahony-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks for the suggestion Dave,

Replacing the DUMP string in languages/POSIX.pm works (kinda).
I don't know why, but if you use
DUMP     => '',
the word Download is actually replaced with the word "finder". In other words, you get "finder Sequence file" in the Reports & Analysis dropdown instead of "Download Sequence file". It does work if you put a space in between the quotations:
DUMP     => ' ',
In this case the word Download is completely dropped.

So, the hack works for now, but it would be nice to have more control over the name that appears for plugins.

Thanks again,

Shaun


On Wed, Nov 4, 2009 at 5:32 PM, Dave Clements, GMOD Help Desk <help@...> wrote:
Hi Shaun,

I don't think there is a clean way to do this.

I don't know if this will work, but a "dirty" way to do this may be to
edit conf/languages/en.pm and change
  DUMP     => 'Download',
to
  DUMP     => '',

If that doesn't work you could try changing this line.
  DOWNLOAD         => 'Download',

Dave C.

On Thu, Oct 29, 2009 at 8:12 AM, Shaun Mahony <shaun.mahony@...> wrote:
> Is it possible to tell GBrowse not to prefix the "Download" string to
> the name of a dumper plugin when displaying the name in the Reports and
> Analysis dropdown or in the quicklinks? For example, if I have a
> Submitter-style alignment plugin that submits data to a URL, I'd like to
> display "Align" in the quicklinks rather than "Download Align".
>
> Thanks,
>
> Shaun Mahony
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> http://p.sf.net/sfu/devconference
> _______________________________________________
> Gmod-gbrowse mailing list
> Gmod-gbrowse@...
> https://lists.sourceforge.net/lists/listinfo/gmod-gbrowse
>



--
Please keep responses on the list!
http://gmod.org/wiki/GMOD_News
http://gmod.org/wiki/Training_and_Outreach#Online_Tutorials
Was this helpful? http://gmod.org/wiki/Help_Desk_Feedback


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Gmod-gbrowse mailing list
Gmod-gbrowse@...
https://lists.sourceforge.net/lists/listinfo/gmod-gbrowse