Skip to content

Commit

Permalink
Some more work on translation implementation :) hope you'll like it :)
Browse files Browse the repository at this point in the history
Signed-off-by: gamesfanpage <game.fanpage@gmail.com>
  • Loading branch information
gamefanpage committed Jan 24, 2015
1 parent 7cf6632 commit 4466443
Show file tree
Hide file tree
Showing 17 changed files with 1,010 additions and 12 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "sximocrud/lang",
"version": "1.0.0-dev",
"version": "1.0.2-dev",
"description": "Language package for sximocrud script",
"keywords": ["lang", "crud", "laravel", "sximo", "cms"],
"license": "MIT",
Expand Down
30 changes: 30 additions & 0 deletions src/Sximolang/app/lang/de/core.php
Original file line number Diff line number Diff line change
Expand Up @@ -201,4 +201,34 @@
"dashboard_submodule_03" => "Manage Menu for your application frontend or backend",//sixmolang update
"dashboard_module_04" => "Users & Groups",//sixmolang update
"dashboard_submodule_04" => "Manage groups and users and grant what module and menu are accesible",//sixmolang update

/* Home page Template */
"fr_home_login" => "Log In",//sixmolang update
"fr_home_register" => "Registration",//sixmolang update
"fr_home_profile" => "My Profile",//sixmolang update
"fr_recaaptcha" => "Are u human ?",//sixmolang update
"fr_backlogin" => "Back to Login",//sixmolang update
"fr_backsite" => "Back to Site",//sixmolang update
"fr_forgetpassword" => "Forgot password?",//sixmolang update
"fr_noaccount" => "Do not have an account?",//sixmolang update
"fr_createaccount" => "Create an account",//sixmolang update
"m_mainsite" => "Main Site",//sixmolang update
"m_badgenew" =>"New",//sixmolang update
"fr_copyright" => "Copyright 2014",//sixmolang update
"fr_copyright_rights" => "ALL Rights Reserved.",//sixmolang update
"fr_modaltitle" => "Modal title",//sixmolang update
"fr_masterrecord" => "Record Master : ",//sixmolang update

/* Profile */
"fr_myprofile" => "Account",//sixmolang update
"fr_submyprofile" => "View Detail My Info",//sixmolang update
"fr_profileusername" => "Username",//sixmolang update
"fr_profileavatar" => "Avatar",//sixmolang update
"fr_profileupavatar" => "Upload Avatar Image",//sixmolang update
"fr_profilechangeavatar" => "Change",//sixmolang update
"fr_imagedimension" => "Image Dimension 80 x 80 px",//sixmolang update
"fr_remindnew" => "New Password",//sixmolang update
"fr_remindnewagain" => "Re-type Password",//sixmolang update
"fr_remindreset" => "Reset My Password",//sixmolang update
"fr_lastlogin" => "Last Login",//sixmolang update
);
30 changes: 30 additions & 0 deletions src/Sximolang/app/lang/en/core.php
Original file line number Diff line number Diff line change
Expand Up @@ -201,4 +201,34 @@
"dashboard_submodule_03" => "Manage Menu for your application frontend or backend",//sixmolang update
"dashboard_module_04" => "Users & Groups",//sixmolang update
"dashboard_submodule_04" => "Manage groups and users and grant what module and menu are accesible",//sixmolang update

/* Home page Template */
"fr_home_login" => "Log In",//sixmolang update
"fr_home_register" => "Registration",//sixmolang update
"fr_home_profile" => "My Profile",//sixmolang update
"fr_recaaptcha" => "Are u human ?",//sixmolang update
"fr_backlogin" => "Back to Login",//sixmolang update
"fr_backsite" => "Back to Site",//sixmolang update
"fr_forgetpassword" => "Forgot password?",//sixmolang update
"fr_noaccount" => "Do not have an account?",//sixmolang update
"fr_createaccount" => "Create an account",//sixmolang update
"m_mainsite" => "Main Site",//sixmolang update
"m_badgenew" =>"New",//sixmolang update
"fr_copyright" => "Copyright 2014",//sixmolang update
"fr_copyright_rights" => "ALL Rights Reserved.",//sixmolang update
"fr_modaltitle" => "Modal title",//sixmolang update
"fr_masterrecord" => "Record Master : ",//sixmolang update

