Skip to content
Snippets Groups Projects
Commit 4e7faa73 authored by Olav Morken's avatar Olav Morken
Browse files

Template: remove language.base config option.

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@757 44740490-163a-0410-bde0-09ae8108e29a
parent 256686bb
Branches
Tags
No related merge requests found
...@@ -154,14 +154,6 @@ $config = array ( ...@@ -154,14 +154,6 @@ $config = array (
'language.available' => array('en', 'no', 'nn', 'se', 'fi', 'da', 'sv', 'de', 'es', 'fr', 'nl', 'lb', 'hr', 'hu', 'sl'), 'language.available' => array('en', 'no', 'nn', 'se', 'fi', 'da', 'sv', 'de', 'es', 'fr', 'nl', 'lb', 'hr', 'hu', 'sl'),
'language.default' => 'en', 'language.default' => 'en',
/*
* Leave the language.base to 'en' (english). The language base MUST be set
* to a language that contains 100% of the strings available. It is used as
* a fallback language if not the selected, nor the default have a translation
* for a specific string.
*/
'language.base' => 'en',
/* /*
* Which theme directory should be used? The base is fallback (leave it to default). * Which theme directory should be used? The base is fallback (leave it to default).
*/ */
......
...@@ -160,7 +160,7 @@ class SimpleSAML_XHTML_Template { ...@@ -160,7 +160,7 @@ class SimpleSAML_XHTML_Template {
* Returns the language base (from configuration) * Returns the language base (from configuration)
*/ */
private function getBaseLanguage() { private function getBaseLanguage() {
return $this->configuration->getValue('language.base', 'en'); return 'en';
} }
/** /**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment