demianturner / sgl-docs-tickets-migration-test

0 stars 0 forks source link

fix resolveLanguageFromBrowser for 'zh-tw' #1694

Closed demianturner closed 11 years ago

demianturner commented 11 years ago

Because $_SERVER['HTTP_ACCEPT_LANGUAGE'] of Chinese/Taiwan is ''''zh-tw'''', we need to handle specially.

demianturner commented 11 years ago

[demian](In [4223]) fixing probs with zh-tw, fixes #1694

demianturner commented 11 years ago

[demian] Hi Henry

There's sthing wrong with this patch:

{{{ demian:10:03 pm:/var/www/html/seagull/branches/0.6-bugfix> patch -p0 --dry-run < Translation3_Driver.diff (Stripping trailing CRs from patch.) patching file lib/SGL/Translation3/Driver.php patch unexpectedly ends in middle of line patch: **\ malformed patch at line 18:
}}}

I applied it manually - thanks.