/* Profile */
"fr_myprofile" => "Account",//sixmolang update
"fr_submyprofile" => "View Detail My Info",//sixmolang update
"fr_profileusername" => "Username",//sixmolang update
"fr_profileavatar" => "Avatar",//sixmolang update
"fr_profileupavatar" => "Upload Avatar Image",//sixmolang update
"fr_profilechangeavatar" => "Change",//sixmolang update
"fr_imagedimension" => "Image Dimension 80 x 80 px",//sixmolang update
"fr_remindnew" => "New Password",//sixmolang update
"fr_remindnewagain" => "Re-type Password",//sixmolang update
"fr_remindreset" => "Reset My Password",//sixmolang update
"fr_lastlogin" => "Last Login",//sixmolang update
);
52 changes: 41 additions & 11 deletions src/Sximolang/app/lang/fr/core.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,18 +63,18 @@
"t_generalsettingsmall" => "Gérer les paramètres du site", // updated apidevlab
"t_blastemail" => "Email de masse", // updated apidevlab
"t_blastemailsmall" => "Envoyer vos Emailings",
"t_emailtemplate" => "Email Templates",
"t_emailtemplatesmall" => "Manage Email Templates", // updated apidevlab
"t_loginsecurity" => "Login & Security", // updated apidevlab
"t_loginsecuritysmall" => "Manage Logins & Security", // updated apidevlab
"t_socialmedia" => "Social Media Login", // updated apidevlab
"t_lfb" => "Login via Facebook", // updated apidevlab
"t_lgoogle" => "Login via Google", // updated apidevlab
"t_ltwit" => "Login via Twitter", // updated apidevlab
"t_emailtemplate" => "Modèle d'email",
"t_emailtemplatesmall" => "Gérer les modèles d'email", // updated apidevlab
"t_loginsecurity" => "Connection & Sécurité", // updated apidevlab
"t_loginsecuritysmall" => "Gestion des Identifiants & Sécurité", // updated apidevlab
"t_socialmedia" => "Connection réseaux sociaux", // updated apidevlab
"t_lfb" => "Connectez-vous via Facebook", // updated apidevlab
"t_lgoogle" => "Connectez-vous via Google", // updated apidevlab
"t_ltwit" => "Connectez-vous via Twitter", // updated apidevlab
"tab_siteinfo" => "Paramètres Généraux", // Site Info updated apidevlab
"tab_loginsecurity" => "Login & Security",
"tab_loginsecurity" => "Identifiants & Sécurité",
"tab_email" => "Modèle d'envoie d'email", // updated apidevlab
"fr_appname" => "Now du Site ",
"fr_appname" => "Nom du Site ",
"fr_appdesc" => "Description du Site",
"fr_comname" => "Nom de l'entreprise",
"fr_emailsys" => "Courriel Générale",
Expand Down Expand Up @@ -171,7 +171,7 @@
"fr_modmanualsql" => "Manual Mysql Statment ",

/*updates on may ,5 2014 */
"loginsocial" => "Login via Social Networking", // updated apidevlab
"loginsocial" => "Se connecter via Reseaux Sociaux", // updated apidevlab
"enteremailforgot" => "Enter Your Email Address",
"detail" => "View Detail",
"addedit" => "Add - Edit",
Expand Down Expand Up @@ -201,4 +201,34 @@
"dashboard_submodule_03" => "Gérer les Menus pour votre interface d'application ou backend",//sixmolang update
"dashboard_module_04" => "Utulisateurs & Groupes",//sixmolang update
"dashboard_submodule_04" => "Gérer les groupes et les utilisateurs et leur attribuer des permissions d'accès",//sixmolang update

/* Home page Template */
"fr_home_login" => "S'identifier",//sixmolang update
"fr_home_register" => "S'enregistrer",//sixmolang update
"fr_home_profile" => "Mon Profil",//sixmolang update
"fr_recaaptcha" => "Etes-vous humain ?",//sixmolang update
"fr_backlogin" => "Se connecter",//sixmolang update
"fr_backsite" => "Retour vers le Site",//sixmolang update
"fr_forgetpassword" => "Oublier votre mot de passe?",//sixmolang update
"fr_noaccount" => "Pas encore de compte?",//sixmolang update
"fr_createaccount" => "Créer un nouveau compte",//sixmolang update
"m_mainsite" => "Site Principale",//sixmolang update
"m_badgenew" =>"Nouveau",//sixmolang update
"fr_copyright" => "Copyright 2014",//sixmolang update
"fr_copyright_rights" => "Tous Droits Reservés.",//sixmolang update
"fr_modaltitle" => "Modal title",//sixmolang update
"fr_masterrecord" => "Record Master : ",//sixmolang update

/* Profile */
"fr_myprofile" => "Mon Compte",//sixmolang update
"fr_submyprofile" => "Voir mes informations",//sixmolang update
"fr_profileusername" => "Nom d'utilisateur",//sixmolang update
"fr_profileavatar" => "Avatar",//sixmolang update
"fr_profileupavatar" => "Charger Votre image Avatar",//sixmolang update
"fr_profilechangeavatar" => "Modifier",//sixmolang update
"fr_imagedimension" => "Dimension de l'image 80 x 80 px",//sixmolang update
"fr_remindnew" => "Nouveau Mot de Passe",//sixmolang update
"fr_remindnewagain" => "Réecrire le Mot de Passe",//sixmolang update
"fr_remindreset" => "Réinitialiser mon Mot de Passe",//sixmolang update
"fr_lastlogin" => "Dernière Connection",//sixmolang update
);
30 changes: 30 additions & 0 deletions src/Sximolang/app/lang/in/core.php
Original file line number Diff line number Diff line change
Expand Up @@ -201,4 +201,34 @@
"dashboard_submodule_03" => "Manage Menu for your application frontend or backend",//sixmolang update
"dashboard_module_04" => "Users & Groups",//sixmolang update
"dashboard_submodule_04" => "Manage groups and users and grant what module and menu are accesible",//sixmolang update

/* Home page Template */
"fr_home_login" => "Log In",//sixmolang update
"fr_home_register" => "Registration",//sixmolang update
"fr_home_profile" => "My Profile",//sixmolang update
"fr_recaaptcha" => "Are u human ?",//sixmolang update
"fr_backlogin" => "Back to Login",//sixmolang update
"fr_backsite" => "Back to Site",//sixmolang update
"fr_forgetpassword" => "Forgot password?",//sixmolang update
"fr_noaccount" => "Do not have an account?",//sixmolang update
"fr_createaccount" => "Create an account",//sixmolang update
"m_mainsite" => "Main Site",//sixmolang update
"m_badgenew" =>"New",//sixmolang update
"fr_copyright" => "Copyright 2014",//sixmolang update
"fr_copyright_rights" => "ALL Rights Reserved.",//sixmolang update
"fr_modaltitle" => "Modal title",//sixmolang update
"fr_masterrecord" => "Record Master : ",//sixmolang update

/* Profile */
"fr_myprofile" => "Account",//sixmolang update
"fr_submyprofile" => "View Detail My Info",//sixmolang update
"fr_profileusername" => "Username",//sixmolang update
"fr_profileavatar" => "Avatar",//sixmolang update
"fr_profileupavatar" => "Upload Avatar Image",//sixmolang update
"fr_profilechangeavatar" => "Change",//sixmolang update
"fr_imagedimension" => "Image Dimension 80 x 80 px",//sixmolang update
"fr_remindnew" => "New Password",//sixmolang update
"fr_remindnewagain" => "Re-type Password",//sixmolang update
"fr_remindreset" => "Reset My Password",//sixmolang update
"fr_lastlogin" => "Last Login",//sixmolang update
);
30 changes: 30 additions & 0 deletions src/Sximolang/app/lang/kr/core.php
Original file line number Diff line number Diff line change
Expand Up @@ -201,4 +201,34 @@
"dashboard_submodule_03" => "Manage Menu for your application frontend or backend",//sixmolang update
"dashboard_module_04" => "Users & Groups",//sixmolang update
"dashboard_submodule_04" => "Manage groups and users and grant what module and menu are accesible",//sixmolang update

