mirror of
https://github.com/Fabio286/antares.git
synced 2025-06-05 21:59:22 +02:00
Compare commits
33 Commits
Author | SHA1 | Date | |
---|---|---|---|
0e7b93c2df | |||
843c15e428 | |||
2982b6cb96 | |||
c08946e932 | |||
55c1604e7f | |||
d64fbbad0f | |||
|
c88d734bc0 | ||
|
99d94ea92c | ||
e4f620c5a1 | |||
99f9a9e188 | |||
|
2236c8fe75 | ||
b9a097e2f5 | |||
|
966446afd6 | ||
|
b681adc632 | ||
15d0158993 | |||
e76d324810 | |||
|
897795ddbb | ||
|
c32f463ea5 | ||
|
25e1ba4384 | ||
1bd26ceaa6 | |||
56a0361ed2 | |||
|
c0dd3e0941 | ||
|
33ab5d7491 | ||
72e6a23fd6 | |||
|
fd129a2ad1 | ||
2c63cbc4e8 | |||
c9a33936a0 | |||
a6bdf69a28 | |||
dd971d70e0 | |||
669d7e8d4d | |||
02f204a01d | |||
|
023d7aa92d | ||
4ca40c07d6 |
@@ -174,6 +174,25 @@
|
||||
"contributions": [
|
||||
"translation"
|
||||
]
|
||||
},
|
||||
{
|
||||
"login": "brdtheo",
|
||||
"name": "Théo Billardey",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/48206778?v=4",
|
||||
"profile": "https://codepen.io/theo-billardey",
|
||||
"contributions": [
|
||||
"translation"
|
||||
]
|
||||
},
|
||||
{
|
||||
"login": "dyaskur",
|
||||
"name": "Muhammad Dyas Yaskur",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/9539970?v=4",
|
||||
"profile": "http://yaskur.net",
|
||||
"contributions": [
|
||||
"translation",
|
||||
"code"
|
||||
]
|
||||
}
|
||||
],
|
||||
"contributorsPerLine": 7,
|
||||
|
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@@ -11,7 +11,7 @@ jobs:
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
os: [macos-latest, ubuntu-latest, windows-latest]
|
||||
os: [macos-11, ubuntu-20.04, windows-latest]
|
||||
|
||||
steps:
|
||||
- name: Check out Git repository
|
||||
|
2
.github/workflows/create-artifact-linux.yml
vendored
2
.github/workflows/create-artifact-linux.yml
vendored
@@ -5,7 +5,7 @@ on:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ubuntu-20.04
|
||||
steps:
|
||||
- name: Check out Git repository
|
||||
uses: actions/checkout@v3
|
||||
|
@@ -1,4 +1,4 @@
|
||||
name: Test end-to-end [LINUX]
|
||||
name: Test end-to-end [WINDOWS]
|
||||
|
||||
on: push
|
||||
|
||||
@@ -8,7 +8,7 @@ jobs:
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
os: [ubuntu-latest]
|
||||
os: [windows-latest]
|
||||
|
||||
steps:
|
||||
- name: Check out Git repository
|
19
CHANGELOG.md
19
CHANGELOG.md
@@ -2,6 +2,25 @@
|
||||
|
||||
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
||||
|
||||
### [0.7.1](https://github.com/antares-sql/antares/compare/v0.7.0...v0.7.1) (2022-12-23)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* Copy rows as html table, so we can paste it to spreadsheet ([c32f463](https://github.com/antares-sql/antares/commit/c32f463ea5ac3f54cba32929f77442f1e0ba934a))
|
||||
* option to disable selected query execution, closes [#477](https://github.com/antares-sql/antares/issues/477) ([1bd26ce](https://github.com/antares-sql/antares/commit/1bd26ceaa68fe66f26c76b3b60fa6eeccea91729))
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* bahasa indonesia typos ([897795d](https://github.com/antares-sql/antares/commit/897795ddbb4ade2652b0471f18288b8b3aaf0eb9))
|
||||
* connection default icon not change after client change ([a6bdf69](https://github.com/antares-sql/antares/commit/a6bdf69a281c8614c41274b6dc2f3563aa89c57e))
|
||||
* context submenu outside view when near the edge, fixes [#506](https://github.com/antares-sql/antares/issues/506) ([c08946e](https://github.com/antares-sql/antares/commit/c08946e932884e5f0253df2545f98315ab7e5219))
|
||||
* **i18n:** add missing keys for french translation ([fd129a2](https://github.com/antares-sql/antares/commit/fd129a2ad1c3401372c9172b38f4406254d134df))
|
||||
* **MySQL:** not every connection gets read-only option ([843c15e](https://github.com/antares-sql/antares/commit/843c15e428c4a0412f19a93ab05d2fcbb60da09b))
|
||||
* **UI:** white background dragging connections inside folder on Linux ([dd971d7](https://github.com/antares-sql/antares/commit/dd971d70e04faf0d5b239586b12e4a9a42407433))
|
||||
* white background dragging connections or tabs on Linux, fixes [#486](https://github.com/antares-sql/antares/issues/486) ([669d7e8](https://github.com/antares-sql/antares/commit/669d7e8d4d062ed5bdafe1d5cde8ec51a2f68b26))
|
||||
|
||||
## [0.7.0](https://github.com/antares-sql/antares/compare/v0.6.0...v0.7.0) (2022-11-30)
|
||||
|
||||
|
||||
|
52
README.md
52
README.md
@@ -116,30 +116,34 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
|
||||
<!-- prettier-ignore-start -->
|
||||
<!-- markdownlint-disable -->
|
||||
<table>
|
||||
<tr>
|
||||
<td align="center"><a href="https://fabiodistasio.it/"><img src="https://avatars.githubusercontent.com/u/31471771?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Fabio Di Stasio</b></sub></a><br /><a href="https://github.com/antares-sql/antares/commits?author=Fabio286" title="Code">💻</a> <a href="#translation-Fabio286" title="Translation">🌍</a> <a href="https://github.com/antares-sql/antares/commits?author=Fabio286" title="Documentation">📖</a></td>
|
||||
<td align="center"><a href="https://www.linkedin.com/in/giulioganci/"><img src="https://avatars.githubusercontent.com/u/4192159?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Giulio Ganci</b></sub></a><br /><a href="https://github.com/antares-sql/antares/commits?author=toriphes" title="Code">💻</a></td>
|
||||
<td align="center"><a href="https://christianratz.de/"><img src="https://avatars.githubusercontent.com/u/2630316?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Christian Ratz</b></sub></a><br /><a href="https://github.com/antares-sql/antares/commits?author=digitalgopnik" title="Code">💻</a> <a href="#translation-digitalgopnik" title="Translation">🌍</a></td>
|
||||
<td align="center"><a href="https://reverb6821.github.io/"><img src="https://avatars.githubusercontent.com/u/55198803?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Giuseppe Gigliotti</b></sub></a><br /><a href="#translation-reverb6821" title="Translation">🌍</a></td>
|
||||
<td align="center"><a href="https://github.com/Mohd-PH"><img src="https://avatars.githubusercontent.com/u/9362157?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Mohd-PH</b></sub></a><br /><a href="#translation-Mohd-PH" title="Translation">🌍</a></td>
|
||||
<td align="center"><a href="https://github.com/hongkfui"><img src="https://avatars.githubusercontent.com/u/37477191?v=4?s=100" width="100px;" alt=""/><br /><sub><b>hongkfui</b></sub></a><br /><a href="#translation-hongkfui" title="Translation">🌍</a></td>
|
||||
<td align="center"><a href="https://github.com/MrAnyx"><img src="https://avatars.githubusercontent.com/u/44176707?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Robin</b></sub></a><br /><a href="#translation-MrAnyx" title="Translation">🌍</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center"><a href="https://github.com/daeleduardo"><img src="https://avatars.githubusercontent.com/u/8599078?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Daniel Eduardo</b></sub></a><br /><a href="#translation-daeleduardo" title="Translation">🌍</a></td>
|
||||
<td align="center"><a href="https://ngoquocdat.com/"><img src="https://avatars.githubusercontent.com/u/56961917?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Ngô Quốc Đạt</b></sub></a><br /><a href="#translation-datlechin" title="Translation">🌍</a></td>
|
||||
<td align="center"><a href="https://github.com/IsamuSugi"><img src="https://avatars.githubusercontent.com/u/7746658?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Isamu Sugiura</b></sub></a><br /><a href="#translation-IsamuSugi" title="Translation">🌍</a></td>
|
||||
<td align="center"><a href="http://rsacchetto.nexxontech.it/"><img src="https://avatars.githubusercontent.com/u/18429412?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Riccardo Sacchetto</b></sub></a><br /><a href="#platform-Occhioverde" title="Packaging/porting to new platform">📦</a></td>
|
||||
<td align="center"><a href="https://kilianstallinger.com"><img src="https://avatars.githubusercontent.com/u/5290318?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Kilian Stallinger</b></sub></a><br /><a href="https://github.com/antares-sql/antares/commits?author=kilianstallz" title="Code">💻</a></td>
|
||||
<td align="center"><a href="https://github.com/wenj91"><img src="https://avatars.githubusercontent.com/u/12549338?v=4?s=100" width="100px;" alt=""/><br /><sub><b>文杰</b></sub></a><br /><a href="https://github.com/antares-sql/antares/commits?author=wenj91" title="Code">💻</a></td>
|
||||
<td align="center"><a href="https://github.com/goYou"><img src="https://avatars.githubusercontent.com/u/62732795?v=4?s=100" width="100px;" alt=""/><br /><sub><b>goYou</b></sub></a><br /><a href="#translation-goYou" title="Translation">🌍</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center"><a href="https://github.com/raliqala"><img src="https://avatars.githubusercontent.com/u/30502407?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Topollo</b></sub></a><br /><a href="https://github.com/antares-sql/antares/commits?author=raliqala" title="Code">💻</a></td>
|
||||
<td align="center"><a href="https://github.com/SmileYzn"><img src="https://avatars.githubusercontent.com/u/5851851?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Cleverson</b></sub></a><br /><a href="#translation-SmileYzn" title="Translation">🌍</a></td>
|
||||
<td align="center"><a href="https://github.com/fredatgithub"><img src="https://avatars.githubusercontent.com/u/6720055?v=4?s=100" width="100px;" alt=""/><br /><sub><b>fred</b></sub></a><br /><a href="#translation-fredatgithub" title="Translation">🌍</a></td>
|
||||
<td align="center"><a href="https://github.com/xak666"><img src="https://avatars.githubusercontent.com/u/38811437?v=4?s=100" width="100px;" alt=""/><br /><sub><b>xaka_xak</b></sub></a><br /><a href="#translation-xak666" title="Translation">🌍</a></td>
|
||||
</tr>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td align="center"><a href="https://fabiodistasio.it/"><img src="https://avatars.githubusercontent.com/u/31471771?v=4?s=100" width="100px;" alt="Fabio Di Stasio"/><br /><sub><b>Fabio Di Stasio</b></sub></a><br /><a href="https://github.com/antares-sql/antares/commits?author=Fabio286" title="Code">💻</a> <a href="#translation-Fabio286" title="Translation">🌍</a> <a href="https://github.com/antares-sql/antares/commits?author=Fabio286" title="Documentation">📖</a></td>
|
||||
<td align="center"><a href="https://www.linkedin.com/in/giulioganci/"><img src="https://avatars.githubusercontent.com/u/4192159?v=4?s=100" width="100px;" alt="Giulio Ganci"/><br /><sub><b>Giulio Ganci</b></sub></a><br /><a href="https://github.com/antares-sql/antares/commits?author=toriphes" title="Code">💻</a></td>
|
||||
<td align="center"><a href="https://christianratz.de/"><img src="https://avatars.githubusercontent.com/u/2630316?v=4?s=100" width="100px;" alt="Christian Ratz"/><br /><sub><b>Christian Ratz</b></sub></a><br /><a href="https://github.com/antares-sql/antares/commits?author=digitalgopnik" title="Code">💻</a> <a href="#translation-digitalgopnik" title="Translation">🌍</a></td>
|
||||
<td align="center"><a href="https://reverb6821.github.io/"><img src="https://avatars.githubusercontent.com/u/55198803?v=4?s=100" width="100px;" alt="Giuseppe Gigliotti"/><br /><sub><b>Giuseppe Gigliotti</b></sub></a><br /><a href="#translation-reverb6821" title="Translation">🌍</a></td>
|
||||
<td align="center"><a href="https://github.com/Mohd-PH"><img src="https://avatars.githubusercontent.com/u/9362157?v=4?s=100" width="100px;" alt="Mohd-PH"/><br /><sub><b>Mohd-PH</b></sub></a><br /><a href="#translation-Mohd-PH" title="Translation">🌍</a></td>
|
||||
<td align="center"><a href="https://github.com/hongkfui"><img src="https://avatars.githubusercontent.com/u/37477191?v=4?s=100" width="100px;" alt="hongkfui"/><br /><sub><b>hongkfui</b></sub></a><br /><a href="#translation-hongkfui" title="Translation">🌍</a></td>
|
||||
<td align="center"><a href="https://github.com/MrAnyx"><img src="https://avatars.githubusercontent.com/u/44176707?v=4?s=100" width="100px;" alt="Robin"/><br /><sub><b>Robin</b></sub></a><br /><a href="#translation-MrAnyx" title="Translation">🌍</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center"><a href="https://github.com/daeleduardo"><img src="https://avatars.githubusercontent.com/u/8599078?v=4?s=100" width="100px;" alt="Daniel Eduardo"/><br /><sub><b>Daniel Eduardo</b></sub></a><br /><a href="#translation-daeleduardo" title="Translation">🌍</a></td>
|
||||
<td align="center"><a href="https://ngoquocdat.com/"><img src="https://avatars.githubusercontent.com/u/56961917?v=4?s=100" width="100px;" alt="Ngô Quốc Đạt"/><br /><sub><b>Ngô Quốc Đạt</b></sub></a><br /><a href="#translation-datlechin" title="Translation">🌍</a></td>
|
||||
<td align="center"><a href="https://github.com/IsamuSugi"><img src="https://avatars.githubusercontent.com/u/7746658?v=4?s=100" width="100px;" alt="Isamu Sugiura"/><br /><sub><b>Isamu Sugiura</b></sub></a><br /><a href="#translation-IsamuSugi" title="Translation">🌍</a></td>
|
||||
<td align="center"><a href="http://rsacchetto.nexxontech.it/"><img src="https://avatars.githubusercontent.com/u/18429412?v=4?s=100" width="100px;" alt="Riccardo Sacchetto"/><br /><sub><b>Riccardo Sacchetto</b></sub></a><br /><a href="#platform-Occhioverde" title="Packaging/porting to new platform">📦</a></td>
|
||||
<td align="center"><a href="https://kilianstallinger.com"><img src="https://avatars.githubusercontent.com/u/5290318?v=4?s=100" width="100px;" alt="Kilian Stallinger"/><br /><sub><b>Kilian Stallinger</b></sub></a><br /><a href="https://github.com/antares-sql/antares/commits?author=kilianstallz" title="Code">💻</a></td>
|
||||
<td align="center"><a href="https://github.com/wenj91"><img src="https://avatars.githubusercontent.com/u/12549338?v=4?s=100" width="100px;" alt="文杰"/><br /><sub><b>文杰</b></sub></a><br /><a href="https://github.com/antares-sql/antares/commits?author=wenj91" title="Code">💻</a></td>
|
||||
<td align="center"><a href="https://github.com/goYou"><img src="https://avatars.githubusercontent.com/u/62732795?v=4?s=100" width="100px;" alt="goYou"/><br /><sub><b>goYou</b></sub></a><br /><a href="#translation-goYou" title="Translation">🌍</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center"><a href="https://github.com/raliqala"><img src="https://avatars.githubusercontent.com/u/30502407?v=4?s=100" width="100px;" alt="Topollo"/><br /><sub><b>Topollo</b></sub></a><br /><a href="https://github.com/antares-sql/antares/commits?author=raliqala" title="Code">💻</a></td>
|
||||
<td align="center"><a href="https://github.com/SmileYzn"><img src="https://avatars.githubusercontent.com/u/5851851?v=4?s=100" width="100px;" alt="Cleverson"/><br /><sub><b>Cleverson</b></sub></a><br /><a href="#translation-SmileYzn" title="Translation">🌍</a></td>
|
||||
<td align="center"><a href="https://github.com/fredatgithub"><img src="https://avatars.githubusercontent.com/u/6720055?v=4?s=100" width="100px;" alt="fred"/><br /><sub><b>fred</b></sub></a><br /><a href="#translation-fredatgithub" title="Translation">🌍</a></td>
|
||||
<td align="center"><a href="https://github.com/xak666"><img src="https://avatars.githubusercontent.com/u/38811437?v=4?s=100" width="100px;" alt="xaka_xak"/><br /><sub><b>xaka_xak</b></sub></a><br /><a href="#translation-xak666" title="Translation">🌍</a></td>
|
||||
<td align="center"><a href="https://codepen.io/theo-billardey"><img src="https://avatars.githubusercontent.com/u/48206778?v=4?s=100" width="100px;" alt="Théo Billardey"/><br /><sub><b>Théo Billardey</b></sub></a><br /><a href="#translation-brdtheo" title="Translation">🌍</a></td>
|
||||
<td align="center"><a href="http://yaskur.net"><img src="https://avatars.githubusercontent.com/u/9539970?v=4?s=100" width="100px;" alt="Muhammad Dyas Yaskur"/><br /><sub><b>Muhammad Dyas Yaskur</b></sub></a><br /><a href="#translation-dyaskur" title="Translation">🌍</a> <a href="https://github.com/antares-sql/antares/commits?author=dyaskur" title="Code">💻</a></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<!-- markdownlint-restore -->
|
||||
|
7741
package-lock.json
generated
7741
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
22
package.json
22
package.json
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "antares",
|
||||
"productName": "Antares",
|
||||
"version": "0.7.0",
|
||||
"version": "0.7.1",
|
||||
"description": "A modern, fast and productivity driven SQL client with a focus in UX.",
|
||||
"license": "MIT",
|
||||
"repository": "https://github.com/antares-sql/antares.git",
|
||||
@@ -124,7 +124,7 @@
|
||||
"@mdi/font": "~7.0.96",
|
||||
"@turf/helpers": "~6.5.0",
|
||||
"@vueuse/core": "~8.7.5",
|
||||
"ace-builds": "~1.8.1",
|
||||
"ace-builds": "~1.14.0",
|
||||
"better-sqlite3": "~8.0.0",
|
||||
"electron-log": "~4.4.1",
|
||||
"electron-store": "~8.0.1",
|
||||
@@ -136,7 +136,7 @@
|
||||
"marked": "~4.0.19",
|
||||
"moment": "~2.29.4",
|
||||
"mysql2": "~2.3.2",
|
||||
"node-firebird": "~1.1.3",
|
||||
"node-firebird": "~1.1.4",
|
||||
"pg": "~8.7.1",
|
||||
"pg-connection-string": "~2.5.0",
|
||||
"pg-query-stream": "~4.2.3",
|
||||
@@ -144,10 +144,10 @@
|
||||
"pinia": "~2.0.23",
|
||||
"source-map-support": "~0.5.20",
|
||||
"spectre.css": "~0.5.9",
|
||||
"sql-formatter": "~11.0.2",
|
||||
"sql-formatter": "~12.0.3",
|
||||
"ssh2-promise": "~1.0.2",
|
||||
"v-mask": "~2.3.0",
|
||||
"vue": "~3.2.40",
|
||||
"vue": "~3.2.45",
|
||||
"vue-i18n": "~9.2.2",
|
||||
"vuedraggable": "~4.1.0"
|
||||
},
|
||||
@@ -155,7 +155,7 @@
|
||||
"@babel/eslint-parser": "~7.15.7",
|
||||
"@babel/preset-env": "~7.15.8",
|
||||
"@babel/preset-typescript": "~7.16.7",
|
||||
"@playwright/test": "~1.21.1",
|
||||
"@playwright/test": "~1.28.1",
|
||||
"@types/better-sqlite3": "~7.5.0",
|
||||
"@types/leaflet": "~1.7.9",
|
||||
"@types/marked": "~4.0.7",
|
||||
@@ -169,8 +169,8 @@
|
||||
"chalk": "~4.1.2",
|
||||
"cross-env": "~7.0.2",
|
||||
"css-loader": "~6.5.0",
|
||||
"electron": "~19.1.2",
|
||||
"electron-builder": "~23.0.3",
|
||||
"electron": "~22.0.0",
|
||||
"electron-builder": "~22.10.3",
|
||||
"eslint": "~7.32.0",
|
||||
"eslint-config-standard": "~16.0.3",
|
||||
"eslint-plugin-import": "~2.24.2",
|
||||
@@ -181,8 +181,8 @@
|
||||
"html-webpack-plugin": "~5.5.0",
|
||||
"mini-css-extract-plugin": "~2.4.5",
|
||||
"node-loader": "~2.0.0",
|
||||
"playwright": "~1.21.1",
|
||||
"playwright-core": "~1.21.1",
|
||||
"playwright": "~1.28.1",
|
||||
"playwright-core": "~1.28.1",
|
||||
"postcss-html": "~1.5.0",
|
||||
"progress-webpack-plugin": "~1.0.12",
|
||||
"rimraf": "~3.0.2",
|
||||
@@ -202,7 +202,7 @@
|
||||
"vue-loader": "~16.8.3",
|
||||
"webpack": "~5.72.0",
|
||||
"webpack-cli": "~4.9.1",
|
||||
"webpack-dev-server": "~4.4.0",
|
||||
"webpack-dev-server": "~4.11.1",
|
||||
"xvfb-maybe": "~0.2.1"
|
||||
}
|
||||
}
|
||||
|
@@ -1047,7 +1047,7 @@ export class FirebirdSQLClient extends AntaresCore {
|
||||
connection = await this.getConnection();
|
||||
|
||||
const transaction = await new Promise<firebird.Transaction>((resolve, reject) => {
|
||||
(connection as firebird.Database).transaction(firebird.ISOLATION_READ_COMMITED, (err, transaction) => {
|
||||
(connection as firebird.Database).transaction(firebird.ISOLATION_READ_COMMITTED, (err, transaction) => {
|
||||
if (err) reject(err);
|
||||
else resolve(transaction);
|
||||
});
|
||||
|
@@ -225,6 +225,9 @@ export class MySQLClient extends AntaresCore {
|
||||
if (hasAnsiQuotes)
|
||||
await connection.query(`SET SESSION sql_mode = '${sqlMode.filter((m: string) => !['ANSI', 'ANSI_QUOTES'].includes(m)).join(',')}'`);
|
||||
|
||||
if (this._params.readonly)
|
||||
await connection.query('SET SESSION TRANSACTION READ ONLY');
|
||||
|
||||
connection.on('connection', conn => {
|
||||
if (this._params.readonly)
|
||||
conn.query('SET SESSION TRANSACTION READ ONLY');
|
||||
|
@@ -37,6 +37,7 @@ async function createMainWindow () {
|
||||
webPreferences: {
|
||||
nodeIntegration: true,
|
||||
contextIsolation: false,
|
||||
devTools: isDevelopment,
|
||||
spellcheck: false
|
||||
},
|
||||
autoHideMenuBar: true,
|
||||
|
@@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<div class="context" :class="{'bottom': isBottom}">
|
||||
<div class="context" :class="[{ 'bottom': isBottom }, { 'right': isRight }]">
|
||||
<a
|
||||
class="context-overlay"
|
||||
@click="close"
|
||||
@@ -19,9 +19,10 @@
|
||||
import { computed, onBeforeUnmount, onMounted, Ref, ref } from 'vue';
|
||||
|
||||
const contextContent: Ref<HTMLDivElement> = ref(null);
|
||||
const contextSize: Ref<DOMRect> = ref(null);
|
||||
const contextSize: Ref<{height: number; width: number; subHeight?: number; subWidth?: number}> = ref(null);
|
||||
const isBottom: Ref<boolean> = ref(false);
|
||||
const props = defineProps<{contextEvent: MouseEvent}>();
|
||||
const isRight: Ref<boolean> = ref(false);
|
||||
const props = defineProps<{ contextEvent: MouseEvent }>();
|
||||
const emit = defineEmits(['close-context']);
|
||||
|
||||
const position = computed(() => {
|
||||
@@ -39,8 +40,16 @@ const position = computed(() => {
|
||||
isBottom.value = true;
|
||||
}
|
||||
|
||||
if (clientX + contextSize.value.width + 5 >= window.innerWidth)
|
||||
if (clientY + contextSize.value.subHeight + contextSize.value.height >= window.innerHeight)
|
||||
isBottom.value = true;
|
||||
|
||||
if (clientX + contextSize.value.width + 5 >= window.innerWidth) {
|
||||
leftCord = `${clientX - contextSize.value.width}px`;
|
||||
isRight.value = true;
|
||||
}
|
||||
|
||||
if (clientX + contextSize.value.subWidth + contextSize.value.width >= window.innerWidth)
|
||||
isRight.value = true;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -62,8 +71,20 @@ const onKey = (e: KeyboardEvent) => {
|
||||
window.addEventListener('keydown', onKey);
|
||||
|
||||
onMounted(() => {
|
||||
if (contextContent.value)
|
||||
if (contextContent.value) {
|
||||
contextSize.value = contextContent.value.getBoundingClientRect();
|
||||
|
||||
const submenus = contextContent.value.querySelectorAll<HTMLDivElement>('.context-submenu');
|
||||
|
||||
for (const submenu of submenus) {
|
||||
const submenuSize = submenu.getBoundingClientRect();
|
||||
|
||||
if (!contextSize.value.subHeight || submenuSize.height > contextSize.value.subHeight)
|
||||
contextSize.value.subHeight = submenuSize.height;
|
||||
if (!contextSize.value.subWidth || submenuSize.width > contextSize.value.subWidth)
|
||||
contextSize.value.subWidth = submenuSize.width;
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
onBeforeUnmount(() => {
|
||||
@@ -73,88 +94,94 @@ onBeforeUnmount(() => {
|
||||
|
||||
<style lang="scss">
|
||||
.context {
|
||||
display: flex;
|
||||
font-size: 16px;
|
||||
z-index: 400;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
overflow: hidden;
|
||||
position: fixed;
|
||||
height: 100vh;
|
||||
right: 0;
|
||||
top: 0;
|
||||
left: 0;
|
||||
bottom: 0;
|
||||
display: flex;
|
||||
font-size: 16px;
|
||||
z-index: 400;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
overflow: hidden;
|
||||
position: fixed;
|
||||
height: 100vh;
|
||||
right: 0;
|
||||
top: 0;
|
||||
left: 0;
|
||||
bottom: 0;
|
||||
|
||||
&:not(.bottom) .context-submenu {
|
||||
top: -0.2rem;
|
||||
}
|
||||
&:not(.bottom) .context-submenu {
|
||||
top: -0.2rem;
|
||||
}
|
||||
|
||||
&.bottom .context-submenu {
|
||||
bottom: -0.2rem;
|
||||
}
|
||||
&.bottom .context-submenu {
|
||||
bottom: -0.2rem;
|
||||
}
|
||||
|
||||
.context-container {
|
||||
min-width: 100px;
|
||||
z-index: 10;
|
||||
padding: 0;
|
||||
background: #1d1d1d;
|
||||
border-radius: $border-radius;
|
||||
border: 1px solid $bg-color-light-dark;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
position: absolute;
|
||||
pointer-events: initial;
|
||||
&:not(.right) .context-submenu {
|
||||
left: 100%;
|
||||
}
|
||||
|
||||
.context-element {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
margin: 0.2rem;
|
||||
padding: 0.1rem 0.3rem;
|
||||
&.right .context-submenu {
|
||||
right: 100%;
|
||||
}
|
||||
|
||||
.context-container {
|
||||
min-width: 100px;
|
||||
z-index: 10;
|
||||
padding: 0;
|
||||
background: #1d1d1d;
|
||||
border-radius: $border-radius;
|
||||
cursor: pointer;
|
||||
justify-content: space-between;
|
||||
position: relative;
|
||||
white-space: nowrap;
|
||||
border: 1px solid $bg-color-light-dark;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
position: absolute;
|
||||
pointer-events: initial;
|
||||
|
||||
.context-submenu {
|
||||
border-radius: $border-radius;
|
||||
border: 1px solid $bg-color-light-dark;
|
||||
opacity: 0;
|
||||
visibility: hidden;
|
||||
transition: opacity 0.2s;
|
||||
position: absolute;
|
||||
left: 100%;
|
||||
min-width: 100px;
|
||||
background: #1d1d1d;
|
||||
.context-element {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
margin: 0.2rem;
|
||||
padding: 0.1rem 0.3rem;
|
||||
border-radius: $border-radius;
|
||||
cursor: pointer;
|
||||
justify-content: space-between;
|
||||
position: relative;
|
||||
white-space: nowrap;
|
||||
|
||||
.context-submenu {
|
||||
border-radius: $border-radius;
|
||||
border: 1px solid $bg-color-light-dark;
|
||||
opacity: 0;
|
||||
visibility: hidden;
|
||||
transition: opacity 0.2s;
|
||||
position: absolute;
|
||||
min-width: 100px;
|
||||
background: #1d1d1d;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
.context-submenu {
|
||||
display: block;
|
||||
visibility: visible;
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&:hover {
|
||||
.context-submenu {
|
||||
display: block;
|
||||
visibility: visible;
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.context-overlay {
|
||||
background: transparent;
|
||||
bottom: 0;
|
||||
cursor: default;
|
||||
display: block;
|
||||
left: 0;
|
||||
position: absolute;
|
||||
right: 0;
|
||||
top: 0;
|
||||
}
|
||||
.context-overlay {
|
||||
background: transparent;
|
||||
bottom: 0;
|
||||
cursor: default;
|
||||
display: block;
|
||||
left: 0;
|
||||
position: absolute;
|
||||
right: 0;
|
||||
top: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.disabled {
|
||||
pointer-events: none;
|
||||
filter: grayscale(100%);
|
||||
opacity: 0.5;
|
||||
pointer-events: none;
|
||||
filter: grayscale(100%);
|
||||
opacity: 0.5;
|
||||
}
|
||||
|
||||
</style>
|
||||
|
@@ -86,7 +86,7 @@
|
||||
/>
|
||||
</div>
|
||||
<div class="col-4 col-sm-12 px-2 p-vcentered">
|
||||
<small class="d-block" style="line-height: 1.1; font-size: 70%;">
|
||||
<small class="d-block" :style="'line-height: 1.1; font-size: 70%;'">
|
||||
{{ t('message.missingOrIncompleteTranslation') }}<br>
|
||||
<a class="text-bold c-hand" @click="openOutside('https://github.com/antares-sql/antares/wiki/Translate-Antares')">{{ t('message.findOutHowToContribute') }}</a>
|
||||
</small>
|
||||
@@ -196,6 +196,19 @@
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group column col-12 mb-0">
|
||||
<div class="col-5 col-sm-12">
|
||||
<label class="form-label">
|
||||
{{ t('message.executeSelectedQuery') }}
|
||||
</label>
|
||||
</div>
|
||||
<div class="col-3 col-sm-12">
|
||||
<label class="form-switch d-inline-block" @click.prevent="toggleExecuteSelected">
|
||||
<input type="checkbox" :checked="selectedExecuteSelected">
|
||||
<i class="form-icon" />
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
@@ -379,6 +392,7 @@ const {
|
||||
dataTabLimit: pageSize,
|
||||
autoComplete: selectedAutoComplete,
|
||||
lineWrap: selectedLineWrap,
|
||||
executeSelected: selectedExecuteSelected,
|
||||
notificationsTimeout,
|
||||
restoreTabs,
|
||||
disableBlur,
|
||||
@@ -398,6 +412,7 @@ const {
|
||||
changeDisableScratchpad,
|
||||
changeAutoComplete,
|
||||
changeLineWrap,
|
||||
changeExecuteSelected,
|
||||
changeApplicationTheme,
|
||||
changeEditorTheme,
|
||||
changeEditorFontSize,
|
||||
@@ -550,6 +565,10 @@ const toggleLineWrap = () => {
|
||||
changeLineWrap(!selectedLineWrap.value);
|
||||
};
|
||||
|
||||
const toggleExecuteSelected = () => {
|
||||
changeExecuteSelected(!selectedExecuteSelected.value);
|
||||
};
|
||||
|
||||
localLocale.value = selectedLocale.value;
|
||||
localPageSize.value = pageSize.value as number;
|
||||
localTimeout.value = notificationsTimeout.value as number;
|
||||
|
@@ -26,7 +26,7 @@
|
||||
content: getConnectionName(element.uid)
|
||||
}"
|
||||
class="settingbar-element btn btn-link"
|
||||
:class="{ 'selected': element.uid === selectedWorkspace }"
|
||||
:class="{ 'selected': element.uid === selectedWorkspace && coveredElement !== element.uid }"
|
||||
placement="right"
|
||||
strategy="fixed"
|
||||
@click.stop="selectWorkspace(element.uid)"
|
||||
|
@@ -258,6 +258,14 @@ emit('folder-sort');// To apply changes on component key change
|
||||
max-height: initial;
|
||||
background: transparent;
|
||||
|
||||
&.ghost {
|
||||
background: $bg-color-light-dark;
|
||||
&.selected::before {
|
||||
height: 0;
|
||||
position: absolute;
|
||||
}
|
||||
}
|
||||
|
||||
&.selected {
|
||||
opacity: 1;
|
||||
|
||||
|
@@ -190,6 +190,18 @@ if (!connectionsArr.value.length)
|
||||
|
||||
li {
|
||||
margin: 0;
|
||||
background: $bg-color-light-dark;
|
||||
|
||||
&.ghost {
|
||||
border-radius: $border-radius;
|
||||
|
||||
.settingbar-element {
|
||||
&.selected::before {
|
||||
height: 0;
|
||||
width: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.settingbar-element {
|
||||
|
@@ -45,7 +45,7 @@ const workspace = computed(() => {
|
||||
changeBreadcrumbs({ schema: workspace.value.breadcrumbs.schema });
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
<style lang="scss" scoped>
|
||||
.empty {
|
||||
height: 100%;
|
||||
border-radius: 0;
|
||||
|
@@ -198,6 +198,7 @@ import WorkspaceTabQueryEmptyState from '@/components/WorkspaceTabQueryEmptyStat
|
||||
import ModalHistory from '@/components/ModalHistory.vue';
|
||||
import BaseSelect from '@/components/BaseSelect.vue';
|
||||
import { ipcRenderer } from 'electron';
|
||||
import { useSettingsStore } from '@/stores/settings';
|
||||
|
||||
const { t } = useI18n();
|
||||
|
||||
@@ -222,6 +223,7 @@ const { addNotification } = useNotificationsStore();
|
||||
const workspacesStore = useWorkspacesStore();
|
||||
|
||||
const { consoleHeight } = storeToRefs(useConsoleStore());
|
||||
const { executeSelected } = storeToRefs(useSettingsStore());
|
||||
|
||||
const {
|
||||
getWorkspace,
|
||||
@@ -290,8 +292,10 @@ const runQuery = async (query: string) => {
|
||||
if (!query || isQuering.value) return;
|
||||
isQuering.value = true;
|
||||
|
||||
const selectedQuery = queryEditor.value.editor.getSelectedText();
|
||||
if (selectedQuery) query = selectedQuery;
|
||||
if (executeSelected.value) {
|
||||
const selectedQuery = queryEditor.value.editor.getSelectedText();
|
||||
if (selectedQuery) query = selectedQuery;
|
||||
}
|
||||
|
||||
clearTabData();
|
||||
queryTable.value.resetSort();
|
||||
|
@@ -465,6 +465,42 @@ const copyRow = (format: string) => {
|
||||
|
||||
navigator.clipboard.writeText(csv.join('\n'));
|
||||
}
|
||||
else if (format === 'html') {
|
||||
const arrayContent = new Array<string[]>();
|
||||
if (!Array.isArray(contentToCopy)) contentToCopy = [contentToCopy];
|
||||
|
||||
for (const row of contentToCopy)
|
||||
arrayContent.push(Object.values(row));
|
||||
|
||||
const htmlContent = createHtmlTable(arrayContent);
|
||||
const htmlBlob = new Blob([htmlContent.outerHTML], { type: 'text/html' });
|
||||
const textBlob = new Blob([arrayContent.map(row => row.join('\t')).join('\n')], { type: 'text/plain' });
|
||||
const data = [new ClipboardItem({
|
||||
'text/plain': textBlob,
|
||||
'text/html': htmlBlob
|
||||
})];
|
||||
|
||||
navigator.clipboard.write(data);
|
||||
}
|
||||
};
|
||||
|
||||
const createHtmlTable = (tableData: Array<string[]>) => {
|
||||
const table = document.createElement('table');
|
||||
const tableBody = document.createElement('tbody');
|
||||
tableData.forEach(function (rowData: Array<string>) {
|
||||
const row = document.createElement('tr');
|
||||
|
||||
rowData.forEach(function (cellData: string) {
|
||||
const cell = document.createElement('td');
|
||||
cell.appendChild(document.createTextNode(cellData));
|
||||
row.appendChild(cell);
|
||||
});
|
||||
|
||||
tableBody.appendChild(row);
|
||||
});
|
||||
|
||||
table.appendChild(tableBody);
|
||||
return table;
|
||||
};
|
||||
|
||||
const fillCell = (event: { name: string; group: string; type: string }) => {
|
||||
|
@@ -16,6 +16,11 @@
|
||||
<i class="mdi mdi-18px mdi-numeric-0 mdi-rotate-90 text-light pr-1" /> {{ t('word.cell', 1) }}
|
||||
</span>
|
||||
</div>
|
||||
<div class="context-element" @click="copyRow('html')">
|
||||
<span class="d-flex">
|
||||
<i class="mdi mdi-18px mdi-table-row text-light pr-1" /> {{ t('word.row', selectedRows.length) }} ({{ t('word.table') }})
|
||||
</span>
|
||||
</div>
|
||||
<div class="context-element" @click="copyRow('json')">
|
||||
<span class="d-flex">
|
||||
<i class="mdi mdi-18px mdi-table-row text-light pr-1" /> {{ t('word.row', selectedRows.length) }} (JSON)
|
||||
|
@@ -332,7 +332,8 @@ export const enUS = {
|
||||
editFolder: 'Edit folder',
|
||||
folderName: 'Folder name',
|
||||
deleteFolder: 'Delete folder',
|
||||
editConnectionAppearence: 'Edit connection appearence'
|
||||
editConnectionAppearence: 'Edit connection appearence',
|
||||
executeSelectedQuery: 'Execute selected query'
|
||||
},
|
||||
faker: {
|
||||
address: 'Address',
|
||||
|
@@ -13,23 +13,23 @@ export const frFR = {
|
||||
port: 'Port',
|
||||
user: 'Utilisateur',
|
||||
password: 'Mot de passe',
|
||||
credentials: 'Credentials',
|
||||
credentials: 'Identifiants',
|
||||
connect: 'Connexion',
|
||||
connected: 'Connecté',
|
||||
disconnect: 'Déconnection',
|
||||
disconnected: 'Déconnecté',
|
||||
refresh: 'Rafrechir',
|
||||
refresh: 'Rafraîchir',
|
||||
settings: 'Paramètres',
|
||||
general: 'Général',
|
||||
themes: 'Thèmes',
|
||||
update: 'Mise à jour',
|
||||
about: 'A propos de',
|
||||
about: 'À propos de',
|
||||
language: 'Langage',
|
||||
version: 'Version',
|
||||
donate: 'Faire une donation',
|
||||
run: 'Lancer',
|
||||
run: 'Éxécuter',
|
||||
schema: 'Schéma',
|
||||
results: 'Resultats',
|
||||
results: 'Résultats',
|
||||
size: 'Taille',
|
||||
seconds: 'Secondes',
|
||||
type: 'Type',
|
||||
@@ -44,14 +44,14 @@ export const frFR = {
|
||||
collation: 'Langage',
|
||||
clear: 'Effacer',
|
||||
options: 'Options',
|
||||
autoRefresh: 'Auto-rafraichissemnt',
|
||||
autoRefresh: 'Auto-rafraîchissemnt',
|
||||
indexes: 'Indexs',
|
||||
foreignKeys: 'Clefs étrangères',
|
||||
foreignKeys: 'Clés étrangères',
|
||||
length: 'Longueur',
|
||||
unsigned: 'non signé',
|
||||
default: 'Par défault',
|
||||
default: 'Par défaut',
|
||||
comment: 'Commentaire',
|
||||
key: 'Clef | Clefs',
|
||||
key: 'Clé | Clés',
|
||||
order: 'Ordre',
|
||||
expression: 'Expression',
|
||||
autoIncrement: 'Auto Incrémentation',
|
||||
@@ -63,11 +63,11 @@ export const frFR = {
|
||||
discard: 'Jeter',
|
||||
stay: 'Rester',
|
||||
author: 'Auteur',
|
||||
light: 'Léger',
|
||||
light: 'Clair',
|
||||
dark: 'Sombre',
|
||||
autoCompletion: 'Auto Completion',
|
||||
autoCompletion: 'Prédiction Automatique',
|
||||
application: 'Application',
|
||||
editor: 'Editor',
|
||||
editor: 'Éditeur',
|
||||
view: 'Vue',
|
||||
definer: 'Définisseur',
|
||||
algorithme: 'Algorithme',
|
||||
@@ -83,10 +83,10 @@ export const frFR = {
|
||||
import: 'Import',
|
||||
returns: 'Retourne',
|
||||
timing: 'Temps',
|
||||
state: 'Etat',
|
||||
execution: 'Exécution',
|
||||
state: 'État',
|
||||
execution: 'Éxécution',
|
||||
starts: 'Commence',
|
||||
ends: 'Fini',
|
||||
ends: 'Termine',
|
||||
ssl: 'SSL',
|
||||
privateKey: 'Clé privée',
|
||||
certificate: 'Certificat',
|
||||
@@ -95,7 +95,7 @@ export const frFR = {
|
||||
upload: 'Téléverser',
|
||||
browse: 'Naviguer',
|
||||
faker: 'Imposteur',
|
||||
sshTunnel: 'SSH tunnel',
|
||||
sshTunnel: 'Tunnel SSH',
|
||||
content: 'Contenu',
|
||||
cut: 'Couper',
|
||||
copy: 'Copier',
|
||||
@@ -116,7 +116,7 @@ export const frFR = {
|
||||
cell: 'Cellule | Cellules',
|
||||
triggerFunction: 'Fonction de déclenchement | Fonctions de déclenchement',
|
||||
all: 'Tout',
|
||||
duplicate: 'Double',
|
||||
duplicate: 'Dupliquer',
|
||||
routine: 'Routine',
|
||||
new: 'Nouveau',
|
||||
history: 'Passé',
|
||||
@@ -139,7 +139,8 @@ export const frFR = {
|
||||
commit: 'Appliquer',
|
||||
rollback: 'Retour arrière',
|
||||
connectionString: 'Chaîne de connexion',
|
||||
contributors: 'Contributeurs'
|
||||
contributors: 'Contributeurs',
|
||||
shortcuts: 'Raccourcis'
|
||||
},
|
||||
message: {
|
||||
appWelcome: 'Bienvenue dans le client SQL Antares!',
|
||||
@@ -179,8 +180,8 @@ export const frFR = {
|
||||
editDatabase: 'Editer la base de données',
|
||||
clearChanges: 'Effacer les modifications',
|
||||
addNewField: 'Ajouter un nouveau champ',
|
||||
manageIndexes: 'Gère les index',
|
||||
manageForeignKeys: 'Gère les clés étrangères',
|
||||
manageIndexes: 'Gérer les index',
|
||||
manageForeignKeys: 'Gérer les clés étrangères',
|
||||
allowNull: 'Autoriser NULL',
|
||||
zeroFill: 'Remplissage avec zéro',
|
||||
customValue: 'Valeur personnalisée',
|
||||
@@ -208,11 +209,11 @@ export const frFR = {
|
||||
selectStatement: 'Sélectionner un état',
|
||||
triggerStatement: 'Déclencher un état',
|
||||
sqlSecurity: 'Sécurité SQL',
|
||||
updateOption: 'Mide à jour d\'une option',
|
||||
updateOption: 'Mise à jour d\'une option',
|
||||
deleteView: 'Effacer une vue',
|
||||
createNewView: 'Créer une nouvelle vue',
|
||||
deleteTrigger: 'Effacer un déclencheur',
|
||||
createNewTrigger: 'Cr"er un nouveau déclencheur',
|
||||
createNewTrigger: 'Créer un nouveau déclencheur',
|
||||
currentUser: 'utilisateur courant',
|
||||
routineBody: 'Corps de la routine',
|
||||
dataAccess: 'Accès aux données',
|
||||
@@ -232,7 +233,7 @@ export const frFR = {
|
||||
tableFiller: 'Remplisseur de table',
|
||||
fakeDataLanguage: 'Language de données fausses',
|
||||
searchForElements: 'Rechercher des éléments',
|
||||
selectAll: 'Tout séélectionner',
|
||||
selectAll: 'Tout sélectionner',
|
||||
queryDuration: 'Temps de requêtage',
|
||||
includeBetaUpdates: 'Inclure les mises à jour beta',
|
||||
setNull: 'Définir comme NULL',
|
||||
@@ -287,7 +288,10 @@ export const frFR = {
|
||||
ourputFormat: 'Format de sortie',
|
||||
singleFile: 'Seul fichier avec l\'extension {ext}',
|
||||
zipCompressedFile: 'Fichier compréssé avec l\'extension {ext}',
|
||||
disableBlur: 'Désactiver le floue'
|
||||
disableBlur: 'Désactiver le floue',
|
||||
missingOrIncompleteTranslation: 'Traduction manquante ou incomplète?',
|
||||
findOutHowToContribute: 'Trouver comment contribuer',
|
||||
disableScratchpad: 'Désactiver le bloc-notes'
|
||||
},
|
||||
faker: {
|
||||
address: 'Adresse',
|
||||
|
502
src/renderer/i18n/id-ID.ts
Normal file
502
src/renderer/i18n/id-ID.ts
Normal file
@@ -0,0 +1,502 @@
|
||||
export const idID = {
|
||||
word: {
|
||||
edit: 'Ubah',
|
||||
save: 'Simpan',
|
||||
close: 'Tutup',
|
||||
delete: 'Hapus',
|
||||
confirm: 'Iya',
|
||||
cancel: 'Batal',
|
||||
send: 'Kirim',
|
||||
connectionName: 'Nama Koneksi',
|
||||
client: 'Klien',
|
||||
hostName: 'Nama Host',
|
||||
port: 'Port',
|
||||
user: 'Pengguna',
|
||||
password: 'Sandi',
|
||||
credentials: 'Kredensial',
|
||||
connect: 'Menyambung',
|
||||
connected: 'Tersambung',
|
||||
disconnect: 'Putuskan',
|
||||
disconnected: 'Terputus',
|
||||
refresh: 'Segarkan',
|
||||
settings: 'Pengaturan',
|
||||
general: 'Umum',
|
||||
themes: 'Tema',
|
||||
update: 'Memperbarui',
|
||||
about: 'Tentang',
|
||||
language: 'Bahasa',
|
||||
version: 'Versi',
|
||||
donate: 'Donasi',
|
||||
run: 'Jalankan',
|
||||
schema: 'Skema',
|
||||
results: 'Hasil',
|
||||
size: 'Ukuran',
|
||||
seconds: 'Detik',
|
||||
type: 'Jenis',
|
||||
mimeType: 'Tipe Mime',
|
||||
download: 'Unduh',
|
||||
add: 'Tambahkan',
|
||||
data: 'Data',
|
||||
properties: 'Properti',
|
||||
insert: 'Masukan',
|
||||
connecting: 'Menghubungkan',
|
||||
name: 'Nama',
|
||||
collation: 'Kolasi',
|
||||
clear: 'Jernih',
|
||||
options: 'Pilihan',
|
||||
autoRefresh: 'Segarkan otomatis',
|
||||
indexes: 'Indeks',
|
||||
foreignKeys: 'Foreign Key',
|
||||
length: 'Panjangnya',
|
||||
unsigned: 'Unsigned',
|
||||
default: 'Bawaan',
|
||||
comment: 'Komentar',
|
||||
key: 'Key | Keys',
|
||||
order: 'Urutan',
|
||||
expression: 'Ekspresi',
|
||||
autoIncrement: 'Inkremen Otomatis',
|
||||
engine: 'Mesin',
|
||||
field: 'Bidang | Fields',
|
||||
approximately: 'Sekitar',
|
||||
total: 'Total',
|
||||
table: 'Tabel',
|
||||
discard: 'Membuang',
|
||||
stay: 'Tinggal',
|
||||
author: 'Pengarang',
|
||||
light: 'Terang',
|
||||
dark: 'Gelap',
|
||||
autoCompletion: 'Penyelesaian Otomatis',
|
||||
application: 'Aplikasi',
|
||||
editor: 'Editor',
|
||||
view: 'Melihat',
|
||||
definer: 'Definisi',
|
||||
algorithm: 'Algoritma',
|
||||
trigger: 'Trigger | Trigger',
|
||||
storedRoutine: 'Rutin tersimpan | Rutin tersimpan',
|
||||
scheduler: 'Penjadwal | Penjadwal',
|
||||
event: 'Peristiwa',
|
||||
parameters: 'Parameter',
|
||||
function: 'Fungsi | Fungsi',
|
||||
deterministic: 'Deterministik',
|
||||
context: 'Konteks',
|
||||
export: 'Ekspor',
|
||||
import: 'Impor',
|
||||
returns: 'Pengembalian',
|
||||
timing: 'Pengaturan waktu',
|
||||
state: 'Keadaan',
|
||||
execution: 'Eksekusi',
|
||||
starts: 'Mulai',
|
||||
ends: 'Berakhir',
|
||||
ssl: 'SSL',
|
||||
privateKey: 'Kunci pribadi',
|
||||
certificate: 'Sertifikat',
|
||||
caCertificate: 'Sertifikat CA',
|
||||
ciphers: 'Chipher',
|
||||
upload: 'Mengunggah',
|
||||
browse: 'Jelajahi',
|
||||
faker: 'Pemalsu',
|
||||
content: 'Isi',
|
||||
cut: 'Potong',
|
||||
copy: 'Salin',
|
||||
paste: 'Tempel',
|
||||
tools: 'Peralatan',
|
||||
variables: 'Variabel',
|
||||
processes: 'Proses',
|
||||
database: 'Basis data',
|
||||
scratchpad: 'Papan penggaris',
|
||||
array: 'Array',
|
||||
changelog: 'Changelog',
|
||||
format: 'Format',
|
||||
sshTunnel: 'Tunel SSH',
|
||||
structure: 'Struktur',
|
||||
small: 'Kecil',
|
||||
medium: 'Sedang',
|
||||
large: 'Besar',
|
||||
row: 'Baris | Baris',
|
||||
cell: 'Sel | Sel',
|
||||
triggerFunction: 'Fungsi trigger | Fungsi trigger',
|
||||
all: 'Semua',
|
||||
duplicate: 'Duplikat',
|
||||
routine: 'Rutin',
|
||||
new: 'Baru',
|
||||
history: 'Histori',
|
||||
select: 'Pilih',
|
||||
passphrase: 'Frasa sandi',
|
||||
filter: 'Saring',
|
||||
change: 'Mengubah',
|
||||
views: 'Tampilan',
|
||||
triggers: 'Pemicu',
|
||||
routines: 'Rutinitas',
|
||||
functions: 'Fungsi',
|
||||
schedulers: 'Penjadwal',
|
||||
includes: 'Termasuk',
|
||||
drop: 'Menjatuhkan',
|
||||
completed: 'Selesai',
|
||||
aborted: 'Dibatalkan',
|
||||
disabled: 'Dinonaaktivkan',
|
||||
enable: 'Aktifkan',
|
||||
disable: 'Nonaktifkan',
|
||||
commit: 'Komit',
|
||||
rollback: 'Kembalikan',
|
||||
connectionString: 'Rangkaian sambungan',
|
||||
contributors: 'Kontributor',
|
||||
pin: 'Pin',
|
||||
unpin: 'Unpin',
|
||||
console: 'Konsol',
|
||||
shortcuts: 'Shortcut',
|
||||
folder: 'Folder | Folder',
|
||||
appearence: 'Appearence',
|
||||
color: 'Color',
|
||||
label: 'Label',
|
||||
icon: 'Icon'
|
||||
},
|
||||
message: {
|
||||
appWelcome: 'Selamat datang di Antares SQL Client!',
|
||||
appFirstStep: 'Langkah pertama Anda: buat koneksi database baru.',
|
||||
addConnection: 'Tambahkan koneksi',
|
||||
createConnection: 'Buat koneksi',
|
||||
createNewConnection: 'Buat koneksi baru',
|
||||
askCredentials: 'Mintalah kredensial',
|
||||
testConnection: 'Tes koneksi',
|
||||
editConnection: 'Mengedit koneksi',
|
||||
deleteConnection: 'Hapus koneksi',
|
||||
deleteCorfirm: 'Apakah Anda mengkonfirmasi pembatalan',
|
||||
connectionSuccessfullyMade: 'Sambungan berhasil dibuat!',
|
||||
madeWithJS: 'Dibuat dengan 💛 dan JavaScript!',
|
||||
checkForUpdates: 'Periksa pembaruan',
|
||||
noUpdatesAvailable: 'Tidak ada pembaruan yang tersedia',
|
||||
checkingForUpdate: 'Memeriksa pembaruan',
|
||||
checkFailure: 'Pemeriksaan gagal, coba lagi nanti',
|
||||
updateAvailable: 'Pembaruan tersedia',
|
||||
downloadingUpdate: 'Mengunduh pembaruan',
|
||||
updateDownloaded: 'Pembaruan diunduh',
|
||||
restartToInstall: 'Mulai ulang Antares untuk menginstal',
|
||||
unableEditFieldWithoutPrimary: 'Tidak dapat mengedit bidang tanpa kunci utama di kumpulan hasil',
|
||||
editCell: 'Mengedit sel',
|
||||
deleteRows: 'Hapus baris | Hapus {count} baris',
|
||||
confirmToDeleteRows: 'Apakah Anda mengonfirmasi untuk menghapus satu baris? | Apakah Anda mengonfirmasi untuk menghapus {count} baris?',
|
||||
notificationsTimeout: 'Batas waktu pemberitahuan',
|
||||
uploadFile: 'Unggah data',
|
||||
addNewRow: 'Tambahkan baris baru',
|
||||
numberOfInserts: 'Jumlah sisipan',
|
||||
openNewTab: 'Buka tab baru',
|
||||
affectedRows: 'Baris yang terpengaruh',
|
||||
createNewDatabase: 'Buat Basis Data baru',
|
||||
databaseName: 'Nama basis data',
|
||||
serverDefault: 'Standar server',
|
||||
deleteDatabase: 'Hapus basis data',
|
||||
editDatabase: 'Ubah basis data',
|
||||
clearChanges: 'Hapus perubahan',
|
||||
addNewField: 'Tambahkan bidang baru',
|
||||
manageIndexes: 'Kelola indeks',
|
||||
manageForeignKeys: 'Mengelola kunci asing',
|
||||
allowNull: 'Izinkan NULL',
|
||||
zeroFill: 'Isi nol',
|
||||
customValue: 'Nilai khusus',
|
||||
onUpdate: 'Sedang diperbarui',
|
||||
deleteField: 'Hapus bidang',
|
||||
createNewIndex: 'Buat indeks baru',
|
||||
addToIndex: 'Tambahkan ke index',
|
||||
createNewTable: 'Buat tabel baru',
|
||||
emptyTable: 'Kosongkan Tabel',
|
||||
deleteTable: 'Hapus tabel',
|
||||
emptyCorfirm: 'Apakah Anda mengkonfirmasi untuk mengosongkan',
|
||||
unsavedChanges: 'Perubahan belum disimpan',
|
||||
discardUnsavedChanges: 'Anda memiliki beberapa perubahan yang belum disimpan. Dengan menutup tab ini akan membuang perubahan',
|
||||
thereAreNoIndexes: 'Tidak ada indeks',
|
||||
thereAreNoForeign: 'Tidak ada kunci asing',
|
||||
createNewForeign: 'Buat kunci asing baru',
|
||||
referenceTable: 'Ref. table',
|
||||
referenceField: 'Ref. field',
|
||||
foreignFields: 'Bidang asing',
|
||||
invalidDefault: 'Standar tidak valid',
|
||||
onDelete: 'Saat hapus',
|
||||
applicationTheme: 'Tema Aplikasi',
|
||||
editorTheme: 'Tema Editor',
|
||||
wrapLongLines: 'Bungkus garis panjang',
|
||||
selectStatement: 'Pilih pernyataan',
|
||||
triggerStatement: 'Pernyataan pemicu',
|
||||
sqlSecurity: 'keamanan SQL',
|
||||
updateOption: 'Opsi pembaruan',
|
||||
deleteView: 'Hapus tampilan',
|
||||
createNewView: 'Buat tampilan baru',
|
||||
deleteTrigger: 'Hapus pemicu',
|
||||
createNewTrigger: 'Buat pemicu baru',
|
||||
currentUser: 'Pengguna saat ini',
|
||||
routineBody: 'Badan rutin',
|
||||
dataAccess: 'Akses data',
|
||||
thereAreNoParameters: 'Tidak ada parameter',
|
||||
createNewParameter: 'Buat parameter baru',
|
||||
createNewRoutine: 'Buat rutin tersimpan baru',
|
||||
deleteRoutine: 'Hapus rutinitas yang tersimpan',
|
||||
functionBody: 'Fungsi tubuh',
|
||||
createNewFunction: 'Buat fungsi baru',
|
||||
deleteFunction: 'Hapus fungsi',
|
||||
schedulerBody: 'badan Penjadwal',
|
||||
createNewScheduler: 'Buat penjadwal baru',
|
||||
deleteScheduler: 'Hapus penjadwal',
|
||||
preserveOnCompletion: 'Pertahankan saat selesai',
|
||||
enableSsl: 'Aktifkan SSL',
|
||||
manualValue: 'Nilai manual',
|
||||
tableFiller: 'Pengisi Tabel',
|
||||
fakeDataLanguage: 'Bahasa data palsu',
|
||||
searchForElements: 'Cari elemen',
|
||||
selectAll: 'Pilih Semua',
|
||||
queryDuration: 'Durasi kueri',
|
||||
includeBetaUpdates: 'Sertakan pembaruan beta',
|
||||
setNull: 'Tetapkan NULL',
|
||||
processesList: 'Daftar proses',
|
||||
processInfo: 'Info proses',
|
||||
manageUsers: 'Kelola pengguna',
|
||||
createNewSchema: 'Buat skema baru',
|
||||
schemaName: 'Nama skema',
|
||||
editSchema: 'Edit skema',
|
||||
deleteSchema: 'Hapus skema',
|
||||
markdownSupported: 'Markdown didukung',
|
||||
plantATree: 'Menanam pohon',
|
||||
dataTabPageSize: 'Ukuran halaman tab DATA',
|
||||
enableSsh: 'Aktifkan SSH',
|
||||
pageNumber: 'Nomor halaman',
|
||||
duplicateTable: 'Duplikat Tabel',
|
||||
noOpenTabs: 'Tidak ada tab terbuka, navigasikan di bilah kiri atau:',
|
||||
noSchema: 'Tidak ada skema',
|
||||
restorePreviourSession: 'Kembalikan sesi sebelumnya',
|
||||
runQuery: 'Jalankan kueri',
|
||||
thereAreNoTableFields: 'Tidak ada bidang tabel',
|
||||
newTable: 'Tabel baru',
|
||||
newView: 'Pemandangan baru',
|
||||
newTrigger: 'Pemicu baru',
|
||||
newRoutine: 'Rutinitas baru',
|
||||
newFunction: 'Fungsi baru',
|
||||
newScheduler: 'Penjadwal baru',
|
||||
newTriggerFunction: 'Fungsi pemicu baru',
|
||||
thereIsNoQueriesYet: 'Belum ada kueri',
|
||||
searchForQueries: 'Telusuri kueri',
|
||||
killProcess: 'Membunuh proses',
|
||||
closeTab: 'Tutup tab',
|
||||
exportSchema: 'Skema ekspor',
|
||||
importSchema: 'Skema impor',
|
||||
directoryPath: 'Jalur direktori',
|
||||
newInserStmtEvery: 'Pernyataan INSERT baru setiap',
|
||||
processingTableExport: 'Memproses {table}',
|
||||
fechingTableExport: 'Mengambil data {table}',
|
||||
writingTableExport: 'Menulis data {table} ',
|
||||
checkAllTables: 'Periksa semua tabel',
|
||||
uncheckAllTables: 'Hapus centang semua tabel',
|
||||
goToDownloadPage: 'Buka halaman unduh',
|
||||
readOnlyMode: 'Mode hanya baca',
|
||||
killQuery: 'Bunuh kueri',
|
||||
insertRow: 'Sisipkan baris | Sisipkan baris',
|
||||
commitMode: 'Mode komit',
|
||||
autoCommit: 'Komit otomatis',
|
||||
manualCommit: 'Komit manual',
|
||||
actionSuccessful: '{aksi} berhasil',
|
||||
importQueryErrors: 'Peringatan: {n} kesalahan telah terjadi | Peringatan: {n} kesalahan telah terjadi',
|
||||
executedQueries: '{n} permintaan dieksekusi | {n} permintaan dieksekusi',
|
||||
ourputFormat: 'Format keluaran',
|
||||
singleFile: 'File {ext} tunggal',
|
||||
zipCompressedFile: 'File {ext} terkompresi ZIP',
|
||||
disableBlur: 'Nonaktifkan buram',
|
||||
untrustedConnection: 'Koneksi tidak tepercaya',
|
||||
missingOrIncompleteTranslation: 'Terjemahan hilang atau tidak lengkap?',
|
||||
findOutHowToContribute: 'Cari tahu cara berkontribusi',
|
||||
disableFKChecks: 'Nonaktifkan pemeriksaan kunci asing',
|
||||
allConnections: 'Semua koneksi',
|
||||
searchForConnections: 'Cari koneksi',
|
||||
disableScratchpad: 'Nonaktifkan papan tulis',
|
||||
reportABug: 'Laporkan bug',
|
||||
nextTab: 'Tab setelahnya',
|
||||
previousTab: 'Tab sebelumnya',
|
||||
selectTabNumber: 'Pilih nomor tab {param}',
|
||||
toggleConsole: 'Toggle console',
|
||||
addShortcut: 'Tambah shortcut',
|
||||
editShortcut: 'Ubah shortcut',
|
||||
deleteShortcut: 'Hapus shortcut',
|
||||
restoreDefaults: 'Kembalikan ke default',
|
||||
restoreDefaultsQuestion: 'Apakah kamu yakin untuk dikembalikan seperti setelan awal?',
|
||||
registerAShortcut: 'Daftarkan shortcut',
|
||||
invalidShortcutMessage: 'Kombinasi salah, lanjutkan mengetik',
|
||||
shortcutAlreadyExists: 'Shortcut sudah ada',
|
||||
saveContent: 'Simpan content',
|
||||
openAllConnections: 'Buka semua koneksi',
|
||||
openSettings: 'Buka Pengaturan',
|
||||
openScratchpad: 'Buka scratchpad',
|
||||
runOrReload: 'Jalankan atau reload',
|
||||
formatQuery: 'Format query',
|
||||
queryHistory: 'Histori query',
|
||||
clearQuery: 'Bersihkan query',
|
||||
openFilter: 'Buka filter',
|
||||
nextResultsPage: 'Next results page',
|
||||
previousResultsPage: 'Previous results page',
|
||||
fillCell: 'Isi sel',
|
||||
editFolder: 'Ubah folder',
|
||||
folderName: 'Nama folder',
|
||||
deleteFolder: 'Hapus folder',
|
||||
editConnectionAppearence: 'Ubah connection appearence',
|
||||
executeSelectedQuery: 'Eksekusi query yang dipilih'
|
||||
},
|
||||
faker: {
|
||||
address: 'Alamat',
|
||||
commerce: 'Perdagangan',
|
||||
company: 'Perusahaan',
|
||||
database: 'Basis data',
|
||||
date: 'Tanggal',
|
||||
finance: 'Keuangan',
|
||||
git: 'Git',
|
||||
hacker: 'Peretas',
|
||||
internet: 'Internet',
|
||||
lorem: 'Lorem',
|
||||
name: 'Nama',
|
||||
music: 'Musik',
|
||||
phone: 'Telepon',
|
||||
random: 'Acak',
|
||||
system: 'Sistem',
|
||||
time: 'Waktu',
|
||||
vehicle: 'Kendaraan',
|
||||
zipCode: 'Kode Pos',
|
||||
zipCodeByState: 'Kode pos menurut negara bagian',
|
||||
city: 'Kota',
|
||||
cityPrefix: 'Awalan kota',
|
||||
citySuffix: 'Akhiran kota',
|
||||
streetName: 'nama jalan',
|
||||
streetAddress: 'alamat jalan',
|
||||
streetSuffix: 'Akhiran jalan',
|
||||
streetPrefix: 'Awalan jalan',
|
||||
secondaryAddress: 'Alamat sekunder',
|
||||
county: 'daerah',
|
||||
country: 'Negara',
|
||||
countryCode: 'Kode negara',
|
||||
state: 'Negara',
|
||||
stateAbbr: 'Singkatan negara',
|
||||
latitude: 'Garis Lintang',
|
||||
longitude: 'Garis bujur',
|
||||
direction: 'Arah',
|
||||
cardinalDirection: 'Arah mata angin',
|
||||
ordinalDirection: 'Arah ordinal',
|
||||
nearbyGPSCoordinate: 'Koordinat GPS terdekat',
|
||||
timeZone: 'Zona waktu',
|
||||
color: 'Warna',
|
||||
department: 'Departemen',
|
||||
productName: 'Nama Produk',
|
||||
price: 'Harga',
|
||||
productAdjective: 'Kata sifat produk',
|
||||
productMaterial: 'Bahan produk',
|
||||
product: 'Produk',
|
||||
productDescription: 'Deskripsi Produk',
|
||||
suffixes: 'Akhiran',
|
||||
companyName: 'Nama Perusahaan',
|
||||
companySuffix: 'Akhiran perusahaan',
|
||||
catchPhrase: 'Menangkap frase',
|
||||
bs: 'BS',
|
||||
catchPhraseAdjective: 'Menangkap frase kata sifat',
|
||||
catchPhraseDescriptor: 'Menangkap frase deskriptor',
|
||||
catchPhraseNoun: 'Menangkap frase kata benda',
|
||||
bsAdjective: 'kata sifat BS',
|
||||
bsBuzz: 'BS berdengung',
|
||||
bsNoun: 'kata benda BS',
|
||||
column: 'Kolom',
|
||||
type: 'Jenis',
|
||||
collation: 'Pemeriksaan',
|
||||
engine: 'Mesin',
|
||||
past: 'Masa lalu',
|
||||
future: 'Masa depan',
|
||||
between: 'Di antara',
|
||||
recent: 'Terkini',
|
||||
soon: 'Segera',
|
||||
month: 'Bulan',
|
||||
weekday: 'Hari kerja',
|
||||
account: 'Akun',
|
||||
accountName: 'Nama akun',
|
||||
routingNumber: 'Nomor perutean',
|
||||
mask: 'Masker',
|
||||
amount: 'Jumlah',
|
||||
transactionType: 'Tipe transaksi',
|
||||
currencyCode: 'Kode mata uang',
|
||||
currencyName: 'Nama mata uang',
|
||||
currencySymbol: 'Simbol mata uang',
|
||||
bitcoinAddress: 'Alamat Bitcoin',
|
||||
litecoinAddress: 'Alamat Litecoin',
|
||||
creditCardNumber: 'Nomor kartu kredit',
|
||||
creditCardCVV: 'CVV kartu kredit',
|
||||
ethereumAddress: 'Alamat Ethereum',
|
||||
iban: 'Iban',
|
||||
bic: 'Bic',
|
||||
transactionDescription: 'Deskripsi transaksi',
|
||||
branch: 'Cabang',
|
||||
commitEntry: 'Lakukan entri',
|
||||
commitMessage: 'Pesan komit',
|
||||
commitSha: 'Lakukan SHA',
|
||||
shortSha: 'SHA pendek',
|
||||
abbreviation: 'Singkatan',
|
||||
adjective: 'Kata sifat',
|
||||
noun: 'Kata benda',
|
||||
verb: 'Kata kerja',
|
||||
ingverb: 'Ingverb',
|
||||
phrase: 'Frasa',
|
||||
avatar: 'Avatar',
|
||||
email: 'Email',
|
||||
exampleEmail: 'Contoh email',
|
||||
userName: 'Username',
|
||||
protocol: 'Protokol',
|
||||
url: 'Url',
|
||||
domainName: 'Nama domain',
|
||||
domainSuffix: 'Akhiran domain',
|
||||
domainWord: 'Kata domain',
|
||||
ip: 'IP',
|
||||
ipv6: 'IPv6',
|
||||
userAgent: 'Agen pengguna',
|
||||
mac: 'Mac',
|
||||
password: 'Kata sandi',
|
||||
word: 'Kata',
|
||||
words: 'Kata-kata',
|
||||
sentence: 'Kalimat',
|
||||
slug: 'Siput',
|
||||
sentences: 'Kalimat-kalimat',
|
||||
paragraph: 'Gugus kalimat',
|
||||
paragraphs: 'Paragraf',
|
||||
text: 'Teks',
|
||||
lines: 'Garis',
|
||||
genre: 'Aliran',
|
||||
firstName: 'Nama depan',
|
||||
lastName: 'Nama keluarga',
|
||||
middleName: 'Nama tengah',
|
||||
findName: 'Nama lengkap',
|
||||
jobTitle: 'Judul pekerjaan',
|
||||
gender: 'Jenis kelamin',
|
||||
prefix: 'Awalan',
|
||||
suffix: 'Akhiran',
|
||||
title: 'Judul',
|
||||
jobDescriptor: 'Deskriptor pekerjaan',
|
||||
jobArea: 'Bidang pekerjaan',
|
||||
jobType: 'Jenis pekerjaan',
|
||||
phoneNumber: 'Nomor telepon',
|
||||
phoneNumberFormat: 'Format nomor telepon',
|
||||
phoneFormats: 'Format telepon',
|
||||
number: 'Nomor',
|
||||
float: 'Mengambang',
|
||||
arrayElement: 'Elemen array',
|
||||
arrayElements: 'Elemen2 array',
|
||||
objectElement: 'Elemen objek',
|
||||
uuid: 'Uuid',
|
||||
boolean: 'Boolean',
|
||||
image: 'Gambar',
|
||||
locale: 'Lokal',
|
||||
alpha: 'Alfa',
|
||||
alphaNumeric: 'Alfanumerik',
|
||||
hexaDecimal: 'Heksadesimal',
|
||||
fileName: 'Nama file',
|
||||
commonFileName: 'Nama file umum',
|
||||
mimeType: 'Jenis mime',
|
||||
commonFileType: 'Jenis file umum',
|
||||
commonFileExt: 'Ekstensi file umum',
|
||||
fileType: 'Jenis file',
|
||||
fileExt: 'Ekstensi file',
|
||||
directoryPath: 'Jalur direktori',
|
||||
filePath: 'Jalur file',
|
||||
semver: 'Semver',
|
||||
manufacturer: 'Pabrikan',
|
||||
model: 'Model',
|
||||
fuel: 'Fuel',
|
||||
vin: 'Vin'
|
||||
}
|
||||
};
|
@@ -10,6 +10,7 @@ import { viVN } from './vi-VN';
|
||||
import { jaJP } from './ja-JP';
|
||||
import { zhCN } from './zh-CN';
|
||||
import { ruRU } from './ru-RU';
|
||||
import { idID } from './id-ID';
|
||||
|
||||
const messages = {
|
||||
'en-US': enUS,
|
||||
@@ -22,7 +23,8 @@ const messages = {
|
||||
'vi-VN': viVN,
|
||||
'ja-JP': jaJP,
|
||||
'zh-CN': zhCN,
|
||||
'ru-RU': ruRU
|
||||
'ru-RU': ruRU,
|
||||
'id-ID': idID
|
||||
};
|
||||
|
||||
type NestedPartial<T> = {
|
||||
|
@@ -142,7 +142,12 @@ export const ptBR = {
|
||||
pin: 'Fixar',
|
||||
unpin: 'Desafixar',
|
||||
console: 'Console',
|
||||
shortcuts: 'Atalhos'
|
||||
shortcuts: 'Atalhos',
|
||||
folder: 'Pasta | Pastas',
|
||||
appearence: 'Aparência',
|
||||
color: 'Cor',
|
||||
label: 'Rótulo',
|
||||
icon: 'Icone'
|
||||
},
|
||||
message: {
|
||||
appWelcome: 'Bem vindo ao Antares SQL Client!',
|
||||
@@ -320,7 +325,12 @@ export const ptBR = {
|
||||
clearQuery: 'Limpar consulta',
|
||||
openFilter: 'Abrir Filtro',
|
||||
nextResultsPage: 'Próxima página de resultados',
|
||||
previousResultsPage: 'Página de resultados anterior'
|
||||
previousResultsPage: 'Página de resultados anterior',
|
||||
fillCell: 'Preencher Célula',
|
||||
editFolder: 'Editar Pasta',
|
||||
folderName: 'Nome da pasta',
|
||||
deleteFolder: 'Apagar Pasta',
|
||||
editConnectionAppearence: 'Editar aparência da conexão'
|
||||
},
|
||||
faker: {
|
||||
address: 'Endereço',
|
||||
|
@@ -9,5 +9,6 @@ export const localesNames: {[key: string]: string} = {
|
||||
'vi-VN': 'Tiếng Việt',
|
||||
'ja-JP': '日本語',
|
||||
'zh-CN': '简体中文',
|
||||
'ru-RU': 'Русский'
|
||||
'ru-RU': 'Русский',
|
||||
'id-ID': 'Bahasa Indonesia'
|
||||
};
|
||||
|
@@ -209,6 +209,8 @@
|
||||
background: $bg-color-light-dark;
|
||||
|
||||
.tab-item {
|
||||
background: $bg-color-light-dark;
|
||||
|
||||
> a {
|
||||
color: $body-font-color-dark;
|
||||
}
|
||||
|
@@ -115,8 +115,25 @@ export const useConnectionsStore = defineStore('connections', {
|
||||
if (conn.uid === connection.uid) return connection;
|
||||
return conn;
|
||||
});
|
||||
|
||||
this.connections = editedConnections;
|
||||
persistentStore.set('connections', this.connections);
|
||||
|
||||
const editedConnectionsOrder = (this.connectionsOrder as SidebarElement[]).map(conn => {
|
||||
if (conn.uid === connection.uid) {
|
||||
return {
|
||||
isFolder: false,
|
||||
uid: connection.uid,
|
||||
client: connection.client,
|
||||
icon: conn.icon,
|
||||
name: conn.name
|
||||
};
|
||||
}
|
||||
return conn;
|
||||
});
|
||||
|
||||
this.connectionsOrder = editedConnectionsOrder;
|
||||
persistentStore.set('connectionsOrder', this.connectionsOrder);
|
||||
},
|
||||
updateConnections (connections: ConnectionParams[]) {
|
||||
this.connections = connections;
|
||||
|
@@ -22,6 +22,7 @@ export const useSettingsStore = defineStore('settings', {
|
||||
dataTabLimit: settingsStore.get('data_tab_limit', 1000) as number,
|
||||
autoComplete: settingsStore.get('auto_complete', true) as boolean,
|
||||
lineWrap: settingsStore.get('line_wrap', true) as boolean,
|
||||
executeSelected: settingsStore.get('execute_selected', true) as boolean,
|
||||
applicationTheme: settingsStore.get('application_theme', defaultAppTheme) as ApplicationTheme,
|
||||
editorTheme: settingsStore.get('editor_theme', defaultEditorTheme) as string,
|
||||
editorFontSize: settingsStore.get('editor_font_size', 'medium') as EditorFontSize,
|
||||
@@ -60,6 +61,10 @@ export const useSettingsStore = defineStore('settings', {
|
||||
this.lineWrap = val;
|
||||
settingsStore.set('line_wrap', this.lineWrap);
|
||||
},
|
||||
changeExecuteSelected (val: boolean) {
|
||||
this.executeSelected = val;
|
||||
settingsStore.set('execute_selected', this.executeSelected);
|
||||
},
|
||||
changeApplicationTheme (theme: string) {
|
||||
this.applicationTheme = theme;
|
||||
settingsStore.set('application_theme', this.applicationTheme);
|
||||
|
Reference in New Issue
Block a user