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 DropdownSelectBoxComponent from "select-kit/components/dropdown-select-box";
|
||||
import { computed } from "@ember/object";
|
||||
import { setting } from "discourse/lib/computed";
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
import I18n from "I18n";
|
||||
import ComboBoxComponent from "select-kit/components/combo-box";
|
||||
import PermissionType from "discourse/models/permission-type";
|
||||
import Category from "discourse/models/category";
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
import I18n from "I18n";
|
||||
import { readOnly } from "@ember/object/computed";
|
||||
import { computed } from "@ember/object";
|
||||
import ComboBoxComponent from "select-kit/components/combo-box";
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
import I18n from "I18n";
|
||||
import DropdownSelectBoxComponent from "select-kit/components/dropdown-select-box";
|
||||
import {
|
||||
PRIVATE_MESSAGE,
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
import I18n from "I18n";
|
||||
import { computed } from "@ember/object";
|
||||
import { equal } from "@ember/object/computed";
|
||||
import { isEmpty } from "@ember/utils";
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
import I18n from "I18n";
|
||||
import { reads, gte } from "@ember/object/computed";
|
||||
import ComboBoxComponent from "select-kit/components/combo-box";
|
||||
import DiscourseURL from "discourse/lib/url";
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
import I18n from "I18n";
|
||||
import DropdownSelectBoxComponent from "select-kit/components/dropdown-select-box";
|
||||
import { action, computed } from "@ember/object";
|
||||
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
import I18n from "I18n";
|
||||
import { empty, or } from "@ember/object/computed";
|
||||
import ComboBox from "select-kit/components/combo-box";
|
||||
import TagsMixin from "select-kit/mixins/tags";
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
import I18n from "I18n";
|
||||
import discourseComputed from "discourse-common/utils/decorators";
|
||||
const { isEmpty } = Ember;
|
||||
import SelectKitFilterComponent from "select-kit/components/select-kit/select-kit-filter";
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
import I18n from "I18n";
|
||||
import DropdownSelectBoxComponent from "select-kit/components/dropdown-select-box";
|
||||
import { allLevels, buttonDetails } from "discourse/lib/notification-levels";
|
||||
import { computed, setProperties } from "@ember/object";
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
import I18n from "I18n";
|
||||
import { readOnly } from "@ember/object/computed";
|
||||
import { computed } from "@ember/object";
|
||||
import DropdownSelectBoxRowComponent from "select-kit/components/dropdown-select-box/dropdown-select-box-row";
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
import I18n from "I18n";
|
||||
import DropdownSelectBoxComponent from "select-kit/components/dropdown-select-box";
|
||||
import { computed } from "@ember/object";
|
||||
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
import I18n from "I18n";
|
||||
import DropdownSelectBoxRowComponent from "select-kit/components/dropdown-select-box/dropdown-select-box-row";
|
||||
import discourseComputed from "discourse-common/utils/decorators";
|
||||
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
import I18n from "I18n";
|
||||
import Component from "@ember/component";
|
||||
import discourseComputed from "discourse-common/utils/decorators";
|
||||
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
import I18n from "I18n";
|
||||
import DropdownSelectBoxComponent from "select-kit/components/dropdown-select-box";
|
||||
import { iconHTML } from "discourse-common/lib/icon-library";
|
||||
import { computed, action } from "@ember/object";
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
import I18n from "I18n";
|
||||
import EmberObject, { computed, get, guidFor } from "@ember/object";
|
||||
import Component from "@ember/component";
|
||||
import deprecated from "discourse-common/lib/deprecated";
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
import I18n from "I18n";
|
||||
import Component from "@ember/component";
|
||||
import discourseComputed from "discourse-common/utils/decorators";
|
||||
import { isPresent } from "@ember/utils";
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
import I18n from "I18n";
|
||||
import Component from "@ember/component";
|
||||
import { computed } from "@ember/object";
|
||||
import { makeArray } from "discourse-common/lib/helpers";
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
import I18n from "I18n";
|
||||
import DropdownSelectBoxComponent from "select-kit/components/dropdown-select-box";
|
||||
|
||||
const HEADING_COLLECTION = "HEADING_COLLECTION";
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
import I18n from "I18n";
|
||||
import DropdownSelectBox from "select-kit/components/dropdown-select-box";
|
||||
import { popupAjaxError } from "discourse/lib/ajax-error";
|
||||
import showModal from "discourse/lib/show-modal";
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
import I18n from "I18n";
|
||||
import { reads } from "@ember/object/computed";
|
||||
import { ajax } from "discourse/lib/ajax";
|
||||
import { popupAjaxError } from "discourse/lib/ajax-error";
|
||||
|
||||
Reference in New Issue
Block a user