added web title in translations

--HG--
branch : Issue#121
This commit is contained in:
shubham_meena 2014-03-23 18:48:39 +05:30
parent 7217a99c59
commit 5bef18032e
3 changed files with 11 additions and 2 deletions

View file

@ -62,6 +62,11 @@ class Helpers{
$smarty -> assign( $key, $value ); $smarty -> assign( $key, $value );
} }
//load ams content variables that are language dependent
foreach ( $variables['ams_content'] as $key => $value){
$smarty -> assign( $key, $value);
}
//smarty inheritance for loading the matching wrapper layout (with the matching menu bar) //smarty inheritance for loading the matching wrapper layout (with the matching menu bar)
if( isset($vars['permission']) && $vars['permission'] == 3 ){ if( isset($vars['permission']) && $vars['permission'] == 3 ){
$inherited = "extends:layout_admin.tpl|"; $inherited = "extends:layout_admin.tpl|";

View file

@ -5,8 +5,10 @@
login_info = "Please enter your MySQL Username and Password to install the database.<br>This is being loaded because the is_installed file is missing.<br>This process will take about 30 seconds." login_info = "Please enter your MySQL Username and Password to install the database.<br>This is being loaded because the is_installed file is missing.<br>This process will take about 30 seconds."
login_here = "here" login_here = "here"
[dashboard] [ams_content]
ams_title="Ryzom Account Mangement System" ams_title="Ryzom Account Mangement System"
[dashboard]
home_title = "Introduction" home_title = "Introduction"
home_info = "Welcome to the Ryzom Core - Account Management System" home_info = "Welcome to the Ryzom Core - Account Management System"

View file

@ -1,8 +1,10 @@
; This is a sample configuration file ; This is a sample configuration file
; Comments start with ';', as in php.ini ; Comments start with ';', as in php.ini
[dashboard] [ams_content]
ams_title="Ryzom Account Mangement System" ams_title="Ryzom Account Mangement System"
[dashboard]
home_title = "Presentation" home_title = "Presentation"
home_info = "Bienvenue sur le Ryzom Core - Account Management System" home_info = "Bienvenue sur le Ryzom Core - Account Management System"