Skip to content

Commit

Permalink
Revert "Fix viewdocs.phtml to accept two-letter or three-letter langu…
Browse files Browse the repository at this point in the history
…age codes"

This reverts commit bf0d3c3ce4c1b605707bc7934c71ce7300590810.
Makes the problem worse.
  • Loading branch information
jralls committed Jan 4, 2014
1 parent 8475eeb commit 417dd41
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions viewdoc.phtml
Expand Up @@ -86,8 +86,8 @@ if (isset ($_GET["rev"])) {
# updated if list of languages in which the documentation is available changes
if ($showrev == "trunk") {
$basepath = "http://code.gnucash.org/docs";
$trunk_langs = array ( $helpdoc => array( "C", "de", "de_DE", "it", "it_IT"),
$tcdoc => array( "C", "de" "de_DE", "it", "it_IT", "ja", "ja_JP"));
$trunk_langs = array ( $helpdoc => array( "C", "de_DE", "it_IT"),
$tcdoc => array( "C", "de_DE", "it_IT", "ja_JP"));
if (!in_array ($showlang, $trunk_langs[$showdoc])) {
$showlang = "C";
$req_lang_ok = false;
Expand Down

0 comments on commit 417dd41

Please sign in to comment.