/* Home page Template */
"fr_home_login" => "Log In",//sixmolang update
"fr_home_register" => "Registration",//sixmolang update
"fr_home_profile" => "My Profile",//sixmolang update
"fr_recaaptcha" => "Are u human ?",//sixmolang update
"fr_backlogin" => "Back to Login",//sixmolang update
"fr_backsite" => "Back to Site",//sixmolang update
"fr_forgetpassword" => "Forgot password?",//sixmolang update
"fr_noaccount" => "Do not have an account?",//sixmolang update
"fr_createaccount" => "Create an account",//sixmolang update
"m_mainsite" => "Main Site",//sixmolang update
"m_badgenew" =>"New",//sixmolang update
"fr_copyright" => "Copyright 2014",//sixmolang update
"fr_copyright_rights" => "ALL Rights Reserved.",//sixmolang update
"fr_modaltitle" => "Modal title",//sixmolang update
"fr_masterrecord" => "Record Master : ",//sixmolang update

/* Profile */
"fr_myprofile" => "Account",//sixmolang update
"fr_submyprofile" => "View Detail My Info",//sixmolang update
"fr_profileusername" => "Username",//sixmolang update
"fr_profileavatar" => "Avatar",//sixmolang update
"fr_profileupavatar" => "Upload Avatar Image",//sixmolang update
"fr_profilechangeavatar" => "Change",//sixmolang update
"fr_imagedimension" => "Image Dimension 80 x 80 px",//sixmolang update
"fr_remindnew" => "New Password",//sixmolang update
"fr_remindnewagain" => "Re-type Password",//sixmolang update
"fr_remindreset" => "Reset My Password",//sixmolang update
"fr_lastlogin" => "Last Login",//sixmolang update
);
30 changes: 30 additions & 0 deletions src/Sximolang/app/lang/pt-br/core.php
Original file line number Diff line number Diff line change
Expand Up @@ -201,4 +201,34 @@
"dashboard_submodule_03" => "Manage Menu for your application frontend or backend",//sixmolang update
"dashboard_module_04" => "Users & Groups",//sixmolang update
"dashboard_submodule_04" => "Manage groups and users and grant what module and menu are accesible",//sixmolang update

/* Home page Template */
"fr_home_login" => "Log In",//sixmolang update
"fr_home_register" => "Registration",//sixmolang update
"fr_home_profile" => "My Profile",//sixmolang update
"fr_recaaptcha" => "Are u human ?",//sixmolang update
"fr_backlogin" => "Back to Login",//sixmolang update
"fr_backsite" => "Back to Site",//sixmolang update
"fr_forgetpassword" => "Forgot password?",//sixmolang update
"fr_noaccount" => "Do not have an account?",//sixmolang update
"fr_createaccount" => "Create an account",//sixmolang update
"m_mainsite" => "Main Site",//sixmolang update
"m_badgenew" =>"New",//sixmolang update
"fr_copyright" => "Copyright 2014",//sixmolang update
"fr_copyright_rights" => "ALL Rights Reserved.",//sixmolang update
"fr_modaltitle" => "Modal title",//sixmolang update
"fr_masterrecord" => "Record Master : ",//sixmolang update

/* Profile */
"fr_myprofile" => "Account",//sixmolang update
"fr_submyprofile" => "View Detail My Info",//sixmolang update
"fr_profileusername" => "Username",//sixmolang update
"fr_profileavatar" => "Avatar",//sixmolang update
"fr_profileupavatar" => "Upload Avatar Image",//sixmolang update
"fr_profilechangeavatar" => "Change",//sixmolang update
"fr_imagedimension" => "Image Dimension 80 x 80 px",//sixmolang update
"fr_remindnew" => "New Password",//sixmolang update
"fr_remindnewagain" => "Re-type Password",//sixmolang update
"fr_remindreset" => "Reset My Password",//sixmolang update
"fr_lastlogin" => "Last Login",//sixmolang update
);
57 changes: 57 additions & 0 deletions src/Sximolang/app/views/layouts/headmenu.blade.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
<div class="row ">
<nav style="margin-bottom: 0;" role="navigation" class="navbar navbar-static-top gray-bg">
<div class="navbar-header">
<a href="javascript:void(0)" class="navbar-minimalize minimalize-btn btn btn-primary "><i class="fa fa-bars"></i> </a>

