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.

AttachmentSize
potx.patch1_.txt824 bytes

#1

Gábor Hojtsy - September 25, 2008 - 07:02
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

Takafumi - September 26, 2008 - 15:15

Thanks.

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

AttachmentSize
potx.patch2_.txt 811 bytes

#3

Gábor Hojtsy - August 24, 2009 - 13:07
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

System Message - September 7, 2009 - 13:10
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.