[Rt-commit] rt branch, 4.4/migrate-cgi-env, repushed
? sunnavy
sunnavy at bestpractical.com
Fri Jan 9 10:22:28 EST 2015
The branch 4.4/migrate-cgi-env was deleted and repushed:
was b90608fa1a12582afc9303135628d47fc84ac594
now 219e575da00f389624d5234dcfd7b5424479fbb3
1: a12a694 = 1: a12a694 abstract usage of cgi env variables
2: ce3073a ! 2: 75551ee use psgi env directly
@@ -27,6 +27,7 @@
push @_, 'en';
+ } elsif ($HTML::Mason::Commands::m) {
+ # Detect from the HTTP header.
++ require I18N::LangTags::Detect;
+ push @_, I18N::LangTags::Detect->http_accept_langs(
+ RT::Interface::Web::RequestENV('HTTP_ACCEPT_LANGUAGE')
+ );
3: b90608f = 3: 219e575 update the mock of $m to reflect the cgi env migration
More information about the rt-commit
mailing list