Project

General

Profile

Defect #44488 » 0001-Fix-info-text-for-Initials-fallback-avatars-ignoring.patch

Go MAEDA, 2026-09-26 05:24

View differences:

app/views/settings/_display.html.erb
<p>
<%= setting_select :gravatar_default, gravatar_default_setting_options, :blank => :label_none %>
<em class="<%= Setting.gravatar_default == "initials" ? "info" : "hidden" %>">
<%= t(:text_setting_gravatar_default_initials_html) %>
<%= t(:text_setting_gravatar_default_initials_html, :url => Redmine::Configuration['avatar_server_url']) %>
</em>
</p>
config/locales/ar.yml
reaction_text_x_other_users:
one: 1 other
other: "%{count} others"
text_setting_gravatar_default_initials_html: Users' initials are sent to <a href="https://www.gravatar.com">https://www.gravatar.com</a>
text_setting_gravatar_default_initials_html: Users' initials are sent to <a href="%{url}">%{url}</a>
to generate their avatars.
permission_view_project: View projects
permission_search_project: Search projects
config/locales/az.yml
reaction_text_x_other_users:
one: 1 other
other: "%{count} others"
text_setting_gravatar_default_initials_html: Users' initials are sent to <a href="https://www.gravatar.com">https://www.gravatar.com</a>
text_setting_gravatar_default_initials_html: Users' initials are sent to <a href="%{url}">%{url}</a>
to generate their avatars.
permission_view_project: View projects
permission_search_project: Search projects
config/locales/bg.yml
Можете да го конфигурирате в config/configuration.yml.
text_allowed_queries_to_select: Само публичните (за всички потребители) заявки са достъпни за избор
text_setting_config_change: Вие можете да конфигурирате поведението в config/configuration.yml. Моля, рестартирайте Redmine след редактиране на файла.
text_setting_gravatar_default_initials_html: Инициалите на потребителите са изпратени на <a href="https://www.gravatar.com">https://www.gravatar.com</a> за генериране на техните аватари.
text_setting_gravatar_default_initials_html: Инициалите на потребителите са изпратени на <a href="%{url}">%{url}</a> за генериране на техните аватари.
text_oauth_admin_permission: Пълен административен достъп. След оторизиране от администратор,
това приложение ще има възможност да чете и записва всички данни и да имитира други потребители.
text_oauth_admin_permission_info: Това приложение иска пълен административен достъп.
config/locales/bs.yml
reaction_text_x_other_users:
one: 1 other
other: "%{count} others"
text_setting_gravatar_default_initials_html: Users' initials are sent to <a href="https://www.gravatar.com">https://www.gravatar.com</a>
text_setting_gravatar_default_initials_html: Users' initials are sent to <a href="%{url}">%{url}</a>
to generate their avatars.
permission_view_project: View projects
permission_search_project: Search projects
config/locales/ca.yml
reaction_text_x_other_users:
one: 1 other
other: "%{count} others"
text_setting_gravatar_default_initials_html: Users' initials are sent to <a href="https://www.gravatar.com">https://www.gravatar.com</a>
text_setting_gravatar_default_initials_html: Users' initials are sent to <a href="%{url}">%{url}</a>
to generate their avatars.
permission_view_project: View projects
permission_search_project: Search projects
config/locales/cs.yml
reaction_text_x_other_users:
one: 1 jiný
other: "%{count} jiných"
text_setting_gravatar_default_initials_html: Uživatelovy iniciály jsou poslány do <a href="https://www.gravatar.com">https://www.gravatar.com</a>
text_setting_gravatar_default_initials_html: Uživatelovy iniciály jsou poslány do <a href="%{url}">%{url}</a>
k vygenerování avataru.
permission_view_project: Zobrazení projektů
permission_search_project: Vyhledání projektů
config/locales/da.yml
reaction_text_x_other_users:
one: 1 other
other: "%{count} others"
text_setting_gravatar_default_initials_html: Users' initials are sent to <a href="https://www.gravatar.com">https://www.gravatar.com</a>
text_setting_gravatar_default_initials_html: Users' initials are sent to <a href="%{url}">%{url}</a>
to generate their avatars.
permission_view_project: View projects
permission_search_project: Search projects
config/locales/de.yml
reaction_text_x_other_users:
one: 1 other
other: "%{count} others"
text_setting_gravatar_default_initials_html: Users' initials are sent to <a href="https://www.gravatar.com">https://www.gravatar.com</a>
text_setting_gravatar_default_initials_html: Users' initials are sent to <a href="%{url}">%{url}</a>
to generate their avatars.
label_oauth_permission_admin: Administrator-Zugriff
label_oauth_admin_access: Administration
config/locales/el.yml
reaction_text_x_other_users:
one: 1 other
other: "%{count} others"
text_setting_gravatar_default_initials_html: Users' initials are sent to <a href="https://www.gravatar.com">https://www.gravatar.com</a>
text_setting_gravatar_default_initials_html: Users' initials are sent to <a href="%{url}">%{url}</a>
to generate their avatars.
permission_view_project: View projects
permission_search_project: Search projects
config/locales/en-GB.yml
reaction_text_x_other_users:
one: 1 other
other: "%{count} others"
text_setting_gravatar_default_initials_html: Users' initials are sent to <a href="https://www.gravatar.com">https://www.gravatar.com</a>
text_setting_gravatar_default_initials_html: Users' initials are sent to <a href="%{url}">%{url}</a>
to generate their avatars.
permission_view_project: View projects
permission_search_project: Search projects
config/locales/en.yml
text_no_subject: no subject
text_allowed_queries_to_select: Public (to any users) queries only selectable
text_setting_config_change: You can configure the behaviour in config/configuration.yml. Please restart the application after editing it.
text_setting_gravatar_default_initials_html: Users' initials are sent to <a href="https://www.gravatar.com">https://www.gravatar.com</a> to generate their avatars.
text_setting_gravatar_default_initials_html: Users' initials are sent to <a href="%{url}">%{url}</a> to generate their avatars.
text_oauth_admin_permission: Full administrative access. When authorized by an Administrator, this application will be able to read and write all data and impersonate other users.
text_oauth_admin_permission_info: This application requests full administrative access. If you are an Administrator (or become one in the future), it will be able to read and write all data and impersonate other users on your behalf. If you want to avoid this, authorize it as a user without Administrator privileges instead.
text_oauth_copy_secret_now: Copy the secret to a safe place now, it will not be shown again.
config/locales/es-PA.yml
reaction_text_x_other_users:
one: 1 other
other: "%{count} others"
text_setting_gravatar_default_initials_html: Users' initials are sent to <a href="https://www.gravatar.com">https://www.gravatar.com</a>
text_setting_gravatar_default_initials_html: Users' initials are sent to <a href="%{url}">%{url}</a>
to generate their avatars.
permission_view_project: View projects
permission_search_project: Search projects
config/locales/es.yml
reaction_text_x_other_users:
one: 1 other
other: "%{count} others"
text_setting_gravatar_default_initials_html: Users' initials are sent to <a href="https://www.gravatar.com">https://www.gravatar.com</a>
text_setting_gravatar_default_initials_html: Users' initials are sent to <a href="%{url}">%{url}</a>
to generate their avatars.
permission_view_project: View projects
permission_search_project: Search projects
config/locales/et.yml
reaction_text_x_other_users:
one: 1 other
other: "%{count} others"
text_setting_gravatar_default_initials_html: Users' initials are sent to <a href="https://www.gravatar.com">https://www.gravatar.com</a>
text_setting_gravatar_default_initials_html: Users' initials are sent to <a href="%{url}">%{url}</a>
to generate their avatars.
permission_view_project: View projects
permission_search_project: Search projects
config/locales/eu.yml
reaction_text_x_other_users:
one: 1 other
other: "%{count} others"
text_setting_gravatar_default_initials_html: Users' initials are sent to <a href="https://www.gravatar.com">https://www.gravatar.com</a>
text_setting_gravatar_default_initials_html: Users' initials are sent to <a href="%{url}">%{url}</a>
to generate their avatars.
permission_view_project: View projects
permission_search_project: Search projects
config/locales/fa.yml
reaction_text_x_other_users:
one: 1 کاربر دیگر
other: "%{count} کاربر دیگر"
text_setting_gravatar_default_initials_html: حروف اول اسامی کاربران به <a href="https://www.gravatar.com">https://www.gravatar.com</a> ارسال می‌شود
text_setting_gravatar_default_initials_html: حروف اول اسامی کاربران به <a href="%{url}">%{url}</a> ارسال می‌شود
تا تصاویر پروفایل آن‌ها تولید شود.
permission_view_project: مشاهده پروژه‌ها
permission_search_project: جستجوی پروژه‌ها
config/locales/fi.yml
reaction_text_x_other_users:
one: 1 other
other: "%{count} others"
text_setting_gravatar_default_initials_html: Users' initials are sent to <a href="https://www.gravatar.com">https://www.gravatar.com</a>
text_setting_gravatar_default_initials_html: Users' initials are sent to <a href="%{url}">%{url}</a>
to generate their avatars.
permission_view_project: View projects
permission_search_project: Search projects
config/locales/fr.yml
reaction_text_x_other_users:
one: 1 autre
other: "%{count} autres"
text_setting_gravatar_default_initials_html: Les initiales des utilisateurs sont envoyées à <a href="https://www.gravatar.com">https://www.gravatar.com</a> pour générer leurs avatars.
text_setting_gravatar_default_initials_html: Les initiales des utilisateurs sont envoyées à <a href="%{url}">%{url}</a> pour générer leurs avatars.
permission_view_project: Voir les projets
permission_search_project: Rechercher des projets
permission_view_members: Voir les membres du projet
config/locales/gl.yml
reaction_text_x_other_users:
one: 1 outro
other: "%{count} outros"
text_setting_gravatar_default_initials_html: As iniciais dos usuarios son enviadas a <a href="https://www.gravatar.com">https://www.gravatar.com</a>
text_setting_gravatar_default_initials_html: As iniciais dos usuarios son enviadas a <a href="%{url}">%{url}</a>
para xerar os seus avatares.
permission_view_project: Ver proxectos
permission_search_project: Buscar proxectos
config/locales/he.yml
reaction_text_x_other_users:
one: 1 other
other: "%{count} others"
text_setting_gravatar_default_initials_html: Users' initials are sent to <a href="https://www.gravatar.com">https://www.gravatar.com</a>
text_setting_gravatar_default_initials_html: Users' initials are sent to <a href="%{url}">%{url}</a>
to generate their avatars.
permission_view_project: View projects
permission_search_project: Search projects
config/locales/hr.yml
reaction_text_x_other_users:
one: 1 other
other: "%{count} others"
text_setting_gravatar_default_initials_html: Users' initials are sent to <a href="https://www.gravatar.com">https://www.gravatar.com</a>
text_setting_gravatar_default_initials_html: Users' initials are sent to <a href="%{url}">%{url}</a>
to generate their avatars.
permission_view_project: View projects
permission_search_project: Search projects
config/locales/hu.yml
reaction_text_x_other_users:
one: 1 másik
other: "%{count} másik"
text_setting_gravatar_default_initials_html: A felhasználók monogramját <a href="https://www.gravatar.com">https://www.gravatar.com</a> részére küldjük el avatárjuk generálásához.
text_setting_gravatar_default_initials_html: A felhasználók monogramját <a href="%{url}">%{url}</a> részére küldjük el avatárjuk generálásához.
permission_view_project: Projektek megtekintése
permission_search_project: Projektek keresése
permission_view_members: Projekt tagok megtekintése
config/locales/id.yml
reaction_text_x_other_users:
one: 1 other
other: "%{count} others"
text_setting_gravatar_default_initials_html: Users' initials are sent to <a href="https://www.gravatar.com">https://www.gravatar.com</a>
text_setting_gravatar_default_initials_html: Users' initials are sent to <a href="%{url}">%{url}</a>
to generate their avatars.
permission_view_project: View projects
permission_search_project: Search projects
config/locales/it.yml
text_no_subject: nessun soggetto
text_allowed_queries_to_select: Solo query pubbliche (per tutti gli utenti) selezionabili
text_setting_config_change: Puoi configurare il comportamento in config/configuration.yml. Riavvia l'applicazione dopo averla modificata.
text_setting_gravatar_default_initials_html: Le iniziali degli utenti vengono inviate a <a href="https://www.gravatar.com">https://www.gravatar.com</a> per generare i loro avatar.
text_setting_gravatar_default_initials_html: Le iniziali degli utenti vengono inviate a <a href="%{url}">%{url}</a> per generare i loro avatar.
text_oauth_admin_permission: Accesso amministrativo completo. Se autorizzata da un Amministratore, questa applicazione potrà leggere e scrivere tutti i dati e impersonare altri utenti.
text_oauth_admin_permission_info: "Questa applicazione richiede l'accesso amministrativo completo. Se sei un Amministratore (o lo diventerai in futuro), l'applicazione potrà leggere e scrivere tutti i dati e impersonare altri utenti per tuo conto. Se vuoi evitare questo problema, autorizzala come utente senza privilegi di Amministratore."
text_oauth_copy_secret_now: "Salva subito il segreto in un luogo sicuro: non verrà mostrato di nuovo."
config/locales/ja.yml
reaction_text_x_other_users:
one: 他1人
other: "他%{count}人"
text_setting_gravatar_default_initials_html: ユーザーの姓と名それぞれの先頭文字がアイコン生成のために <a href="https://www.gravatar.com">https://www.gravatar.com</a> に送信されます。
text_setting_gravatar_default_initials_html: ユーザーの姓と名それぞれの先頭文字がアイコン生成のために <a href="%{url}">%{url}</a> に送信されます。
permission_view_project: プロジェクトの閲覧
permission_search_project: プロジェクトの検索
permission_view_members: プロジェクトのメンバーの閲覧
config/locales/ko.yml
reaction_text_x_other_users:
one: 1 other
other: "%{count} others"
text_setting_gravatar_default_initials_html: Users' initials are sent to <a href="https://www.gravatar.com">https://www.gravatar.com</a>
text_setting_gravatar_default_initials_html: Users' initials are sent to <a href="%{url}">%{url}</a>
to generate their avatars.
permission_view_project: View projects
permission_search_project: Search projects
config/locales/lt.yml
reaction_text_x_other_users:
one: 1 other
other: "%{count} others"
text_setting_gravatar_default_initials_html: Users' initials are sent to <a href="https://www.gravatar.com">https://www.gravatar.com</a>
text_setting_gravatar_default_initials_html: Users' initials are sent to <a href="%{url}">%{url}</a>
to generate their avatars.
permission_view_project: View projects
permission_search_project: Search projects
config/locales/lv.yml
reaction_text_x_other_users:
one: 1 other
other: "%{count} others"
text_setting_gravatar_default_initials_html: Users' initials are sent to <a href="https://www.gravatar.com">https://www.gravatar.com</a>
text_setting_gravatar_default_initials_html: Users' initials are sent to <a href="%{url}">%{url}</a>
to generate their avatars.
permission_view_project: View projects
permission_search_project: Search projects
config/locales/mk.yml
reaction_text_x_other_users:
one: 1 other
other: "%{count} others"
text_setting_gravatar_default_initials_html: Users' initials are sent to <a href="https://www.gravatar.com">https://www.gravatar.com</a>
text_setting_gravatar_default_initials_html: Users' initials are sent to <a href="%{url}">%{url}</a>
to generate their avatars.
permission_view_project: View projects
permission_search_project: Search projects
config/locales/mn.yml
reaction_text_x_other_users:
one: 1 other
other: "%{count} others"
text_setting_gravatar_default_initials_html: Users' initials are sent to <a href="https://www.gravatar.com">https://www.gravatar.com</a>
text_setting_gravatar_default_initials_html: Users' initials are sent to <a href="%{url}">%{url}</a>
to generate their avatars.
permission_view_project: View projects
permission_search_project: Search projects
config/locales/nl.yml
reaction_text_x_other_users:
one: 1 other
other: "%{count} others"
text_setting_gravatar_default_initials_html: Users' initials are sent to <a href="https://www.gravatar.com">https://www.gravatar.com</a>
text_setting_gravatar_default_initials_html: Users' initials are sent to <a href="%{url}">%{url}</a>
to generate their avatars.
permission_view_project: View projects
permission_search_project: Search projects
config/locales/no.yml
reaction_text_x_other_users:
one: 1 other
other: "%{count} others"
text_setting_gravatar_default_initials_html: Users' initials are sent to <a href="https://www.gravatar.com">https://www.gravatar.com</a>
text_setting_gravatar_default_initials_html: Users' initials are sent to <a href="%{url}">%{url}</a>
to generate their avatars.
permission_view_project: View projects
permission_search_project: Search projects
config/locales/pl.yml
reaction_text_x_other_users:
one: 1 other
other: "%{count} others"
text_setting_gravatar_default_initials_html: Users' initials are sent to <a href="https://www.gravatar.com">https://www.gravatar.com</a>
text_setting_gravatar_default_initials_html: Users' initials are sent to <a href="%{url}">%{url}</a>
to generate their avatars.
permission_view_project: View projects
permission_search_project: Search projects
config/locales/pt-BR.yml
reaction_text_x_other_users:
one: 1 other
other: "%{count} others"
text_setting_gravatar_default_initials_html: Users' initials are sent to <a href="https://www.gravatar.com">https://www.gravatar.com</a>
text_setting_gravatar_default_initials_html: Users' initials are sent to <a href="%{url}">%{url}</a>
to generate their avatars.
permission_view_project: View projects
permission_search_project: Search projects
config/locales/pt.yml
reaction_text_x_other_users:
one: 1 other
other: "%{count} others"
text_setting_gravatar_default_initials_html: Users' initials are sent to <a href="https://www.gravatar.com">https://www.gravatar.com</a>
text_setting_gravatar_default_initials_html: Users' initials are sent to <a href="%{url}">%{url}</a>
to generate their avatars.
permission_view_project: View projects
permission_search_project: Search projects
config/locales/ro.yml
reaction_text_x_other_users:
one: 1 other
other: "%{count} others"
text_setting_gravatar_default_initials_html: Users' initials are sent to <a href="https://www.gravatar.com">https://www.gravatar.com</a>
text_setting_gravatar_default_initials_html: Users' initials are sent to <a href="%{url}">%{url}</a>
to generate their avatars.
permission_view_project: View projects
permission_search_project: Search projects
config/locales/ru.yml
reaction_text_x_other_users:
one: еще один.
other: "еще %{count}"
text_setting_gravatar_default_initials_html: Для генерации аватаров на сервис <a href="https://www.gravatar.com">Gravatar</a>
text_setting_gravatar_default_initials_html: Для генерации аватаров на сервис <a href="%{url}">%{url}</a>
передаются инициалы пользователей.
permission_view_project: Просмотр проектов
permission_search_project: Поиск проектов
config/locales/sk.yml
reaction_text_x_other_users:
one: 1 other
other: "%{count} others"
text_setting_gravatar_default_initials_html: Users' initials are sent to <a href="https://www.gravatar.com">https://www.gravatar.com</a>
text_setting_gravatar_default_initials_html: Users' initials are sent to <a href="%{url}">%{url}</a>
to generate their avatars.
permission_view_project: View projects
permission_search_project: Search projects
config/locales/sl.yml
reaction_text_x_other_users:
one: 1 other
other: "%{count} others"
text_setting_gravatar_default_initials_html: Users' initials are sent to <a href="https://www.gravatar.com">https://www.gravatar.com</a>
text_setting_gravatar_default_initials_html: Users' initials are sent to <a href="%{url}">%{url}</a>
to generate their avatars.
permission_view_project: View projects
permission_search_project: Search projects
config/locales/sq.yml
reaction_text_x_other_users:
one: 1 other
other: "%{count} others"
text_setting_gravatar_default_initials_html: Users' initials are sent to <a href="https://www.gravatar.com">https://www.gravatar.com</a>
text_setting_gravatar_default_initials_html: Users' initials are sent to <a href="%{url}">%{url}</a>
to generate their avatars.
permission_view_project: View projects
permission_search_project: Search projects
config/locales/sr-YU.yml
reaction_text_x_other_users:
one: 1 other
other: "%{count} others"
text_setting_gravatar_default_initials_html: Users' initials are sent to <a href="https://www.gravatar.com">https://www.gravatar.com</a>
text_setting_gravatar_default_initials_html: Users' initials are sent to <a href="%{url}">%{url}</a>
to generate their avatars.
permission_view_project: View projects
permission_search_project: Search projects
config/locales/sr.yml
reaction_text_x_other_users:
one: 1 other
other: "%{count} others"
text_setting_gravatar_default_initials_html: Users' initials are sent to <a href="https://www.gravatar.com">https://www.gravatar.com</a>
text_setting_gravatar_default_initials_html: Users' initials are sent to <a href="%{url}">%{url}</a>
to generate their avatars.
permission_view_project: View projects
permission_search_project: Search projects
config/locales/sv.yml
reaction_text_x_other_users:
one: 1 other
other: "%{count} others"
text_setting_gravatar_default_initials_html: Users' initials are sent to <a href="https://www.gravatar.com">https://www.gravatar.com</a>
text_setting_gravatar_default_initials_html: Users' initials are sent to <a href="%{url}">%{url}</a>
to generate their avatars.
permission_view_project: View projects
permission_search_project: Search projects
config/locales/ta-IN.yml
reaction_text_x_other_users:
one: 1 other
other: "%{count} others"
text_setting_gravatar_default_initials_html: Users' initials are sent to <a href="https://www.gravatar.com">https://www.gravatar.com</a>
text_setting_gravatar_default_initials_html: Users' initials are sent to <a href="%{url}">%{url}</a>
to generate their avatars.
permission_view_project: View projects
permission_search_project: Search projects
config/locales/th.yml
reaction_text_x_other_users:
one: 1 other
other: "%{count} others"
text_setting_gravatar_default_initials_html: Users' initials are sent to <a href="https://www.gravatar.com">https://www.gravatar.com</a>
text_setting_gravatar_default_initials_html: Users' initials are sent to <a href="%{url}">%{url}</a>
to generate their avatars.
permission_view_project: View projects
permission_search_project: Search projects
config/locales/tr.yml
reaction_text_x_other_users:
one: 1 other
other: "%{count} others"
text_setting_gravatar_default_initials_html: Users' initials are sent to <a href="https://www.gravatar.com">https://www.gravatar.com</a>
text_setting_gravatar_default_initials_html: Users' initials are sent to <a href="%{url}">%{url}</a>
to generate their avatars.
permission_view_project: View projects
permission_search_project: Search projects
config/locales/uk.yml
reaction_text_x_other_users:
one: 1 other
other: "%{count} others"
text_setting_gravatar_default_initials_html: Users' initials are sent to <a href="https://www.gravatar.com">https://www.gravatar.com</a>
text_setting_gravatar_default_initials_html: Users' initials are sent to <a href="%{url}">%{url}</a>
to generate their avatars.
permission_view_project: View projects
permission_search_project: Search projects
config/locales/vi.yml
reaction_text_x_other_users:
one: 1 other
other: "%{count} others"
text_setting_gravatar_default_initials_html: Users' initials are sent to <a href="https://www.gravatar.com">https://www.gravatar.com</a>
text_setting_gravatar_default_initials_html: Users' initials are sent to <a href="%{url}">%{url}</a>
to generate their avatars.
permission_view_project: View projects
permission_search_project: Search projects
config/locales/zh-TW.yml
reaction_text_x_other_users:
one: 1 位其他用戶
other: "%{count} 位其他用戶"
text_setting_gravatar_default_initials_html: 用戶姓名的首字母縮寫將被送往 <a href="https://www.gravatar.com">https://www.gravatar.com</a>
text_setting_gravatar_default_initials_html: 用戶姓名的首字母縮寫將被送往 <a href="%{url}">%{url}</a>
用以產生其大頭貼.
permission_view_project: 檢視專案
permission_search_project: 搜尋專案
config/locales/zh.yml
reaction_text_x_other_users:
one: 1 other
other: "%{count} others"
text_setting_gravatar_default_initials_html: Users' initials are sent to <a href="https://www.gravatar.com">https://www.gravatar.com</a>
text_setting_gravatar_default_initials_html: Users' initials are sent to <a href="%{url}">%{url}</a>
to generate their avatars.
permission_view_project: View projects
permission_search_project: Search projects
test/functional/settings_controller_test.rb
assert_response :success
end
def test_get_edit_should_show_avatar_server_url_in_info_texts
url = 'https://seccdn.libravatar.org'
with_settings :gravatar_enabled => '1', :gravatar_default => 'initials' do
Redmine::Configuration.with 'avatar_server_url' => url do
get :edit
assert_response :success
end
end
assert_select '#settings_gravatar_enabled ~ em.info a[href=?]', url, :text => url
assert_select '#settings_gravatar_default ~ em.info a[href=?]', url, :text => url
end
def test_post_edit_notifications
post :edit, :params => {
:settings => {
(2-2/2)