Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix a lang key typo

  • Loading branch information...
commit 8d3afde93f9ff7f461095d5b9147b662610c045b 1 parent 083e3c8
@narfbg narfbg authored
View
2  contributing.md
@@ -89,4 +89,4 @@ If you are using command-line you can do the following:
2. `git pull codeigniter develop`
3. `git push origin develop`
-Now your fork is up to date. This should be done regularly, or before you send a pull request at least.
+Now your fork is up to date. This should be done regularly, or before you send a pull request at least.
View
16 system/database/DB_forge.php
@@ -171,7 +171,7 @@ public function create_database($db_name)
{
if ($this->_create_database === FALSE)
{
- return ($this->db->db_debug) ? $this->db->display_error('db_unsuported_feature') : FALSE;
+ return ($this->db->db_debug) ? $this->db->display_error('db_unsupported_feature') : FALSE;
}
elseif ( ! $this->db->query(sprintf($this->_create_database, $db_name, $this->db->char_set, $this->db->dbcollat)))
{
@@ -203,7 +203,7 @@ public function drop_database($db_name)
}
elseif ($this->_drop_database === FALSE)
{
- return ($this->db->db_debug) ? $this->db->display_error('db_unsuported_feature') : FALSE;
+ return ($this->db->db_debug) ? $this->db->display_error('db_unsupported_feature') : FALSE;
}
elseif ( ! $this->db->query(sprintf($this->_drop_database, $db_name)))
{
@@ -339,7 +339,7 @@ public function create_table($table = '', $if_not_exists = FALSE)
$this->_reset();
if ($sql === FALSE)
{
- return ($this->db->db_debug) ? $this->db->display_error('db_unsuported_feature') : FALSE;
+ return ($this->db->db_debug) ? $this->db->display_error('db_unsupported_feature') : FALSE;
}
}
@@ -434,7 +434,7 @@ public function drop_table($table_name, $if_exists = FALSE)
$query = $this->_drop_table($this->db->dbprefix.$table_name, $if_exists);
if ($query === FALSE)
{
- return ($this->db->db_debug) ? $this->db->display_error('db_unsuported_feature') : FALSE;
+ return ($this->db->db_debug) ? $this->db->display_error('db_unsupported_feature') : FALSE;
}
elseif ($query === TRUE)
{
@@ -507,7 +507,7 @@ public function rename_table($table_name, $new_table_name)
}
elseif ($this->_rename_table === FALSE)
{
- return ($this->db->db_debug) ? $this->db->display_error('db_unsuported_feature') : FALSE;
+ return ($this->db->db_debug) ? $this->db->display_error('db_unsupported_feature') : FALSE;
}
$result = $this->db->query(sprintf($this->_rename_table,
@@ -558,7 +558,7 @@ public function add_column($table = '', $field = array())
$this->_reset();
if ($sqls === FALSE)
{
- return ($this->db->db_debug) ? $this->db->display_error('db_unsuported_feature') : FALSE;
+ return ($this->db->db_debug) ? $this->db->display_error('db_unsupported_feature') : FALSE;
}
for ($i = 0, $c = count($sqls); $i < $c; $i++)
@@ -596,7 +596,7 @@ public function drop_column($table = '', $column_name = '')
$sql = $this->_alter_table('DROP', $this->db->dbprefix.$table, $column_name);
if ($sql === FALSE)
{
- return ($this->db->db_debug) ? $this->db->display_error('db_unsuported_feature') : FALSE;
+ return ($this->db->db_debug) ? $this->db->display_error('db_unsupported_feature') : FALSE;
}
return $this->db->query($sql);
@@ -638,7 +638,7 @@ public function modify_column($table = '', $field = array())
$this->_reset();
if ($sqls === FALSE)
{
- return ($this->db->db_debug) ? $this->db->display_error('db_unsuported_feature') : FALSE;
+ return ($this->db->db_debug) ? $this->db->display_error('db_unsupported_feature') : FALSE;
}
for ($i = 0, $c = count($sqls); $i < $c; $i++)
View
10 system/database/DB_utility.php
@@ -95,7 +95,7 @@ public function list_databases()
}
elseif ($this->_list_databases === FALSE)
{
- return ($this->db->db_debug) ? $this->db->display_error('db_unsuported_feature') : FALSE;
+ return ($this->db->db_debug) ? $this->db->display_error('db_unsupported_feature') : FALSE;
}
$this->db->data_cache['db_names'] = array();
@@ -139,7 +139,7 @@ public function optimize_table($table_name)
{
if ($this->_optimize_table === FALSE)
{
- return ($this->db->db_debug) ? $this->db->display_error('db_unsuported_feature') : FALSE;
+ return ($this->db->db_debug) ? $this->db->display_error('db_unsupported_feature') : FALSE;
}
$query = $this->db->query(sprintf($this->_optimize_table, $this->db->escape_identifiers($table_name)));
@@ -163,7 +163,7 @@ public function optimize_database()
{
if ($this->_optimize_table === FALSE)
{
- return ($this->db->db_debug) ? $this->db->display_error('db_unsuported_feature') : FALSE;
+ return ($this->db->db_debug) ? $this->db->display_error('db_unsupported_feature') : FALSE;
}
$result = array();
@@ -200,7 +200,7 @@ public function repair_table($table_name)
{
if ($this->_repair_table === FALSE)
{
- return ($this->db->db_debug) ? $this->db->display_error('db_unsuported_feature') : FALSE;
+ return ($this->db->db_debug) ? $this->db->display_error('db_unsupported_feature') : FALSE;
}
$query = $this->db->query(sprintf($this->_repair_table, $this->db->escape_identifiers($table_name)));
@@ -361,7 +361,7 @@ public function backup($params = array())
{
if ($this->db->db_debug)
{
- return $this->db->display_error('db_unsuported_compression');
+ return $this->db->display_error('db_unsupported_compression');
}
$prefs['format'] = 'txt';
View
2  system/database/drivers/cubrid/cubrid_utility.php
@@ -63,7 +63,7 @@ protected function _backup($params = array())
// No SQL based support in CUBRID as of version 8.4.0. Database or
// table backup can be performed using CUBRID Manager
// database administration tool.
- return $this->db->display_error('db_unsuported_feature');
+ return $this->db->display_error('db_unsupported_feature');
}
}
View
2  system/database/drivers/mssql/mssql_driver.php
@@ -506,7 +506,7 @@ protected function _insert_batch($table, $keys, $values)
return parent::_insert_batch($table, $keys, $values);
}
- return ($this->db->db_debug) ? $this->db->display_error('db_unsuported_feature') : FALSE;
+ return ($this->db->db_debug) ? $this->db->display_error('db_unsupported_feature') : FALSE;
}
// --------------------------------------------------------------------
View
2  system/database/drivers/mssql/mssql_utility.php
@@ -58,7 +58,7 @@ class CI_DB_mssql_utility extends CI_DB_utility {
protected function _backup($params = array())
{
// Currently unsupported
- return $this->db->display_error('db_unsuported_feature');
+ return $this->db->display_error('db_unsupported_feature');
}
}
View
2  system/database/drivers/oci8/oci8_utility.php
@@ -51,7 +51,7 @@ class CI_DB_oci8_utility extends CI_DB_utility {
protected function _backup($params = array())
{
// Currently unsupported
- return $this->db->display_error('db_unsuported_feature');
+ return $this->db->display_error('db_unsupported_feature');
}
}
View
2  system/database/drivers/odbc/odbc_driver.php
@@ -250,7 +250,7 @@ public function affected_rows()
*/
public function insert_id()
{
- return ($this->db->db_debug) ? $this->db->display_error('db_unsuported_feature') : FALSE;
+ return ($this->db->db_debug) ? $this->db->display_error('db_unsupported_feature') : FALSE;
}
// --------------------------------------------------------------------
View
2  system/database/drivers/odbc/odbc_utility.php
@@ -44,7 +44,7 @@ class CI_DB_odbc_utility extends CI_DB_utility {
protected function _backup($params = array())
{
// Currently unsupported
- return $this->db->display_error('db_unsuported_feature');
+ return $this->db->display_error('db_unsupported_feature');
}
}
View
2  system/database/drivers/pdo/pdo_result.php
@@ -163,7 +163,7 @@ public function field_data()
{
if ($this->db->db_debug)
{
- return $this->db->display_error('db_unsuported_feature');
+ return $this->db->display_error('db_unsupported_feature');
}
return FALSE;
View
2  system/database/drivers/pdo/pdo_utility.php
@@ -44,7 +44,7 @@ class CI_DB_pdo_utility extends CI_DB_utility {
protected function _backup($params = array())
{
// Currently unsupported
- return $this->db->display_error('db_unsuported_feature');
+ return $this->db->display_error('db_unsupported_feature');
}
}
View
2  system/database/drivers/pdo/subdrivers/pdo_dblib_driver.php
@@ -282,7 +282,7 @@ protected function _insert_batch($table, $keys, $values)
return parent::_insert_batch($table, $keys, $values);
}
- return ($this->db->db_debug) ? $this->db->display_error('db_unsuported_feature') : FALSE;
+ return ($this->db->db_debug) ? $this->db->display_error('db_unsupported_feature') : FALSE;
}
}
View
2  system/database/drivers/pdo/subdrivers/pdo_sqlsrv_driver.php
@@ -316,7 +316,7 @@ protected function _insert_batch($table, $keys, $values)
return parent::_insert_batch($table, $keys, $values);
}
- return ($this->db->db_debug) ? $this->db->display_error('db_unsuported_feature') : FALSE;
+ return ($this->db->db_debug) ? $this->db->display_error('db_unsupported_feature') : FALSE;
}
}
View
2  system/database/drivers/postgre/postgre_utility.php
@@ -60,7 +60,7 @@ class CI_DB_postgre_utility extends CI_DB_utility {
protected function _backup($params = array())
{
// Currently unsupported
- return $this->db->display_error('db_unsuported_feature');
+ return $this->db->display_error('db_unsupported_feature');
}
}
View
2  system/database/drivers/sqlite/sqlite_utility.php
@@ -44,7 +44,7 @@ class CI_DB_sqlite_utility extends CI_DB_utility {
protected function _backup($params = array())
{
// Currently unsupported
- return $this->db->display_error('db_unsuported_feature');
+ return $this->db->display_error('db_unsupported_feature');
}
}
View
2  system/database/drivers/sqlite3/sqlite3_utility.php
@@ -44,7 +44,7 @@ class CI_DB_sqlite3_utility extends CI_DB_utility {
protected function _backup($params = array())
{
// Not supported
- return $this->db->display_error('db_unsuported_feature');
+ return $this->db->display_error('db_unsupported_feature');
}
}
View
2  system/database/drivers/sqlsrv/sqlsrv_driver.php
@@ -513,7 +513,7 @@ protected function _insert_batch($table, $keys, $values)
return parent::_insert_batch($table, $keys, $values);
}
- return ($this->db->db_debug) ? $this->db->display_error('db_unsuported_feature') : FALSE;
+ return ($this->db->db_debug) ? $this->db->display_error('db_unsupported_feature') : FALSE;
}
// --------------------------------------------------------------------
View
2  system/database/drivers/sqlsrv/sqlsrv_utility.php
@@ -60,7 +60,7 @@ class CI_DB_sqlsrv_utility extends CI_DB_utility {
protected function _backup($params = array())
{
// Currently unsupported
- return $this->db->display_error('db_unsuported_feature');
+ return $this->db->display_error('db_unsupported_feature');
}
}
View
4 system/language/english/db_lang.php
@@ -41,8 +41,8 @@
$lang['db_unsupported_function'] = 'This feature is not available for the database you are using.';
$lang['db_transaction_failure'] = 'Transaction failure: Rollback performed.';
$lang['db_unable_to_drop'] = 'Unable to drop the specified database.';
-$lang['db_unsuported_feature'] = 'Unsupported feature of the database platform you are using.';
-$lang['db_unsuported_compression'] = 'The file compression format you chose is not supported by your server.';
+$lang['db_unsupported_feature'] = 'Unsupported feature of the database platform you are using.';
+$lang['db_unsupported_compression'] = 'The file compression format you chose is not supported by your server.';
$lang['db_filepath_error'] = 'Unable to write data to the file path you have submitted.';
$lang['db_invalid_cache_path'] = 'The cache path you submitted is not valid or writable.';
$lang['db_table_name_required'] = 'A table name is required for that operation.';
Please sign in to comment.
Something went wrong with that request. Please try again.