Commit aff890f4 authored by Bob Van Landuyt's avatar Bob Van Landuyt

Merge branch '349415-make-string-in-user-profile-translatable' into 'master'

Make string in user profile translatable

See merge request gitlab-org/gitlab!77439
parents e67b03bf d1928d59
...@@ -94,8 +94,7 @@ ...@@ -94,8 +94,7 @@
= s_('Preferences|Surround text selection when typing quotes or brackets') = s_('Preferences|Surround text selection when typing quotes or brackets')
.form-text.text-muted .form-text.text-muted
- supported_characters = %w(" ' ` \( [ { < * _).map {|char| "<code>#{char}</code>" }.join(', ') - supported_characters = %w(" ' ` \( [ { < * _).map {|char| "<code>#{char}</code>" }.join(', ')
- msg = "Preferences|When you type in a description or comment box, selected text is surrounded by the corresponding character after typing one of the following characters: #{supported_characters}." = sprintf(s_( "Preferences|When you type in a description or comment box, selected text is surrounded by the corresponding character after typing one of the following characters: %{supported_characters}."), { supported_characters: supported_characters }).html_safe
= s_(msg).html_safe
.form-group .form-group
= f.label :tab_width, s_('Preferences|Tab width'), class: 'label-bold' = f.label :tab_width, s_('Preferences|Tab width'), class: 'label-bold'
......
...@@ -26863,6 +26863,9 @@ msgstr "" ...@@ -26863,6 +26863,9 @@ msgstr ""
msgid "Preferences|Use relative times" msgid "Preferences|Use relative times"
msgstr "" msgstr ""
msgid "Preferences|When you type in a description or comment box, selected text is surrounded by the corresponding character after typing one of the following characters: %{supported_characters}."
msgstr ""
msgid "Prev" msgid "Prev"
msgstr "" msgstr ""
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment