Closed (fixed)
Project:
Translation template extractor
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
26 Oct 2007 at 10:23 UTC
Updated:
19 Nov 2007 at 17:21 UTC
i want to extract the translation for a modul, so i choose
the option to: (on the end of the extraction page)
Include translations
Include translations of strings in the file generated. Not applicable for language independent templates.
and get:
Fatal error: Call to undefined function _locale_export_string() in /kunden/150136_80687/km/sites/all/modules/potx/potx.inc on line 333
Comments
Comment #1
miles28 commentedI've got the same issue.
Comment #2
liegerad commentedIn drupal 6 the function is available in locale.inc, but not in drupal 5?
Just copy it from http://api.drupal.org/api/function/_locale_export_string/6
As a workaround...
Comment #3
gábor hojtsy_locale_export_string() was known as _locale_export_print() in Drupal 5. I fixed this in the latest development version of potx module. Thanks for the report, sorry for this bug.
Comment #4
(not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.