From 8ffd240033c9780eb112fc394e011f6fb753bf04 Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Tue, 3 Apr 2012 20:23:47 +0200 Subject: [PATCH] Bug 2399: Follow up removing MySQLisms from ru-RU and uk-UA sample files Signed-off-by: Chris Cormack --- .../authorised_values/authorised_values_[LOST].sql | 14 +++++--------- .../authorised_values/authorised_values_[LOST].sql | 14 +++++--------- 2 files changed, 10 insertions(+), 18 deletions(-) diff --git a/installer/data/mysql/ru-RU/authorised_values/authorised_values_[LOST].sql b/installer/data/mysql/ru-RU/authorised_values/authorised_values_[LOST].sql index 0334fdc..be3c9f7 100644 --- a/installer/data/mysql/ru-RU/authorised_values/authorised_values_[LOST].sql +++ b/installer/data/mysql/ru-RU/authorised_values/authorised_values_[LOST].sql @@ -1,12 +1,8 @@ DELETE FROM authorised_values WHERE category='LOST'; -INSERT INTO `authorised_values` (`id`, `category`, `authorised_value`, `lib`) VALUES (LAST_INSERT_ID( ) + 0,'LOST','2','Длительная просрочка (утрачено)'); - -INSERT INTO `authorised_values` (`id`, `category`, `authorised_value`, `lib`) VALUES (LAST_INSERT_ID( ) + 1,'LOST','1','Утрачено'); - -INSERT INTO `authorised_values` (`id`, `category`, `authorised_value`, `lib`) VALUES (LAST_INSERT_ID( ) + 2,'LOST','3','Потеряны и заплачено за экземпляр'); - -INSERT INTO `authorised_values` (`id`, `category`, `authorised_value`, `lib`) VALUES (LAST_INSERT_ID( ) + 3,'LOST','5','Отсутствует при запросе на резервирование'); - -INSERT INTO `authorised_values` (`id`, `category`, `authorised_value`, `lib`) VALUES (LAST_INSERT_ID( ) + 4,'LOST','4','Отсутствует при инвентиризации'); +INSERT INTO authorised_values (id, category, authorised_value, lib) VALUES (LAST_INSERT_ID( ) + 0,'LOST','2','Длительная просрочка (утрачено)'); +INSERT INTO authorised_values (id, category, authorised_value, lib) VALUES (LAST_INSERT_ID( ) + 1,'LOST','1','Утрачено'); +INSERT INTO authorised_values (id, category, authorised_value, lib) VALUES (LAST_INSERT_ID( ) + 2,'LOST','3','Потеряны и заплачено за экземпляр'); +INSERT INTO authorised_values (id, category, authorised_value, lib) VALUES (LAST_INSERT_ID( ) + 3,'LOST','5','Отсутствует при запросе на резервирование'); +INSERT INTO authorised_values (id, category, authorised_value, lib) VALUES (LAST_INSERT_ID( ) + 4,'LOST','4','Отсутствует при инвентиризации'); diff --git a/installer/data/mysql/uk-UA/authorised_values/authorised_values_[LOST].sql b/installer/data/mysql/uk-UA/authorised_values/authorised_values_[LOST].sql index 3819a1b..6443563 100644 --- a/installer/data/mysql/uk-UA/authorised_values/authorised_values_[LOST].sql +++ b/installer/data/mysql/uk-UA/authorised_values/authorised_values_[LOST].sql @@ -1,11 +1,7 @@ DELETE FROM authorised_values WHERE category='LOST'; -INSERT INTO `authorised_values` (`id`, `category`, `authorised_value`, `lib`) VALUES (LAST_INSERT_ID( ) + 0,'LOST','2','Тривале прострочення (втрачено)'); - -INSERT INTO `authorised_values` (`id`, `category`, `authorised_value`, `lib`) VALUES (LAST_INSERT_ID( ) + 1,'LOST','1','Втрачено'); - -INSERT INTO `authorised_values` (`id`, `category`, `authorised_value`, `lib`) VALUES (LAST_INSERT_ID( ) + 2,'LOST','3','Втрачено і заплачено за примірник'); - -INSERT INTO `authorised_values` (`id`, `category`, `authorised_value`, `lib`) VALUES (LAST_INSERT_ID( ) + 3,'LOST','5','Відсутнє при запиті на резервування'); - -INSERT INTO `authorised_values` (`id`, `category`, `authorised_value`, `lib`) VALUES (LAST_INSERT_ID( ) + 4,'LOST','4','Відсутнє при інвентаризації'); +INSERT INTO authorised_values (id, category, authorised_value, lib) VALUES (LAST_INSERT_ID( ) + 0,'LOST','2','Тривале прострочення (втрачено)'); +INSERT INTO authorised_values (id, category, authorised_value, lib) VALUES (LAST_INSERT_ID( ) + 1,'LOST','1','Втрачено'); +INSERT INTO authorised_values (id, category, authorised_value, lib) VALUES (LAST_INSERT_ID( ) + 2,'LOST','3','Втрачено і заплачено за примірник'); +INSERT INTO authorised_values (id, category, authorised_value, lib) VALUES (LAST_INSERT_ID( ) + 3,'LOST','5','Відсутнє при запиті на резервування'); +INSERT INTO authorised_values (id, category, authorised_value, lib) VALUES (LAST_INSERT_ID( ) + 4,'LOST','4','Відсутнє при інвентаризації'); -- 1.7.5.4