Project

General

Profile

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

Go MAEDA, 2026-09-25 11:08

View differences:

app/views/settings/_display.html.erb
25 25
<p>
26 26
  <%= setting_select :gravatar_default, gravatar_default_setting_options, :blank => :label_none %>
27 27
  <em class="<%= Setting.gravatar_default == "initials" ? "info" : "hidden" %>">
28
    <%= t(:text_setting_gravatar_default_initials_html) %>
28
    <%= t(:text_setting_gravatar_default_initials_html, :url => Redmine::Configuration['avatar_server_url']) %>
29 29
  </em>
30 30
</p>
31 31

  
config/locales/ar.yml
1495 1495
  reaction_text_x_other_users:
1496 1496
    one: 1 other
1497 1497
    other: "%{count} others"
1498
  text_setting_gravatar_default_initials_html: Users' initials are sent to <a href="https://www.gravatar.com">https://www.gravatar.com</a>
1498
  text_setting_gravatar_default_initials_html: Users' initials are sent to <a href="%{url}">%{url}</a>
1499 1499
    to generate their avatars.
1500 1500
  permission_view_project: View projects
1501 1501
  permission_search_project: Search projects
config/locales/az.yml
1578 1578
  reaction_text_x_other_users:
1579 1579
    one: 1 other
1580 1580
    other: "%{count} others"
1581
  text_setting_gravatar_default_initials_html: Users' initials are sent to <a href="https://www.gravatar.com">https://www.gravatar.com</a>
1581
  text_setting_gravatar_default_initials_html: Users' initials are sent to <a href="%{url}">%{url}</a>
1582 1582
    to generate their avatars.
1583 1583
  permission_view_project: View projects
1584 1584
  permission_search_project: Search projects
config/locales/bg.yml
1389 1389
    Можете да го конфигурирате в config/configuration.yml.
1390 1390
  text_allowed_queries_to_select: Само публичните (за всички потребители) заявки са достъпни за избор
1391 1391
  text_setting_config_change: Вие можете да конфигурирате поведението в config/configuration.yml. Моля, рестартирайте Redmine след редактиране на файла.
1392
  text_setting_gravatar_default_initials_html: Инициалите на потребителите са изпратени на <a href="https://www.gravatar.com">https://www.gravatar.com</a> за генериране на техните аватари.
1392
  text_setting_gravatar_default_initials_html: Инициалите на потребителите са изпратени на <a href="%{url}">%{url}</a> за генериране на техните аватари.
1393 1393
  text_oauth_admin_permission: Пълен административен достъп. След оторизиране от администратор,
1394 1394
    това приложение ще има възможност да чете и записва всички данни и да имитира други потребители.
1395 1395
  text_oauth_admin_permission_info: Това приложение иска пълен административен достъп.
config/locales/bs.yml
1481 1481
  reaction_text_x_other_users:
1482 1482
    one: 1 other
1483 1483
    other: "%{count} others"
1484
  text_setting_gravatar_default_initials_html: Users' initials are sent to <a href="https://www.gravatar.com">https://www.gravatar.com</a>
1484
  text_setting_gravatar_default_initials_html: Users' initials are sent to <a href="%{url}">%{url}</a>
1485 1485
    to generate their avatars.
1486 1486
  permission_view_project: View projects
1487 1487
  permission_search_project: Search projects
config/locales/ca.yml
1482 1482
  reaction_text_x_other_users:
1483 1483
    one: 1 other
1484 1484
    other: "%{count} others"
1485
  text_setting_gravatar_default_initials_html: Users' initials are sent to <a href="https://www.gravatar.com">https://www.gravatar.com</a>
1485
  text_setting_gravatar_default_initials_html: Users' initials are sent to <a href="%{url}">%{url}</a>
1486 1486
    to generate their avatars.
1487 1487
  permission_view_project: View projects
1488 1488
  permission_search_project: Search projects
config/locales/cs.yml
1476 1476
  reaction_text_x_other_users:
1477 1477
    one: 1 jiný
1478 1478
    other: "%{count} jiných"
1479
  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>
1479
  text_setting_gravatar_default_initials_html: Uživatelovy iniciály jsou poslány do <a href="%{url}">%{url}</a>
1480 1480
    k vygenerování avataru.
1481 1481
  permission_view_project: Zobrazení projektů
1482 1482
  permission_search_project: Vyhledání projektů
