Download & Extend

correct arguments are not passed to potx_get_header()

Project:Translation template extractor
Version:6.x-2.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

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.

AttachmentSizeStatusTest resultOperations
potx.patch1_.txt824 bytesIgnored: Check issue status.NoneNone

Comments

#1

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.

#2

Thanks.

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

AttachmentSizeStatusTest resultOperations
potx.patch2_.txt811 bytesIgnored: Check issue status.NoneNone

#3

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.

#4

Status:fixed» closed (fixed)

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