Changeset 19814

Show
Ignore:
Timestamp:
09/24/08 17:52:14 (5 years ago)
Author:
gen
Message:

すかっふぉるど!

Location:
events/phpframework/akelos/trunk
Files:
22 added
4 modified

Legend:

Unmodified
Added
Removed
  • events/phpframework/akelos/trunk/config/config.php

    r19800 r19814  
    5252// Please be aware that your charset needs to be UTF-8 in order to edit the locales files 
    5353// auto will enable all the locales at config/locales/ dir 
    54 define('AK_AVAILABLE_LOCALES', 'en,ja,en_us'); 
     54define('AK_AVAILABLE_LOCALES', 'ja,en'); 
    5555 
    5656// Use this in order to allow only these locales on web requests 
    57 define('AK_ACTIVE_RECORD_DEFAULT_LOCALES', 'en,ja,en_us'); 
    58 define('AK_APP_LOCALES', 'en,ja,en_us'); 
    59 define('AK_PUBLIC_LOCALES', 'en,ja,en_us'); 
     57define('AK_ACTIVE_RECORD_DEFAULT_LOCALES', 'ja,en'); 
     58define('AK_APP_LOCALES', 'ja,en'); 
     59define('AK_PUBLIC_LOCALES', 'ja,en'); 
    6060 
    6161// The web configuration wizard could not detect if you have mod_rewrite enabled.  
     
    6363// defined('AK_URL_REWRITE_ENABLED') ? null : define('AK_URL_REWRITE_ENABLED', true); 
    6464 
    65 // defined('AK_FRAMEWORK_DIR') ? null : define('AK_FRAMEWORK_DIR', null); 
     65defined('AK_FRAMEWORK_DIR') ? null : define('AK_FRAMEWORK_DIR', dirname(dirname(__FILE__))); 
    6666 
    6767include_once(dirname(__FILE__).DIRECTORY_SEPARATOR.'boot.php'); 
  • events/phpframework/akelos/trunk/config/locales/en.php

    r18146 r19814  
    161161   Available generator are:'; 
    162162 
     163// 2008-09-24 11:01:00 
     164 
     165 
     166$dictionary['Please add --force to the argument list in order to overwrite existing files.'] = 'Please add --force to the argument list in order to overwrite existing files.'; 
     167 
     168// 2008-09-24 14:29:29 
     169 
     170 
     171$dictionary[' 
     172  You must supply a valid installer name like :  
     173'] = ' 
     174  You must supply a valid installer name like :  
     175'; 
     176$dictionary[' 
     177  > ./script/migrate my_installer_name install 
     178 
     179'] = ' 
     180  > ./script/migrate my_installer_name install 
     181 
     182'; 
     183$dictionary['  Available installers are:   
     184 
     185'] = '  Available installers are:   
     186 
     187'; 
     188 
     189// 2008-09-24 14:29:37 
     190 
     191 
     192$dictionary['Description: 
     193    Database migrations is a sort of SCM like subversion, but for database settings. 
     194 
     195    The migration command takes the name of an installer located on your  
     196    /app/installers folder and runs one of the following commands: 
     197     
     198    - "install" + (options version number): Will update to the provided version  
     199    number or to the latest one in no version is given. 
     200     
     201    - "uninstall" + (options version number): Will downgrade to the provided  
     202    version number or to the lowest one in no version is given. 
     203 
     204    Current version number will be sorted at app/installers/installer_name_version.txt. 
     205 
     206Example: 
     207    >> migrate framework install 
     208 
     209    Will run the default database schema for the framework.  
     210    This generates the tables for handling database driven sessions and cache. 
     211 
     212'] = 'Description: 
     213    Database migrations is a sort of SCM like subversion, but for database settings. 
     214 
     215    The migration command takes the name of an installer located on your  
     216    /app/installers folder and runs one of the following commands: 
     217     
     218    - "install" + (options version number): Will update to the provided version  
     219    number or to the latest one in no version is given. 
     220     
     221    - "uninstall" + (options version number): Will downgrade to the provided  
     222    version number or to the lowest one in no version is given. 
     223 
     224    Current version number will be sorted at app/installers/installer_name_version.txt. 
     225 
     226Example: 
     227    >> migrate framework install 
     228 
     229    Will run the default database schema for the framework.  
     230    This generates the tables for handling database driven sessions and cache. 
     231 
     232'; 
     233 
     234// 2008-09-24 14:29:45 
     235 
     236 
     237$dictionary[' 
     238 
     239  Could not locate the installer file %file 
     240 
     241'] = ' 
     242 
     243  Could not locate the installer file %file 
     244 
     245'; 
     246 
     247// 2008-09-24 14:29:54 
     248 
     249 
     250$dictionary['Can\'t go up to version %version, you\'re already on version %version'] = 'Can\'t go up to version %version, you\'re already on version %version'; 
     251 
     252// 2008-09-24 14:30:02 
     253 
     254 
     255$dictionary['Downgrading'] = 'Downgrading'; 
     256 
     257// 2008-09-24 16:45:22 
     258 
     259 
     260$dictionary['Could not create or alter table %name using the SQL  
     261-------- 
     262%sql 
     263-------- 
     264'] = 'Could not create or alter table %name using the SQL  
     265-------- 
     266%sql 
     267-------- 
     268'; 
     269 
    163270 
    164271?> 
  • events/phpframework/akelos/trunk/config/locales/ja.php

    r18146 r19814  
    159159   有効なジェネレータ:'; 
    160160 
     161// 2008-09-24 11:01:00 
     162 
     163 
     164$dictionary['Please add --force to the argument list in order to overwrite existing files.'] = 'Please add --force to the argument list in order to overwrite existing files.'; 
     165 
     166// 2008-09-24 14:29:29 
     167 
     168 
     169$dictionary[' 
     170  You must supply a valid installer name like :  
     171'] = ' 
     172  You must supply a valid installer name like :  
     173'; 
     174$dictionary[' 
     175  > ./script/migrate my_installer_name install 
     176 
     177'] = ' 
     178  > ./script/migrate my_installer_name install 
     179 
     180'; 
     181$dictionary['  Available installers are:   
     182 
     183'] = '  Available installers are:   
     184 
     185'; 
     186 
     187// 2008-09-24 14:29:37 
     188 
     189 
     190$dictionary['Description: 
     191    Database migrations is a sort of SCM like subversion, but for database settings. 
     192 
     193    The migration command takes the name of an installer located on your  
     194    /app/installers folder and runs one of the following commands: 
     195     
     196    - "install" + (options version number): Will update to the provided version  
     197    number or to the latest one in no version is given. 
     198     
     199    - "uninstall" + (options version number): Will downgrade to the provided  
     200    version number or to the lowest one in no version is given. 
     201 
     202    Current version number will be sorted at app/installers/installer_name_version.txt. 
     203 
     204Example: 
     205    >> migrate framework install 
     206 
     207    Will run the default database schema for the framework.  
     208    This generates the tables for handling database driven sessions and cache. 
     209 
     210'] = 'Description: 
     211    Database migrations is a sort of SCM like subversion, but for database settings. 
     212 
     213    The migration command takes the name of an installer located on your  
     214    /app/installers folder and runs one of the following commands: 
     215     
     216    - "install" + (options version number): Will update to the provided version  
     217    number or to the latest one in no version is given. 
     218     
     219    - "uninstall" + (options version number): Will downgrade to the provided  
     220    version number or to the lowest one in no version is given. 
     221 
     222    Current version number will be sorted at app/installers/installer_name_version.txt. 
     223 
     224Example: 
     225    >> migrate framework install 
     226 
     227    Will run the default database schema for the framework.  
     228    This generates the tables for handling database driven sessions and cache. 
     229 
     230'; 
     231 
     232// 2008-09-24 14:29:45 
     233 
     234 
     235$dictionary[' 
     236 
     237  Could not locate the installer file %file 
     238 
     239'] = ' 
     240 
     241  Could not locate the installer file %file 
     242 
     243'; 
     244 
     245// 2008-09-24 14:29:54 
     246 
     247 
     248$dictionary['Can\'t go up to version %version, you\'re already on version %version'] = 'Can\'t go up to version %version, you\'re already on version %version'; 
     249 
     250// 2008-09-24 14:30:02 
     251 
     252 
     253$dictionary['Downgrading'] = 'Downgrading'; 
     254 
     255// 2008-09-24 16:45:22 
     256 
     257 
     258$dictionary['Could not create or alter table %name using the SQL  
     259-------- 
     260%sql 
     261-------- 
     262'] = 'Could not create or alter table %name using the SQL  
     263-------- 
     264%sql 
     265-------- 
     266'; 
     267 
     268 
    161269?> 
  • events/phpframework/akelos/trunk/config/routes.php

    r19707 r19814  
    44 
    55$Map->connect('/:controller/:action/:id', array('controller' => 'page', 'action' => 'index')); 
    6 $Map->connect('/', array('controller' => 'page', 'action' => 'index')); 
     6$Map->connect('/', array('controller' => 'users', 'action' => 'home')); 
    77 
    88?>