From: Nik Okuntseff Date: Wed, 21 Nov 2018 21:36:26 +0000 (+0000) Subject: Using error.object_exists instead of error.project_exists to streamline error messages. X-Git-Tag: timetracker_1.19-1~581 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=d3bcdee6ccc7bd00dce1fdfd89dc604f9016b52c;p=timetracker.git Using error.object_exists instead of error.project_exists to streamline error messages. --- diff --git a/WEB-INF/resources/ca.lang.php b/WEB-INF/resources/ca.lang.php index a0accefd..dc1e2070 100644 --- a/WEB-INF/resources/ca.lang.php +++ b/WEB-INF/resources/ca.lang.php @@ -99,8 +99,6 @@ $i18n_key_words = array( // TODO: translate the following. // 'error.user_exists' => 'User with this login already exists.', // 'error.object_exists' => 'Object with this name already exists.', -'error.project_exists' => 'Ja existeix un projecte amb aquest nom.', -// TODO: translate the following. // 'error.task_exists' => 'Task with this name already exists.', // 'error.client_exists' => 'Client with this name already exists.', // 'error.invoice_exists' => 'Invoice with this number already exists.', diff --git a/WEB-INF/resources/cs.lang.php b/WEB-INF/resources/cs.lang.php index a42826fa..529e8020 100644 --- a/WEB-INF/resources/cs.lang.php +++ b/WEB-INF/resources/cs.lang.php @@ -101,8 +101,6 @@ $i18n_key_words = array( // TODO: translate the following. // 'error.user_exists' => 'User with this login already exists.', // 'error.object_exists' => 'Object with this name already exists.', -'error.project_exists' => 'Projekt tohoto jména již existuje.', -// TODO: translate the following. // 'error.task_exists' => 'Task with this name already exists.', // 'error.client_exists' => 'Client with this name already exists.', // 'error.invoice_exists' => 'Invoice with this number already exists.', diff --git a/WEB-INF/resources/da.lang.php b/WEB-INF/resources/da.lang.php index 7eaec94c..995ce5e0 100644 --- a/WEB-INF/resources/da.lang.php +++ b/WEB-INF/resources/da.lang.php @@ -90,7 +90,6 @@ $i18n_key_words = array( 'error.user_exists' => 'Brugernavn eksistere allerede.', // TODO: translate the following. // 'error.object_exists' => 'Object with this name already exists.', -'error.project_exists' => 'Der eksiterer allerede et projekt med det navn.', 'error.task_exists' => 'Opgavenavn eksistere allerede.', 'error.client_exists' => 'Der eksistere allerede en klient med dette navn.', 'error.invoice_exists' => 'Fakturanummer eksistere allerede.', diff --git a/WEB-INF/resources/de.lang.php b/WEB-INF/resources/de.lang.php index 62794149..425f1fcf 100644 --- a/WEB-INF/resources/de.lang.php +++ b/WEB-INF/resources/de.lang.php @@ -85,7 +85,6 @@ $i18n_key_words = array( 'error.auth' => 'Benutzername oder Passwort ungültig.', 'error.user_exists' => 'Benutzer mit diesem Konto ist bereits vorhanden.', 'error.object_exists' => 'Objekt mit diesem Namen ist bereits vorhanden.', -'error.project_exists' => 'Es gibt bereits ein Projekt mit diesem Namen.', 'error.task_exists' => 'Task mit diesem Namen existiert bereits.', 'error.client_exists' => 'Der Kunde mit dem Namen existiert schon.', 'error.invoice_exists' => 'Rechnung mit dieser Nummer existiert bereits.', diff --git a/WEB-INF/resources/en.lang.php b/WEB-INF/resources/en.lang.php index 6d7a47c7..6282874c 100644 --- a/WEB-INF/resources/en.lang.php +++ b/WEB-INF/resources/en.lang.php @@ -85,7 +85,6 @@ $i18n_key_words = array( 'error.auth' => 'Incorrect login or password.', 'error.user_exists' => 'User with this login already exists.', 'error.object_exists' => 'Object with this name already exists.', -'error.project_exists' => 'Project with this name already exists.', 'error.task_exists' => 'Task with this name already exists.', 'error.client_exists' => 'Client with this name already exists.', 'error.invoice_exists' => 'Invoice with this number already exists.', diff --git a/WEB-INF/resources/es.lang.php b/WEB-INF/resources/es.lang.php index b53ebd94..94d50637 100644 --- a/WEB-INF/resources/es.lang.php +++ b/WEB-INF/resources/es.lang.php @@ -97,8 +97,6 @@ $i18n_key_words = array( // TODO: translate the following. // 'error.user_exists' => 'User with this login already exists.', // 'error.object_exists' => 'Object with this name already exists.', -'error.project_exists' => 'Ya existe un proyecto con este nombre.', -// TODO: translate the following. // 'error.task_exists' => 'Task with this name already exists.', // 'error.client_exists' => 'Client with this name already exists.', // 'error.invoice_exists' => 'Invoice with this number already exists.', diff --git a/WEB-INF/resources/et.lang.php b/WEB-INF/resources/et.lang.php index 4aede3a4..5ab3de4a 100644 --- a/WEB-INF/resources/et.lang.php +++ b/WEB-INF/resources/et.lang.php @@ -101,8 +101,6 @@ $i18n_key_words = array( // TODO: translate the following. // 'error.user_exists' => 'User with this login already exists.', // 'error.object_exists' => 'Object with this name already exists.', -'error.project_exists' => 'Selle nimega projekt on juba olemas.', -// TODO: translate the following. // 'error.task_exists' => 'Task with this name already exists.', // 'error.client_exists' => 'Client with this name already exists.', // 'error.invoice_exists' => 'Invoice with this number already exists.', diff --git a/WEB-INF/resources/fa.lang.php b/WEB-INF/resources/fa.lang.php index 140da1bc..4e5b011a 100644 --- a/WEB-INF/resources/fa.lang.php +++ b/WEB-INF/resources/fa.lang.php @@ -95,7 +95,6 @@ $i18n_key_words = array( 'error.user_exists' => 'کاربری با این نام کاربری موجود است.', // TODO: translate the following. // 'error.object_exists' => 'Object with this name already exists.', -'error.project_exists' => 'پروژه ای با این نام موجود است.', 'error.task_exists' => 'وظیفه ای با این نام هم اکنون وجود دارد.', 'error.client_exists' => 'مشتری با این نام هم اکنون وجود دارد.', 'error.invoice_exists' => 'فاکتوری با این شماره هم اکنون موجود است.', diff --git a/WEB-INF/resources/fi.lang.php b/WEB-INF/resources/fi.lang.php index f290ff5b..f4ac6c4e 100644 --- a/WEB-INF/resources/fi.lang.php +++ b/WEB-INF/resources/fi.lang.php @@ -92,7 +92,6 @@ $i18n_key_words = array( 'error.user_exists' => 'Tämä käyttäjänimi on jo olemassa.', // TODO: translate the following. // 'error.object_exists' => 'Object with this name already exists.', -'error.project_exists' => 'Tämän niminen projekti on jo olemassa.', 'error.task_exists' => 'Tämän niminen tehtävä on jo olemassa.', 'error.client_exists' => 'Tämän niminen asiakas on jo olemassa.', 'error.invoice_exists' => 'Tällä numerolla oleva lasku on jo olemassa.', diff --git a/WEB-INF/resources/fr.lang.php b/WEB-INF/resources/fr.lang.php index d4f372b1..47dc7f79 100644 --- a/WEB-INF/resources/fr.lang.php +++ b/WEB-INF/resources/fr.lang.php @@ -90,7 +90,6 @@ $i18n_key_words = array( 'error.user_exists' => 'Un utilisateur avec cet identifiant existe déjà.', // TODO: translate the following. // 'error.object_exists' => 'Object with this name already exists.', -'error.project_exists' => 'Un projet avec ce nom existe déjà.', 'error.task_exists' => 'Une tâche avec ce nom existe déjà.', 'error.client_exists' => 'Un client avec ce nom existe déjà.', 'error.invoice_exists' => 'Une facture avec ce numéro existe déjà.', diff --git a/WEB-INF/resources/gr.lang.php b/WEB-INF/resources/gr.lang.php index ef78fd50..a85c30e9 100644 --- a/WEB-INF/resources/gr.lang.php +++ b/WEB-INF/resources/gr.lang.php @@ -86,7 +86,6 @@ $i18n_key_words = array( 'error.auth' => 'Λανθασμένο όνομα εισόδου ή κωδικός.', 'error.user_exists' => 'Ο χρήστης με αυτήν τη σύνδεση υπάρχει ήδη.', 'error.object_exists' => 'Το αντικείμενο με αυτό το όνομα υπάρχει ήδη.', -'error.project_exists' => 'Το έργα με αυτό το όνομα υπάρχει ήδη.', 'error.task_exists' => 'Η εργασία με αυτό το όνομα υπάρχει ήδη.', 'error.client_exists' => 'Ο πελάτης με αυτό το όνομα υπάρχει ήδη.', 'error.invoice_exists' => 'Το τιμολόγιο με αυτόν τον αριθμό υπάρχει ήδη.', diff --git a/WEB-INF/resources/he.lang.php b/WEB-INF/resources/he.lang.php index 661ff27a..cfa471e6 100644 --- a/WEB-INF/resources/he.lang.php +++ b/WEB-INF/resources/he.lang.php @@ -106,7 +106,6 @@ $i18n_key_words = array( 'error.user_exists' => 'שם משתמש כבר קיים', // TODO: translate the following. // 'error.object_exists' => 'Object with this name already exists.', -'error.project_exists' => 'שם פרוייקט כבר קיים', 'error.task_exists' => 'קיימת משימה עם שם דומה', 'error.client_exists' => 'שם לקוח כבר קיים', 'error.invoice_exists' => 'קיימת חשבונית עם מספר זה', diff --git a/WEB-INF/resources/hu.lang.php b/WEB-INF/resources/hu.lang.php index 30d9a9a0..beea7ac4 100644 --- a/WEB-INF/resources/hu.lang.php +++ b/WEB-INF/resources/hu.lang.php @@ -99,8 +99,6 @@ $i18n_key_words = array( // 'error.auth' => 'Incorrect login or password.', // 'error.user_exists' => 'User with this login already exists.', // 'error.object_exists' => 'Object with this name already exists.', -'error.project_exists' => 'Ilyen nevű projekt már létezik.', -// TODO: translate the following. // 'error.task_exists' => 'Task with this name already exists.', // 'error.client_exists' => 'Client with this name already exists.', // 'error.invoice_exists' => 'Invoice with this number already exists.', diff --git a/WEB-INF/resources/it.lang.php b/WEB-INF/resources/it.lang.php index 2f053578..063318eb 100644 --- a/WEB-INF/resources/it.lang.php +++ b/WEB-INF/resources/it.lang.php @@ -89,7 +89,6 @@ $i18n_key_words = array( 'error.user_exists' => 'Esiste già un utente con questo username.', // TODO: translate the following. // 'error.object_exists' => 'Object with this name already exists.', -'error.project_exists' => 'Esiste già un progetto con questo nome.', 'error.task_exists' => 'Esiste già un compito con questo nome.', 'error.client_exists' => 'Esiste già un cliente con questo nome.', 'error.invoice_exists' => 'Esiste già una fattura con questo numero.', diff --git a/WEB-INF/resources/ja.lang.php b/WEB-INF/resources/ja.lang.php index 29a7a034..f0c52121 100644 --- a/WEB-INF/resources/ja.lang.php +++ b/WEB-INF/resources/ja.lang.php @@ -99,8 +99,6 @@ $i18n_key_words = array( 'error.user_exists' => 'このログインと関連されたユーザーは既に存在します。', // TODO: translate the following. // 'error.object_exists' => 'Object with this name already exists.', -'error.project_exists' => 'この名前のプロジェクトは既に存在します。', -// TODO: translate the following. // 'error.task_exists' => 'Task with this name already exists.', // 'error.client_exists' => 'Client with this name already exists.', // 'error.invoice_exists' => 'Invoice with this number already exists.', diff --git a/WEB-INF/resources/ko.lang.php b/WEB-INF/resources/ko.lang.php index f8d99f1b..a426f24d 100644 --- a/WEB-INF/resources/ko.lang.php +++ b/WEB-INF/resources/ko.lang.php @@ -99,8 +99,6 @@ $i18n_key_words = array( 'error.user_exists' => '본 로그인과 연계된 사용자가 이미 있습니다.', // TODO: translate the following. // 'error.object_exists' => 'Object with this name already exists.', -'error.project_exists' => '본 이름과 연계된 프로젝트가 이미 있습니다.', -// TODO: translate the following. // 'error.task_exists' => 'Task with this name already exists.', // 'error.client_exists' => 'Client with this name already exists.', // 'error.invoice_exists' => 'Invoice with this number already exists.', diff --git a/WEB-INF/resources/nl.lang.php b/WEB-INF/resources/nl.lang.php index 531953e2..d30caf44 100644 --- a/WEB-INF/resources/nl.lang.php +++ b/WEB-INF/resources/nl.lang.php @@ -85,7 +85,6 @@ $i18n_key_words = array( 'error.auth' => 'Onjuiste inlognaam of wachtwoord.', 'error.user_exists' => 'Een gebruiker met deze inlognaam bestaat al.', 'error.object_exists' => 'Een object met deze naam bestaat al.', -'error.project_exists' => 'Een project met deze naam bestaat al.', 'error.task_exists' => 'Er bestaat al een taak met deze naam.', 'error.client_exists' => 'Een klant met deze naam bestaat al.', 'error.invoice_exists' => 'Dit nummer is al eens toegekend aan een factuur.', diff --git a/WEB-INF/resources/no.lang.php b/WEB-INF/resources/no.lang.php index 35ec512b..a8cdd34a 100644 --- a/WEB-INF/resources/no.lang.php +++ b/WEB-INF/resources/no.lang.php @@ -99,8 +99,6 @@ $i18n_key_words = array( 'error.user_exists' => 'Bruker med et slikt brukernavn eksisterer allerede.', // TODO: translate the following. // 'error.object_exists' => 'Object with this name already exists.', -'error.project_exists' => 'Et prosjekt med dette navnet er allerede opprettet.', -// TODO: translate the following. // 'error.task_exists' => 'Task with this name already exists.', 'error.client_exists' => 'En klient med dette navnet er allerede opprettet.', // TODO: translate the following. diff --git a/WEB-INF/resources/pl.lang.php b/WEB-INF/resources/pl.lang.php index 301e002c..b2bf0e15 100644 --- a/WEB-INF/resources/pl.lang.php +++ b/WEB-INF/resources/pl.lang.php @@ -93,7 +93,6 @@ $i18n_key_words = array( 'error.user_exists' => 'Użytkownik o takiej nazwie już istnieje.', // TODO: translate the following. // 'error.object_exists' => 'Object with this name already exists.', -'error.project_exists' => 'Projekt o takiej nazwie już istnieje.', 'error.task_exists' => 'Zadanie o takiej nazwie już istnieje.', 'error.client_exists' => 'Klient o takiej nazwie już istnieje.', 'error.invoice_exists' => 'Faktura o tym numerze już istnieje.', diff --git a/WEB-INF/resources/pt-br.lang.php b/WEB-INF/resources/pt-br.lang.php index b9788157..7077f2e1 100644 --- a/WEB-INF/resources/pt-br.lang.php +++ b/WEB-INF/resources/pt-br.lang.php @@ -91,7 +91,6 @@ $i18n_key_words = array( 'error.user_exists' => 'Já existe usuário com este login.', // TODO: translate the following. // 'error.object_exists' => 'Object with this name already exists.', -'error.project_exists' => 'Já existe projeto com este nome.', 'error.task_exists' => 'Já existe tarefa com este nome.', 'error.client_exists' => 'Já existe cliente com este nome.', 'error.invoice_exists' => 'Já existe fatura com este número.', diff --git a/WEB-INF/resources/pt.lang.php b/WEB-INF/resources/pt.lang.php index 8de4afaf..595e9c0f 100644 --- a/WEB-INF/resources/pt.lang.php +++ b/WEB-INF/resources/pt.lang.php @@ -97,7 +97,6 @@ $i18n_key_words = array( // 'error.auth' => 'Incorrect login or password.', // 'error.user_exists' => 'User with this login already exists.', // 'error.object_exists' => 'Object with this name already exists.', -// 'error.project_exists' => 'Project with this name already exists.', // 'error.task_exists' => 'Task with this name already exists.', // 'error.client_exists' => 'Client with this name already exists.', // 'error.invoice_exists' => 'Invoice with this number already exists.', diff --git a/WEB-INF/resources/ro.lang.php b/WEB-INF/resources/ro.lang.php index d43f76b4..1e5eb55c 100644 --- a/WEB-INF/resources/ro.lang.php +++ b/WEB-INF/resources/ro.lang.php @@ -103,8 +103,6 @@ $i18n_key_words = array( // TODO: translate the following. // 'error.user_exists' => 'User with this login already exists.', // 'error.object_exists' => 'Object with this name already exists.', -'error.project_exists' => 'Proiectul cu acest nume exista deja.', -// TODO: translate the following. // 'error.task_exists' => 'Task with this name already exists.', // 'error.client_exists' => 'Client with this name already exists.', // 'error.invoice_exists' => 'Invoice with this number already exists.', diff --git a/WEB-INF/resources/ru.lang.php b/WEB-INF/resources/ru.lang.php index 40a5c1e3..4b2a9ca7 100644 --- a/WEB-INF/resources/ru.lang.php +++ b/WEB-INF/resources/ru.lang.php @@ -84,7 +84,6 @@ $i18n_key_words = array( 'error.auth' => 'Неправильно введен логин или пароль.', 'error.user_exists' => 'Пользователь с таким логином уже существует.', 'error.object_exists' => 'Объект с таким именем уже есть.', -'error.project_exists' => 'Проект с таким именем уже есть.', 'error.task_exists' => 'Задача с таким названием уже есть.', 'error.client_exists' => 'Клиент с таким именем уже есть.', 'error.invoice_exists' => 'Счёт с таким номером уже есть.', diff --git a/WEB-INF/resources/sk.lang.php b/WEB-INF/resources/sk.lang.php index de985d43..a2ae001b 100644 --- a/WEB-INF/resources/sk.lang.php +++ b/WEB-INF/resources/sk.lang.php @@ -95,7 +95,6 @@ $i18n_key_words = array( 'error.user_exists' => 'Používateľ s týmto prihlasovacím menom už existuje.', // TODO: translate the following. // 'error.object_exists' => 'Object with this name already exists.', -'error.project_exists' => 'Projekt s týmto názvom už existuje.', 'error.task_exists' => 'Úloha s týmto názvom už existuje.', 'error.client_exists' => 'Klient s týmto menom už existuje.', 'error.invoice_exists' => 'Faktúra s týmto číslom už existuje.', diff --git a/WEB-INF/resources/sl.lang.php b/WEB-INF/resources/sl.lang.php index 83815f7d..490677a2 100644 --- a/WEB-INF/resources/sl.lang.php +++ b/WEB-INF/resources/sl.lang.php @@ -94,7 +94,6 @@ $i18n_key_words = array( // 'error.auth' => 'Incorrect login or password.', // 'error.user_exists' => 'User with this login already exists.', // 'error.object_exists' => 'Object with this name already exists.', -// 'error.project_exists' => 'Project with this name already exists.', // 'error.task_exists' => 'Task with this name already exists.', // 'error.client_exists' => 'Client with this name already exists.', // 'error.invoice_exists' => 'Invoice with this number already exists.', diff --git a/WEB-INF/resources/sr.lang.php b/WEB-INF/resources/sr.lang.php index 42ded8f9..39aa0b33 100644 --- a/WEB-INF/resources/sr.lang.php +++ b/WEB-INF/resources/sr.lang.php @@ -90,7 +90,6 @@ $i18n_key_words = array( 'error.user_exists' => 'Korisnik pod ovim imenom već postoji.', // TODO: translate the following. // 'error.object_exists' => 'Object with this name already exists.', -'error.project_exists' => 'Projekat pod ovim nazivom već postoji.', 'error.task_exists' => 'Zadatak pod ovim nazivom već postoji.', 'error.client_exists' => 'Klijent pod ovim imenom već postoji.', 'error.invoice_exists' => 'Račun pod ovim brojem već postoji.', diff --git a/WEB-INF/resources/sv.lang.php b/WEB-INF/resources/sv.lang.php index 43c76d0e..3861f8d4 100644 --- a/WEB-INF/resources/sv.lang.php +++ b/WEB-INF/resources/sv.lang.php @@ -89,7 +89,6 @@ $i18n_key_words = array( 'error.user_exists' => 'Det finns redan en användare med det här användarnamnet.', // TODO: translate the following. // 'error.object_exists' => 'Object with this name already exists.', -'error.project_exists' => 'Det finns redan ett projekt med det här namnet.', 'error.task_exists' => 'Det finns redan en arbetsuppgift med det här namnet.', 'error.client_exists' => 'Det finns redan en kund med det här namnet.', 'error.invoice_exists' => 'Det finns redan en faktura med det här numret.', diff --git a/WEB-INF/resources/tr.lang.php b/WEB-INF/resources/tr.lang.php index d5764bed..de1c41ae 100644 --- a/WEB-INF/resources/tr.lang.php +++ b/WEB-INF/resources/tr.lang.php @@ -106,8 +106,6 @@ $i18n_key_words = array( // TODO: translate the following. // 'error.user_exists' => 'User with this login already exists.', // 'error.object_exists' => 'Object with this name already exists.', -'error.project_exists' => 'Bu isimde proje zaten vardır.', -// TODO: translate the following. // 'error.task_exists' => 'Task with this name already exists.', // 'error.client_exists' => 'Client with this name already exists.', // 'error.invoice_exists' => 'Invoice with this number already exists.', diff --git a/WEB-INF/resources/zh-cn.lang.php b/WEB-INF/resources/zh-cn.lang.php index a6014557..271ad93e 100644 --- a/WEB-INF/resources/zh-cn.lang.php +++ b/WEB-INF/resources/zh-cn.lang.php @@ -92,8 +92,6 @@ $i18n_key_words = array( 'error.user_exists' => '该用户登录信息已经存在。', // TODO: translate the following. // 'error.object_exists' => 'Object with this name already exists.', -'error.project_exists' => '该项目名称已经存在。', -// TODO: translate the following. // 'error.task_exists' => 'Task with this name already exists.', 'error.client_exists' => '具有此名称的客户端已经存在。', // TODO: translate the following. diff --git a/WEB-INF/resources/zh-tw.lang.php b/WEB-INF/resources/zh-tw.lang.php index c51900fa..81a90380 100644 --- a/WEB-INF/resources/zh-tw.lang.php +++ b/WEB-INF/resources/zh-tw.lang.php @@ -97,8 +97,6 @@ $i18n_key_words = array( 'error.user_exists' => '該使用者登錄資訊已經存在。', // TODO: translate the following. // 'error.object_exists' => 'Object with this name already exists.', -'error.project_exists' => '該專案名稱已經存在。', -// TODO: translate the following. // 'error.task_exists' => 'Task with this name already exists.', // 'error.client_exists' => 'Client with this name already exists.', // 'error.invoice_exists' => 'Invoice with this number already exists.', diff --git a/WEB-INF/templates/footer.tpl b/WEB-INF/templates/footer.tpl index 81f3d40a..a6ffa537 100644 --- a/WEB-INF/templates/footer.tpl +++ b/WEB-INF/templates/footer.tpl @@ -12,7 +12,7 @@
-
 Anuko Time Tracker 1.18.26.4488 | Copyright © Anuko | +  Anuko Time Tracker 1.18.26.4489 | Copyright © Anuko | {$i18n.footer.credits} | {$i18n.footer.license} | {$i18n.footer.improve} diff --git a/group_add.php b/group_add.php index 8bb8d003..4e8cb91a 100644 --- a/group_add.php +++ b/group_add.php @@ -66,7 +66,7 @@ if ($request->isPost()) { } else $err->add($i18n->get('error.db')); } else - $err->add($i18n->get('error.project_exists')); + $err->add($i18n->get('error.object_exists')); } */ } // isPost diff --git a/mobile/project_add.php b/mobile/project_add.php index 6d68a178..3b1d0fb0 100644 --- a/mobile/project_add.php +++ b/mobile/project_add.php @@ -90,7 +90,7 @@ if ($request->isPost()) { } else $err->add($i18n->get('error.db')); } else - $err->add($i18n->get('error.project_exists')); + $err->add($i18n->get('error.object_exists')); } } // isPost diff --git a/mobile/project_edit.php b/mobile/project_edit.php index defec7ad..2d67b88d 100644 --- a/mobile/project_edit.php +++ b/mobile/project_edit.php @@ -113,7 +113,7 @@ if ($request->isPost()) { } else $err->add($i18n->get('error.db')); } else - $err->add($i18n->get('error.project_exists')); + $err->add($i18n->get('error.object_exists')); } if ($request->getParameter('btn_copy')) { @@ -131,7 +131,7 @@ if ($request->isPost()) { } else $err->add($i18n->get('error.db')); } else - $err->add($i18n->get('error.project_exists')); + $err->add($i18n->get('error.object_exists')); } if ($request->getParameter('btn_delete')) { diff --git a/project_add.php b/project_add.php index 3b4c73d3..930adf1f 100644 --- a/project_add.php +++ b/project_add.php @@ -89,7 +89,7 @@ if ($request->isPost()) { } else $err->add($i18n->get('error.db')); } else - $err->add($i18n->get('error.project_exists')); + $err->add($i18n->get('error.object_exists')); } } // isPost diff --git a/project_edit.php b/project_edit.php index 77312b0b..3cdb4437 100644 --- a/project_edit.php +++ b/project_edit.php @@ -112,7 +112,7 @@ if ($request->isPost()) { } else $err->add($i18n->get('error.db')); } else - $err->add($i18n->get('error.project_exists')); + $err->add($i18n->get('error.object_exists')); } if ($request->getParameter('btn_copy')) { @@ -130,7 +130,7 @@ if ($request->isPost()) { } else $err->add($i18n->get('error.db')); } else - $err->add($i18n->get('error.project_exists')); + $err->add($i18n->get('error.object_exists')); } } } // isPost