Mark 'Settings' string to be translated.

This commit is contained in:
Santiago Lamora 2019-12-18 11:38:09 +01:00
parent c738ebf4cb
commit 6ef94485d6
3 changed files with 11 additions and 3 deletions

View File

@ -7,7 +7,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: \n" "Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-12-18 11:34+0100\n" "POT-Creation-Date: 2019-12-18 11:37+0100\n"
"PO-Revision-Date: 2019-12-18 10:50+0100\n" "PO-Revision-Date: 2019-12-18 10:50+0100\n"
"Last-Translator: \n" "Last-Translator: \n"
"Language-Team: \n" "Language-Team: \n"
@ -91,6 +91,10 @@ msgstr ""
"Envia un correu a <a href=\"mailto:%(support_email)s\">%(support_email)s</a> " "Envia un correu a <a href=\"mailto:%(support_email)s\">%(support_email)s</a> "
"indicant el teu nom dusuari/a i texplicarem què fer." "indicant el teu nom dusuari/a i texplicarem què fer."
#: templates/musician/base.html:63
msgid "Settings"
msgstr ""
#: templates/musician/base.html:66 templates/musician/profile.html:6 #: templates/musician/base.html:66 templates/musician/profile.html:6
msgid "Profile" msgid "Profile"
msgstr "" msgstr ""

View File

@ -8,7 +8,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-12-18 11:34+0100\n" "POT-Creation-Date: 2019-12-18 11:37+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@ -91,6 +91,10 @@ msgstr ""
"Envía un correo a <a href=\"mailto:%(support_email)s\">%(support_email)s</a> " "Envía un correo a <a href=\"mailto:%(support_email)s\">%(support_email)s</a> "
"indicando tu nombre de usuaria/o y te explicaremos qué hacer." "indicando tu nombre de usuaria/o y te explicaremos qué hacer."
#: templates/musician/base.html:63
msgid "Settings"
msgstr ""
#: templates/musician/base.html:66 templates/musician/profile.html:6 #: templates/musician/base.html:66 templates/musician/profile.html:6
msgid "Profile" msgid "Profile"
msgstr "" msgstr ""

View File

@ -60,7 +60,7 @@
<button type="button" class="btn btn-primary nav-link text-light w-100" data-toggle="dropdown"> <button type="button" class="btn btn-primary nav-link text-light w-100" data-toggle="dropdown">
<img id="user-avatar" class="float-right" width="64" height="64" src="{% static "musician/images/default-profile-picture.png" %}" alt="user-profile-picture"/> <img id="user-avatar" class="float-right" width="64" height="64" src="{% static "musician/images/default-profile-picture.png" %}" alt="user-profile-picture"/>
<strong>{{ profile.username }}</strong><br/> <strong>{{ profile.username }}</strong><br/>
<i class="fas fa-cog"></i> Settings <i class="fas fa-cog"></i> {% trans "Settings" %}
</button> </button>
<div class="dropdown-menu"> <div class="dropdown-menu">
<a class="dropdown-item" href="{% url 'musician:profile' %}"><i class="fas fa-user-circle"></i> {% trans 'Profile' %}</a> <a class="dropdown-item" href="{% url 'musician:profile' %}"><i class="fas fa-user-circle"></i> {% trans 'Profile' %}</a>