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.

CommentFileSizeAuthor
#2 potx.patch2_.txt811 bytesTakafumi
potx.patch1_.txt824 bytesTakafumi

Comments

gábor hojtsy’s picture

Version: 6.x-2.x-dev » 6.x-1.x-dev
Status: Needs review » Patch (to be ported)

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.

Takafumi’s picture

StatusFileSize
new811 bytes

Thanks.

This patch is for 6.x-1.x.

gábor hojtsy’s picture

Version: 6.x-1.x-dev » 6.x-2.x-dev
Status: Patch (to be ported) » Fixed

@Takafumi: 6.x-1.x is not maintained anymore. Also, since 5.x is not maintained, moving back to fixed.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.