DEV: Import `I18n` in standard plugins (#10098)

This commit is contained in:
Jarek Radosz 2020-06-22 02:36:45 +02:00 committed by GitHub
parent d04234c667
commit 26260d50b1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,4 @@
import I18n from "I18n";
import { withPluginApi } from "discourse/lib/plugin-api";
function initializeDetails(api) {

View File

@ -1,3 +1,4 @@
import I18n from "I18n";
import EmberObject from "@ember/object";
import { isEmpty } from "@ember/utils";
import { schedule } from "@ember/runloop";

View File

@ -1,3 +1,4 @@
import I18n from "I18n";
import DateWithZoneHelper from "./date-with-zone-helper";
const TIME_FORMAT = "LLL";

View File

@ -1,3 +1,4 @@
import I18n from "I18n";
import { withPluginApi } from "discourse/lib/plugin-api";
function initializeInternetExplorerDeprecation(api) {

View File

@ -1,3 +1,4 @@
import I18n from "I18n";
import Controller from "@ember/controller";
import discourseComputed, { observes } from "discourse-common/utils/decorators";
import EmberObject from "@ember/object";

View File

@ -1,4 +1,5 @@
/*eslint no-bitwise:0 */
import I18n from "I18n";
const DATA_PREFIX = "data-poll-";
const DEFAULT_POLL_NAME = "poll";

View File

@ -1,3 +1,4 @@
import I18n from "I18n";
import { createWidget } from "discourse/widgets/widget";
import { h } from "virtual-dom";
import { iconNode } from "discourse-common/lib/icon-library";