config/locales/da.yml
1512 1512
  reaction_text_x_other_users:
1513 1513
    one: 1 other
1514 1514
    other: "%{count} others"
1515
  text_setting_gravatar_default_initials_html: Users' initials are sent to <a href="https://www.gravatar.com">https://www.gravatar.com</a>
1515
  text_setting_gravatar_default_initials_html: Users' initials are sent to <a href="%{url}">%{url}</a>
1516 1516
    to generate their avatars.
1517 1517
  permission_view_project: View projects
1518 1518
  permission_search_project: Search projects
config/locales/de.yml
1472 1472
  reaction_text_x_other_users:
1473 1473
    one: 1 other
1474 1474
    other: "%{count} others"
1475
  text_setting_gravatar_default_initials_html: Users' initials are sent to <a href="https://www.gravatar.com">https://www.gravatar.com</a>
1475
  text_setting_gravatar_default_initials_html: Users' initials are sent to <a href="%{url}">%{url}</a>
1476 1476
    to generate their avatars.
1477 1477
  label_oauth_permission_admin: Administrator-Zugriff
1478 1478
  label_oauth_admin_access: Administration
config/locales/el.yml
1495 1495
  reaction_text_x_other_users:
1496 1496
    one: 1 other
1497 1497
    other: "%{count} others"
1498
  text_setting_gravatar_default_initials_html: Users' initials are sent to <a href="https://www.gravatar.com">https://www.gravatar.com</a>
1498
  text_setting_gravatar_default_initials_html: Users' initials are sent to <a href="%{url}">%{url}</a>
1499 1499
    to generate their avatars.
1500 1500
  permission_view_project: View projects
1501 1501
  permission_search_project: Search projects
config/locales/en-GB.yml
1496 1496
  reaction_text_x_other_users:
1497 1497
    one: 1 other
1498 1498
    other: "%{count} others"
1499
  text_setting_gravatar_default_initials_html: Users' initials are sent to <a href="https://www.gravatar.com">https://www.gravatar.com</a>
1499
  text_setting_gravatar_default_initials_html: Users' initials are sent to <a href="%{url}">%{url}</a>
1500 1500
    to generate their avatars.
1501 1501
  permission_view_project: View projects
1502 1502
  permission_search_project: Search projects
config/locales/en.yml
1392 1392
  text_no_subject: no subject
1393 1393
  text_allowed_queries_to_select: Public (to any users) queries only selectable
1394 1394
  text_setting_config_change: You can configure the behaviour in config/configuration.yml. Please restart the application after editing it.
1395
  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.
1395
  text_setting_gravatar_default_initials_html: Users' initials are sent to <a href="%{url}">%{url}</a> to generate their avatars.
1396 1396
  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.
1397 1397
  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.
1398 1398
  text_oauth_copy_secret_now: Copy the secret to a safe place now, it will not be shown again.
config/locales/es-PA.yml
1526 1526
  reaction_text_x_other_users:
1527 1527
    one: 1 other
1528 1528
    other: "%{count} others"
1529
  text_setting_gravatar_default_initials_html: Users' initials are sent to <a href="https://www.gravatar.com">https://www.gravatar.com</a>
1529
  text_setting_gravatar_default_initials_html: Users' initials are sent to <a href="%{url}">%{url}</a>
1530 1530
    to generate their avatars.
1531 1531
  permission_view_project: View projects
1532 1532
  permission_search_project: Search projects
config/locales/es.yml
1562 1562
  reaction_text_x_other_users:
1563 1563
    one: 1 other
1564 1564
    other: "%{count} others"
1565
  text_setting_gravatar_default_initials_html: Users' initials are sent to <a href="https://www.gravatar.com">https://www.gravatar.com</a>
1565
  text_setting_gravatar_default_initials_html: Users' initials are sent to <a href="%{url}">%{url}</a>
1566 1566
    to generate their avatars.
1567 1567
  permission_view_project: View projects
1568 1568
  permission_search_project: Search projects
config/locales/et.yml
1500 1500
  reaction_text_x_other_users:
1501 1501
    one: 1 other
1502 1502
    other: "%{count} others"
1503
  text_setting_gravatar_default_initials_html: Users' initials are sent to <a href="https://www.gravatar.com">https://www.gravatar.com</a>
