Index: potx.module =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/potx/Attic/potx.module,v retrieving revision 1.1.2.15.2.1 diff -u -p -r1.1.2.15.2.1 potx.module --- potx.module 31 Jan 2008 14:35:06 -0000 1.1.2.15.2.1 +++ potx.module 6 Sep 2008 20:14:01 -0000 @@ -145,6 +145,13 @@ function potx_select_form_submit($form_i else { $outputname .= '.pot'; } + + // Just ask module itself for its strings + $module_name = $pathinfo['basename']; + foreach (module_invoke($module_name, 'potx') as $string) { + _potx_save_string($string, $module_name); + } + // Collect every string in affected files. Installer related strings are discared. foreach ($files as $file) {