From b8fdf83297d5f858c95e75ed6fe40c2108afaaab Mon Sep 17 00:00:00 2001 From: Chrissi^ <chris@tinyhost.de> Date: Wed, 28 Aug 2019 20:47:37 +0200 Subject: [PATCH] Config-Mode: Text describing SSH-Keys: Only RSA possible Signed-off-by: Chrissi^ <chris@tinyhost.de> --- package/gluon-web-admin/i18n/de.po | 4 ++-- .../luasrc/lib/gluon/config-mode/model/admin/remote.lua | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/gluon-web-admin/i18n/de.po b/package/gluon-web-admin/i18n/de.po index c6511012b..5b86a014c 100644 --- a/package/gluon-web-admin/i18n/de.po +++ b/package/gluon-web-admin/i18n/de.po @@ -130,6 +130,6 @@ msgstr "Datei hochladen" msgid "You can manually upgrade your firmware here." msgstr "Hier kannst du ein manuelles Firmwareupdate durchführen." -msgid "You can provide your SSH keys here (one per line):" +msgid "You can provide your SSH keys here. Currently only RSA-Keys are supported. Add one Key per line." msgstr "" -"Hier hast du die Möglichkeit, SSH-Keys zu hinterlegen (einen pro Zeile):" +"Hier hast du die Möglichkeit, SSH-Keys zu hinterlegen. Zur Zeit werden nur RSA-Keys unterstützt. Hinterlege keinen Key pro Zeile." diff --git a/package/gluon-web-admin/luasrc/lib/gluon/config-mode/model/admin/remote.lua b/package/gluon-web-admin/luasrc/lib/gluon/config-mode/model/admin/remote.lua index da6a8a9c3..13bb8d089 100644 --- a/package/gluon-web-admin/luasrc/lib/gluon/config-mode/model/admin/remote.lua +++ b/package/gluon-web-admin/luasrc/lib/gluon/config-mode/model/admin/remote.lua @@ -17,7 +17,7 @@ local fcntl = require 'posix.fcntl' local unistd = require 'posix.unistd' local wait = require 'posix.sys.wait' -local f_keys = Form(translate("SSH keys"), translate("You can provide your SSH keys here (one per line):"), 'keys') +local f_keys = Form(translate("SSH keys"), translate("You can provide your SSH keys here. Currently only RSA-Keys are supported. Add one Key per line."), 'keys') local s = f_keys:section(Section) local keys = s:option(TextValue, "keys") keys.wrap = "off" -- GitLab