1503
  text_setting_gravatar_default_initials_html: Users' initials are sent to <a href="%{url}">%{url}</a>
1504 1504
    to generate their avatars.
1505 1505
  permission_view_project: View projects
1506 1506
  permission_search_project: Search projects
config/locales/eu.yml
1496 1496
  reaction_text_x_other_users:
1497 1497
    one: 1 other
1498 1498
    other: "%{count} others"
1499
  text_setting_gravatar_default_initials_html: Users' initials are sent to <a href="https://www.gravatar.com">https://www.gravatar.com</a>
1499
  text_setting_gravatar_default_initials_html: Users' initials are sent to <a href="%{url}">%{url}</a>
1500 1500
    to generate their avatars.
1501 1501
  permission_view_project: View projects
1502 1502
  permission_search_project: Search projects
config/locales/fa.yml
1432 1432
  reaction_text_x_other_users:
1433 1433
    one: 1 کاربر دیگر
1434 1434
    other: "%{count} کاربر دیگر"
1435
  text_setting_gravatar_default_initials_html: حروف اول اسامی کاربران به <a href="https://www.gravatar.com">https://www.gravatar.com</a> ارسال می‌شود
1435
  text_setting_gravatar_default_initials_html: حروف اول اسامی کاربران به <a href="%{url}">%{url}</a> ارسال می‌شود
1436 1436
    تا تصاویر پروفایل آن‌ها تولید شود.
1437 1437
  permission_view_project: مشاهده پروژه‌ها
1438 1438
  permission_search_project: جستجوی پروژه‌ها
config/locales/fi.yml
1513 1513
  reaction_text_x_other_users:
1514 1514
    one: 1 other
1515 1515
    other: "%{count} others"
1516
  text_setting_gravatar_default_initials_html: Users' initials are sent to <a href="https://www.gravatar.com">https://www.gravatar.com</a>
1516
  text_setting_gravatar_default_initials_html: Users' initials are sent to <a href="%{url}">%{url}</a>
1517 1517
    to generate their avatars.
1518 1518
  permission_view_project: View projects
1519 1519
  permission_search_project: Search projects
config/locales/fr.yml
1473 1473
  reaction_text_x_other_users:
1474 1474
    one: 1 autre
1475 1475
    other: "%{count} autres"
1476
  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.
1476
  text_setting_gravatar_default_initials_html: Les initiales des utilisateurs sont envoyées à <a href="%{url}">%{url}</a> pour générer leurs avatars.
1477 1477
  permission_view_project: Voir les projets
1478 1478
  permission_search_project: Rechercher des projets
1479 1479
  permission_view_members: Voir les membres du projet
config/locales/gl.yml
1501 1501
  reaction_text_x_other_users:
1502 1502
    one: 1 outro
1503 1503
    other: "%{count} outros"
1504
  text_setting_gravatar_default_initials_html: As iniciais dos usuarios son enviadas a <a href="https://www.gravatar.com">https://www.gravatar.com</a>
1504
  text_setting_gravatar_default_initials_html: As iniciais dos usuarios son enviadas a <a href="%{url}">%{url}</a>
1505 1505
    para xerar os seus avatares.
1506 1506
  permission_view_project: Ver proxectos
1507 1507
  permission_search_project: Buscar proxectos
config/locales/he.yml
1500 1500
  reaction_text_x_other_users:
1501 1501
    one: 1 other
1502 1502
    other: "%{count} others"
1503
  text_setting_gravatar_default_initials_html: Users' initials are sent to <a href="https://www.gravatar.com">https://www.gravatar.com</a>
1503
  text_setting_gravatar_default_initials_html: Users' initials are sent to <a href="%{url}">%{url}</a>
1504 1504
    to generate their avatars.
1505 1505
  permission_view_project: View projects
1506 1506
  permission_search_project: Search projects
config/locales/hr.yml
1492 1492
  reaction_text_x_other_users:
1493 1493
    one: 1 other
1494 1494
    other: "%{count} others"
1495
  text_setting_gravatar_default_initials_html: Users' initials are sent to <a href="https://www.gravatar.com">https://www.gravatar.com</a>
1495
  text_setting_gravatar_default_initials_html: Users' initials are sent to <a href="%{url}">%{url}</a>
1496 1496
    to generate their avatars.
1497 1497
  permission_view_project: View projects
1498 1498
  permission_search_project: Search projects
config/locales/hu.yml
1440 1440
  reaction_text_x_other_users:
1441 1441
    one: 1 másik
1442 1442
    other: "%{count} másik"
1443
  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.
1443
  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.
1444 1444
  permission_view_project: Projektek megtekintése
1445 1445
  permission_search_project: Projektek keresése
1446 1446
  permission_view_members: Projekt tagok megtekintése
config/locales/id.yml
1497 1497
  reaction_text_x_other_users:
1498 1498
    one: 1 other
1499 1499
    other: "%{count} others"
1500
  text_setting_gravatar_default_initials_html: Users' initials are sent to <a href="https://www.gravatar.com">https://www.gravatar.com</a>
1500
  text_setting_gravatar_default_initials_html: Users' initials are sent to <a href="%{url}">%{url}</a>
1501 1501
    to generate their avatars.
1502 1502
  permission_view_project: View projects
1503 1503
  permission_search_project: Search projects
config/locales/it.yml
1359 1359
  text_no_subject: nessun soggetto
1360 1360
  text_allowed_queries_to_select: Solo query pubbliche (per tutti gli utenti) selezionabili
1361 1361
  text_setting_config_change: Puoi configurare il comportamento in config/configuration.yml. Riavvia l'applicazione dopo averla modificata.
1362
  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.
1362
  text_setting_gravatar_default_initials_html: Le iniziali degli utenti vengono inviate a <a href="%{url}">%{url}</a> per generare i loro avatar.
1363 1363
  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.
1364 1364
  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."
1365 1365
  text_oauth_copy_secret_now: "Salva subito il segreto in un luogo sicuro: non verrà mostrato di nuovo."
config/locales/ja.yml
1455 1455
  reaction_text_x_other_users:
1456 1456
    one: 他1人
1457 1457
    other: "他%{count}人"
1458
  text_setting_gravatar_default_initials_html: ユーザーの姓と名それぞれの先頭文字がアイコン生成のために <a href="https://www.gravatar.com">https://www.gravatar.com</a> に送信されます。
1458
  text_setting_gravatar_default_initials_html: ユーザーの姓と名それぞれの先頭文字がアイコン生成のために <a href="%{url}">%{url}</a> に送信されます。
1459 1459
  permission_view_project: プロジェクトの閲覧
1460 1460
  permission_search_project: プロジェクトの検索
1461 1461
  permission_view_members: プロジェクトのメンバーの閲覧
config/locales/ko.yml
1512 1512
  reaction_text_x_other_users:
1513 1513
    one: 1 other
1514 1514
    other: "%{count} others"
1515
  text_setting_gravatar_default_initials_html: Users' initials are sent to <a href="https://www.gravatar.com">https://www.gravatar.com</a>
1515
  text_setting_gravatar_default_initials_html: Users' initials are sent to <a href="%{url}">%{url}</a>
1516 1516
    to generate their avatars.
1517 1517
  permission_view_project: View projects
1518 1518
  permission_search_project: Search projects
config/locales/lt.yml
1456 1456
  reaction_text_x_other_users:
1457 1457
    one: 1 other
1458 1458
    other: "%{count} others"
1459
  text_setting_gravatar_default_initials_html: Users' initials are sent to <a href="https://www.gravatar.com">https://www.gravatar.com</a>
1459
  text_setting_gravatar_default_initials_html: Users' initials are sent to <a href="%{url}">%{url}</a>
1460 1460
    to generate their avatars.
1461 1461
  permission_view_project: View projects
1462 1462
  permission_search_project: Search projects
config/locales/lv.yml
1489 1489
  reaction_text_x_other_users:
1490 1490
    one: 1 other
1491 1491
    other: "%{count} others"
1492
  text_setting_gravatar_default_initials_html: Users' initials are sent to <a href="https://www.gravatar.com">https://www.gravatar.com</a>
1492
  text_setting_gravatar_default_initials_html: Users' initials are sent to <a href="%{url}">%{url}</a>
1493 1493
    to generate their avatars.
1494 1494
  permission_view_project: View projects
1495 1495
  permission_search_project: Search projects
config/locales/mk.yml
1495 1495
  reaction_text_x_other_users:
1496 1496
    one: 1 other
1497 1497
    other: "%{count} others"
1498
  text_setting_gravatar_default_initials_html: Users' initials are sent to <a href="https://www.gravatar.com">https://www.gravatar.com</a>
