From ea94e83e11b4a04d5b502b04c8bfeb5693ca8420 Mon Sep 17 00:00:00 2001 From: Georg Gadinger Date: Wed, 4 Jan 2023 15:39:27 +0100 Subject: [PATCH] views/settings: change text of save profile pic button to something less generic --- app/views/settings/profile/edit.html.haml | 2 +- config/locales/views.en.yml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app/views/settings/profile/edit.html.haml b/app/views/settings/profile/edit.html.haml index 96626578..d459e77c 100644 --- a/app/views/settings/profile/edit.html.haml +++ b/app/views/settings/profile/edit.html.haml @@ -32,7 +32,7 @@ - %i[profile_header_x profile_header_y profile_header_w profile_header_h].each do |attrib| = f.hidden_field attrib, id: attrib - = f.primary + = f.primary t(".submit_picture") .card .card-body = bootstrap_form_for(current_user.profile, html: { multipart: true }, method: :patch, data: { turbo: false }) do |f| diff --git a/config/locales/views.en.yml b/config/locales/views.en.yml index e52b74ff..b498e58e 100644 --- a/config/locales/views.en.yml +++ b/config/locales/views.en.yml @@ -451,6 +451,7 @@ en: adjust: profile_picture: "Adjust your new profile picture" profile_header: "Adjust your new profile header" + submit_picture: "Save pictures" two_factor_authentication: otp_authentication: index: