diff options
author | antony liu <sun_apollo@yeah.net> | 2019-05-30 20:56:56 +0300 |
---|---|---|
committer | Clement Ho <clemmakesapps@gmail.com> | 2019-05-30 20:56:56 +0300 |
commit | 8d746d14751debce14e585aa48c24f0f7f585b49 (patch) | |
tree | a7b49b72c826d5b036851b72654ba361534ad64c /app/views/profiles/keys/_form.html.haml | |
parent | c7e5d046a54cd10145ea81983a7e3ceb94755f79 (diff) |
Externalize strings of PGP Keys and SSH Keys page in user profile
Diffstat (limited to 'app/views/profiles/keys/_form.html.haml')
-rw-r--r-- | app/views/profiles/keys/_form.html.haml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/profiles/keys/_form.html.haml b/app/views/profiles/keys/_form.html.haml index 21eef08983c..7846cdbcd52 100644 --- a/app/views/profiles/keys/_form.html.haml +++ b/app/views/profiles/keys/_form.html.haml @@ -3,11 +3,11 @@ = form_errors(@key) .form-group - = f.label :key, class: 'label-bold' + = f.label :key, s_('Profiles|Key'), class: 'label-bold' %p= _("Paste your public SSH key, which is usually contained in the file '~/.ssh/id_rsa.pub' and begins with 'ssh-rsa'. Don't use your private SSH key.") = f.text_area :key, class: "form-control js-add-ssh-key-validation-input qa-key-public-key-field", rows: 8, required: true, placeholder: s_('Profiles|Typically starts with "ssh-rsa …"') .form-group - = f.label :title, class: 'label-bold' + = f.label :title, _('Title'), class: 'label-bold' = f.text_field :title, class: "form-control input-lg qa-key-title-field", required: true, placeholder: s_('Profiles|e.g. My MacBook key') %p.form-text.text-muted= _('Name your individual key via a title') |