At this point, I am using the file the same way that I think the magnolia-samples module uses the file:

Here is the contents of the file:

config.menu.config.templates.vast   = VAST Templates
config.menu.config.paragraphs.vast  = VAST Paragraphs
config.menu.config.dialogs.vast     = VAST Dialogs


In my setup class, I have lines like this:

----
// - replace Templates menu item
final AddSubMenuItemTask addTemplateMenuItem = new AddSubMenuItemTask("config", "vast-templates", "config.menu.config.templates.vast", "info.magnolia.module.vast.messages", "MgnlAdminCentral.showTree ('config','/modules/vast/templates')", "/.resources/icons/16/ dot.gif", "subscribers"); final String templatesMenuItemPath = "/modules/ adminInterface/config/menu/config/templates";
-----

What I'm wanting is to have the message for the menu text taken out of the properties file so I can have all of my messages in one file for things like dialog field names and descriptions... etc.

Ryan

On Dec 28, 2007, at 1:11 PM, Grégory Joseph wrote:


On Dec 28, 2007, at 18:49 , Ryan Gardner wrote:

My module is organized in this package structure:

org.vtvast.pubsite

In my source tree, I have:

src/main/resources/org/vtvast/pubsite/messages_en.properties

When I build my module and deploy it, the messages I have in that file are not being read in... I assume I have some simple error in what I'm doing - but I can't quite figure out what it is...


What do you mean "not being read" ? What exactly are you expecting to happen with this file ?

g

----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/docs/en/editor/stayupdated.html
----------------------------------------------------------------


----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/docs/en/editor/stayupdated.html
----------------------------------------------------------------

Reply via email to