Project:Translation template extractor
Version:6.x-3.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Dave Reid
Status:closed (fixed)

Issue Summary

I don't think there is any reason to extract strings from API documentation, which has been standardized to use modulename.api.php. Is there a way to exclude these files from the translation templates?

Comments

#1

Requires a patch to the module.

#2

Version:6.x-2.x-dev» 6.x-3.x-dev
Assigned to:Anonymous» Dave Reid
Status:active» needs review

Patch supplied for 6.x-3.x. Tested and works. Also fixes the preg_match to actually use the period character since of a character wildcard.

Sorry there are a few trailing whitespace fixes in the patch. There are a *LOT* of trailing whitespace in the entire module's code. Very annoying with an auto-correcting IDE. :( I'll file a sep. patch for just whitespace.

AttachmentSizeStatusTest resultOperations
471124-potx-exclude-api-D6-3.patch1002 bytesIgnored: Check issue status.NoneNone

#3

Status:needs review» fixed

Thanks, committed to both the 6.x and 7.x branch of the module.

#4

Status:fixed» closed (fixed)

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

nobody click here