Merged in shubham_meena/ryzomcore/Issue#121 (pull request #58)

Added tile of web in translations
This commit is contained in:
Jan Boon 2014-03-28 20:02:14 +01:00
commit b210450b8d
4 changed files with 14 additions and 3 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,6 +5,9 @@
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"
[ams_content]
ams_title="Ryzom Account Mangement System"
[dashboard] [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"
@ -242,4 +245,4 @@ email_body_forgot_password_header = "A request to reset your account's password
email_body_forgot_password_footer = " email_body_forgot_password_footer = "
---------- ----------
If you didn't make this request, please ignore this message." If you didn't make this request, please ignore this message."
;=========================================================================== ;===========================================================================

View file

@ -1,6 +1,9 @@
; 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
[ams_content]
ams_title="Ryzom Account Mangement System"
[dashboard] [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"
@ -230,4 +233,4 @@ email_body_forgot_password_header = "Une demande de reinitialiser le mot de pass
email_body_forgot_password_footer = " email_body_forgot_password_footer = "
---------- ----------
Si vous n'avez pas fait cette demande, s'il vous plait ignorer ce message." Si vous n'avez pas fait cette demande, s'il vous plait ignorer ce message."
;=========================================================================== ;===========================================================================

View file

@ -12,7 +12,7 @@
http://twitter.com/halalit_usman http://twitter.com/halalit_usman
--> -->
<meta charset="utf-8"> <meta charset="utf-8">
<title>Ryzom Account Management System</title> <title>{$ams_title}</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="ryzom,ams"> <meta name="description" content="ryzom,ams">
<meta name="author" content="Daan Janssens & Matthew Lagoe"> <meta name="author" content="Daan Janssens & Matthew Lagoe">