Grammar nazi attack
authorThomas Mudrunka <tomas@mudrunka.cz>
Mon, 19 Mar 2012 11:21:11 +0000 (12:21 +0100)
committerThomas Mudrunka <tomas@mudrunka.cz>
Mon, 19 Mar 2012 11:21:11 +0000 (12:21 +0100)
index.php
install.sql
locale/cs/messages.inc.php

index 6ea65511a8c304213c8632c97c55d6440bb8b238..07937b04286720f06227298259e8c2a4850263d7 100755 (executable)
--- a/index.php
+++ b/index.php
@@ -370,8 +370,8 @@ EOF;
                );
                $relations_conditions=array(
                        'in_stock' => 'return(@$table[$id]["status_name"] == "stored");',
-                       'not_sold' => 'return(@$table[$id]["status_name"] != "saled");',
-                       'not_sold_or_disposed' => 'return(@$table[$id]["status_name"] != "saled" && @$table[$id]["status_name"] != "disposed");'
+                       'not_sold' => 'return(@$table[$id]["status_name"] != "sold");',
+                       'not_sold_or_disposed' => 'return(@$table[$id]["status_name"] != "sold" && @$table[$id]["status_name"] != "disposed");'
                );
                foreach($table as $id => $row) {
                        foreach($row as $column => $value) {
index 6cdbf7a05ea35f15e62f3cc7c4c9a1d163f7626c..aff355848a8f3f25cad2a53edf946547a28e4069 100644 (file)
@@ -140,7 +140,7 @@ CREATE TABLE `status` (
 
 LOCK TABLES `status` WRITE;
 /*!40000 ALTER TABLE `status` DISABLE KEYS */;
-INSERT INTO `status` VALUES (0,'deleted'),(4,'destroyed'),(2,'placed'),(3,'saled'),(1,'stored');
+INSERT INTO `status` VALUES (0,'deleted'),(4,'destroyed'),(2,'placed'),(3,'sold'),(1,'stored');
 /*!40000 ALTER TABLE `status` ENABLE KEYS */;
 UNLOCK TABLES;
 
@@ -202,7 +202,7 @@ UNLOCK TABLES;
 /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
 /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
 
--- Dump completed on 2011-12-06 15:26:19
+-- Dump completed on 2012-03-19 12:20:46
 
 /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
 /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
@@ -242,7 +242,7 @@ CREATE TABLE `item` (
   CONSTRAINT `item_ibfk_7` FOREIGN KEY (`model_id`) REFERENCES `model` (`model_id`),
   CONSTRAINT `item_ibfk_8` FOREIGN KEY (`status_id`) REFERENCES `status` (`status_id`),
   CONSTRAINT `item_ibfk_9` FOREIGN KEY (`room_id`) REFERENCES `room` (`room_id`)
-) ENGINE=InnoDB AUTO_INCREMENT=38 DEFAULT CHARSET=utf8 COLLATE=utf8_czech_ci;
+) ENGINE=InnoDB AUTO_INCREMENT=41 DEFAULT CHARSET=utf8 COLLATE=utf8_czech_ci;
 /*!40101 SET character_set_client = @saved_cs_client */;
 DROP TABLE IF EXISTS `model`;
 /*!40101 SET @saved_cs_client     = @@character_set_client */;
index f37d6308d574576b5fc5ee2c124e85102a6b0544..a5f05eaae68fb3e376c210c38b017c8fe87a5b2d 100644 (file)
@@ -70,7 +70,7 @@ $LOCALE_MESSAGES = array(
                'deleted' => 'smazáno',
                'stored' => 'skladem',
                'placed' => 've firmě',
-               'saled' => 'prodáno',
+               'sold' => 'prodáno',
                'destroyed' => 'zníčeno/ztraceno',
 
                '0000-00-00 00:00:00' => 'aktuální',
This page took 0.16935 seconds and 4 git commands to generate.