1498
  text_setting_gravatar_default_initials_html: Users' initials are sent to <a href="%{url}">%{url}</a>
1499 1499
    to generate their avatars.
1500 1500
  permission_view_project: View projects
1501 1501
  permission_search_project: Search projects
config/locales/mn.yml
1495 1495
  reaction_text_x_other_users:
1496 1496
    one: 1 other
1497 1497
    other: "%{count} others"
1498
  text_setting_gravatar_default_initials_html: Users' initials are sent to <a href="https://www.gravatar.com">https://www.gravatar.com</a>
1498
  text_setting_gravatar_default_initials_html: Users' initials are sent to <a href="%{url}">%{url}</a>
1499 1499
    to generate their avatars.
1500 1500
  permission_view_project: View projects
1501 1501
  permission_search_project: Search projects
config/locales/nl.yml
1470 1470
  reaction_text_x_other_users:
1471 1471
    one: 1 other
1472 1472
    other: "%{count} others"
1473
  text_setting_gravatar_default_initials_html: Users' initials are sent to <a href="https://www.gravatar.com">https://www.gravatar.com</a>
1473
  text_setting_gravatar_default_initials_html: Users' initials are sent to <a href="%{url}">%{url}</a>
1474 1474
    to generate their avatars.
1475 1475
  permission_view_project: View projects
1476 1476
  permission_search_project: Search projects
config/locales/no.yml
1486 1486
  reaction_text_x_other_users:
1487 1487
    one: 1 other
1488 1488
    other: "%{count} others"
1489
  text_setting_gravatar_default_initials_html: Users' initials are sent to <a href="https://www.gravatar.com">https://www.gravatar.com</a>
1489
  text_setting_gravatar_default_initials_html: Users' initials are sent to <a href="%{url}">%{url}</a>
1490 1490
    to generate their avatars.
1491 1491
  permission_view_project: View projects
1492 1492
  permission_search_project: Search projects
config/locales/pl.yml
1439 1439
  reaction_text_x_other_users:
1440 1440
    one: 1 other
1441 1441
    other: "%{count} others"
1442
  text_setting_gravatar_default_initials_html: Users' initials are sent to <a href="https://www.gravatar.com">https://www.gravatar.com</a>
1442
  text_setting_gravatar_default_initials_html: Users' initials are sent to <a href="%{url}">%{url}</a>
1443 1443
    to generate their avatars.
1444 1444
  permission_view_project: View projects
1445 1445
  permission_search_project: Search projects
config/locales/pt-BR.yml
1500 1500
  reaction_text_x_other_users:
1501 1501
    one: 1 other
1502 1502
    other: "%{count} others"
1503
  text_setting_gravatar_default_initials_html: Users' initials are sent to <a href="https://www.gravatar.com">https://www.gravatar.com</a>
1503
  text_setting_gravatar_default_initials_html: Users' initials are sent to <a href="%{url}">%{url}</a>
1504 1504
    to generate their avatars.
1505 1505
  permission_view_project: View projects
1506 1506
  permission_search_project: Search projects
config/locales/pt.yml
1488 1488
  reaction_text_x_other_users:
1489 1489
    one: 1 other
1490 1490
    other: "%{count} others"
1491
  text_setting_gravatar_default_initials_html: Users' initials are sent to <a href="https://www.gravatar.com">https://www.gravatar.com</a>
1491
  text_setting_gravatar_default_initials_html: Users' initials are sent to <a href="%{url}">%{url}</a>
1492 1492
    to generate their avatars.
1493 1493
  permission_view_project: View projects
1494 1494
  permission_search_project: Search projects
config/locales/ro.yml
1490 1490
  reaction_text_x_other_users:
1491 1491
    one: 1 other
1492 1492
    other: "%{count} others"
1493
  text_setting_gravatar_default_initials_html: Users' initials are sent to <a href="https://www.gravatar.com">https://www.gravatar.com</a>
1493
  text_setting_gravatar_default_initials_html: Users' initials are sent to <a href="%{url}">%{url}</a>
1494 1494
    to generate their avatars.
1495 1495
  permission_view_project: View projects
1496 1496
  permission_search_project: Search projects
config/locales/ru.yml
1555 1555
  reaction_text_x_other_users:
1556 1556
    one: еще один.
1557 1557
    other: "еще %{count}"
