From 79a38d5d7579d6ba89efdc1b077b87a2e324cbd3 Mon Sep 17 00:00:00 2001 From: Nik Okuntseff Date: Wed, 21 Nov 2018 22:06:27 +0000 Subject: [PATCH] Further streamlining of error messages. --- WEB-INF/resources/ca.lang.php | 1 - WEB-INF/resources/cs.lang.php | 1 - WEB-INF/resources/da.lang.php | 1 - WEB-INF/resources/de.lang.php | 1 - WEB-INF/resources/en.lang.php | 1 - WEB-INF/resources/es.lang.php | 1 - WEB-INF/resources/et.lang.php | 1 - WEB-INF/resources/fa.lang.php | 1 - WEB-INF/resources/fi.lang.php | 1 - WEB-INF/resources/fr.lang.php | 1 - WEB-INF/resources/gr.lang.php | 1 - WEB-INF/resources/he.lang.php | 1 - WEB-INF/resources/hu.lang.php | 1 - WEB-INF/resources/it.lang.php | 1 - WEB-INF/resources/ja.lang.php | 1 - WEB-INF/resources/ko.lang.php | 1 - WEB-INF/resources/nl.lang.php | 1 - WEB-INF/resources/no.lang.php | 2 -- WEB-INF/resources/pl.lang.php | 1 - WEB-INF/resources/pt-br.lang.php | 1 - WEB-INF/resources/pt.lang.php | 1 - WEB-INF/resources/ro.lang.php | 1 - WEB-INF/resources/ru.lang.php | 1 - WEB-INF/resources/sk.lang.php | 1 - WEB-INF/resources/sl.lang.php | 1 - WEB-INF/resources/sr.lang.php | 1 - WEB-INF/resources/sv.lang.php | 1 - WEB-INF/resources/tr.lang.php | 1 - WEB-INF/resources/zh-cn.lang.php | 2 -- WEB-INF/resources/zh-tw.lang.php | 1 - WEB-INF/templates/footer.tpl | 2 +- client_add.php | 2 +- client_edit.php | 4 ++-- mobile/client_add.php | 2 +- mobile/client_edit.php | 4 ++-- 35 files changed, 7 insertions(+), 39 deletions(-) diff --git a/WEB-INF/resources/ca.lang.php b/WEB-INF/resources/ca.lang.php index e8c81189..80d11cdf 100644 --- a/WEB-INF/resources/ca.lang.php +++ b/WEB-INF/resources/ca.lang.php @@ -99,7 +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.client_exists' => 'Client with this name already exists.', // 'error.invoice_exists' => 'Invoice with this number already exists.', // 'error.role_exists' => 'Role with this rank already exists.', // 'error.no_invoiceable_items' => 'There are no invoiceable items.', diff --git a/WEB-INF/resources/cs.lang.php b/WEB-INF/resources/cs.lang.php index d80ebf09..19160062 100644 --- a/WEB-INF/resources/cs.lang.php +++ b/WEB-INF/resources/cs.lang.php @@ -101,7 +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.client_exists' => 'Client with this name already exists.', // 'error.invoice_exists' => 'Invoice with this number already exists.', // 'error.role_exists' => 'Role with this rank already exists.', // 'error.no_invoiceable_items' => 'There are no invoiceable items.', diff --git a/WEB-INF/resources/da.lang.php b/WEB-INF/resources/da.lang.php index fc165df4..f0d7c438 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.client_exists' => 'Der eksistere allerede en klient med dette navn.', 'error.invoice_exists' => 'Fakturanummer eksistere allerede.', // TODO: translate the following. // 'error.role_exists' => 'Role with this rank already exists.', diff --git a/WEB-INF/resources/de.lang.php b/WEB-INF/resources/de.lang.php index 940ca1d8..69bdffba 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.client_exists' => 'Der Kunde mit dem Namen existiert schon.', 'error.invoice_exists' => 'Rechnung mit dieser Nummer existiert bereits.', 'error.role_exists' => 'Rolle mit diesem Rang existiert bereits.', 'error.no_invoiceable_items' => 'Keine Einträge zur Rechnungsstellung gefunden.', diff --git a/WEB-INF/resources/en.lang.php b/WEB-INF/resources/en.lang.php index ad1aabf9..4c569dc6 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.client_exists' => 'Client with this name already exists.', 'error.invoice_exists' => 'Invoice with this number already exists.', 'error.role_exists' => 'Role with this rank already exists.', 'error.no_invoiceable_items' => 'There are no invoiceable items.', diff --git a/WEB-INF/resources/es.lang.php b/WEB-INF/resources/es.lang.php index e19eb4a8..44bca1bb 100644 --- a/WEB-INF/resources/es.lang.php +++ b/WEB-INF/resources/es.lang.php @@ -97,7 +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.client_exists' => 'Client with this name already exists.', // 'error.invoice_exists' => 'Invoice with this number already exists.', // 'error.role_exists' => 'Role with this rank already exists.', // 'error.no_invoiceable_items' => 'There are no invoiceable items.', diff --git a/WEB-INF/resources/et.lang.php b/WEB-INF/resources/et.lang.php index f5a580bf..8f159c0b 100644 --- a/WEB-INF/resources/et.lang.php +++ b/WEB-INF/resources/et.lang.php @@ -101,7 +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.client_exists' => 'Client with this name already exists.', // 'error.invoice_exists' => 'Invoice with this number already exists.', // 'error.role_exists' => 'Role with this rank already exists.', // 'error.no_invoiceable_items' => 'There are no invoiceable items.', diff --git a/WEB-INF/resources/fa.lang.php b/WEB-INF/resources/fa.lang.php index ef7a5706..2620ffc1 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.client_exists' => 'مشتری با این نام هم اکنون وجود دارد.', 'error.invoice_exists' => 'فاکتوری با این شماره هم اکنون موجود است.', // TODO: translate the following. // 'error.role_exists' => 'Role with this rank already exists.', diff --git a/WEB-INF/resources/fi.lang.php b/WEB-INF/resources/fi.lang.php index 0aab4182..2067595d 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.client_exists' => 'Tämän niminen asiakas on jo olemassa.', 'error.invoice_exists' => 'Tällä numerolla oleva lasku on jo olemassa.', // TODO: translate the following. // 'error.role_exists' => 'Role with this rank already exists.', diff --git a/WEB-INF/resources/fr.lang.php b/WEB-INF/resources/fr.lang.php index d0ca0fa2..bbd315b0 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.client_exists' => 'Un client avec ce nom existe déjà.', 'error.invoice_exists' => 'Une facture avec ce numéro existe déjà.', // TODO: translate the following. // 'error.role_exists' => 'Role with this rank already exists.', diff --git a/WEB-INF/resources/gr.lang.php b/WEB-INF/resources/gr.lang.php index d4bca60c..6520d46b 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.client_exists' => 'Ο πελάτης με αυτό το όνομα υπάρχει ήδη.', 'error.invoice_exists' => 'Το τιμολόγιο με αυτόν τον αριθμό υπάρχει ήδη.', 'error.role_exists' => 'Ο ρόλος σε αυτή τη σειρά υπάρχει ήδη.', 'error.no_invoiceable_items' => 'Δεν υπάρχουν στοιχεία προς τιμολόγηση.', diff --git a/WEB-INF/resources/he.lang.php b/WEB-INF/resources/he.lang.php index e9e9dd70..250ea7dc 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.client_exists' => 'שם לקוח כבר קיים', 'error.invoice_exists' => 'קיימת חשבונית עם מספר זה', // TODO: translate the following. // 'error.role_exists' => 'Role with this rank already exists.', diff --git a/WEB-INF/resources/hu.lang.php b/WEB-INF/resources/hu.lang.php index 0c8dc240..ae792053 100644 --- a/WEB-INF/resources/hu.lang.php +++ b/WEB-INF/resources/hu.lang.php @@ -99,7 +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.client_exists' => 'Client with this name already exists.', // 'error.invoice_exists' => 'Invoice with this number already exists.', // 'error.role_exists' => 'Role with this rank already exists.', // 'error.no_invoiceable_items' => 'There are no invoiceable items.', diff --git a/WEB-INF/resources/it.lang.php b/WEB-INF/resources/it.lang.php index 476b1000..7ecc26e4 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.client_exists' => 'Esiste già un cliente con questo nome.', 'error.invoice_exists' => 'Esiste già una fattura con questo numero.', // TODO: translate the following. // 'error.role_exists' => 'Role with this rank already exists.', diff --git a/WEB-INF/resources/ja.lang.php b/WEB-INF/resources/ja.lang.php index 08ca910f..9e6d99a7 100644 --- a/WEB-INF/resources/ja.lang.php +++ b/WEB-INF/resources/ja.lang.php @@ -99,7 +99,6 @@ $i18n_key_words = array( 'error.user_exists' => 'このログインと関連されたユーザーは既に存在します。', // TODO: translate the following. // 'error.object_exists' => 'Object with this name already exists.', -// 'error.client_exists' => 'Client with this name already exists.', // 'error.invoice_exists' => 'Invoice with this number already exists.', // TODO: translate the following. // 'error.role_exists' => 'Role with this rank already exists.', diff --git a/WEB-INF/resources/ko.lang.php b/WEB-INF/resources/ko.lang.php index 91bbf5be..f577566d 100644 --- a/WEB-INF/resources/ko.lang.php +++ b/WEB-INF/resources/ko.lang.php @@ -99,7 +99,6 @@ $i18n_key_words = array( 'error.user_exists' => '본 로그인과 연계된 사용자가 이미 있습니다.', // TODO: translate the following. // 'error.object_exists' => 'Object with this name already exists.', -// 'error.client_exists' => 'Client with this name already exists.', // 'error.invoice_exists' => 'Invoice with this number already exists.', // 'error.role_exists' => 'Role with this rank already exists.', // 'error.no_invoiceable_items' => 'There are no invoiceable items.', diff --git a/WEB-INF/resources/nl.lang.php b/WEB-INF/resources/nl.lang.php index 434ec9e7..5d11a8a0 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.client_exists' => 'Een klant met deze naam bestaat al.', 'error.invoice_exists' => 'Dit nummer is al eens toegekend aan een factuur.', 'error.role_exists' => 'Een rol met deze rangorde bestaat al.', 'error.no_invoiceable_items' => 'Er zijn geen factuureerbare onderdelen.', diff --git a/WEB-INF/resources/no.lang.php b/WEB-INF/resources/no.lang.php index 16a9d83a..a7a82d75 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.client_exists' => 'En klient med dette navnet er allerede opprettet.', -// TODO: translate the following. // 'error.invoice_exists' => 'Invoice with this number already exists.', // 'error.role_exists' => 'Role with this rank already exists.', // 'error.no_invoiceable_items' => 'There are no invoiceable items.', diff --git a/WEB-INF/resources/pl.lang.php b/WEB-INF/resources/pl.lang.php index 8e07da86..eeedb29c 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.client_exists' => 'Klient o takiej nazwie już istnieje.', 'error.invoice_exists' => 'Faktura o tym numerze już istnieje.', // TODO: translate the following. // 'error.role_exists' => 'Role with this rank already exists.', diff --git a/WEB-INF/resources/pt-br.lang.php b/WEB-INF/resources/pt-br.lang.php index 566c654b..e72b03b6 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.client_exists' => 'Já existe cliente com este nome.', 'error.invoice_exists' => 'Já existe fatura com este número.', // TODO: translate the following. // 'error.role_exists' => 'Role with this rank already exists.', diff --git a/WEB-INF/resources/pt.lang.php b/WEB-INF/resources/pt.lang.php index 5a05d16c..e5a5c502 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.client_exists' => 'Client with this name already exists.', // 'error.invoice_exists' => 'Invoice with this number already exists.', // 'error.role_exists' => 'Role with this rank already exists.', // 'error.no_invoiceable_items' => 'There are no invoiceable items.', diff --git a/WEB-INF/resources/ro.lang.php b/WEB-INF/resources/ro.lang.php index 783219ff..8cf13bb9 100644 --- a/WEB-INF/resources/ro.lang.php +++ b/WEB-INF/resources/ro.lang.php @@ -103,7 +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.client_exists' => 'Client with this name already exists.', // 'error.invoice_exists' => 'Invoice with this number already exists.', // 'error.role_exists' => 'Role with this rank already exists.', // 'error.no_invoiceable_items' => 'There are no invoiceable items.', diff --git a/WEB-INF/resources/ru.lang.php b/WEB-INF/resources/ru.lang.php index 0d57fe1d..926834e2 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.client_exists' => 'Клиент с таким именем уже есть.', 'error.invoice_exists' => 'Счёт с таким номером уже есть.', 'error.role_exists' => 'Роль с таким рангом уже есть.', 'error.no_invoiceable_items' => 'Нет записей для включения в счёт.', diff --git a/WEB-INF/resources/sk.lang.php b/WEB-INF/resources/sk.lang.php index 40e67179..2499ea75 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.client_exists' => 'Klient s týmto menom už existuje.', 'error.invoice_exists' => 'Faktúra s týmto číslom už existuje.', // TODO: translate the following. // 'error.role_exists' => 'Role with this rank already exists.', diff --git a/WEB-INF/resources/sl.lang.php b/WEB-INF/resources/sl.lang.php index ebbe4f30..c52130ef 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.client_exists' => 'Client with this name already exists.', // 'error.invoice_exists' => 'Invoice with this number already exists.', // 'error.role_exists' => 'Role with this rank already exists.', // 'error.no_invoiceable_items' => 'There are no invoiceable items.', diff --git a/WEB-INF/resources/sr.lang.php b/WEB-INF/resources/sr.lang.php index fe9a47ea..bd041e50 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.client_exists' => 'Klijent pod ovim imenom već postoji.', 'error.invoice_exists' => 'Račun pod ovim brojem već postoji.', // TODO: translate the following. // 'error.role_exists' => 'Role with this rank already exists.', diff --git a/WEB-INF/resources/sv.lang.php b/WEB-INF/resources/sv.lang.php index 60afbfc8..8e776e88 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.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.', // TODO: translate the following. // 'error.role_exists' => 'Role with this rank already exists.', diff --git a/WEB-INF/resources/tr.lang.php b/WEB-INF/resources/tr.lang.php index 7beba150..4ea24ff1 100644 --- a/WEB-INF/resources/tr.lang.php +++ b/WEB-INF/resources/tr.lang.php @@ -106,7 +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.client_exists' => 'Client with this name already exists.', // 'error.invoice_exists' => 'Invoice with this number already exists.', // 'error.role_exists' => 'Role with this rank already exists.', // 'error.no_invoiceable_items' => 'There are no invoiceable items.', diff --git a/WEB-INF/resources/zh-cn.lang.php b/WEB-INF/resources/zh-cn.lang.php index c5da9b5c..29cb05ca 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.client_exists' => '具有此名称的客户端已经存在。', -// TODO: translate the following. // 'error.invoice_exists' => 'Invoice with this number already exists.', // 'error.role_exists' => 'Role with this rank already exists.', // 'error.no_invoiceable_items' => 'There are no invoiceable items.', diff --git a/WEB-INF/resources/zh-tw.lang.php b/WEB-INF/resources/zh-tw.lang.php index f48e154d..2a005abc 100644 --- a/WEB-INF/resources/zh-tw.lang.php +++ b/WEB-INF/resources/zh-tw.lang.php @@ -97,7 +97,6 @@ $i18n_key_words = array( 'error.user_exists' => '該使用者登錄資訊已經存在。', // TODO: translate the following. // 'error.object_exists' => 'Object with this name already exists.', -// 'error.client_exists' => 'Client with this name already exists.', // 'error.invoice_exists' => 'Invoice with this number already exists.', // 'error.role_exists' => 'Role with this rank already exists.', // 'error.no_invoiceable_items' => 'There are no invoiceable items.', diff --git a/WEB-INF/templates/footer.tpl b/WEB-INF/templates/footer.tpl index 01892fc8..c1be43ae 100644 --- a/WEB-INF/templates/footer.tpl +++ b/WEB-INF/templates/footer.tpl @@ -12,7 +12,7 @@
-
 Anuko Time Tracker 1.18.26.4490 | Copyright © Anuko | +  Anuko Time Tracker 1.18.26.4491 | Copyright © Anuko | {$i18n.footer.credits} | {$i18n.footer.license} | {$i18n.footer.improve} diff --git a/client_add.php b/client_add.php index dc99e6c8..db94e620 100644 --- a/client_add.php +++ b/client_add.php @@ -83,7 +83,7 @@ if ($request->isPost()) { } else $err->add($i18n->get('error.db')); } else - $err->add($i18n->get('error.client_exists')); + $err->add($i18n->get('error.object_exists')); } } // isPost diff --git a/client_edit.php b/client_edit.php index 19aa5f89..a5c1b8b7 100644 --- a/client_edit.php +++ b/client_edit.php @@ -97,7 +97,7 @@ if ($request->isPost()) { } else $err->add($i18n->get('error.db')); } else - $err->add($i18n->get('error.client_exists')); + $err->add($i18n->get('error.object_exists')); } if ($request->getParameter('btn_copy')) { @@ -115,7 +115,7 @@ if ($request->isPost()) { } else $err->add($i18n->get('error.db')); } else - $err->add($i18n->get('error.client_exists')); + $err->add($i18n->get('error.object_exists')); } } } // isPost diff --git a/mobile/client_add.php b/mobile/client_add.php index 7a097b5f..02de56d1 100644 --- a/mobile/client_add.php +++ b/mobile/client_add.php @@ -83,7 +83,7 @@ if ($request->isPost()) { } else $err->add($i18n->get('error.db')); } else - $err->add($i18n->get('error.client_exists')); + $err->add($i18n->get('error.object_exists')); } } // isPost diff --git a/mobile/client_edit.php b/mobile/client_edit.php index 73d50cac..c1004b1b 100644 --- a/mobile/client_edit.php +++ b/mobile/client_edit.php @@ -98,7 +98,7 @@ if ($request->isPost()) { } else $err->add($i18n->get('error.db')); } else - $err->add($i18n->get('error.client_exists')); + $err->add($i18n->get('error.object_exists')); } if ($request->getParameter('btn_copy')) { @@ -116,7 +116,7 @@ if ($request->isPost()) { } else $err->add($i18n->get('error.db')); } else - $err->add($i18n->get('error.client_exists')); + $err->add($i18n->get('error.object_exists')); } if ($request->getParameter('btn_delete')) { -- 2.20.1