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.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | potx.patch2_.txt | 811 bytes | Takafumi |
| potx.patch1_.txt | 824 bytes | Takafumi |
Comments
Comment #1
gábor hojtsyYou 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.
Comment #2
Takafumi commentedThanks.
This patch is for 6.x-1.x.
Comment #3
gábor hojtsy@Takafumi: 6.x-1.x is not maintained anymore. Also, since 5.x is not maintained, moving back to fixed.