1558
  text_setting_gravatar_default_initials_html: Для генерации аватаров на сервис <a href="https://www.gravatar.com">Gravatar</a>
1558
  text_setting_gravatar_default_initials_html: Для генерации аватаров на сервис <a href="%{url}">%{url}</a>
1559 1559
    передаются инициалы пользователей.
1560 1560
  permission_view_project: Просмотр проектов
1561 1561
  permission_search_project: Поиск проектов
config/locales/sk.yml
1484 1484
  reaction_text_x_other_users:
1485 1485
    one: 1 other
1486 1486
    other: "%{count} others"
1487
  text_setting_gravatar_default_initials_html: Users' initials are sent to <a href="https://www.gravatar.com">https://www.gravatar.com</a>
1487
  text_setting_gravatar_default_initials_html: Users' initials are sent to <a href="%{url}">%{url}</a>
1488 1488
    to generate their avatars.
1489 1489
  permission_view_project: View projects
1490 1490
  permission_search_project: Search projects
config/locales/sl.yml
1495 1495
  reaction_text_x_other_users:
1496 1496
    one: 1 other
1497 1497
    other: "%{count} others"
1498
  text_setting_gravatar_default_initials_html: Users' initials are sent to <a href="https://www.gravatar.com">https://www.gravatar.com</a>
1498
  text_setting_gravatar_default_initials_html: Users' initials are sent to <a href="%{url}">%{url}</a>
1499 1499
    to generate their avatars.
1500 1500
  permission_view_project: View projects
1501 1501
  permission_search_project: Search projects
config/locales/sq.yml
1457 1457
  reaction_text_x_other_users:
1458 1458
    one: 1 other
1459 1459
    other: "%{count} others"
1460
  text_setting_gravatar_default_initials_html: Users' initials are sent to <a href="https://www.gravatar.com">https://www.gravatar.com</a>
1460
  text_setting_gravatar_default_initials_html: Users' initials are sent to <a href="%{url}">%{url}</a>
1461 1461
    to generate their avatars.
1462 1462
  permission_view_project: View projects
1463 1463
  permission_search_project: Search projects
config/locales/sr-YU.yml
1497 1497
  reaction_text_x_other_users:
1498 1498
    one: 1 other
1499 1499
    other: "%{count} others"
1500
  text_setting_gravatar_default_initials_html: Users' initials are sent to <a href="https://www.gravatar.com">https://www.gravatar.com</a>
1500
  text_setting_gravatar_default_initials_html: Users' initials are sent to <a href="%{url}">%{url}</a>
1501 1501
    to generate their avatars.
1502 1502
  permission_view_project: View projects
1503 1503
  permission_search_project: Search projects
config/locales/sr.yml
1496 1496
  reaction_text_x_other_users:
1497 1497
    one: 1 other
1498 1498
    other: "%{count} others"
1499
  text_setting_gravatar_default_initials_html: Users' initials are sent to <a href="https://www.gravatar.com">https://www.gravatar.com</a>
1499
  text_setting_gravatar_default_initials_html: Users' initials are sent to <a href="%{url}">%{url}</a>
1500 1500
    to generate their avatars.
1501 1501
  permission_view_project: View projects
1502 1502
  permission_search_project: Search projects
config/locales/sv.yml
1459 1459
  reaction_text_x_other_users:
1460 1460
    one: 1 other
1461 1461
    other: "%{count} others"
1462
  text_setting_gravatar_default_initials_html: Users' initials are sent to <a href="https://www.gravatar.com">https://www.gravatar.com</a>
1462
  text_setting_gravatar_default_initials_html: Users' initials are sent to <a href="%{url}">%{url}</a>
1463 1463
    to generate their avatars.
1464 1464
  permission_view_project: View projects
1465 1465
  permission_search_project: Search projects
config/locales/ta-IN.yml
1450 1450
  reaction_text_x_other_users:
1451 1451
    one: 1 other
1452 1452
    other: "%{count} others"
1453
  text_setting_gravatar_default_initials_html: Users' initials are sent to <a href="https://www.gravatar.com">https://www.gravatar.com</a>
1453
  text_setting_gravatar_default_initials_html: Users' initials are sent to <a href="%{url}">%{url}</a>
1454 1454
    to generate their avatars.
1455 1455
  permission_view_project: View projects
1456 1456
  permission_search_project: Search projects
