feat(project): base smatec's frontend
This commit is contained in:
17
src/locales/en-US/master/master-alarm-en.ts
Normal file
17
src/locales/en-US/master/master-alarm-en.ts
Normal file
@@ -0,0 +1,17 @@
|
||||
export default {
|
||||
'master.alarms.table.pagination': 'alarms',
|
||||
'master.alarms.severity': 'Severity',
|
||||
'master.alarms.occurred_at': 'Occurred time',
|
||||
'master.alarms.confirmed': 'Confirmed',
|
||||
'master.alarms.confirm.description.required': 'The description is required',
|
||||
'master.alarms.confirm.title': 'Confirm Alarm',
|
||||
'master.alarms.confirm.success': 'Confirm alarm successfully',
|
||||
'master.alarms.confirm.fail': 'Confirm alarm failed',
|
||||
'master.alarms.unconfirm.title': 'Unconfirm',
|
||||
'master.alarms.unconfirm.body':
|
||||
'Are you sure you want to unconfirm this alarm?',
|
||||
'master.alarms.unconfirm.success': 'Unconfirm alarm successfully',
|
||||
'master.alarms.unconfirm.fail': 'Unconfirm alarm failed',
|
||||
'master.alarms.not_found': 'Alarm has expired or does not exist',
|
||||
'master.alarms.filter_things': 'Filter by device group',
|
||||
};
|
||||
15
src/locales/en-US/master/master-auth-en.ts
Normal file
15
src/locales/en-US/master/master-auth-en.ts
Normal file
@@ -0,0 +1,15 @@
|
||||
export default {
|
||||
// Authentication
|
||||
'master.auth.login.title': 'Login',
|
||||
'master.auth.login.email': 'Email',
|
||||
'master.auth.validation.email': 'Email is required',
|
||||
'master.auth.password': 'Password',
|
||||
'master.auth.validation.password': 'Password is required',
|
||||
'master.auth.login.subtitle': 'Ship Monitoring System',
|
||||
'master.auth.login.description': 'Login to continue monitoring vessels',
|
||||
'master.auth.login.invalid': 'Invalid username or password',
|
||||
'master.auth.login.success': 'Login successful',
|
||||
'master.auth.logout.title': 'Logout',
|
||||
'master.auth.logout.confirm': 'Are you sure you want to logout?',
|
||||
'master.auth.logout.success': 'Logout successful',
|
||||
};
|
||||
18
src/locales/en-US/master/master-en.ts
Normal file
18
src/locales/en-US/master/master-en.ts
Normal file
@@ -0,0 +1,18 @@
|
||||
import masterAlarmEn from './master-alarm-en';
|
||||
import masterAuthEn from './master-auth-en';
|
||||
import masterGroupEn from './master-group-en';
|
||||
import masterSysLogEn from './master-log-en';
|
||||
import masterMenuEn from './master-menu-en';
|
||||
import masterMenuProfileEn from './master-profile-en';
|
||||
import masterThingEn from './master-thing-en';
|
||||
import masterUserEn from './master-user-en';
|
||||
export default {
|
||||
...masterAuthEn,
|
||||
...masterMenuEn,
|
||||
...masterMenuProfileEn,
|
||||
...masterAlarmEn,
|
||||
...masterThingEn,
|
||||
...masterSysLogEn,
|
||||
...masterUserEn,
|
||||
...masterGroupEn,
|
||||
};
|
||||
21
src/locales/en-US/master/master-group-en.ts
Normal file
21
src/locales/en-US/master/master-group-en.ts
Normal file
@@ -0,0 +1,21 @@
|
||||
export default {
|
||||
'master.groups.root': 'Add root',
|
||||
'master.groups.cannot-add-group':
|
||||
'Cannot add child to a group that has things',
|
||||
'master.groups.add': 'Add child',
|
||||
'master.groups.delete.confirm': 'Are you sure you want to delete this group?',
|
||||
'master.groups.code': 'Code',
|
||||
'master.groups.code.exists': 'The code already exists',
|
||||
'master.groups.short_name': 'Short name',
|
||||
'master.groups.short_name.exists': 'The short name already exists',
|
||||
'master.groups.update.success': 'Updated group successfully',
|
||||
'master.groups.update.failed': 'Update group failed, please try again!',
|
||||
'master.groups.create.success': 'Created group successfully',
|
||||
'master.groups.create.failed': 'Create group failed, please try again!',
|
||||
'master.groups.delete.success': 'Deleted group successfully',
|
||||
'master.groups.delete.failed': 'Delete group failed',
|
||||
'master.groups.delete.failed_internal':
|
||||
'The group contains devices or users and cannot be deleted',
|
||||
'master.groups.parent': 'Parent',
|
||||
'master.groups.treeselect.placeholder': 'Please select group',
|
||||
};
|
||||
51
src/locales/en-US/master/master-log-en.ts
Normal file
51
src/locales/en-US/master/master-log-en.ts
Normal file
@@ -0,0 +1,51 @@
|
||||
export default {
|
||||
'master.logs.search.yesterday': 'Yesterday',
|
||||
'master.logs.search.last_week': 'Last week',
|
||||
'master.logs.search.last_month': 'Last month',
|
||||
'master.logs.table.pagination': 'activities',
|
||||
'master.logs.things.create': 'Create new thing',
|
||||
'master.logs.things.update': 'Update thing',
|
||||
'master.logs.things.remove': 'Remove thing',
|
||||
'master.logs.things.share': 'Share thing',
|
||||
'master.logs.things.unshare': 'Unshare thing',
|
||||
'master.logs.things.update_key': 'Update key thing',
|
||||
'master.logs.users.create': 'Register user',
|
||||
'master.logs.users.update': 'Update user',
|
||||
'master.logs.users.remove': 'Remove user',
|
||||
'master.logs.users.share': 'User share',
|
||||
'master.logs.groups.create': 'Create new group',
|
||||
'master.logs.groups.update': 'Update group',
|
||||
'master.logs.groups.remove': 'Remove group',
|
||||
'master.logs.groups.assign_thing': 'Assign thing to group',
|
||||
'master.logs.groups.assign_user': 'Assign user to group',
|
||||
'master.logs.groups.unassign_thing': 'Remove thing from group',
|
||||
'master.logs.groups.unassign_user': 'Remove user from group',
|
||||
'master.logs.action.text': 'Action',
|
||||
'master.logs.email.text': 'Email',
|
||||
'master.logs.date.text': 'Date',
|
||||
'master.logs.things.alarm.confirm': 'Alarm confirm',
|
||||
'master.logs.things.alarm.unconfirm': 'Alarm unconfirm',
|
||||
'master.logs.users.login': 'User login',
|
||||
'master.logs.title': 'Logs',
|
||||
'master.logs.things.confirm': 'Confirm',
|
||||
'master.logs.things.unconfirm': 'Unconfirm',
|
||||
'master.logs.things': 'Things',
|
||||
'master.logs.users': 'Users',
|
||||
'master.logs.groups': 'Groups',
|
||||
'master.logs.ships': 'Ships',
|
||||
'master.logs.ships.create': 'Create new ship',
|
||||
'master.logs.ships.update': 'Update ship',
|
||||
'master.logs.ships.remove': 'Remove ship',
|
||||
'master.logs.ships.assign_thing': 'Assign device to ship',
|
||||
'master.logs.ships.assign_user': 'Assign user to ship',
|
||||
'master.logs.ships.unassign_thing': 'Remove device from ship',
|
||||
'master.logs.ships.unassign_user': 'Remove user from ship',
|
||||
'master.logs.trips': 'Trips',
|
||||
'master.logs.trips.create': 'Create new trip',
|
||||
'master.logs.trips.update': 'Update trip',
|
||||
'master.logs.trips.remove': 'Remove trip',
|
||||
'master.logs.trips.approve': 'Approve trip',
|
||||
'master.logs.trips.request_approve': 'Request approval for trip',
|
||||
'master.logs.trips.unassign_thing': 'Remove device from trip',
|
||||
'master.logs.trips.unassign_user': 'Remove user from trip',
|
||||
};
|
||||
10
src/locales/en-US/master/master-menu-en.ts
Normal file
10
src/locales/en-US/master/master-menu-en.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
export default {
|
||||
'menu.alarms': 'Alarms',
|
||||
'menu.monitoring': 'Monitoring',
|
||||
'menu.manager': 'Manager',
|
||||
'menu.manager.devices': 'Devices',
|
||||
'menu.manager.groups': 'Groups',
|
||||
'menu.manager.users': 'Users',
|
||||
'menu.manager.logs': 'Logs',
|
||||
'menu.profile': 'Profile',
|
||||
};
|
||||
20
src/locales/en-US/master/master-profile-en.ts
Normal file
20
src/locales/en-US/master/master-profile-en.ts
Normal file
@@ -0,0 +1,20 @@
|
||||
export default {
|
||||
'master.profile.change-profile': 'Basic Information',
|
||||
'master.profile.change-password': 'Change Password',
|
||||
'master.profile.two-factor-authentication': 'Two-Factor Authentication',
|
||||
'master.profile.change-profile.title': 'Update Personal Information',
|
||||
'master.profile.change-profile.full_name': 'Full Name',
|
||||
'master.profile.change-profile.phone_number': 'Phone Number',
|
||||
'master.profile.change-password.old_password': 'Old Password',
|
||||
'master.profile.change-password.new_password': 'New Password',
|
||||
'master.profile.change-password.confirm_password': 'Confirm Password',
|
||||
'master.profile.change-password.password_not_match':
|
||||
'Password confirmation does not match',
|
||||
'master.profile.change-profile.update-success':
|
||||
'Update information successfully',
|
||||
'master.profile.change-profile.update-fail': 'Update information failed',
|
||||
'master.profile.change-password.success': 'Change password successfully',
|
||||
'master.profile.change-password.fail': 'Change password failed',
|
||||
'master.profile.change-password.password.strong':
|
||||
'A password contains at least 8 characters, including at least one number and includes both lower and uppercase letters and special characters, for example #, ?, !',
|
||||
};
|
||||
6
src/locales/en-US/master/master-thing-en.ts
Normal file
6
src/locales/en-US/master/master-thing-en.ts
Normal file
@@ -0,0 +1,6 @@
|
||||
export default {
|
||||
'master.thing.name': 'Name',
|
||||
'master.thing.external_id': 'External ID',
|
||||
'master.thing.group': 'Group',
|
||||
'master.thing.address': 'Address',
|
||||
};
|
||||
35
src/locales/en-US/master/master-user-en.ts
Normal file
35
src/locales/en-US/master/master-user-en.ts
Normal file
@@ -0,0 +1,35 @@
|
||||
export default {
|
||||
'master.users.title': 'Users',
|
||||
'master.users.table.pagination': 'users',
|
||||
'master.users.register': 'Register',
|
||||
'master.users.register.title': 'Register user',
|
||||
'master.users.email.exists': 'The email is exists',
|
||||
'master.users.email': 'Email',
|
||||
'master.users.email.tip': 'The email is the unique key',
|
||||
'master.users.email.required': 'The email is required',
|
||||
'master.users.email.invalid': 'Invalid email address',
|
||||
'master.users.role': 'Role',
|
||||
'master.users.role.placeholder': 'Please select a role',
|
||||
'master.users.role.tip': 'The role is the unique key',
|
||||
'master.users.password.required': 'Password is required',
|
||||
'master.users.password.minimum': 'Minimum password length is 8',
|
||||
'master.users.password': 'Password',
|
||||
'master.users.full_name': 'Full name',
|
||||
'master.users.full_name.placeholder': 'Enter full name',
|
||||
'master.users.full_name.required': 'Please enter full name',
|
||||
'master.users.password.placeholder': 'Password',
|
||||
'master.users.confirmpassword.required': 'Confirm password is required',
|
||||
'master.users.email.placeholder': 'Email',
|
||||
'master.users.phone_number': 'Phone number',
|
||||
'master.users.phone_number.tip': 'The phone number is the unique key',
|
||||
'master.users.phone_number.required': 'The phone number is required',
|
||||
'master.users.phone_number.notvalid': 'Invalid phone number',
|
||||
'master.users.groups': 'Groups',
|
||||
'master.users.groups.required': 'Please select groups',
|
||||
'master.users.role.sysadmin': 'System Administrator',
|
||||
'master.users.role.admin': 'Unit Manager',
|
||||
'master.users.role.user': 'Unit Supervisor',
|
||||
'master.users.role.sgw.end_user': 'Ship Owner',
|
||||
'master.users.create.error': 'User creation failed',
|
||||
'master.users.create.success': 'User created successfully',
|
||||
};
|
||||
5
src/locales/en-US/slave/gms/gms-en.ts
Normal file
5
src/locales/en-US/slave/gms/gms-en.ts
Normal file
@@ -0,0 +1,5 @@
|
||||
import gmsMenuEn from './gms-menu-en';
|
||||
export default {
|
||||
'gms.title': 'SmartGMS',
|
||||
...gmsMenuEn,
|
||||
};
|
||||
3
src/locales/en-US/slave/gms/gms-menu-en.ts
Normal file
3
src/locales/en-US/slave/gms/gms-menu-en.ts
Normal file
@@ -0,0 +1,3 @@
|
||||
export default {
|
||||
'menu.gms.monitor': 'Monitor',
|
||||
};
|
||||
6
src/locales/en-US/slave/sgw/sgw-en.ts
Normal file
6
src/locales/en-US/slave/sgw/sgw-en.ts
Normal file
@@ -0,0 +1,6 @@
|
||||
import sgwMenu from './sgw-menu-en';
|
||||
export default {
|
||||
'sgw.title': 'Sea Gateway',
|
||||
'sgw.ship': 'Ship',
|
||||
...sgwMenu,
|
||||
};
|
||||
6
src/locales/en-US/slave/sgw/sgw-menu-en.ts
Normal file
6
src/locales/en-US/slave/sgw/sgw-menu-en.ts
Normal file
@@ -0,0 +1,6 @@
|
||||
export default {
|
||||
'menu.sgw.map': 'Maps',
|
||||
'menu.sgw.trips': 'Trips',
|
||||
'menu.manager.sgw.fishes': 'Fishes',
|
||||
'menu.manager.sgw.zones': 'Zones',
|
||||
};
|
||||
5
src/locales/en-US/slave/spole/spole-en.ts
Normal file
5
src/locales/en-US/slave/spole/spole-en.ts
Normal file
@@ -0,0 +1,5 @@
|
||||
import spoleMenuEN from './spole-menu-en';
|
||||
export default {
|
||||
'spole.title': 'Spole',
|
||||
...spoleMenuEN,
|
||||
};
|
||||
8
src/locales/en-US/slave/spole/spole-menu-en.ts
Normal file
8
src/locales/en-US/slave/spole/spole-menu-en.ts
Normal file
@@ -0,0 +1,8 @@
|
||||
export default {
|
||||
'menu.spole.monitoring': 'Monitoring',
|
||||
'menu.spole.mira': 'Mira',
|
||||
'menu.spole.miva': 'Miva',
|
||||
'menu.spole.traffic-light': 'Traffic Light',
|
||||
'menu.spole.street-light': 'Street Light',
|
||||
'menu.spole.media': 'Media',
|
||||
};
|
||||
Reference in New Issue
Block a user