correct arguments are not passed to potx_get_header()
Takafumi - September 10, 2008 - 09:46
| Project: | Translation template extractor |
| Version: | 6.x-2.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Description
Header information is not correct when outputting the template file for LANGUAGE (e.g. Japanese ..) translations, because correct arguments are not passed to potx_get_header().
And, this issue causes the following warning.
user warning: Table 'drupal6.locales_meta' doesn't exist query: SELECT locale, name, plurals, formula FROM locales_meta WHERE locale = 'ja' in xxx/sites/all/modules/potx/potx.inc on line 425.
Attached patch fixes it.
| Attachment | Size |
|---|---|
| potx.patch1_.txt | 824 bytes |

#1
You are right, we have a problem there. Patch committed to 6.x-2.x. Need to look where else is it applicable to commit there as well.
#2
Thanks.
This patch is for 6.x-1.x.
#3
@Takafumi: 6.x-1.x is not maintained anymore. Also, since 5.x is not maintained, moving back to fixed.
#4
Automatically closed -- issue fixed for 2 weeks with no activity.