File tree Expand file tree Collapse file tree 3 files changed +747
-591
lines changed
javascripts/discourse/components Expand file tree Collapse file tree 3 files changed +747
-591
lines changed Original file line number Diff line number Diff line change @@ -2,10 +2,10 @@ import Component from "@glimmer/component";
22import { tracked } from "@glimmer/tracking" ;
33import { action } from "@ember/object" ;
44import { service } from "@ember/service" ;
5+ import getURL from "discourse/lib/get-url" ;
56import { emojiUnescape } from "discourse/lib/text" ;
67import { defaultHomepage } from "discourse/lib/utilities" ;
7- import getURL from "discourse-common/lib/get-url" ;
8- import I18n from "I18n" ;
8+ import { i18n } from "discourse-i18n" ;
99
1010const FEATURED_CLASS = "featured-homepage-topics" ;
1111
@@ -66,7 +66,7 @@ export default class FeaturedHomepageTopics extends Component {
6666
6767 get featuredTitle ( ) {
6868 // falls back to setting for backwards compatibility
69- return I18n . t ( themePrefix ( "featured_topic_title" ) ) || settings . title_text ;
69+ return i18n ( themePrefix ( "featured_topic_title" ) ) || settings . title_text ;
7070 }
7171
7272 get showFor ( ) {
Original file line number Diff line number Diff line change 11{
22 "private" : true ,
33 "devDependencies" : {
4- "@discourse/lint-configs" : " 2.2.2 " ,
5- "ember-template-lint" : " 6.0 .0" ,
6- "eslint" : " 9.15 .0" ,
4+ "@discourse/lint-configs" : " 2.4.0 " ,
5+ "ember-template-lint" : " 6.1 .0" ,
6+ "eslint" : " 9.19 .0" ,
77 "prettier" : " 2.8.8"
88 },
99 "engines" : {
10- "node" : " >= 18 " ,
10+ "node" : " >= 22 " ,
1111 "npm" : " please-use-pnpm" ,
1212 "yarn" : " please-use-pnpm" ,
13- "pnpm" : " >= 9"
14- }
13+ "pnpm" : " 9.x"
14+ },
15+ "packageManager" :
" [email protected] " 1516}
You can’t perform that action at this time.
0 commit comments