From 819f299d3bdc2485394120583b8a76a67b10b418 Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Wed, 20 Mar 2024 16:00:18 +0100 Subject: tags: attempt to modify searches on tag rename MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit We don't want to break existing searches upon renaming a tag, since most of searches will be based on tag names. NOTE: if the UI of searches is improved, maybe the `tags:""` clause can contain tag ids instead of names, and hence we won't need all this dance afterwards. Signed-off-by: Miquel Sabaté Solà --- config/locales/ca.yml | 3 +++ config/locales/en.yml | 3 +++ 2 files changed, 6 insertions(+) (limited to 'config') diff --git a/config/locales/ca.yml b/config/locales/ca.yml index b9f9b7c..0bfe01e 100644 --- a/config/locales/ca.yml +++ b/config/locales/ca.yml @@ -30,6 +30,8 @@ ca: editors: Editors d'una col·lecció bought_at: Data de compra where_is_it: Per on para? + search: + body: Cos de la cerca user: username: Nom d'usuari password: Contrasenya @@ -113,6 +115,7 @@ ca: create-success: Etiqueta creada correctament update-success: S'ha canviat el nom de l'etiqueta correctament + update-fail: "No s'ha pogut canviar el nom de l'etiqueta perquè comportaria problemes en cerques existents. Modifica primer les cerques que tinguin en compte aquest nom d'etiqueta" destroy-success: Etiqueta esborrada correctament things: diff --git a/config/locales/en.yml b/config/locales/en.yml index e720a0c..7bfe478 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -30,6 +30,8 @@ en: editors: Editors of a collection bought_at: Bought at where_is_it: Where is it? + search: + body: Body user: username: Username password: Password @@ -113,6 +115,7 @@ en: create-success: Tag was successfully created update-success: Tag was successfully updated + update-fail: Tag could not be updated because of conflicts with some searches. Update first searches which contain this tag name destroy-success: Tag was successfully deleted things: -- cgit v1.2.3