File tree Expand file tree Collapse file tree 3 files changed +746
-590
lines changed
assets/javascripts/initializers Expand file tree Collapse file tree 3 files changed +746
-590
lines changed Original file line number Diff line number Diff line change 11import { service } from "@ember/service" ;
22import { ajax } from "discourse/lib/ajax" ;
33import { withPluginApi } from "discourse/lib/plugin-api" ;
4- import I18n from "I18n " ;
4+ import { i18n } from "discourse-i18n " ;
55
66function initialize ( api ) {
77 api . modifyClass ( "service:composer" , {
@@ -67,7 +67,7 @@ function initialize(api) {
6767 . then ( ( response ) => {
6868 if ( response && response [ "score" ] !== undefined ) {
6969 this . dialog . confirm ( {
70- message : I18n . t ( "perspective.perspective_message" ) ,
70+ message : i18n ( "perspective.perspective_message" ) ,
7171 confirmButtonLabel : "perspective.composer_edit" ,
7272 confirmButtonClass : "btn-primary perspective-edit-post" ,
7373 cancelButtonLabel : "perspective.composer_continue" ,
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