Re: [chromium-dev] Generate extensions _locale directories from grd files?

2010-01-12 Thread Aaron Boodman
Nobody has considered it before.

An easier workaround would be to just expose a custom API to yourself
that sends the dictionary into your extension.

- a

On Tue, Jan 12, 2010 at 1:43 PM, Erik Arvidsson a...@chromium.org wrote:
 I'm currently working on the new bookmark manager which is being
 developed as an extension.

 For the extension I am using the i18n extension APIs which works
 great. However, we currently have all the bookmark manager messages in
 generated_resources.grd and I would like to generate the extension
 _locales files from the grd file. It seems like the Grit supports
 different output types and I was wondering if anyone has considered
 doing this before?

 erik

 --
 Chromium Developers mailing list: chromium-dev@googlegroups.com
 View archives, change email options, or unsubscribe:
    http://groups.google.com/group/chromium-dev

-- 
Chromium Developers mailing list: chromium-dev@googlegroups.com 
View archives, change email options, or unsubscribe: 
http://groups.google.com/group/chromium-dev

Re: [chromium-dev] Generate extensions _locale directories from grd files?

2010-01-12 Thread Darin Fisher
A side question:  Does the bookmark manager as extension imply an extension
process even when the bookmarks window is not visible?  (It would be nice to
avoid that process otherwise.)

-Darin


On Tue, Jan 12, 2010 at 1:43 PM, Erik Arvidsson a...@chromium.org wrote:

 I'm currently working on the new bookmark manager which is being
 developed as an extension.

 For the extension I am using the i18n extension APIs which works
 great. However, we currently have all the bookmark manager messages in
 generated_resources.grd and I would like to generate the extension
 _locales files from the grd file. It seems like the Grit supports
 different output types and I was wondering if anyone has considered
 doing this before?

 erik

 --
 Chromium Developers mailing list: chromium-dev@googlegroups.com
 View archives, change email options, or unsubscribe:
http://groups.google.com/group/chromium-dev

-- 
Chromium Developers mailing list: chromium-dev@googlegroups.com 
View archives, change email options, or unsubscribe: 
http://groups.google.com/group/chromium-dev

Re: [chromium-dev] Generate extensions _locale directories from grd files?

2010-01-12 Thread Aaron Boodman
No.

On Tue, Jan 12, 2010 at 2:40 PM, Darin Fisher da...@chromium.org wrote:
 A side question:  Does the bookmark manager as extension imply an extension
 process even when the bookmarks window is not visible?  (It would be nice to
 avoid that process otherwise.)
 -Darin

 On Tue, Jan 12, 2010 at 1:43 PM, Erik Arvidsson a...@chromium.org wrote:

 I'm currently working on the new bookmark manager which is being
 developed as an extension.

 For the extension I am using the i18n extension APIs which works
 great. However, we currently have all the bookmark manager messages in
 generated_resources.grd and I would like to generate the extension
 _locales files from the grd file. It seems like the Grit supports
 different output types and I was wondering if anyone has considered
 doing this before?

 erik

 --
 Chromium Developers mailing list: chromium-dev@googlegroups.com
 View archives, change email options, or unsubscribe:
    http://groups.google.com/group/chromium-dev


 --
 Chromium Developers mailing list: chromium-dev@googlegroups.com
 View archives, change email options, or unsubscribe:
    http://groups.google.com/group/chromium-dev

-- 
Chromium Developers mailing list: chromium-dev@googlegroups.com 
View archives, change email options, or unsubscribe: 
http://groups.google.com/group/chromium-dev

Re: [chromium-dev] Generate extensions _locale directories from grd files?

2010-01-12 Thread Erik Arvidsson
On Tue, Jan 12, 2010 at 13:57, Aaron Boodman a...@google.com wrote:
 Nobody has considered it before.

 An easier workaround would be to just expose a custom API to yourself
 that sends the dictionary into your extension.

That is indeed easier and that was my initial plan before I looked
into the i18n extension API. I guess I'll go for the experimental
extension API for now.

Thanks for your input.

-- 
erik

 On Tue, Jan 12, 2010 at 1:43 PM, Erik Arvidsson a...@chromium.org wrote:
 I'm currently working on the new bookmark manager which is being
 developed as an extension.

 For the extension I am using the i18n extension APIs which works
 great. However, we currently have all the bookmark manager messages in
 generated_resources.grd and I would like to generate the extension
 _locales files from the grd file. It seems like the Grit supports
 different output types and I was wondering if anyone has considered
 doing this before?

 erik

 --
 Chromium Developers mailing list: chromium-dev@googlegroups.com
 View archives, change email options, or unsubscribe:
    http://groups.google.com/group/chromium-dev


-- 
Chromium Developers mailing list: chromium-dev@googlegroups.com 
View archives, change email options, or unsubscribe: 
http://groups.google.com/group/chromium-dev