From ca683ee3695e2b39111b3630f9a9f6293935378d Mon Sep 17 00:00:00 2001 From: maki Date: Wed, 24 Apr 2024 11:30:28 -0300 Subject: [PATCH 1/4] fix: traducciones faltantes #16080 --- config/locales/en.yml | 4 ++++ config/locales/es.yml | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/config/locales/en.yml b/config/locales/en.yml index fc9d4894..3a22a41b 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -553,6 +553,10 @@ en: image: label: Image destroy: Remove image + logo: + label: Logo + download: + label: Archivo belongs_to: empty: "(Empty)" predefined_value: diff --git a/config/locales/es.yml b/config/locales/es.yml index 4bda4982..1828b001 100644 --- a/config/locales/es.yml +++ b/config/locales/es.yml @@ -561,6 +561,10 @@ es: image: label: Imagen destroy: 'Eliminar imagen' + logo: + label: Logo + download: + label: Archivo belongs_to: empty: "(VacĂ­o)" predefined_value: From 92e7ecada0a0e092526ad6f015234a864e7b7437 Mon Sep 17 00:00:00 2001 From: maki Date: Thu, 25 Apr 2024 11:15:24 -0300 Subject: [PATCH 2/4] fix: separar label de preview #16080 --- app/views/posts/attributes/_file.haml | 3 ++- app/views/posts/attributes/_image.haml | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/app/views/posts/attributes/_file.haml b/app/views/posts/attributes/_file.haml index 84cbcd9a..6906e159 100644 --- a/app/views/posts/attributes/_file.haml +++ b/app/views/posts/attributes/_file.haml @@ -1,5 +1,6 @@ .form-group - = label_tag "#{base}_#{attribute}", post_label_t(attribute, post: post) + .label + = label_tag "#{base}_#{attribute}", post_label_t(attribute, post: post) - if metadata.static_file - case metadata.static_file.blob.content_type - when %r{\Avideo/} diff --git a/app/views/posts/attributes/_image.haml b/app/views/posts/attributes/_image.haml index 79f451a3..2579dfeb 100644 --- a/app/views/posts/attributes/_image.haml +++ b/app/views/posts/attributes/_image.haml @@ -1,5 +1,6 @@ .form-group - = label_tag "#{base}_#{attribute}", post_label_t(attribute, post: post) + .label + = label_tag "#{base}_#{attribute}", post_label_t(attribute, post: post) - if metadata.static_file = image_tag url_for(metadata.static_file), alt: metadata.value['description'], From 7ec3e69ec7df2df262c902a3baa957e6be7c69b7 Mon Sep 17 00:00:00 2001 From: maki Date: Fri, 3 May 2024 14:06:32 -0300 Subject: [PATCH 3/4] div al pedo #16080 --- app/views/posts/attributes/_file.haml | 4 ++-- app/views/posts/attributes/_image.haml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/views/posts/attributes/_file.haml b/app/views/posts/attributes/_file.haml index 6906e159..31765069 100644 --- a/app/views/posts/attributes/_file.haml +++ b/app/views/posts/attributes/_file.haml @@ -1,6 +1,6 @@ .form-group - .label - = label_tag "#{base}_#{attribute}", post_label_t(attribute, post: post) + + = label_tag "#{base}_#{attribute}", post_label_t(attribute, post: post) - if metadata.static_file - case metadata.static_file.blob.content_type - when %r{\Avideo/} diff --git a/app/views/posts/attributes/_image.haml b/app/views/posts/attributes/_image.haml index 2579dfeb..74388e90 100644 --- a/app/views/posts/attributes/_image.haml +++ b/app/views/posts/attributes/_image.haml @@ -1,6 +1,6 @@ .form-group - .label - = label_tag "#{base}_#{attribute}", post_label_t(attribute, post: post) + + = label_tag "#{base}_#{attribute}", post_label_t(attribute, post: post) - if metadata.static_file = image_tag url_for(metadata.static_file), alt: metadata.value['description'], From 581fea57959025618ed4711af70e8be108177a21 Mon Sep 17 00:00:00 2001 From: maki Date: Fri, 10 May 2024 12:02:48 -0300 Subject: [PATCH 4/4] fix: translation missing para label de audio #16080 --- config/locales/en.yml | 2 ++ config/locales/es.yml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/config/locales/en.yml b/config/locales/en.yml index 3a22a41b..7ac7291d 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -553,6 +553,8 @@ en: image: label: Image destroy: Remove image + audio: + label: Audio file logo: label: Logo download: diff --git a/config/locales/es.yml b/config/locales/es.yml index 1828b001..0d04bf5d 100644 --- a/config/locales/es.yml +++ b/config/locales/es.yml @@ -563,6 +563,8 @@ es: destroy: 'Eliminar imagen' logo: label: Logo + audio: + label: Audio download: label: Archivo belongs_to: