Closed (fixed)
Project:
Tweet Button
Version:
6.x-1.4
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
8 Dec 2010 at 18:55 UTC
Updated:
30 Jan 2011 at 16:40 UTC
Attached is an unsophisticated, but working patch (against 6.14) that adds an "Automatic" option to the "Language" select at /admin/settings/tweetbutton.
If the contents of the tweetbutton_language variable is found to be 'auto', the module runs global $language and provides the contents of $language->language to tweetbutton_get_attributes().
If you think you'd like to include it but that it needs modification, please let me know and I'll make whatever changes you think necessary.
| Comment | File | Size | Author |
|---|---|---|---|
| tweetbutton-auto-lang-detect-20101208.patch | 2.22 KB | bedlam |
Comments
Comment #1
bedlamComment #2
chia commentedpatch commited and updated in dev.
Thanks