config/locales/th.yml
1491 1491
  reaction_text_x_other_users:
1492 1492
    one: 1 other
1493 1493
    other: "%{count} others"
1494
  text_setting_gravatar_default_initials_html: Users' initials are sent to <a href="https://www.gravatar.com">https://www.gravatar.com</a>
1494
  text_setting_gravatar_default_initials_html: Users' initials are sent to <a href="%{url}">%{url}</a>
1495 1495
    to generate their avatars.
1496 1496
  permission_view_project: View projects
1497 1497
  permission_search_project: Search projects
config/locales/tr.yml
1494 1494
  reaction_text_x_other_users:
1495 1495
    one: 1 other
1496 1496
    other: "%{count} others"
1497
  text_setting_gravatar_default_initials_html: Users' initials are sent to <a href="https://www.gravatar.com">https://www.gravatar.com</a>
1497
  text_setting_gravatar_default_initials_html: Users' initials are sent to <a href="%{url}">%{url}</a>
1498 1498
    to generate their avatars.
1499 1499
  permission_view_project: View projects
1500 1500
  permission_search_project: Search projects
config/locales/uk.yml
1483 1483
  reaction_text_x_other_users:
1484 1484
    one: 1 other
1485 1485
    other: "%{count} others"
1486
  text_setting_gravatar_default_initials_html: Users' initials are sent to <a href="https://www.gravatar.com">https://www.gravatar.com</a>
1486
  text_setting_gravatar_default_initials_html: Users' initials are sent to <a href="%{url}">%{url}</a>
1487 1487
    to generate their avatars.
1488 1488
  permission_view_project: View projects
1489 1489
  permission_search_project: Search projects
config/locales/vi.yml
1499 1499
  reaction_text_x_other_users:
1500 1500
    one: 1 other
1501 1501
    other: "%{count} others"
1502
  text_setting_gravatar_default_initials_html: Users' initials are sent to <a href="https://www.gravatar.com">https://www.gravatar.com</a>
1502
  text_setting_gravatar_default_initials_html: Users' initials are sent to <a href="%{url}">%{url}</a>
1503 1503
    to generate their avatars.
1504 1504
  permission_view_project: View projects
1505 1505
  permission_search_project: Search projects
config/locales/zh-TW.yml
1509 1509
  reaction_text_x_other_users:
1510 1510
    one: 1 位其他用戶
1511 1511
    other: "%{count} 位其他用戶"
1512
  text_setting_gravatar_default_initials_html: 用戶姓名的首字母縮寫將被送往 <a href="https://www.gravatar.com">https://www.gravatar.com</a>
1512
  text_setting_gravatar_default_initials_html: 用戶姓名的首字母縮寫將被送往 <a href="%{url}">%{url}</a>
1513 1513
    用以產生其大頭貼.
1514 1514
  permission_view_project: 檢視專案
1515 1515
  permission_search_project: 搜尋專案
config/locales/zh.yml
1431 1431
  reaction_text_x_other_users:
1432 1432
    one: 1 other
1433 1433
    other: "%{count} others"
1434
  text_setting_gravatar_default_initials_html: Users' initials are sent to <a href="https://www.gravatar.com">https://www.gravatar.com</a>
1434
  text_setting_gravatar_default_initials_html: Users' initials are sent to <a href="%{url}">%{url}</a>
1435 1435
    to generate their avatars.
1436 1436
  permission_view_project: View projects
1437 1437
  permission_search_project: Search projects
test/functional/settings_controller_test.rb
66 66
    assert_response :success
67 67
  end
68 68

  
69
  def test_get_edit_should_show_avatar_server_url_in_initials_info
70
    with_settings :gravatar_enabled => '1', :gravatar_default => 'initials' do
71
      Redmine::Configuration.with 'avatar_server_url' => 'https://seccdn.libravatar.org' do
72
        get :edit
73
        assert_response :success
74
      end
75
    end
76

  
77
    assert_select 'select#settings_gravatar_default + em.info' do
78
      assert_select 'a[href=?]', 'https://seccdn.libravatar.org', :text => 'https://seccdn.libravatar.org'
79
      assert_select 'a[href=?]', 'https://www.gravatar.com', 0
80
    end
81
  end
82

  
69 83
  def test_post_edit_notifications
70 84
    post :edit, :params => {
71 85
      :settings => {
(2-2/2)