Updated language dictionaries and minor changes on CSS
This commit is contained in:
parent
5b8d1233dc
commit
caa96d4fa4
|
@ -20,7 +20,7 @@ function buildThemes()
|
||||||
// Check if the theme is translated.
|
// Check if the theme is translated.
|
||||||
$languageFilename = $themePath.DS.'languages'.DS.$Site->locale().'.json';
|
$languageFilename = $themePath.DS.'languages'.DS.$Site->locale().'.json';
|
||||||
if( !Sanitize::pathFile($languageFilename) ) {
|
if( !Sanitize::pathFile($languageFilename) ) {
|
||||||
$languageFilename = $themePath.DS.'languages'.DS.'en_US.json';
|
$languageFilename = $themePath.DS.'languages'.DS.DEFAULT_LANGUAGE_FILE;
|
||||||
}
|
}
|
||||||
|
|
||||||
if( Sanitize::pathFile($languageFilename) )
|
if( Sanitize::pathFile($languageFilename) )
|
||||||
|
@ -72,7 +72,7 @@ function buildThemes()
|
||||||
// Load the language file
|
// Load the language file
|
||||||
$languageFilename = THEME_DIR.'languages'.DS.$Site->locale().'.json';
|
$languageFilename = THEME_DIR.'languages'.DS.$Site->locale().'.json';
|
||||||
if( !Sanitize::pathFile($languageFilename) ) {
|
if( !Sanitize::pathFile($languageFilename) ) {
|
||||||
$languageFilename = THEME_DIR.'languages'.DS.'en_US.json';
|
$languageFilename = THEME_DIR.'languages'.DS.DEFAULT_LANGUAGE_FILE;
|
||||||
}
|
}
|
||||||
|
|
||||||
if( Sanitize::pathFile($languageFilename) )
|
if( Sanitize::pathFile($languageFilename) )
|
||||||
|
|
|
@ -9,7 +9,7 @@ class dbSite extends dbJSON
|
||||||
'footer'=> array('inFile'=>false, 'value'=>'I wanna be a pirate!'),
|
'footer'=> array('inFile'=>false, 'value'=>'I wanna be a pirate!'),
|
||||||
'itemsPerPage'=> array('inFile'=>false, 'value'=>6),
|
'itemsPerPage'=> array('inFile'=>false, 'value'=>6),
|
||||||
'language'=> array('inFile'=>false, 'value'=>'en'),
|
'language'=> array('inFile'=>false, 'value'=>'en'),
|
||||||
'locale'=> array('inFile'=>false, 'value'=>'en_US'),
|
'locale'=> array('inFile'=>false, 'value'=>'en, en_US, en_AU, en_CA, en_GB, en_IE, en_NZ'),
|
||||||
'timezone'=> array('inFile'=>false, 'value'=>'America/Argentina/Buenos_Aires'),
|
'timezone'=> array('inFile'=>false, 'value'=>'America/Argentina/Buenos_Aires'),
|
||||||
'theme'=> array('inFile'=>false, 'value'=>'pure'),
|
'theme'=> array('inFile'=>false, 'value'=>'pure'),
|
||||||
'adminTheme'=> array('inFile'=>false, 'value'=>'default'),
|
'adminTheme'=> array('inFile'=>false, 'value'=>'default'),
|
||||||
|
|
|
@ -1,7 +0,0 @@
|
||||||
{
|
|
||||||
"theme-data":
|
|
||||||
{
|
|
||||||
"name": "Log",
|
|
||||||
"description": "Minimalista y a su vez altamente adaptable para todo tipo de pantallas, desarrollado por @n33co, adaptado y modificado para Bludit."
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,7 +0,0 @@
|
||||||
{
|
|
||||||
"theme-data":
|
|
||||||
{
|
|
||||||
"name": "Log",
|
|
||||||
"description": "Minimalistisch en responsive thema, ontwikkeld door @n33, aangepast voor Bludit."
|
|
||||||
}
|
|
||||||
}
|
|
Loading…
Reference in New Issue