Commits

christiansalazar committed 735e716

ajustments due to i18n

Comments (0)

Files changed (6)

protected/config/main.php

 return array(
 	'basePath'=>dirname(__FILE__).DIRECTORY_SEPARATOR.'..',
 	'name'=>'My Web Application',
+	'language'=>'es',
 	// preloading 'log' component
 	'preload'=>array('log'),
 

protected/data/testdrive.db

Binary file modified.

protected/views/example/eyuiform.php

 		'id'=>'form1',
 		'label'=>'A Big Form',
 		'model'=>$validationModel,
-		'submitButtonLabel'=>'Submit Form',
-		'submitErrorText'=>'Please review for errors',
-		'showErrorsLabel'=>'Show Errors',
-		'formSubmittedOkLabel'=>'Form has been saved.',
 		'showErrorResume'=>false,
 		//'themeUrl'=>'themes',
 		//'theme'=>'redmond',

protected/views/example/eyuiform2.php

 		'id'=>'form1',	// this is the 'form1'
 		'label'=>'A Big Form',
 		'model'=>$validationModel, // provides user values for this field and specific validation.
-		'submitButtonLabel'=>'Submit Form',
-		'submitErrorText'=>'Please review for errors',
-		'showErrorsLabel'=>'Show Errors',
-		'formSubmittedOkLabel'=>'Form has been saved.',
 		'showErrorResume'=>false,
 		'jQueryUiEnabled'=>true,
 		'jQueryControl'=>'tabs', // tabs or accordion

protected/views/example/eyuiformeditor.php

 	// please be sure 'mymodelid' and 'form1' are the same whenever you need to fill this form
 	// as a final user.
 	'model'=>EYuiFormEditorDb::model('mymodelid',"form1"),
-	//
-	// please note, all texts can be modified using attribute settings:
-	// look at eyuidemo\protected\extensions\eyui\EYuiFormEditor.php for available attributes:
-	// example:
-	//	
-	'tabPagesTitle'=>'Pages',
-	
 ));
 ?>

protected/views/layouts/main.php

 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
 <head>
-	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+	<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
 	<meta name="language" content="en" />
 
 	<!-- blueprint CSS framework -->