The string "You have successfully validated your e-mail address." (logintoboggan.module line 299) can not be found when searching via the translation interface, whereas "Add a role to the selected users" (logintoboggan.module line 283) can.
Would the problem be solved by changing line 299 to this?
$email_validated = t('You have successfully validated your e-mail address.');
drupal_set_message($email_validated);
logintoboggan.module line 299:
drupal_set_message(t('You have successfully validated your e-mail address.'));
Comments
Comment #1
hunmonk commentedi don't think so. anything wrapped in a t() should be ok. is the problem that the string is not in the .pot file?
Comment #2
ressalogintoboggan.pot contains the string, so I don't think that's the problem:
#: logintoboggan.module:290;943
msgid "You have successfully validated your e-mail address."
msgstr ""
When I search for "Add a role to the selected users", it is actually part of the "Built-in interface" Text group, so I guess it isn't even the string from logintoboggan.pot ... It looks like the logintoboggan.pot isn't being used?
Comment #3
hunmonk commentedno clue. translations are not my area. i provide the .pot file, and that's about all i do ;)
you may want to check with somebody else who knows more and report back here with more information -- as far as i know it's done correctly in the module.
Comment #4
ressaYeah, it looks right... could it be because it
drupal_set_messageis used, notreturn? Anyway, I will try to dig some more, like you say, it should work!Comment #5
steveparks commented.pot files are no longer bundled with contrib modules. This, combined with lack of activity in this issue, means I'm closing it for now. Feel free to reopen if there's more to be said.
Comment #6
ressaI had the problem again in another module (Node Reference URL Widget) and quicksketch had the answer to the riddle:
http://drupal.org/node/1208942