mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
DEV: import I18n instead of global usage (#9768)
Co-authored-by: Mark VanLandingham <markvanlan@gmail.com> Co-authored-by: Robin Ward <robin.ward@gmail.com> Co-authored-by: Mark VanLandingham <markvanlan@gmail.com>
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import I18n from "I18n";
|
||||
import { htmlHelper } from "discourse-common/lib/helpers";
|
||||
|
||||
export default htmlHelper(size => I18n.toHumanSize(size));
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
import I18n from "I18n";
|
||||
import Helper from "@ember/component/helper";
|
||||
|
||||
function postActionTitle([id, nameKey]) {
|
||||
|
||||
Reference in New Issue
Block a user