aboutsummaryrefslogtreecommitdiff
path: root/modern/src/attributes
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2021-09-02 20:44:13 -0700
committerAnton Tananaev <anton.tananaev@gmail.com>2021-09-02 20:44:13 -0700
commit8d953869da0b79941987ab1dc6eb00e643ee5d81 (patch)
tree30247cb60ef6b7577224b5e74df52c7c23b2d011 /modern/src/attributes
parente07d5ff079527da0c07c4f8ede0aaef272517393 (diff)
downloadtrackermap-web-8d953869da0b79941987ab1dc6eb00e643ee5d81.tar.gz
trackermap-web-8d953869da0b79941987ab1dc6eb00e643ee5d81.tar.bz2
trackermap-web-8d953869da0b79941987ab1dc6eb00e643ee5d81.zip
Move localization provider
Diffstat (limited to 'modern/src/attributes')
-rw-r--r--modern/src/attributes/AddAttributeDialog.js2
-rw-r--r--modern/src/attributes/EditAttributesView.js2
-rw-r--r--modern/src/attributes/deviceAttributes.js2
-rw-r--r--modern/src/attributes/geofenceAttributes.js2
-rw-r--r--modern/src/attributes/positionAttributes.js2
-rw-r--r--modern/src/attributes/userAttributes.js2
6 files changed, 6 insertions, 6 deletions
diff --git a/modern/src/attributes/AddAttributeDialog.js b/modern/src/attributes/AddAttributeDialog.js
index 24c208a5..3d392fd5 100644
--- a/modern/src/attributes/AddAttributeDialog.js
+++ b/modern/src/attributes/AddAttributeDialog.js
@@ -4,7 +4,7 @@ import {
} from '@material-ui/core';
import { Autocomplete, createFilterOptions } from '@material-ui/lab';
-import t from '../common/localization';
+import t from '../LocalizationProvider';
const AddAttributeDialog = ({ open, onResult, definitions }) => {
const filter = createFilterOptions({
diff --git a/modern/src/attributes/EditAttributesView.js b/modern/src/attributes/EditAttributesView.js
index 13ea9bd4..68395d9c 100644
--- a/modern/src/attributes/EditAttributesView.js
+++ b/modern/src/attributes/EditAttributesView.js
@@ -5,7 +5,7 @@ import {
} from '@material-ui/core';
import CloseIcon from '@material-ui/icons/Close';
import AddIcon from '@material-ui/icons/Add';
-import t from '../common/localization';
+import t from '../LocalizationProvider';
import AddAttributeDialog from './AddAttributeDialog';
const useStyles = makeStyles((theme) => ({
diff --git a/modern/src/attributes/deviceAttributes.js b/modern/src/attributes/deviceAttributes.js
index 26e3d928..2b874c52 100644
--- a/modern/src/attributes/deviceAttributes.js
+++ b/modern/src/attributes/deviceAttributes.js
@@ -1,4 +1,4 @@
-import t from '../common/localization';
+import t from '../LocalizationProvider';
export default {
speedLimit: {
diff --git a/modern/src/attributes/geofenceAttributes.js b/modern/src/attributes/geofenceAttributes.js
index 59a8869d..5f197de7 100644
--- a/modern/src/attributes/geofenceAttributes.js
+++ b/modern/src/attributes/geofenceAttributes.js
@@ -1,4 +1,4 @@
-import t from '../common/localization';
+import t from '../LocalizationProvider';
export default {
speedLimit: {
diff --git a/modern/src/attributes/positionAttributes.js b/modern/src/attributes/positionAttributes.js
index 94f396a1..b44b6062 100644
--- a/modern/src/attributes/positionAttributes.js
+++ b/modern/src/attributes/positionAttributes.js
@@ -1,4 +1,4 @@
-import t from '../common/localization';
+import t from '../LocalizationProvider';
export default {
raw: {
diff --git a/modern/src/attributes/userAttributes.js b/modern/src/attributes/userAttributes.js
index 6f842f91..33a6657c 100644
--- a/modern/src/attributes/userAttributes.js
+++ b/modern/src/attributes/userAttributes.js
@@ -1,4 +1,4 @@
-import t from '../common/localization';
+import t from '../LocalizationProvider';
export default {
notificationTokens: {