mirror of
https://github.com/Fabio286/antares.git
synced 2025-06-05 21:59:22 +02:00
Merge branch 'master' of https://github.com/Fabio286/antares into pr/toriphes/129
This commit is contained in:
@@ -44,17 +44,26 @@ async function createMainWindow () {
|
||||
remoteMain.enable(window.webContents);
|
||||
|
||||
try {
|
||||
if (isDevelopment) { //
|
||||
await window.loadURL(`http://localhost:${process.env.ELECTRON_WEBPACK_WDS_PORT}`);
|
||||
if (isDevelopment) {
|
||||
const { default: installExtension, VUEJS3_DEVTOOLS } = require('electron-devtools-installer');
|
||||
const options = {
|
||||
loadExtensionOptions: { allowFileAccess: true }
|
||||
};
|
||||
|
||||
// const { default: installExtension, VUEJS3_DEVTOOLS } = require('electron-devtools-installer');
|
||||
try {
|
||||
const name = await installExtension(VUEJS3_DEVTOOLS, options);
|
||||
console.log(`Added Extension: ${name}`);
|
||||
}
|
||||
catch (err) {
|
||||
console.log('An error occurred: ', err);
|
||||
}
|
||||
|
||||
// const oldDevToolsID = session.defaultSession.getAllExtensions().find(ext => ext.name === 'Vue.js devtools').id;
|
||||
// session.defaultSession.removeExtension(oldDevToolsID);
|
||||
// const toolName = await installExtension(VUEJS3_DEVTOOLS);
|
||||
// console.log(toolName, 'installed');
|
||||
await window.loadURL('http://localhost:9080');
|
||||
}
|
||||
else {
|
||||
const indexPath = path.resolve(__dirname, 'index.html');
|
||||
await window.loadFile(indexPath);
|
||||
}
|
||||
else await window.loadURL(new URL(`file:///${path.join(__dirname, 'index.html')}`).href);
|
||||
}
|
||||
catch (err) {
|
||||
console.log(err);
|
||||
@@ -89,10 +98,8 @@ else {
|
||||
|
||||
app.on('activate', async () => {
|
||||
// on macOS it is common to re-create a window even after all windows have been closed
|
||||
if (mainWindow === null) {
|
||||
if (mainWindow === null)
|
||||
mainWindow = await createMainWindow();
|
||||
if (isDevelopment) mainWindow.webContents.openDevTools();
|
||||
}
|
||||
});
|
||||
|
||||
// create main BrowserWindow when electron is ready
|
||||
@@ -100,7 +107,8 @@ else {
|
||||
mainWindow = await createMainWindow();
|
||||
createAppMenu();
|
||||
|
||||
if (isDevelopment) mainWindow.webContents.openDevTools();
|
||||
if (isDevelopment)
|
||||
mainWindow.webContents.openDevTools();
|
||||
|
||||
process.on('uncaughtException', (error) => {
|
||||
mainWindow.webContents.send('unhandled-exception', error);
|
||||
@@ -118,7 +126,25 @@ function createAppMenu () {
|
||||
if (isMacOS) {
|
||||
menu = Menu.buildFromTemplate([
|
||||
{
|
||||
role: 'appMenu'
|
||||
label: app.name,
|
||||
submenu: [
|
||||
{ role: 'about' },
|
||||
{ type: 'separator' },
|
||||
{
|
||||
label: 'Check for Updates...',
|
||||
click: (_menuItem, win) => win.webContents.send('open-updates-preferences')
|
||||
},
|
||||
{
|
||||
label: 'Preferences',
|
||||
click: (_menuItem, win) => win.webContents.send('toggle-preferences'),
|
||||
accelerator: 'CmdOrCtrl+,'
|
||||
},
|
||||
{ type: 'separator' },
|
||||
{ role: 'hide' },
|
||||
{ role: 'hideOthers' },
|
||||
{ type: 'separator' },
|
||||
{ role: 'quit' }
|
||||
]
|
||||
},
|
||||
{
|
||||
role: 'editMenu'
|
@@ -184,7 +184,7 @@
|
||||
:class="{'selected': applicationTheme === 'dark'}"
|
||||
@click="changeApplicationTheme('dark')"
|
||||
>
|
||||
<img :src="require('@/images/dark.png').default" class="img-responsive img-fit-cover s-rounded">
|
||||
<img src="../images/dark.png" class="img-responsive img-fit-cover s-rounded">
|
||||
<div class="theme-name text-light">
|
||||
<i class="mdi mdi-moon-waning-crescent mdi-48px" />
|
||||
<div class="h6 mt-4">
|
||||
@@ -197,7 +197,7 @@
|
||||
:class="{'selected': applicationTheme === 'light'}"
|
||||
@click="changeApplicationTheme('light')"
|
||||
>
|
||||
<img :src="require('@/images/light.png').default" class="img-responsive img-fit-cover s-rounded">
|
||||
<img src="../images/light.png" class="img-responsive img-fit-cover s-rounded">
|
||||
<div class="theme-name text-dark">
|
||||
<i class="mdi mdi-white-balance-sunny mdi-48px" />
|
||||
<div class="h6 mt-4">
|
||||
@@ -280,7 +280,7 @@
|
||||
|
||||
<div v-show="selectedTab === 'about'" class="panel-body py-4">
|
||||
<div class="text-center">
|
||||
<img :src="require('@/images/logo.svg').default" width="128">
|
||||
<img src="../images/logo.svg" width="128">
|
||||
<h4>{{ appName }}</h4>
|
||||
<p>
|
||||
{{ $t('word.version') }} {{ appVersion }}<br>
|
||||
|
@@ -1,11 +1,11 @@
|
||||
<template>
|
||||
<div id="titlebar">
|
||||
<div id="titlebar" @dblclick="toggleFullScreen">
|
||||
<div class="titlebar-resizer" />
|
||||
<div class="titlebar-elements">
|
||||
<img
|
||||
v-if="!isMacOS"
|
||||
class="titlebar-logo"
|
||||
:src="require('@/images/logo.svg').default"
|
||||
src="@/images/logo.svg"
|
||||
>
|
||||
</div>
|
||||
<div class="titlebar-elements titlebar-title">
|
||||
|
@@ -1,7 +1,16 @@
|
||||
<template>
|
||||
<div class="column col-12 empty">
|
||||
<div class="empty-icon">
|
||||
<img :src="require(`@/images/logo-${applicationTheme}.svg`).default" width="200">
|
||||
<img
|
||||
v-if="applicationTheme === 'dark'"
|
||||
src="../images/logo-dark.svg"
|
||||
width="200"
|
||||
>
|
||||
<img
|
||||
v-if="applicationTheme === 'light'"
|
||||
src="../images/logo-light.svg"
|
||||
width="200"
|
||||
>
|
||||
</div>
|
||||
<p class="h6 empty-subtitle">
|
||||
{{ $t('message.noOpenTabs') }}
|
||||
|
@@ -367,7 +367,7 @@ export default {
|
||||
},
|
||||
deleteSelected () {
|
||||
this.closeContext();
|
||||
const rows = this.localResults.filter(row => this.selectedRows.includes(row._id)).map(row => {
|
||||
const rows = JSON.parse(JSON.stringify(this.localResults)).filter(row => this.selectedRows.includes(row._id)).map(row => {
|
||||
delete row._id;
|
||||
return row;
|
||||
});
|
||||
|
@@ -1,413 +1,413 @@
|
||||
module.exports = {
|
||||
word: {
|
||||
edit: 'Chỉnh sửa',
|
||||
save: 'Lưu',
|
||||
close: 'Đóng',
|
||||
delete: 'Xoá',
|
||||
confirm: 'Xác nhận',
|
||||
cancel: 'Huỷ',
|
||||
send: 'Gửi',
|
||||
connectionName: 'Tên kết nối',
|
||||
client: 'Client',
|
||||
hostName: 'Tên máy chủ',
|
||||
port: 'Cổng',
|
||||
user: 'Người dùng',
|
||||
password: 'Mật khẩu',
|
||||
credentials: 'Thông tin xác thực',
|
||||
connect: 'Kết nối',
|
||||
connected: 'Đã kết nối',
|
||||
disconnect: 'Ngắt kết nối',
|
||||
disconnected: 'Đã ngắt kết nối',
|
||||
refresh: 'Làm mới',
|
||||
settings: 'Cài đặt',
|
||||
general: 'Chung',
|
||||
themes: 'Giao diện',
|
||||
update: 'Cập nhật',
|
||||
about: 'Giới thiệu',
|
||||
language: 'Ngôn ngữ',
|
||||
version: 'Phiên bản',
|
||||
donate: 'Ủng hộ',
|
||||
run: 'Chạy',
|
||||
schema: 'Schema',
|
||||
results: 'Kết quả',
|
||||
size: 'Kích thước',
|
||||
seconds: 'Giây',
|
||||
type: 'Kiểu',
|
||||
mimeType: 'Mime-Type',
|
||||
download: 'Tải xuống',
|
||||
add: 'Thêm',
|
||||
data: 'Dữ liệu',
|
||||
properties: 'Thuộc tính',
|
||||
insert: 'Nhập',
|
||||
connecting: 'Đang kết nối',
|
||||
name: 'Tên',
|
||||
collation: 'Đối chiếu',
|
||||
clear: 'Xoá',
|
||||
options: 'Tuỳ chọn',
|
||||
autoRefresh: 'Tự động làm mới',
|
||||
indexes: 'Index',
|
||||
foreignKeys: 'Khoá ngoại',
|
||||
length: 'Độ dài',
|
||||
unsigned: 'Unsigned',
|
||||
default: 'Mặc định',
|
||||
comment: 'Nhận xét',
|
||||
key: 'Khoá | Khoá',
|
||||
order: 'Sắp xếp',
|
||||
expression: 'Biểu hiện',
|
||||
autoIncrement: 'Tự động tăng',
|
||||
engine: 'Engine',
|
||||
field: 'Trường | Trường',
|
||||
approximately: 'Khoảng',
|
||||
total: 'Toàn bộ',
|
||||
table: 'Bảng',
|
||||
discard: 'Bỏ',
|
||||
stay: 'Ở lại',
|
||||
author: 'Tác giả',
|
||||
light: 'Sáng',
|
||||
dark: 'Tối',
|
||||
autoCompletion: 'Tự động hoàn thành',
|
||||
application: 'Ứng dụng',
|
||||
editor: 'Người chỉnh sửa',
|
||||
view: 'Xem',
|
||||
definer: 'Định nghĩa',
|
||||
algorithm: 'Thuật toán',
|
||||
trigger: 'Kích hoạt | Kích hoạt',
|
||||
storedRoutine: 'Quy trình đã lưu | Quy trình đã lưu',
|
||||
scheduler: 'Lập lịch trình | Lập lịch trình',
|
||||
event: 'Sự kiện',
|
||||
parameters: 'Tham số',
|
||||
function: 'Chức năng | Chức năng',
|
||||
deterministic: 'Xác định',
|
||||
context: 'Context',
|
||||
export: 'Xuất',
|
||||
returns: 'Returns',
|
||||
timing: 'Thời gian',
|
||||
state: 'Trạng thái',
|
||||
execution: 'Thực thi',
|
||||
starts: 'Bắt đầu',
|
||||
ends: 'Kết thúc',
|
||||
ssl: 'SSL',
|
||||
privateKey: 'Mã khoá riêng tư',
|
||||
certificate: 'Chứng chỉ',
|
||||
caCertificate: 'Chứng chỉ CA',
|
||||
ciphers: 'Ciphers',
|
||||
upload: 'Tải lên',
|
||||
browse: 'Duyệt',
|
||||
faker: 'Faker',
|
||||
content: 'Nội dung',
|
||||
cut: 'Cắt',
|
||||
copy: 'Sao chép',
|
||||
paste: 'Dán',
|
||||
tools: 'Công cụ',
|
||||
variables: 'Biến',
|
||||
processes: 'Quá trình',
|
||||
database: 'Cơ sở dữ liệu',
|
||||
scratchpad: 'Scratchpad',
|
||||
array: 'Mảng',
|
||||
changelog: 'Nhật ký thay đổi',
|
||||
format: 'Định dạng',
|
||||
sshTunnel: 'SSH tunnel',
|
||||
structure: 'Structure',
|
||||
small: 'Nhỏ',
|
||||
medium: 'Vừa',
|
||||
large: 'Lớn',
|
||||
row: 'Hàng | Hàng',
|
||||
cell: 'Ô | Ô',
|
||||
triggerFunction: 'Trigger function | Trigger functions',
|
||||
all: 'Tất cả',
|
||||
duplicate: 'Bản sao',
|
||||
routine: 'Routine',
|
||||
new: 'Mới',
|
||||
history: 'Lịch sử',
|
||||
select: 'Chọn',
|
||||
passphrase: 'Cụm mật khẩu'
|
||||
},
|
||||
message: {
|
||||
appWelcome: 'Chào bạn đến với Antares SQL Client!',
|
||||
appFirstStep: 'Bước đầu tiên: tạo một kết nối tới cơ sở dữ liệu.',
|
||||
addConnection: 'Thêm kết nối',
|
||||
createConnection: 'Tạo kết nối',
|
||||
createNewConnection: 'Tạo kết nối mới',
|
||||
askCredentials: 'Yêu cầu thông tin đăng nhập',
|
||||
testConnection: 'Chạy thử kết nối',
|
||||
editConnection: 'Sửa kết nối',
|
||||
deleteConnection: 'Xoá kết nối',
|
||||
deleteCorfirm: 'Bạn có xác nhận việc hủy bỏ',
|
||||
connectionSuccessfullyMade: 'Kết nối được thực hiện thành công!',
|
||||
madeWithJS: 'Được tạo bằng 💛 và JavaScript!',
|
||||
checkForUpdates: 'Kiểm tra cập nhật',
|
||||
noUpdatesAvailable: 'Không có bản cập nhật nào',
|
||||
checkingForUpdate: 'Đang kiểm tra cập nhật',
|
||||
checkFailure: 'Kiểm tra thất bại, vui lòng thử lại sau',
|
||||
updateAvailable: 'Cập nhật có sẵn',
|
||||
downloadingUpdate: 'Đang tải bản cập nhật',
|
||||
updateDownloaded: 'Đã tải bản cập nhạt',
|
||||
restartToInstall: 'Khởi động lại Antares để cài đặt',
|
||||
unableEditFieldWithoutPrimary: 'Không thể chỉnh sửa trường mà không có khóa chính trong kết quả',
|
||||
editCell: 'Sửa ô',
|
||||
deleteRows: 'Xoá hàng | Xoá {count} hàng',
|
||||
confirmToDeleteRows: 'Bạn có xác nhận xóa một hàng không? | Bạn có xác nhận xóa {count} hàng không?',
|
||||
notificationsTimeout: 'Thông báo hết giờ',
|
||||
uploadFile: 'Tải lên tệp',
|
||||
addNewRow: 'Thêm hàng mới',
|
||||
numberOfInserts: 'Số lần nhập',
|
||||
openNewTab: 'Mở trong tab mới',
|
||||
affectedRows: 'Các hàng bị ảnh hưởng',
|
||||
createNewDatabase: 'Tạo Cơ sở dữ liệu mới',
|
||||
databaseName: 'Tên cơ sở dữ liệu',
|
||||
serverDefault: 'Máy chủ mặc định',
|
||||
deleteDatabase: 'Xoá cơ sở dữ liệu',
|
||||
editDatabase: 'Sửa cơ sở dữ liệu',
|
||||
clearChanges: 'Xóa các thay đổi',
|
||||
addNewField: 'Thêm trường mới',
|
||||
manageIndexes: 'Quản lý index',
|
||||
manageForeignKeys: 'Quản lý khoá ngoại',
|
||||
allowNull: 'Cho phép NULL',
|
||||
zeroFill: 'Không điền',
|
||||
customValue: 'Tuỳ chỉnh giá trị',
|
||||
onUpdate: 'Đang cập nhật',
|
||||
deleteField: 'Xoá trường',
|
||||
createNewIndex: 'Tạo index mới',
|
||||
addToIndex: 'Thêm vào index',
|
||||
createNewTable: 'Tạo bảng mới',
|
||||
emptyTable: 'Bảng trống',
|
||||
deleteTable: 'Xoá bảng',
|
||||
emptyCorfirm: 'Bạn có xác nhận để làm trống không',
|
||||
unsavedChanges: 'Chưa lưu lại thay đổi',
|
||||
discardUnsavedChanges: 'Bạn có một số thay đổi chưa được lưu. Đóng tab này, những thay đổi này sẽ bị huỷ bỏ.',
|
||||
thereAreNoIndexes: 'Không có index',
|
||||
thereAreNoForeign: 'Không có khoá ngoại',
|
||||
createNewForeign: 'Tạo khoá ngoại mới',
|
||||
referenceTable: 'Tham khảo bảng',
|
||||
referenceField: 'Tham khảo trường',
|
||||
foreignFields: 'Trường ngoại',
|
||||
invalidDefault: 'Mặc định không hợp lệ',
|
||||
onDelete: 'Đang xoá',
|
||||
applicationTheme: 'Chủ đề ứng dụng',
|
||||
editorTheme: 'Trình chỉnh sửa chủ đề',
|
||||
wrapLongLines: 'Wrap long lines',
|
||||
selectStatement: 'Chọn câu lệnh',
|
||||
triggerStatement: 'Kích hoạt câu lệnh',
|
||||
sqlSecurity: 'Bảo mật SQL',
|
||||
updateOption: 'Cập nhật tuỳ chọn',
|
||||
deleteView: 'Xóa chế độ xem',
|
||||
createNewView: 'Tạo chế độ xem mới',
|
||||
deleteTrigger: 'Xóa trình kích hoạt',
|
||||
createNewTrigger: 'Tạo trình kích hoạt mới',
|
||||
currentUser: 'Người dùng hiện tại',
|
||||
routineBody: 'Body quy trình',
|
||||
dataAccess: 'Truy cập dữ liệu',
|
||||
thereAreNoParameters: 'Không có tham số',
|
||||
createNewParameter: 'Tạo tham số mới',
|
||||
createNewRoutine: 'Tạo quy trình lưu trữ mới',
|
||||
deleteRoutine: 'Xoá quy trình lưu trữ',
|
||||
functionBody: 'Body chức năng',
|
||||
createNewFunction: 'Tạo chức năng mới',
|
||||
deleteFunction: 'Xoá chức năng',
|
||||
schedulerBody: 'Body trình lập lịch',
|
||||
createNewScheduler: 'Tạo lịch trình mới',
|
||||
deleteScheduler: 'Xóa trình lên lịch',
|
||||
preserveOnCompletion: 'Bảo tồn khi hoàn thành',
|
||||
enableSsl: 'Bật SSL',
|
||||
manualValue: 'Giá trị thủ công',
|
||||
tableFiller: 'Bộ lọc bảng',
|
||||
fakeDataLanguage: 'Ngôn ngữ dữ liệu giả mạo',
|
||||
searchForElements: 'Tìm kiếm yếu tố',
|
||||
selectAll: 'Chọn tất cả',
|
||||
queryDuration: 'Thời lượng truy vấn',
|
||||
includeBetaUpdates: 'Bao gồm các bản cập nhật beta',
|
||||
setNull: 'Đặt NULL',
|
||||
processesList: 'Danh sách quy trình',
|
||||
processInfo: 'Thông tin quá trình',
|
||||
manageUsers: 'Quản lý người dùng',
|
||||
createNewSchema: 'Tạo schema mới',
|
||||
schemaName: 'Tên schema',
|
||||
editSchema: 'Sửa schema',
|
||||
deleteSchema: 'Xoá schema',
|
||||
markdownSupported: 'Hỗ trợ Markdown',
|
||||
plantATree: 'Trồng cây',
|
||||
dataTabPageSize: 'Kích thước trang tab DATA',
|
||||
enableSsh: 'Bật SSH',
|
||||
pageNumber: 'Số trang',
|
||||
duplicateTable: 'Sao chép bản',
|
||||
noOpenTabs: 'Không có tab nào đang mở, điều hướng trên thanh bên trái hoặc:',
|
||||
noSchema: 'Không có schema',
|
||||
restorePreviourSession: 'Khôi phục phiên trước',
|
||||
runQuery: 'Chạy truy vấn',
|
||||
thereAreNoTableFields: 'Không có trường bảng',
|
||||
newTable: 'Bảng mới',
|
||||
newView: 'Chế độ xem mới',
|
||||
newTrigger: 'Trình kích hoạt mới',
|
||||
newRoutine: 'Quy trình mới',
|
||||
newFunction: 'Chức năng mới',
|
||||
newScheduler: 'Bộ lập lịch mới',
|
||||
newTriggerFunction: 'Chức năng kích hoạt mới',
|
||||
thereIsNoQueriesYet: 'Không có truy vấn nào',
|
||||
searchForQueries: 'Tìm kiếm truy vấn',
|
||||
killProcess: 'Huỷ quá trình'
|
||||
},
|
||||
faker: {
|
||||
address: 'Địa chỉ',
|
||||
commerce: 'Thương mại',
|
||||
company: 'Công ty',
|
||||
database: 'Cơ sở dữ liệu',
|
||||
date: 'Ngày',
|
||||
finance: 'Tài chánh',
|
||||
git: 'Git',
|
||||
hacker: 'Tin tặc',
|
||||
internet: 'Mạng Internet',
|
||||
lorem: 'Lorem',
|
||||
name: 'Tên',
|
||||
music: 'Âm nhạc',
|
||||
phone: 'Số điện thoại',
|
||||
random: 'Ngẫu nhiên',
|
||||
system: 'Hệ thống',
|
||||
time: 'Thời gian',
|
||||
vehicle: 'Phương tiện giao thông',
|
||||
zipCode: 'Mã Bưu Chính',
|
||||
zipCodeByState: 'Mã Bưu Chính theo tiểu bang',
|
||||
city: 'Thành phố',
|
||||
cityPrefix: 'Tiền tố thành phố',
|
||||
citySuffix: 'Hậu tố thành phố',
|
||||
streetName: 'Tên đường',
|
||||
streetAddress: 'Địa chỉ đường',
|
||||
streetSuffix: 'Hậu tố đường',
|
||||
streetPrefix: 'Tiền tố đường',
|
||||
secondaryAddress: 'Địa chỉ phụ',
|
||||
county: 'Quận',
|
||||
country: 'Quốc gia',
|
||||
countryCode: 'Mã quốc gia',
|
||||
state: 'Tiểu bang',
|
||||
stateAbbr: 'Viết tắt của tiểu bang',
|
||||
latitude: 'Vĩ độ',
|
||||
longitude: 'Kinh độ',
|
||||
direction: 'Hướng',
|
||||
cardinalDirection: 'Hướng cốt yếu',
|
||||
ordinalDirection: 'Hướng thứ tự',
|
||||
nearbyGPSCoordinate: 'Tọa độ GPS lân cận',
|
||||
timeZone: 'Múi giờ',
|
||||
color: 'Màu',
|
||||
department: 'Phòng',
|
||||
productName: 'Tên sản phẩm',
|
||||
price: 'Giá',
|
||||
productAdjective: 'Tính từ sản phẩm',
|
||||
productMaterial: 'Chất liệu sản phẩm',
|
||||
product: 'Sản phẩm',
|
||||
productDescription: 'Mô tả sản phẩm',
|
||||
suffixes: 'Hậu tố',
|
||||
companyName: 'Tên công ty',
|
||||
companySuffix: 'Hậu tố công ty',
|
||||
catchPhrase: 'Khẩu hiệu',
|
||||
bs: 'BS',
|
||||
catchPhraseAdjective: 'Bắt cụm từ tính từ',
|
||||
catchPhraseDescriptor: 'Bắt bộ mô tả cụm từ',
|
||||
catchPhraseNoun: 'Bắt cụm từ danh từ',
|
||||
bsAdjective: 'BS tính từ',
|
||||
bsBuzz: 'BS buzz',
|
||||
bsNoun: 'BS danh từ',
|
||||
column: 'Cột',
|
||||
type: 'Loại',
|
||||
collation: 'Đối chiếu',
|
||||
engine: 'Engine',
|
||||
past: 'Quá khứ',
|
||||
future: 'Tương lai',
|
||||
between: 'Giữa',
|
||||
recent: 'Gần đây',
|
||||
soon: 'Sớm',
|
||||
month: 'Tháng',
|
||||
weekday: 'Ngày trong tuần',
|
||||
account: 'Tài khoản',
|
||||
accountName: 'Tên tài khoản',
|
||||
routingNumber: 'Số định tuyến',
|
||||
mask: 'Mặt nạ',
|
||||
amount: 'Số tiền',
|
||||
transactionType: 'Loại giao dịch',
|
||||
currencyCode: 'Mã tiền tệ',
|
||||
currencyName: 'Tên tiền tệ',
|
||||
currencySymbol: 'Ký hiệu tiền tệ',
|
||||
bitcoinAddress: 'Địa chỉ Bitcoin',
|
||||
litecoinAddress: 'Địa chỉ Litecoin',
|
||||
creditCardNumber: 'Số thẻ tín dụng',
|
||||
creditCardCVV: 'CVV thẻ tín dụng',
|
||||
ethereumAddress: 'Địa chỉ Ethereum',
|
||||
iban: 'Iban',
|
||||
bic: 'Bic',
|
||||
transactionDescription: 'Mô tả giao dịch',
|
||||
branch: 'Nhánh',
|
||||
commitEntry: 'Nhập cam kết',
|
||||
commitMessage: 'Thông báo cam kết',
|
||||
commitSha: 'Cam kết SHA',
|
||||
shortSha: 'SHA ngắn',
|
||||
abbreviation: 'Viết tắt',
|
||||
adjective: 'Tính từ',
|
||||
noun: 'Danh từ',
|
||||
verb: 'Động từ',
|
||||
ingverb: 'Động từ ing',
|
||||
phrase: 'Cụm từ',
|
||||
avatar: 'Ảnh đại diện',
|
||||
email: 'Email',
|
||||
exampleEmail: 'Email ví dụ',
|
||||
userName: 'Tên người dùng',
|
||||
protocol: 'Giao thức',
|
||||
url: 'Url',
|
||||
domainName: 'Tên miền',
|
||||
domainSuffix: 'Hậu tố miền',
|
||||
domainWord: 'Từ miền',
|
||||
ip: 'Ip',
|
||||
ipv6: 'Ipv6',
|
||||
userAgent: 'User agent',
|
||||
mac: 'Mac',
|
||||
password: 'Mật khẩu',
|
||||
word: 'Từ',
|
||||
words: 'Từ',
|
||||
sentence: 'Câu',
|
||||
slug: 'Slug',
|
||||
sentences: 'Câu',
|
||||
paragraph: 'Đoạn văn',
|
||||
paragraphs: 'Đoạn văn',
|
||||
text: 'Văn bản',
|
||||
lines: 'Dòng',
|
||||
genre: 'Thể loại',
|
||||
firstName: 'Tên',
|
||||
lastName: 'Họ',
|
||||
middleName: 'Tên đệm',
|
||||
findName: 'Tên đầy đủ',
|
||||
jobTitle: 'Chức vụ',
|
||||
gender: 'Giới tính',
|
||||
prefix: 'Tiền tố',
|
||||
suffix: 'Hậu tố',
|
||||
title: 'Tiêu đề',
|
||||
jobDescriptor: 'Mô tả công việc',
|
||||
jobArea: 'Lĩnh vực việc làm',
|
||||
jobType: 'Loại công việc',
|
||||
phoneNumber: 'Số điện thoại',
|
||||
phoneNumberFormat: 'Định dạng số điện thoại',
|
||||
phoneFormats: 'Định dạng điện thoại',
|
||||
number: 'Số',
|
||||
float: 'Float',
|
||||
arrayElement: 'Phân tử array',
|
||||
arrayElements: 'Phân tử array',
|
||||
objectElement: 'Phần tử object',
|
||||
uuid: 'Uuid',
|
||||
boolean: 'Boolean',
|
||||
image: 'Hình ảnh',
|
||||
locale: 'Ngôn ngữ',
|
||||
alpha: 'Alpha',
|
||||
alphaNumeric: 'Chữ và số',
|
||||
hexaDecimal: 'Hệ thập lục phân',
|
||||
fileName: 'File name',
|
||||
commonFileName: 'Tên tệp chung',
|
||||
mimeType: 'Kiểu mine',
|
||||
commonFileType: 'Loại tệp chung',
|
||||
commonFileExt: 'Phần mở rộng tệp chung',
|
||||
fileType: 'Loại tệp',
|
||||
fileExt: 'Phần mở rộng tệp',
|
||||
directoryPath: 'Đường dẫn thư mục',
|
||||
filePath: 'Đường dẫn tệp',
|
||||
semver: 'Semver',
|
||||
manufacturer: 'Manufacturer',
|
||||
model: 'Model',
|
||||
fuel: 'Fuel',
|
||||
vin: 'Vin'
|
||||
}
|
||||
};
|
||||
word: {
|
||||
edit: 'Chỉnh sửa',
|
||||
save: 'Lưu',
|
||||
close: 'Đóng',
|
||||
delete: 'Xoá',
|
||||
confirm: 'Xác nhận',
|
||||
cancel: 'Huỷ',
|
||||
send: 'Gửi',
|
||||
connectionName: 'Tên kết nối',
|
||||
client: 'Client',
|
||||
hostName: 'Tên máy chủ',
|
||||
port: 'Cổng',
|
||||
user: 'Người dùng',
|
||||
password: 'Mật khẩu',
|
||||
credentials: 'Thông tin xác thực',
|
||||
connect: 'Kết nối',
|
||||
connected: 'Đã kết nối',
|
||||
disconnect: 'Ngắt kết nối',
|
||||
disconnected: 'Đã ngắt kết nối',
|
||||
refresh: 'Làm mới',
|
||||
settings: 'Cài đặt',
|
||||
general: 'Chung',
|
||||
themes: 'Giao diện',
|
||||
update: 'Cập nhật',
|
||||
about: 'Giới thiệu',
|
||||
language: 'Ngôn ngữ',
|
||||
version: 'Phiên bản',
|
||||
donate: 'Ủng hộ',
|
||||
run: 'Chạy',
|
||||
schema: 'Schema',
|
||||
results: 'Kết quả',
|
||||
size: 'Kích thước',
|
||||
seconds: 'Giây',
|
||||
type: 'Kiểu',
|
||||
mimeType: 'Mime-Type',
|
||||
download: 'Tải xuống',
|
||||
add: 'Thêm',
|
||||
data: 'Dữ liệu',
|
||||
properties: 'Thuộc tính',
|
||||
insert: 'Nhập',
|
||||
connecting: 'Đang kết nối',
|
||||
name: 'Tên',
|
||||
collation: 'Đối chiếu',
|
||||
clear: 'Xoá',
|
||||
options: 'Tuỳ chọn',
|
||||
autoRefresh: 'Tự động làm mới',
|
||||
indexes: 'Index',
|
||||
foreignKeys: 'Khoá ngoại',
|
||||
length: 'Độ dài',
|
||||
unsigned: 'Unsigned',
|
||||
default: 'Mặc định',
|
||||
comment: 'Nhận xét',
|
||||
key: 'Khoá | Khoá',
|
||||
order: 'Sắp xếp',
|
||||
expression: 'Biểu hiện',
|
||||
autoIncrement: 'Tự động tăng',
|
||||
engine: 'Engine',
|
||||
field: 'Trường | Trường',
|
||||
approximately: 'Khoảng',
|
||||
total: 'Toàn bộ',
|
||||
table: 'Bảng',
|
||||
discard: 'Bỏ',
|
||||
stay: 'Ở lại',
|
||||
author: 'Tác giả',
|
||||
light: 'Sáng',
|
||||
dark: 'Tối',
|
||||
autoCompletion: 'Tự động hoàn thành',
|
||||
application: 'Ứng dụng',
|
||||
editor: 'Người chỉnh sửa',
|
||||
view: 'Xem',
|
||||
definer: 'Định nghĩa',
|
||||
algorithm: 'Thuật toán',
|
||||
trigger: 'Kích hoạt | Kích hoạt',
|
||||
storedRoutine: 'Quy trình đã lưu | Quy trình đã lưu',
|
||||
scheduler: 'Lập lịch trình | Lập lịch trình',
|
||||
event: 'Sự kiện',
|
||||
parameters: 'Tham số',
|
||||
function: 'Chức năng | Chức năng',
|
||||
deterministic: 'Xác định',
|
||||
context: 'Context',
|
||||
export: 'Xuất',
|
||||
returns: 'Returns',
|
||||
timing: 'Thời gian',
|
||||
state: 'Trạng thái',
|
||||
execution: 'Thực thi',
|
||||
starts: 'Bắt đầu',
|
||||
ends: 'Kết thúc',
|
||||
ssl: 'SSL',
|
||||
privateKey: 'Mã khoá riêng tư',
|
||||
certificate: 'Chứng chỉ',
|
||||
caCertificate: 'Chứng chỉ CA',
|
||||
ciphers: 'Ciphers',
|
||||
upload: 'Tải lên',
|
||||
browse: 'Duyệt',
|
||||
faker: 'Faker',
|
||||
content: 'Nội dung',
|
||||
cut: 'Cắt',
|
||||
copy: 'Sao chép',
|
||||
paste: 'Dán',
|
||||
tools: 'Công cụ',
|
||||
variables: 'Biến',
|
||||
processes: 'Quá trình',
|
||||
database: 'Cơ sở dữ liệu',
|
||||
scratchpad: 'Scratchpad',
|
||||
array: 'Mảng',
|
||||
changelog: 'Nhật ký thay đổi',
|
||||
format: 'Định dạng',
|
||||
sshTunnel: 'SSH tunnel',
|
||||
structure: 'Structure',
|
||||
small: 'Nhỏ',
|
||||
medium: 'Vừa',
|
||||
large: 'Lớn',
|
||||
row: 'Hàng | Hàng',
|
||||
cell: 'Ô | Ô',
|
||||
triggerFunction: 'Trigger function | Trigger functions',
|
||||
all: 'Tất cả',
|
||||
duplicate: 'Bản sao',
|
||||
routine: 'Routine',
|
||||
new: 'Mới',
|
||||
history: 'Lịch sử',
|
||||
select: 'Chọn',
|
||||
passphrase: 'Cụm mật khẩu'
|
||||
},
|
||||
message: {
|
||||
appWelcome: 'Chào bạn đến với Antares SQL Client!',
|
||||
appFirstStep: 'Bước đầu tiên: tạo một kết nối tới cơ sở dữ liệu.',
|
||||
addConnection: 'Thêm kết nối',
|
||||
createConnection: 'Tạo kết nối',
|
||||
createNewConnection: 'Tạo kết nối mới',
|
||||
askCredentials: 'Yêu cầu thông tin đăng nhập',
|
||||
testConnection: 'Chạy thử kết nối',
|
||||
editConnection: 'Sửa kết nối',
|
||||
deleteConnection: 'Xoá kết nối',
|
||||
deleteCorfirm: 'Bạn có xác nhận việc hủy bỏ',
|
||||
connectionSuccessfullyMade: 'Kết nối được thực hiện thành công!',
|
||||
madeWithJS: 'Được tạo bằng 💛 và JavaScript!',
|
||||
checkForUpdates: 'Kiểm tra cập nhật',
|
||||
noUpdatesAvailable: 'Không có bản cập nhật nào',
|
||||
checkingForUpdate: 'Đang kiểm tra cập nhật',
|
||||
checkFailure: 'Kiểm tra thất bại, vui lòng thử lại sau',
|
||||
updateAvailable: 'Cập nhật có sẵn',
|
||||
downloadingUpdate: 'Đang tải bản cập nhật',
|
||||
updateDownloaded: 'Đã tải bản cập nhạt',
|
||||
restartToInstall: 'Khởi động lại Antares để cài đặt',
|
||||
unableEditFieldWithoutPrimary: 'Không thể chỉnh sửa trường mà không có khóa chính trong kết quả',
|
||||
editCell: 'Sửa ô',
|
||||
deleteRows: 'Xoá hàng | Xoá {count} hàng',
|
||||
confirmToDeleteRows: 'Bạn có xác nhận xóa một hàng không? | Bạn có xác nhận xóa {count} hàng không?',
|
||||
notificationsTimeout: 'Thông báo hết giờ',
|
||||
uploadFile: 'Tải lên tệp',
|
||||
addNewRow: 'Thêm hàng mới',
|
||||
numberOfInserts: 'Số lần nhập',
|
||||
openNewTab: 'Mở trong tab mới',
|
||||
affectedRows: 'Các hàng bị ảnh hưởng',
|
||||
createNewDatabase: 'Tạo Cơ sở dữ liệu mới',
|
||||
databaseName: 'Tên cơ sở dữ liệu',
|
||||
serverDefault: 'Máy chủ mặc định',
|
||||
deleteDatabase: 'Xoá cơ sở dữ liệu',
|
||||
editDatabase: 'Sửa cơ sở dữ liệu',
|
||||
clearChanges: 'Xóa các thay đổi',
|
||||
addNewField: 'Thêm trường mới',
|
||||
manageIndexes: 'Quản lý index',
|
||||
manageForeignKeys: 'Quản lý khoá ngoại',
|
||||
allowNull: 'Cho phép NULL',
|
||||
zeroFill: 'Không điền',
|
||||
customValue: 'Tuỳ chỉnh giá trị',
|
||||
onUpdate: 'Đang cập nhật',
|
||||
deleteField: 'Xoá trường',
|
||||
createNewIndex: 'Tạo index mới',
|
||||
addToIndex: 'Thêm vào index',
|
||||
createNewTable: 'Tạo bảng mới',
|
||||
emptyTable: 'Bảng trống',
|
||||
deleteTable: 'Xoá bảng',
|
||||
emptyCorfirm: 'Bạn có xác nhận để làm trống không',
|
||||
unsavedChanges: 'Chưa lưu lại thay đổi',
|
||||
discardUnsavedChanges: 'Bạn có một số thay đổi chưa được lưu. Đóng tab này, những thay đổi này sẽ bị huỷ bỏ.',
|
||||
thereAreNoIndexes: 'Không có index',
|
||||
thereAreNoForeign: 'Không có khoá ngoại',
|
||||
createNewForeign: 'Tạo khoá ngoại mới',
|
||||
referenceTable: 'Tham khảo bảng',
|
||||
referenceField: 'Tham khảo trường',
|
||||
foreignFields: 'Trường ngoại',
|
||||
invalidDefault: 'Mặc định không hợp lệ',
|
||||
onDelete: 'Đang xoá',
|
||||
applicationTheme: 'Chủ đề ứng dụng',
|
||||
editorTheme: 'Trình chỉnh sửa chủ đề',
|
||||
wrapLongLines: 'Wrap long lines',
|
||||
selectStatement: 'Chọn câu lệnh',
|
||||
triggerStatement: 'Kích hoạt câu lệnh',
|
||||
sqlSecurity: 'Bảo mật SQL',
|
||||
updateOption: 'Cập nhật tuỳ chọn',
|
||||
deleteView: 'Xóa chế độ xem',
|
||||
createNewView: 'Tạo chế độ xem mới',
|
||||
deleteTrigger: 'Xóa trình kích hoạt',
|
||||
createNewTrigger: 'Tạo trình kích hoạt mới',
|
||||
currentUser: 'Người dùng hiện tại',
|
||||
routineBody: 'Body quy trình',
|
||||
dataAccess: 'Truy cập dữ liệu',
|
||||
thereAreNoParameters: 'Không có tham số',
|
||||
createNewParameter: 'Tạo tham số mới',
|
||||
createNewRoutine: 'Tạo quy trình lưu trữ mới',
|
||||
deleteRoutine: 'Xoá quy trình lưu trữ',
|
||||
functionBody: 'Body chức năng',
|
||||
createNewFunction: 'Tạo chức năng mới',
|
||||
deleteFunction: 'Xoá chức năng',
|
||||
schedulerBody: 'Body trình lập lịch',
|
||||
createNewScheduler: 'Tạo lịch trình mới',
|
||||
deleteScheduler: 'Xóa trình lên lịch',
|
||||
preserveOnCompletion: 'Bảo tồn khi hoàn thành',
|
||||
enableSsl: 'Bật SSL',
|
||||
manualValue: 'Giá trị thủ công',
|
||||
tableFiller: 'Bộ lọc bảng',
|
||||
fakeDataLanguage: 'Ngôn ngữ dữ liệu giả mạo',
|
||||
searchForElements: 'Tìm kiếm yếu tố',
|
||||
selectAll: 'Chọn tất cả',
|
||||
queryDuration: 'Thời lượng truy vấn',
|
||||
includeBetaUpdates: 'Bao gồm các bản cập nhật beta',
|
||||
setNull: 'Đặt NULL',
|
||||
processesList: 'Danh sách quy trình',
|
||||
processInfo: 'Thông tin quá trình',
|
||||
manageUsers: 'Quản lý người dùng',
|
||||
createNewSchema: 'Tạo schema mới',
|
||||
schemaName: 'Tên schema',
|
||||
editSchema: 'Sửa schema',
|
||||
deleteSchema: 'Xoá schema',
|
||||
markdownSupported: 'Hỗ trợ Markdown',
|
||||
plantATree: 'Trồng cây',
|
||||
dataTabPageSize: 'Kích thước trang tab DATA',
|
||||
enableSsh: 'Bật SSH',
|
||||
pageNumber: 'Số trang',
|
||||
duplicateTable: 'Sao chép bản',
|
||||
noOpenTabs: 'Không có tab nào đang mở, điều hướng trên thanh bên trái hoặc:',
|
||||
noSchema: 'Không có schema',
|
||||
restorePreviourSession: 'Khôi phục phiên trước',
|
||||
runQuery: 'Chạy truy vấn',
|
||||
thereAreNoTableFields: 'Không có trường bảng',
|
||||
newTable: 'Bảng mới',
|
||||
newView: 'Chế độ xem mới',
|
||||
newTrigger: 'Trình kích hoạt mới',
|
||||
newRoutine: 'Quy trình mới',
|
||||
newFunction: 'Chức năng mới',
|
||||
newScheduler: 'Bộ lập lịch mới',
|
||||
newTriggerFunction: 'Chức năng kích hoạt mới',
|
||||
thereIsNoQueriesYet: 'Không có truy vấn nào',
|
||||
searchForQueries: 'Tìm kiếm truy vấn',
|
||||
killProcess: 'Huỷ quá trình'
|
||||
},
|
||||
faker: {
|
||||
address: 'Địa chỉ',
|
||||
commerce: 'Thương mại',
|
||||
company: 'Công ty',
|
||||
database: 'Cơ sở dữ liệu',
|
||||
date: 'Ngày',
|
||||
finance: 'Tài chánh',
|
||||
git: 'Git',
|
||||
hacker: 'Tin tặc',
|
||||
internet: 'Mạng Internet',
|
||||
lorem: 'Lorem',
|
||||
name: 'Tên',
|
||||
music: 'Âm nhạc',
|
||||
phone: 'Số điện thoại',
|
||||
random: 'Ngẫu nhiên',
|
||||
system: 'Hệ thống',
|
||||
time: 'Thời gian',
|
||||
vehicle: 'Phương tiện giao thông',
|
||||
zipCode: 'Mã Bưu Chính',
|
||||
zipCodeByState: 'Mã Bưu Chính theo tiểu bang',
|
||||
city: 'Thành phố',
|
||||
cityPrefix: 'Tiền tố thành phố',
|
||||
citySuffix: 'Hậu tố thành phố',
|
||||
streetName: 'Tên đường',
|
||||
streetAddress: 'Địa chỉ đường',
|
||||
streetSuffix: 'Hậu tố đường',
|
||||
streetPrefix: 'Tiền tố đường',
|
||||
secondaryAddress: 'Địa chỉ phụ',
|
||||
county: 'Quận',
|
||||
country: 'Quốc gia',
|
||||
countryCode: 'Mã quốc gia',
|
||||
state: 'Tiểu bang',
|
||||
stateAbbr: 'Viết tắt của tiểu bang',
|
||||
latitude: 'Vĩ độ',
|
||||
longitude: 'Kinh độ',
|
||||
direction: 'Hướng',
|
||||
cardinalDirection: 'Hướng cốt yếu',
|
||||
ordinalDirection: 'Hướng thứ tự',
|
||||
nearbyGPSCoordinate: 'Tọa độ GPS lân cận',
|
||||
timeZone: 'Múi giờ',
|
||||
color: 'Màu',
|
||||
department: 'Phòng',
|
||||
productName: 'Tên sản phẩm',
|
||||
price: 'Giá',
|
||||
productAdjective: 'Tính từ sản phẩm',
|
||||
productMaterial: 'Chất liệu sản phẩm',
|
||||
product: 'Sản phẩm',
|
||||
productDescription: 'Mô tả sản phẩm',
|
||||
suffixes: 'Hậu tố',
|
||||
companyName: 'Tên công ty',
|
||||
companySuffix: 'Hậu tố công ty',
|
||||
catchPhrase: 'Khẩu hiệu',
|
||||
bs: 'BS',
|
||||
catchPhraseAdjective: 'Bắt cụm từ tính từ',
|
||||
catchPhraseDescriptor: 'Bắt bộ mô tả cụm từ',
|
||||
catchPhraseNoun: 'Bắt cụm từ danh từ',
|
||||
bsAdjective: 'BS tính từ',
|
||||
bsBuzz: 'BS buzz',
|
||||
bsNoun: 'BS danh từ',
|
||||
column: 'Cột',
|
||||
type: 'Loại',
|
||||
collation: 'Đối chiếu',
|
||||
engine: 'Engine',
|
||||
past: 'Quá khứ',
|
||||
future: 'Tương lai',
|
||||
between: 'Giữa',
|
||||
recent: 'Gần đây',
|
||||
soon: 'Sớm',
|
||||
month: 'Tháng',
|
||||
weekday: 'Ngày trong tuần',
|
||||
account: 'Tài khoản',
|
||||
accountName: 'Tên tài khoản',
|
||||
routingNumber: 'Số định tuyến',
|
||||
mask: 'Mặt nạ',
|
||||
amount: 'Số tiền',
|
||||
transactionType: 'Loại giao dịch',
|
||||
currencyCode: 'Mã tiền tệ',
|
||||
currencyName: 'Tên tiền tệ',
|
||||
currencySymbol: 'Ký hiệu tiền tệ',
|
||||
bitcoinAddress: 'Địa chỉ Bitcoin',
|
||||
litecoinAddress: 'Địa chỉ Litecoin',
|
||||
creditCardNumber: 'Số thẻ tín dụng',
|
||||
creditCardCVV: 'CVV thẻ tín dụng',
|
||||
ethereumAddress: 'Địa chỉ Ethereum',
|
||||
iban: 'Iban',
|
||||
bic: 'Bic',
|
||||
transactionDescription: 'Mô tả giao dịch',
|
||||
branch: 'Nhánh',
|
||||
commitEntry: 'Nhập cam kết',
|
||||
commitMessage: 'Thông báo cam kết',
|
||||
commitSha: 'Cam kết SHA',
|
||||
shortSha: 'SHA ngắn',
|
||||
abbreviation: 'Viết tắt',
|
||||
adjective: 'Tính từ',
|
||||
noun: 'Danh từ',
|
||||
verb: 'Động từ',
|
||||
ingverb: 'Động từ ing',
|
||||
phrase: 'Cụm từ',
|
||||
avatar: 'Ảnh đại diện',
|
||||
email: 'Email',
|
||||
exampleEmail: 'Email ví dụ',
|
||||
userName: 'Tên người dùng',
|
||||
protocol: 'Giao thức',
|
||||
url: 'Url',
|
||||
domainName: 'Tên miền',
|
||||
domainSuffix: 'Hậu tố miền',
|
||||
domainWord: 'Từ miền',
|
||||
ip: 'Ip',
|
||||
ipv6: 'Ipv6',
|
||||
userAgent: 'User agent',
|
||||
mac: 'Mac',
|
||||
password: 'Mật khẩu',
|
||||
word: 'Từ',
|
||||
words: 'Từ',
|
||||
sentence: 'Câu',
|
||||
slug: 'Slug',
|
||||
sentences: 'Câu',
|
||||
paragraph: 'Đoạn văn',
|
||||
paragraphs: 'Đoạn văn',
|
||||
text: 'Văn bản',
|
||||
lines: 'Dòng',
|
||||
genre: 'Thể loại',
|
||||
firstName: 'Tên',
|
||||
lastName: 'Họ',
|
||||
middleName: 'Tên đệm',
|
||||
findName: 'Tên đầy đủ',
|
||||
jobTitle: 'Chức vụ',
|
||||
gender: 'Giới tính',
|
||||
prefix: 'Tiền tố',
|
||||
suffix: 'Hậu tố',
|
||||
title: 'Tiêu đề',
|
||||
jobDescriptor: 'Mô tả công việc',
|
||||
jobArea: 'Lĩnh vực việc làm',
|
||||
jobType: 'Loại công việc',
|
||||
phoneNumber: 'Số điện thoại',
|
||||
phoneNumberFormat: 'Định dạng số điện thoại',
|
||||
phoneFormats: 'Định dạng điện thoại',
|
||||
number: 'Số',
|
||||
float: 'Float',
|
||||
arrayElement: 'Phân tử array',
|
||||
arrayElements: 'Phân tử array',
|
||||
objectElement: 'Phần tử object',
|
||||
uuid: 'Uuid',
|
||||
boolean: 'Boolean',
|
||||
image: 'Hình ảnh',
|
||||
locale: 'Ngôn ngữ',
|
||||
alpha: 'Alpha',
|
||||
alphaNumeric: 'Chữ và số',
|
||||
hexaDecimal: 'Hệ thập lục phân',
|
||||
fileName: 'File name',
|
||||
commonFileName: 'Tên tệp chung',
|
||||
mimeType: 'Kiểu mine',
|
||||
commonFileType: 'Loại tệp chung',
|
||||
commonFileExt: 'Phần mở rộng tệp chung',
|
||||
fileType: 'Loại tệp',
|
||||
fileExt: 'Phần mở rộng tệp',
|
||||
directoryPath: 'Đường dẫn thư mục',
|
||||
filePath: 'Đường dẫn tệp',
|
||||
semver: 'Semver',
|
||||
manufacturer: 'Manufacturer',
|
||||
model: 'Model',
|
||||
fuel: 'Fuel',
|
||||
vin: 'Vin'
|
||||
}
|
||||
};
|
||||
|
22
src/renderer/index.ejs
Normal file
22
src/renderer/index.ejs
Normal file
@@ -0,0 +1,22 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title></title>
|
||||
<script>
|
||||
global = globalThis
|
||||
</script>
|
||||
<% if (htmlWebpackPlugin.options.nodeModules) { %>
|
||||
<script>
|
||||
require('module').globalPaths.push(
|
||||
`<%= htmlWebpackPlugin.options.nodeModules.replace(/\\/g, '\\\\') %>`
|
||||
)
|
||||
</script>
|
||||
<% } %>
|
||||
</head>
|
||||
<body>
|
||||
<div id="app"></div>
|
||||
<!-- webpack builds are automatically injected -->
|
||||
</body>
|
||||
</html>
|
@@ -13,6 +13,7 @@ import notifications from './modules/notifications.store';
|
||||
|
||||
import ipcUpdates from './plugins/ipcUpdates';
|
||||
import ipcExceptions from './plugins/ipcExceptions';
|
||||
import ipcShortcuts from './plugins/ipcShortcuts';
|
||||
|
||||
Vue.use(Vuex);
|
||||
|
||||
@@ -29,6 +30,7 @@ export default new Vuex.Store({
|
||||
},
|
||||
plugins: [
|
||||
ipcUpdates,
|
||||
ipcExceptions
|
||||
ipcExceptions,
|
||||
ipcShortcuts
|
||||
]
|
||||
});
|
||||
|
12
src/renderer/store/plugins/ipcShortcuts.js
Normal file
12
src/renderer/store/plugins/ipcShortcuts.js
Normal file
@@ -0,0 +1,12 @@
|
||||
import { ipcRenderer } from 'electron';
|
||||
|
||||
export default store => {
|
||||
ipcRenderer.on('toggle-preferences', (event, error) => {
|
||||
store.dispatch('application/showSettingModal', 'general');
|
||||
});
|
||||
|
||||
ipcRenderer.on('open-updates-preferences', (event, error) => {
|
||||
store.dispatch('application/showSettingModal', 'update');
|
||||
ipcRenderer.send('check-for-updates');
|
||||
});
|
||||
};
|
Reference in New Issue
Block a user