New records could not hold multiple habtm associates using ::set(). Fixes #160.
[akelos.git] / config / locales / en.php
blob76acfa76b33b584da76aec21e25838bc21a94597
1 <?php
3 $locale = array();
4 $locale['description'] = 'English';
5 $locale['charset'] = 'UTF-8';
6 $locale['date_time_format'] = 'Y-m-d H:i:s';
7 $locale['date_format'] = 'Y-m-d';
8 $locale['long_date_format'] = 'Y-m-d';
9 $locale['time_format'] = 'H:i';
10 $locale['long_time_format'] = 'H:i:s';
11 $locale['first_day_of_week'] = 0; // 0 sunday, 1 monday
12 $locale['weekday_abbreviation'] = 1;
14 $locale['currency'] = array(
15 'precision'=>2,
16 'unit' => '$',
17 'unit_position' => 'left',
18 'separator'=> '.',
19 'delimiter' => ','
22 $dictionary = array();
23 $dictionary['Akelos Framework'] = 'Akelos Framework';
24 $dictionary['Hello, %name, today is %weekday'] = 'Hello, %name, today is %weekday';
25 $dictionary['Object <b>%object_name</b> information:<hr> <b>object Vars:</b><br>%var_desc <hr> <b>object Methods:</b><br><ul><li>%methods</li></ul>'] = 'Object <b>%object_name</b> information:<hr> <b>object Vars:</b><br>%var_desc <hr> <b>object Methods:</b><br><ul><li>%methods</li></ul>';
26 $dictionary['Controller <i>%controller_name</i> does not exist'] = 'Controller <i>%controller_name</i> does not exist';
27 $dictionary['Could not find the file /app/<i>%controller_file_name</i> for the controller %controller_class_name'] = 'Could not find the file /app/<i>%controller_file_name</i> for the controller %controller_class_name';
28 $dictionary['Action <i>%action</i> does not exist for controller <i>%controller_name</i>'] = 'Action <i>%action</i> does not exist for controller <i>%controller_name</i>';
29 $dictionary['View file <i>%file</i> does not exist.'] = 'View file <i>%file</i> does not exist.';
30 $dictionary['%controller requires a missing model %model_class, exiting.'] = '%controller requires a missing model %model_class, exiting.';
31 $dictionary['Code Wizard'] = 'Code Wizard';
32 $dictionary['Invalid class name in AkPatterns::singleton()'] = 'Invalid class name in AkPatterns::singleton()';
33 $dictionary['Connection to the database failed'] = 'Connection to the database failed';
34 $dictionary['The Akelos Framework could not automatically configure your model name. This might be caused because your model file is not located on %path. Please call $this->setModelName("YourModelName"); in your model constructor in order to make this work.'] = 'The Akelos Framework could not automatically configure your model name. This might be caused because your model file is not located on %path. Please call $this->setModelName("YourModelName"); in your model constructor in order to make this work.';
35 $dictionary['Unable to fetch current model name'] = 'Unable to fetch current model name';
36 $dictionary['Unable to set "%table_name" table for the model "%model". There is no "%table_name" available into current database layout. Set AK_ACTIVE_CONTROLLER_VALIDATE_TABLE_NAMES constant to false in order to avoid table name validation'] = 'Unable to set "%table_name" table for the model "%model". There is no "%table_name" available into current database layout. Set AK_ACTIVE_CONTROLLER_VALIDATE_TABLE_NAMES constant to false in order to avoid table name validation';
37 $dictionary['You are calling recursively AkActiveRecord::setAttribute by placing parent::setAttribute() or parent::set() on your model "%method" method. In order to avoid this, set the 3rd paramenter of parent::setAttribute to FALSE. If this was the behaviour you expected, please define the constant AK_ACTIVE_RECORD_PROTECT_SET_RECURSION and set it to false'] = 'You are calling recursivelly AkActiveRecord::setAttribute by placing parent::setAttribute() or parent::set() on your model "%method" method. In order to avoid this, set the 3rd paramenter of parent::setAttribute to FALSE. If this was the behaviour you expected, please define the constant AK_ACTIVE_RECORD_PROTECT_SET_RECURSION and set it to false';
38 $dictionary['You are calling recursively AkActiveRecord::getAttribute by placing parent::getAttribute() or parent::get() on your model "%method" method. In order to avoid this, set the 3rd paramenter of parent::getAttribute to FALSE. If this was the behaviour you expected, please define the constant AK_ACTIVE_RECORD_PROTECT_GET_RECURSION and set it to false'] = 'You are calling recursivelly AkActiveRecord::getAttribute by placing parent::getAttribute() or parent::get() on your model "%method" method. In order to avoid this, set the 3rd paramenter of parent::getAttribute to FALSE. If this was the behaviour you expected, please define the constant AK_ACTIVE_RECORD_PROTECT_GET_RECURSION and set it to false';
39 $dictionary['Error'] = 'Error';
40 $dictionary['There was an error while setting the composed field "%field_name", the following mapping column/s "%columns" do not exist'] = 'There was an error while setting the composed field "%field_name", the following mapping column/s "%columns" do not exist';
41 $dictionary['Unable to set "%table_name" table for the model "%model". There is no "%table_name" available into current database layout. Set AK_ACTIVE_RECORD_VALIDATE_TABLE_NAMES constant to false in order to avoid table name validation'] = 'Unable to set "%table_name" table for the model "%model". There is no "%table_name" available into current database layout. Set AK_ACTIVE_RECORD_VALIDATE_TABLE_NAMES constant to false in order to avoid table name validation';
42 $dictionary['The mysqli extension is designed to work with the version 4.1.3 or above of MySQL. Please use mysql: database driver instead'] = 'The mysqli extension is designed to work with the version 4.1.3 or above of MySQL. Please use mysql: database driver instead';
43 $dictionary['The mysqli extension is designed to work with the version 4.1.3 or above of MySQL. Please use mysql: database driver instead of mysqli'] = 'The mysqli extension is designed to work with the version 4.1.3 or above of MySQL. Please use mysql: database driver instead of mysqli';
44 $dictionary['Could not set %column_name as the inheritance column as this column is not available on the database.'] = 'Could not set %column_name as the inheritance column as this column is not available on the database.';
45 $dictionary['Could not set %column_name as the inheritance column as this column type is %column_type instead of "string".'] = 'Could not set %column_name as the inheritance column as this column type is %column_type instead of "string".';
46 $dictionary['Could not set %column_name as the inheritance column as this column type is "%column_type" instead of "string".'] = 'Could not set %column_name as the inheritance column as this column type is "%column_type" instead of "string".';
47 $dictionary['Could not set "%column_name" as the inheritance column as this column is not available on the database.'] = 'Could not set "%column_name" as the inheritance column as this column is not available on the database.';
48 $dictionary['The Akelos Framework could not automatically configure your model name. This might be caused because your model file is not located on %path. Please call $this->setParentModelName("YourParentModelName"); in your model constructor in order to make this work.'] = 'The Akelos Framework could not automatically configure your model name. This might be caused because your model file is not located on %path. Please call $this->setParentModelName("YourParentModelName"); in your model constructor in order to make this work.';
49 $dictionary['Unable to fetch parent model name'] = 'Unable to fetch parent model name';
50 $dictionary['Too many range options specified. Choose only one.'] = 'Too many range options specified. Choose only one.';
51 $dictionary['%option must be a nonnegative Integer'] = '%option must be a nonnegative Integer';
52 $dictionary['Range unspecified. Specify the "within", "maximum", "minimum, or "is" option.'] = 'Range unspecified. Specify the "within", "maximum", "minimum, or "is" option.';
53 $dictionary['Attempted to update a stale object'] = 'Attempted to update a stale object';
54 $dictionary['Could not find the column %column into the table %table. This column is needed in order to make the %model act as a list.'] = 'Could not find the column %column into the table %table. This column is needed in order to make the %model act as a list.';
55 $dictionary['Could not find the column "%column" into the table "%table". This column is needed in order to make "%model" act as a list.'] = 'Could not find the column "%column" into the table "%table". This column is needed in order to make "%model" act as a list.';
56 $dictionary['You are trying to set an object that is not an active record or that is already acting as a list, or nested set. Please provide a valid Active Record Object or call disableActsLike() in your active record in order to solve this conflict.'] = 'You are trying to set an object that is not an active record or that is already acting as a list, or nested set. Please provide a valid Active Record Object or call disableActsLike() in your active record in order to solve this conflict.';
57 $dictionary['You are trying to set an object that is not an active record.'] = 'You are trying to set an object that is not an active record.';
58 $dictionary['The following columns are required in the table "%table" for the model "%model" to act as a Nested Set: "%columns".'] = 'The following columns are required in the table "%table" for the model "%model" to act as a Nested Set: "%columns".';
59 $dictionary['Moving nodes isn\'t currently supported'] = 'Moving nodes isn\'t currently supported';
60 $dictionary['Could not add hasOne association. Foreign key %fk does not exit on table %table.'] = 'Could not add hasOne association. Foreign key %fk does not exit on table %table.';
61 $dictionary['Association type mismatch %association_class expected, got %record_class'] = 'Association type mismatch %association_class expected, got %record_class';
62 $dictionary['Could not write to temporary directory for generating compressed file using Ak::compress(). Please provide write access to %dirname'] = 'Could not write to temporary directory for generating compressed file using Ak::compress(). Please provide write access to %dirname';
63 $dictionary['Invalid ISO date. You must supply date in one of the following formats: "year-month-day hour:min:sec", "year-month-day", "hour:min:sec"'] = 'Invalid ISO date. You must supply date in one of the following formats: "year-month-day hour:min:sec", "year-month-day", "hour:min:sec"';
64 $dictionary['Adding sub-tree isn\'t currently supported'] = 'Adding sub-tree isn\'t currently supported';
65 $dictionary['Argument list did not match expected set. Requested arguments are:'] = 'Argument list did not match expected set. Requested arguments are:';
66 $dictionary['Filters need to be a method name, or class implementing a static filter method'] = 'Filters need to be a method name, or class implementing a static filter method';
67 $dictionary['Filter object must respond to both before and after'] = 'Filter object must respond to both before and after';
68 $dictionary['Missing %template_type %full_template_path'] = 'Missing %template_type %full_template_path';
69 $dictionary['Can only render or redirect once per action'] = 'Can only render or redirect once per action';
70 $dictionary['variables'] = 'variables';
71 $dictionary['You can\'t use the following %type within templates:'] = 'You can\'t use the following %type within templates:';
72 $dictionary['functions'] = 'functions';
73 $dictionary['classes'] = 'classes';
74 $dictionary['Template %template_file compilation error'] = 'Template %template_file compilation error';
75 $dictionary['Showing template source from %file:'] = 'Showing template source from %file:';
76 $dictionary['Showing compiled template source:'] = 'Showing compiled template source:';
77 $dictionary['Template %template_file security error'] = 'Template %template_file security error';
78 $dictionary['Edit %file_name in order to change this page.'] = 'Edit %file_name in order to change this page.';
79 $dictionary['No tpl.php, js.php or delegate template found for %template_path'] = 'No tpl.php, js.php or delegate template found for %template_path';
80 $dictionary['You can\'t instantiate classes within templates'] = 'You can\'t instantiate classes within templates';
81 $dictionary['Render and/or redirect were called multiple times in this action. Please note that you may only call render OR redirect, and only once per action. Also note that neither redirect nor render terminate execution of the action, so if you want to exit an action after redirecting, you need to do something like "redirectTo(...); return;". Finally, note that to cause a before filter to halt execution of the rest of the filter chain, the filter must return false, explicitly, so "render(...); return; false".'] = 'Render and/or redirect were called multiple times in this action. Please note that you may only call render OR redirect, and only once per action. Also note that neither redirect nor render terminate execution of the action, so if you want to exit an action after redirecting, you need to do something like "redirectTo(...); return;". Finally, note that to cause a before filter to halt execution of the rest of the filter chain, the filter must return false, explicitly, so "render(...); return; false".';
82 $dictionary['%option must be a Range (array(min, max))'] = '%option must be a Range (array(min, max))';
83 $dictionary['No tpl.php, js or delegate template found for %template_path'] = 'No tpl.php, js or delegate template found for %template_path';
84 $dictionary['No tpl.php, js.tpl or delegate template found for %template_path'] = 'No tpl.php, js.tpl or delegate template found for %template_path';
85 $dictionary['Default Router has not been set'] = 'Default Router has not been set';
86 $dictionary['The following files have been created:'] = 'The following files have been created:';
87 $dictionary['Could not find %generator_name generator'] = 'Could not find %generator_name generator';
88 $dictionary['There where collisions when attempting to generate the %type.'] = 'There where collisions when attempting to generate the %type.';
89 $dictionary['%file_name file already exists'] = '%file_name file already exists';
90 $dictionary['Find me in %path'] = 'Find me in %path';
91 $dictionary['Tag <code>%previous</code> may not contain raw character data'] = 'Tag <code>%previous</code> may not contain raw character data';
92 $dictionary['Ooops! There are some errors on current XHTML page'] = 'Ooops! There are some errors on current XHTML page';
93 $dictionary['Showing rendered XHTML'] = 'Showing rendered XHTML';
94 $dictionary['Tag <code>%tag</code> must occur inside another tag'] = 'Tag <code>%tag</code> must occur inside another tag';
95 $dictionary['%previous tag is not a content tag. close it like this \'<%previous />\''] = '%previous tag is not a content tag. close it like this \'<%previous />\'';
96 $dictionary['Tag <code>%tag</code> is not allowed within tag <code>%previous</code>'] = 'Tag <code>%tag</code> is not allowed within tag <code>%previous</code>';
97 $dictionary['XHTML is not well-formed'] = 'XHTML is not well-formed';
98 $dictionary['In order to disable XHTML validation, set the <b>AK_ENABLE_STRICT_XHTML_VALIDATION</b> constant to false on your config/development.php file'] = 'In order to disable XHTML validation, set the <b>AK_ENABLE_STRICT_XHTML_VALIDATION</b> constant to false on your config/development.php file';
99 $dictionary['Tag &lt;code&gt;%tag&lt;/code&gt; must occur inside another tag'] = 'Tag &lt;code&gt;%tag&lt;/code&gt; must occur inside another tag';
100 $dictionary['Tag &lt;code&gt;%tag&lt;/code&gt; is not allowed within tag &lt;code&gt;%previous&lt;/code&gt;'] = 'Tag &lt;code&gt;%tag&lt;/code&gt; is not allowed within tag &lt;code&gt;%previous&lt;/code&gt;';
101 $dictionary['%previous tag is not a content tag. close it like this \'&lt;%previous /&gt;\''] = '%previous tag is not a content tag. close it like this \'&lt;%previous /&gt;\'';
102 $dictionary['Invalid value on &lt;%tag %attribute="%value"'] = 'Invalid value on &lt;%tag %attribute="%value"';
103 $dictionary['Attribute %attribute can\'t be used inside &lt;%tag> tags'] = 'Attribute %attribute can\'t be used inside &lt;%tag> tags';
104 $dictionary['Invalid value on &lt;%tag %attribute="%value"... Valid values must match the pattern %pattern'] = 'Invalid value on &lt;%tag %attribute="%value"... Valid values must match the pattern %pattern';
105 $dictionary['Invalid value on &lt;%tag %attribute="%value"... Valid values must match the pattern "%pattern"'] = 'Invalid value on &lt;%tag %attribute="%value"... Valid values must match the pattern "%pattern"';
106 $dictionary['Showing XHTML code'] = 'Showing XHTML code';
107 $dictionary['You have repeated the id %id %count times on your xhtml code. Duplicated Ids found on %tags'] = 'You have repeated the id %id %count times on your xhtml code. Duplicated Ids found on %tags';
108 $dictionary['Tag %tag requires %attributes to be defined'] = 'Tag %tag requires %attributes to be defined';
109 $dictionary['Tag <%tag> is not allowed within tag <%previous<>'] = 'Tag <%tag> is not allowed within tag <%previous<>';
110 $dictionary['Tag %tag is not allowed within tag %previous'] = 'Tag %tag is not allowed within tag %previous';
111 $dictionary['Missing required attribute %attribute on &lt;%tag&gt;'] = 'Missing required attribute %attribute on &lt;%tag&gt;';
112 $dictionary['Repeating id %id'] = 'Repeating id %id';
113 $dictionary['duplicate attribute'] = 'duplicate attribute';
114 $dictionary['XHTML is not well-formed.'] = 'XHTML is not well-formed.';
115 $dictionary['Illegal tag: <code>%tag</code>'] = 'Illegal tag: <code>%tag</code>';
116 $dictionary['first page'] = 'first page';
117 $dictionary['previous page'] = 'previous page';
118 $dictionary['next page'] = 'next page';
119 $dictionary['last page'] = 'last page';
120 $dictionary['page'] = 'page';
121 $dictionary['show all'] = 'show all';
122 $dictionary['previous'] = 'previous';
123 $dictionary['next'] = 'next';
124 $dictionary['Showing page %page of %number_of_pages'] = 'Showing page %page of %number_of_pages';
125 $dictionary['first'] = 'first';
126 $dictionary['last'] = 'last';
127 $dictionary['You can\'t use ${ within templates'] = 'You can\'t use ${ within templates';
128 $dictionary['You must set the settings for current locale first by calling Ak::locale(null, $locale, $settings)'] = 'You must set the settings for current locale first by calling Ak::locale(null, $locale, $settings)';
129 $dictionary['Akelos'] = 'Akelos';
130 $dictionary['Could not load %converter_class_name converter class'] = 'Could not load %converter_class_name converter class';
131 $dictionary['Could not locate %from to %to converter on %file_name'] = 'Could not locate %from to %to converter on %file_name';
132 $dictionary['Xdoc2Text is a windows only application. Please use wvWare instead'] = 'Xdoc2Text is a windows only application. Please use wvWare instead';
133 $dictionary['Could not find xdoc2txt.exe on %path. Please download it from http://www31.ocn.ne.jp/~h_ishida/xdoc2txt.html'] = 'Could not find xdoc2txt.exe on %path. Please download it from http://www31.ocn.ne.jp/~h_ishida/xdoc2txt.html';
134 $dictionary['Loading...'] = 'Loading...';
135 $dictionary['%arg option required'] = '%arg option required';
136 $dictionary['Cannot read file %path'] = 'Cannot read file %path';
137 $dictionary['Table %table_name already exists on the database'] = 'Table %table_name already exists on the database';
138 $dictionary['You must supply a valid UNIX timestamp. You can get the timestamp by calling Ak::getTimestamp("2006-09-27 20:45:57")'] = 'You must supply a valid UNIX timestamp. You can get the timestamp by calling Ak::getTimestamp("2006-09-27 20:45:57")';
139 $dictionary['Sorry but you can\'t view configuration files.'] = 'Sorry but you can\'t view configuration files.';
140 $dictionary['Opsss! File highlighting is only available on development mode.'] = 'Opsss! File highlighting is only available on development mode.';
141 $dictionary['%file_name is not available for showing its source code'] = '%file_name is not available for showing its source code';
142 $dictionary['Your current PHP settings do not have support for %database_type databases.'] = 'Your current PHP settings do not have support for %database_type databases.';
144 $dictionary['Could not connect to the ftp server'] = 'Could not connect to the FTP server';
145 $dictionary['Could not change to the FTP base directory %directory'] = 'Could not change to the FTP base directory %directory';
146 $dictionary['Could not change to the FTP directory %directory'] = 'Could not change to the FTP directory %directory';
147 $dictionary['Ooops! Could not fetch details for the table %table_name.'] = 'Ooops! Could not fetch details for the table %table_name.';
149 $dictionary['Upgrading'] = 'Upgrading';
150 $dictionary['Could not find the file /app/controllers/<i>%controller_file_name</i> for the controller %controller_class_name'] = 'Could not find the file /app/controllers/<i>%controller_file_name</i> for the controller %controller_class_name';
152 $dictionary['No controller was specified.'] = 'No controller was specified.';
154 $dictionary['Please add force=true to the argument list in order to overwrite existing files.'] = 'Please add force=true to the argument list in order to overwrite existing files.';
155 $dictionary['Could not find a helper to handle the method "%method" you called in your view'] = 'Could not find a helper to handle the method "%method" you called in your view';
156 $dictionary['Could not locate usage file for this generator'] = 'Could not locate usage file for this generator';
157 $dictionary['You must supply a valid generator as the first command.
159 Available generator are:'] = 'You must supply a valid generator as the first command.
161 Available generator are:';