</div>
<ul class="nav navbar-top-links navbar-right">
@if(CNF_MULTILANG ==1)
<li class="user dropdown"><a href="javascript:void(0)" class="dropdown-toggle" data-toggle="dropdown"><i class="icon-flag2"></i><i class="caret"></i></a>
<ul class="dropdown-menu dropdown-menu-right icons-right">
@foreach(SiteHelpers::langOption() as $lang)
<li><a href="{{ URL::to('home/lang/'.$lang['folder'])}}"><i class="icon-flag2"></i> {{ $lang['name'] }}</a></li>
@endforeach
</ul>
</li>
@endif
@if(!Auth::check())
<li><a href="{{ URL::to('user/login')}}"><i class="icon-arrow-right12"></i> {{ Lang::get('core.signin'); }}</a></li>
@else
@if(Session::get('gid') ==1)
<li class="user dropdown"><a class="dropdown-toggle" href="javascript:void(0)" data-toggle="dropdown"><i class="icon-screen"></i> <span>{{ Lang::get('core.m_controlpanel'); }}</span><i class="caret"></i></a>
<ul class="dropdown-menu dropdown-menu-right icons-right">

<li><a href="{{ URL::to('config')}}"><i class="fa fa-wrench"></i> {{ Lang::get('core.m_setting'); }} <sup class="badge"> {{ Lang::get('core.m_badgenew'); }} </sup> </a></li>


<li><a href="{{ URL::to('users')}}"><i class="fa fa-user"></i> {{ Lang::get('core.m_users'); }} </a></li>
<li><a href="{{ URL::to('groups')}}"><i class="fa fa-users"></i> {{ Lang::get('core.m_groups'); }} </a></li>
<li><a href="{{ URL::to('config/blast')}}"><i class="fa fa-envelope"></i> {{ Lang::get('core.m_blastemail'); }} </a></li>

<li><a href="{{ URL::to('logs')}}"><i class="fa fa-clock-o"></i> {{ Lang::get('core.m_logs'); }}</a></li>
<li class="divider"></li>
<li><a href="{{ URL::to('pages')}}"><i class="fa fa-copy"></i> {{ Lang::get('core.m_pagecms'); }}</a></li>
<li><a href="{{ URL::to('blogadmin')}}"><i class="fa fa-folder-open"></i> Blog Posts <sup class="badge"> {{ Lang::get('core.m_badgenew'); }} </sup></a></li>
<li><a href="{{ URL::to('menu')}}"><i class="fa fa-sitemap"></i> {{ Lang::get('core.m_menu'); }}</a></li>
<li class="divider"></li>
<li><a href="{{ URL::to('module')}}"><i class="fa fa-cogs"></i> {{ Lang::get('core.m_codebuilder'); }}</a></li>
<li class="divider"></li>
<li><a href="{{ URL::to('config/help')}}"><i class="fa fa-book"></i> {{ Lang::get('core.m_manual'); }}</a></li>
</ul>
</li>
@endif
<li class="user dropdown"><a class="dropdown-toggle" href="javascript:void(0)" data-toggle="dropdown"><i class="icon-user"></i> <span>{{ Lang::get('core.m_myaccount'); }}</span><i class="caret"></i></a>
<ul class="dropdown-menu dropdown-menu-right icons-right">
<li><a href="{{ URL::to('dashboard')}}"><i class="icon-stats-up"></i> {{ Lang::get('core.m_dashboard'); }}</a></li>
<li><a href="{{ URL::to('')}}" target="_blank"><i class="icon-stats-up"></i> {{ Lang::get('core.m_mainsite'); }} </a></li>
<li><a href="{{ URL::to('user/profile')}}"><i class="icon-user"></i> {{ Lang::get('core.m_profile'); }}</a></li>
<li><a href="{{ URL::to('user/logout')}}"><i class="icon-exit"></i> {{ Lang::get('core.m_logout'); }}</a></li>
</ul>
</li>

@endif

</ul>

</nav>
</div>
Loading

0 comments on commit 4466443

Please sign in to comment.