teleological / redmine_stealth

Sometimes sneaky is good. This plugin works like a mute button for Redmine notification emails.
http://teleological.github.com/redmine_stealth
GNU General Public License v2.0
31 stars 35 forks source link

With Redmine 2.0.3. Translation missing in spite of language set to English #19

Closed Sethur closed 11 years ago

Sethur commented 12 years ago

I just updated Redmine to 2.0.3 and installed the plugin as described via git clone. I then assigned toggle permissons to the manager role and tried to turn on the Stealth mode. Although both my default language and the current language of the user I was using to test the plugin is set to "English", I only get "translation missing: en.enable_stealth_mode" at the status bar, and when I click that I get "translation missing: en_failed_to_toggle_stealth_mode". So obviously, something went completely wrong when installing / initializing the plugin, but I have no idea what. I restarted apache and passenger several times and the language files for the "missing" translation seem to be present, too. Any ideas?

Robbedoes33 commented 12 years ago

Fixed this by renaming the directory to redmine_stealth And changed line 10 of stealth_hooks.rb to :plugin => 'redmine_stealth'

ramisedhom commented 11 years ago

It works after doing Rob suggestion but it need to be restarted after doing those changes.

teleological commented 11 years ago

It looks like the problem occurs if the plugin is not installed in "plugins/redmine-stealth-plugin". This is the location recommended in the install instructions, but the fact that the plugin registers itself as "redmine_stealth" muddies the water. I'll go ahead and rename the plugin and repository "redmine_stealth" in the next release.

teleological commented 11 years ago

Fixed in v0.6.0