diff --git a/app/assets/javascripts/discourse-common/addon/lib/avatar-utils.js b/app/assets/javascripts/discourse-common/addon/lib/avatar-utils.js index 309f13a0c69..41a7d7a2eb4 100644 --- a/app/assets/javascripts/discourse-common/addon/lib/avatar-utils.js +++ b/app/assets/javascripts/discourse-common/addon/lib/avatar-utils.js @@ -75,7 +75,7 @@ export function avatarImg(options, customGetURL) { let title = ""; if (options.title) { const escaped = escape(options.title || ""); - title = ` title='${escaped}' aria-label='${escaped}'`; + title = ` title='${escaped}'`; } return ``; diff --git a/app/assets/javascripts/discourse/app/raw-templates/mobile/list/topic-list-item.hbr b/app/assets/javascripts/discourse/app/raw-templates/mobile/list/topic-list-item.hbr index fcf11336bc5..632c6e32eb4 100644 --- a/app/assets/javascripts/discourse/app/raw-templates/mobile/list/topic-list-item.hbr +++ b/app/assets/javascripts/discourse/app/raw-templates/mobile/list/topic-list-item.hbr @@ -6,7 +6,7 @@ {{else}} - {{avatar topic.lastPosterUser imageSize="large"}} + {{avatar topic.lastPosterUser imageSize="large"}} {{/if}}
diff --git a/app/assets/javascripts/discourse/tests/unit/lib/avatar-utils-test.js b/app/assets/javascripts/discourse/tests/unit/lib/avatar-utils-test.js index 8020a9f7149..b9187c65d09 100644 --- a/app/assets/javascripts/discourse/tests/unit/lib/avatar-utils-test.js +++ b/app/assets/javascripts/discourse/tests/unit/lib/avatar-utils-test.js @@ -69,7 +69,7 @@ module("Unit | Utilities", function (hooks) { size: "tiny", title: "evilest trout", }), - "", + "", "it adds a title if supplied" ); diff --git a/app/assets/javascripts/discourse/tests/unit/models/report-test.js b/app/assets/javascripts/discourse/tests/unit/models/report-test.js index d6007f1099b..0bc27c1c3e4 100644 --- a/app/assets/javascripts/discourse/tests/unit/models/report-test.js +++ b/app/assets/javascripts/discourse/tests/unit/models/report-test.js @@ -370,7 +370,7 @@ module("Unit | Model | report", function (hooks) { const computedUsernameLabel = usernameLabel.compute(row); assert.strictEqual( computedUsernameLabel.formattedValue, - "joffrey" + "joffrey" ); assert.strictEqual(computedUsernameLabel.value, "joffrey"); @@ -459,7 +459,7 @@ module("Unit | Model | report", function (hooks) { const userLink = computedLabels[0].compute(row).formattedValue; assert.strictEqual( userLink, - "joffrey" + "joffrey" ); }); }); diff --git a/config/locales/client.en.yml b/config/locales/client.en.yml index 694276e9caa..e92113b3c86 100644 --- a/config/locales/client.en.yml +++ b/config/locales/client.en.yml @@ -3933,6 +3933,7 @@ en: other {} } + latest_poster_link: "%{username}'s profile, latest poster" original_post: "Original Post" views: "Views" sr_views: "Sort by views"