The personal finance app for everyone (by everyone)
Ruby
Label the Enable Banking key field as a private key (#5195)
Sailing7445b719cc9f9e
diff --git a/app/views/settings/providers/_enable_banking_panel.html.erb b/app/views/settings/providers/_enable_banking_panel.html.erbindex 601af9a70a..f8630e996c 100644--- a/app/views/settings/providers/_enable_banking_panel.html.erb+++ b/app/views/settings/providers/_enable_banking_panel.html.erb@@ -53,7 +53,7 @@<%= form.text_area :client_certificate,label: t("settings.providers.enable_banking_panel.client_certificate_label"),- placeholder: "-----BEGIN PRIVATE KEY-----\n...\n-----END PRIVATE KEY-----\n-----BEGIN CERTIFICATE-----\n...\n-----END CERTIFICATE-----",+ placeholder: "-----BEGIN PRIVATE KEY-----\n...\n-----END PRIVATE KEY-----",value: "",help_text: (t("settings.providers.enable_banking_panel.keep_client_certificate_hint") unless is_new_record || credentials_locked),rows: 6,diff --git a/config/locales/views/settings/providers/de.yml b/config/locales/views/settings/providers/de.ymlindex 6de46b2846..790314c23c 100644--- a/config/locales/views/settings/providers/de.yml+++ b/config/locales/views/settings/providers/de.yml@@ -28,8 +28,8 @@ de:application_id_label: Application IDapplication_id_placeholder_new: Application ID eintragenapplication_id_placeholder_update: Neue ID eintragen, um sie zu ändern- client_certificate_label: Client-Zertifikat (mit Private Key)- keep_client_certificate_hint: "Leer lassen, um das aktuelle Zertifikat beizubehalten"+ client_certificate_label: Privater Schlüssel (.pem)+ keep_client_certificate_hint: "Leer lassen, um den aktuellen Schlüssel beizubehalten"config_locked_message: Trenn alle verknüpften Banken, bevor du diese Zugangsdaten änderst.config_locked_title: Konfiguration gesperrtconfigured: Eingerichtet@@ -46,7 +46,7 @@ de:session_expired_reconnect: Sitzung abgelaufen – neu verbindensession_expires: 'Sitzung läuft ab: %{date}'step_1_html: Geh zu %{link} und hol dir deine Entwickler-Zugangsdaten.- step_2: Wähl dein Land und füg unten die Application ID und das Client-Zertifikat ein.+ step_2: Wähl dein Land und füg unten die Application ID und den privaten Schlüssel ein.step_3: Speichern, dann über „Verbindung hinzufügen“ deine Bank verknüpfen.sync: Syncsyncing: Sync läuftdiff --git a/config/locales/views/settings/providers/en.yml b/config/locales/views/settings/providers/en.ymlindex ab9b3cd18a..6eaa5ab71b 100644--- a/config/locales/views/settings/providers/en.yml+++ b/config/locales/views/settings/providers/en.yml@@ -210,15 +210,15 @@ en:callback_url_instruction: "For the callback URL, use %{callback_url}."connection_error: Connection Errorstep_1_html: "Go to %{link} and grab your developer credentials."- step_2: "Pick your country and paste the Application ID + Client Certificate below."+ step_2: "Pick your country and paste the Application ID + private key below."step_3: "Save, then use Add Connection to link your bank."config_locked_title: "Configuration locked"config_locked_message: "Disconnect all linked banks before changing these credentials."application_id_label: "Application ID"application_id_placeholder_new: "Enter application ID"application_id_placeholder_update: "Enter new ID to update"- client_certificate_label: "Client Certificate (with Private Key)"- keep_client_certificate_hint: "Leave blank to keep the current certificate"+ client_certificate_label: "Private Key (.pem)"+ keep_client_certificate_hint: "Leave blank to keep the current private key"save_and_connect: "Save and connect"update_connection: "Update connection"connected_bank: "Connected Bank"