mirror of
https://github.com/sharevb/it-tools.git
synced 2026-11-26 23:50:15 +03:00
Compare commits
7
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9f52df1197 | ||
|
|
75637340a2 | ||
|
|
01928b3ad9 | ||
|
|
fb99fb24c7 | ||
|
|
8a89a78830 | ||
|
|
3ba3b222ad | ||
|
|
7516aae2c1 |
No files matched your search
@@ -2,6 +2,35 @@
|
||||
|
||||
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.
|
||||
|
||||
## Version 2025.10.19
|
||||
|
||||
### Features
|
||||
- **Script**: add a translation script for missing translations (a7776ba)
|
||||
|
||||
### Bug fixes
|
||||
- **Scripts**: remove target languages unused + keep line break (8a89a78)
|
||||
- **Scripts**: translate only if missing + handle ' (7516aae)
|
||||
- **Scripts**: extract string, avoid if has already t() + /* NO EXTRACT SCRIPT */ (c30d598)
|
||||
- **i18n**: wrong input-label,... text extractions (2025111)
|
||||
- **Tools Filtering**: filter tools everywhere (2c2643b)
|
||||
- **JSON Diff**: display removed original text (de2de50)
|
||||
|
||||
### Chores
|
||||
- update some deps (01928b3)
|
||||
- optimize unit test memory use (fb99fb2)
|
||||
- add script:translate-missing (3f8d2db)
|
||||
- add a stable tag on release (f6411f8)
|
||||
- add buymeacoffee (087860c)
|
||||
|
||||
### Other
|
||||
- Update fr.yml fix few punctuations (#201) (c1d962c)
|
||||
|
||||
### I18n
|
||||
- auto translatte missing + add da, it, nl, tr, kr (3ba3b22)
|
||||
|
||||
### Merge branch 'chore/all-my-stuffs' of https
|
||||
- //github.com/sharevb/it-tools into chore/all-my-stuffs (aab0e2e)
|
||||
|
||||
## Version 2025.10.12
|
||||
|
||||
### Features
|
||||
|
||||
+6657
-188
File diff suppressed because it is too large.
Load diff
+7068
File diff suppressed because it is too large.
Load diff
+6890
-215
File diff suppressed because it is too large.
Load diff
+3
-34
@@ -4,39 +4,6 @@
|
||||
maybe: Maybe the cache is doing tricky things, try force-refreshing?
|
||||
backHome: Back home
|
||||
about:
|
||||
content: >
|
||||
# About IT-Tools
|
||||
|
||||
This wonderful website, made with ❤ by [Corentin
|
||||
Thomasset](https://corentin.tech?utm_source=it-tools&utm_medium=about) ,
|
||||
aggregates useful tools for developer and people working in IT. If you find
|
||||
it useful, please feel free to share it to people you think may find it
|
||||
useful too and don't forget to bookmark it in your shortcut bar!
|
||||
|
||||
IT Tools is open-source (under the GPL-3.0 license) and free, and will
|
||||
always be, but it costs me money to host and renew the domain name. If you
|
||||
want to support my work, and encourage me to add more tools, please consider
|
||||
supporting by [sponsoring me](https://www.buymeacoffee.com/sharevb).
|
||||
|
||||
## Technologies
|
||||
|
||||
IT Tools is made in Vue.js (Vue 3) with the the Naive UI component library
|
||||
and is hosted and continuously deployed by Vercel. Third-party open-source
|
||||
libraries are used in some tools, you may find the complete list in the
|
||||
[package.json](https://github.com/sharevb/it-tools/blob/main/package.json)
|
||||
file of the repository.
|
||||
|
||||
## Found a bug? A tool is missing?
|
||||
|
||||
If you need a tool that is currently not present here, and you think can be
|
||||
useful, you are welcome to submit a feature request in the [issues
|
||||
section](https://github.com/sharevb/it-tools/issues/new/choose) in the
|
||||
GitHub repository.
|
||||
|
||||
And if you found a bug, or something doesn't work as expected, please file a
|
||||
bug report in the [issues
|
||||
section](https://github.com/sharevb/it-tools/issues/new/choose) in the
|
||||
GitHub repository.
|
||||
alltools-title: All {toolsCount} Tools
|
||||
tools:
|
||||
name: Name
|
||||
@@ -53,7 +20,9 @@ about:
|
||||
shortcut bar!
|
||||
|
||||
IT Tools is open-source (under the GPL-3.0 license) and free, and will
|
||||
always be, but it costs me money to host and renew the domain name.
|
||||
always be. If you
|
||||
want to support my work on this fork, and encourage me to add more tools or functionalities, please consider
|
||||
supporting by [sponsoring me](https://www.buymeacoffee.com/sharevb).
|
||||
|
||||
## Technologies
|
||||
|
||||
|
||||
+7189
-52
File diff suppressed because it is too large.
Load diff
+1630
-1704
File diff suppressed because it is too large.
Load diff
+6136
-319
File diff suppressed because it is too large.
Load diff
+7211
File diff suppressed because it is too large.
Load diff
+6728
File diff suppressed because it is too large.
Load diff
+7140
File diff suppressed because it is too large.
Load diff
+6842
-179
File diff suppressed because it is too large.
Load diff
+7062
-44
File diff suppressed because it is too large.
Load diff
+7110
-59
File diff suppressed because it is too large.
Load diff
+6338
-405
File diff suppressed because it is too large.
Load diff
+7127
File diff suppressed because it is too large.
Load diff
+6294
-397
File diff suppressed because it is too large.
Load diff
+6815
-159
File diff suppressed because it is too large.
Load diff
+2141
-1274
File diff suppressed because it is too large.
Load diff
+29
-29
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "it-tools",
|
||||
"type": "module",
|
||||
"version": "2025.10.12",
|
||||
"version": "2025.10.19",
|
||||
"packageManager": "pnpm@9.11.0",
|
||||
"description": "Collection of handy online tools for developers, with great UX. ",
|
||||
"author": "Corentin Th <corentin.thomasset74+it-tools@gmail.com> (https://corentin.tech)",
|
||||
@@ -26,8 +26,8 @@
|
||||
"build": "vue-tsc --noEmit && . ./set_node_mem.sh && vite build",
|
||||
"preview": "vite preview --port 5050",
|
||||
"test": "TZ=UTC npm run test:unit",
|
||||
"test:unit": "TZ=UTC vitest --environment jsdom",
|
||||
"test:e2e": "TZ=UTC playwright test",
|
||||
"test:unit": "TZ=UTC . ./set_node_mem.sh && vitest --environment jsdom",
|
||||
"test:e2e": "TZ=UTC . ./set_node_mem.sh && playwright test",
|
||||
"test:e2e:dev": "TZ=UTC BASE_URL=http://localhost:5173 NO_WEB_SERVER=true playwright test",
|
||||
"coverage": "vitest run --coverage",
|
||||
"typecheck": "vue-tsc --noEmit -p tsconfig.vitest.json --composite false",
|
||||
@@ -174,13 +174,13 @@
|
||||
"hex-array": "^1.0.0",
|
||||
"highlight.js": "^11.11.1",
|
||||
"html-to-text": "^9.0.5",
|
||||
"htmlfy": "^0.8.1",
|
||||
"htmlfy": "^1.0.0",
|
||||
"hyparquet": "^1.9.0",
|
||||
"hyparquet-compressors": "^1.0.0",
|
||||
"ibantools": "^4.5.1",
|
||||
"ical-generator": "^8.1.1",
|
||||
"ical.js": "^2.2.0",
|
||||
"iconv-lite": "^0.6.3",
|
||||
"iconv-lite": "^0.7.0",
|
||||
"image-compare-viewer": "^1.6.2",
|
||||
"image-in-browser": "^3.2.3",
|
||||
"image-to-ascii-art": "^0.0.4",
|
||||
@@ -189,7 +189,7 @@
|
||||
"ip-cidr": "^4.0.2",
|
||||
"ip-matching": "^2.1.2",
|
||||
"ip-regex": "^5.0.0",
|
||||
"is-cidr": "^5.1.1",
|
||||
"is-cidr": "^6.0.1",
|
||||
"is-ip": "^5.0.1",
|
||||
"isbn3": "^1.2.12",
|
||||
"iso-639-1": "^3.1.5",
|
||||
@@ -197,14 +197,14 @@
|
||||
"jks-js": "^1.1.4",
|
||||
"jose": "^5.10.0",
|
||||
"jpeg-quality-estimator": "^1.0.1",
|
||||
"jq-wasm": "^1.0.0",
|
||||
"jq-wasm": "^1.0.1",
|
||||
"js-base64": "^3.7.7",
|
||||
"js-beautify": "^1.15.4",
|
||||
"js-tiktoken": "^1.0.21",
|
||||
"jsbarcode": "^3.12.1",
|
||||
"json-analyzer": "^1.2.2",
|
||||
"json-editor-vue": "^0.18.0",
|
||||
"json-to-ts": "^1.7.0",
|
||||
"json-editor-vue": "^0.18.1",
|
||||
"json-to-ts": "^2.1.0",
|
||||
"json5": "^2.2.3",
|
||||
"jsonar-mod": "^1.9.0",
|
||||
"jsonlint-mod": "^1.7.6",
|
||||
@@ -236,20 +236,20 @@
|
||||
"markdown-it-sup": "^2.0.0",
|
||||
"markdown-table-prettify": "^3.6.0",
|
||||
"marked": "^10.0.0",
|
||||
"mathjs": "^14.5.3",
|
||||
"mathjs": "^15.0.0",
|
||||
"md-editor-v3": "^4.21.3",
|
||||
"memorystream": "^0.3.1",
|
||||
"merge-anything": "^6.0.6",
|
||||
"mermaid": "^11.9.0",
|
||||
"mime-types": "^2.1.35",
|
||||
"mime-types": "^3.0.1",
|
||||
"mitex-wasm": "^0.2.5",
|
||||
"moment": "^2.30.1",
|
||||
"monaco-editor": "^0.43.0",
|
||||
"monaco-editor": "^0.54.0",
|
||||
"morsee": "^1.0.10",
|
||||
"naive-ui": "^2.35.0",
|
||||
"nanoid": "^5.1.5",
|
||||
"nanoid-dictionary": "^4.3.0",
|
||||
"nestify-anything": "^3.0.3",
|
||||
"nanoid": "^5.1.6",
|
||||
"nanoid-dictionary": "^5.0.0",
|
||||
"nestify-anything": "^4.0.1",
|
||||
"netmask": "^2.0.2",
|
||||
"netstack.js": "^2.1.2",
|
||||
"nginx-config-formatter": "^1.4.5",
|
||||
@@ -282,7 +282,7 @@
|
||||
"qrcode-vue3": "^1.7.1",
|
||||
"quicktype-core": "^23.1.3",
|
||||
"randexp": "^0.5.3",
|
||||
"regex": "^4.4.0",
|
||||
"regex": "^6.0.1",
|
||||
"rekcod": "^3.0.0",
|
||||
"resistor-data": "^1.1.1",
|
||||
"riimut": "^0.9.1",
|
||||
@@ -296,11 +296,11 @@
|
||||
"slashes": "^3.0.12",
|
||||
"smol-toml": "^1.4.2",
|
||||
"sms-segments-calculator": "^1.2.0",
|
||||
"spdx-satisfies": "^5.0.1",
|
||||
"spdx-satisfies": "^6.0.0",
|
||||
"sql-formatter": "^15.6.6",
|
||||
"sshpk": "^1.18.0",
|
||||
"staveless-futhark": "^0.6.1",
|
||||
"stringify-object": "^5.0.0",
|
||||
"stringify-object": "^6.0.0",
|
||||
"svg2png-wasm": "^1.4.1",
|
||||
"svgo": "^3.3.2",
|
||||
"swagger-ui-dist": "^5.27.0",
|
||||
@@ -312,15 +312,15 @@
|
||||
"to-single-quotes": "^4.0.0",
|
||||
"turndown": "^7.2.0",
|
||||
"ua-parser-js": "^2.0.4",
|
||||
"ulid": "^2.4.0",
|
||||
"ulid": "^3.0.1",
|
||||
"unicode-emoji-json": "^0.8.0",
|
||||
"unique-random": "^4.0.0",
|
||||
"unixcrypt-browser": "^2.0.4",
|
||||
"unpdf": "^1.1.0",
|
||||
"unplugin-auto-import": "^0.16.4",
|
||||
"utf8": "^3.0.0",
|
||||
"uuid": "^11.1.0",
|
||||
"vanilla-jsoneditor": "^0.23.8",
|
||||
"uuid": "^13.0.0",
|
||||
"vanilla-jsoneditor": "^3.10.0",
|
||||
"vue": "^3.3.4",
|
||||
"vue-color-wheel": "^0.1.1",
|
||||
"vue-i18n": "^11.1.9",
|
||||
@@ -343,7 +343,7 @@
|
||||
"xpath": "^0.0.34",
|
||||
"xpath-to-css": "^1.2.0",
|
||||
"xslt-processor": "^3.3.1",
|
||||
"yaml": "^2.8.0"
|
||||
"yaml": "^2.8.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@antfu/eslint-config": "^0.41.0",
|
||||
@@ -373,24 +373,24 @@
|
||||
"@types/luxon": "^3.4.2",
|
||||
"@types/markdown-it": "^13.0.9",
|
||||
"@types/memorystream": "^0.3.4",
|
||||
"@types/mime-types": "^2.1.4",
|
||||
"@types/mime-types": "^3.0.1",
|
||||
"@types/morsee": "^1.0.2",
|
||||
"@types/nanoid-dictionary": "^4.2.3",
|
||||
"@types/netmask": "^2.0.5",
|
||||
"@types/node": "^22.0.0",
|
||||
"@types/node-forge": "^1.3.13",
|
||||
"@types/node": "^22.18.11",
|
||||
"@types/node-forge": "^1.3.14",
|
||||
"@types/potrace": "^2.1.5",
|
||||
"@types/punycode": "^2.1.4",
|
||||
"@types/qrcode": "^1.5.5",
|
||||
"@types/sanitize-html": "^2.13.0",
|
||||
"@types/spdx-satisfies": "^0.1.2",
|
||||
"@types/spdx-satisfies": "^6.0.0",
|
||||
"@types/sshpk": "^1.17.4",
|
||||
"@types/stringify-object": "^4.0.5",
|
||||
"@types/text-encoding-utf-8": "^1.0.5",
|
||||
"@types/turndown": "^5.0.5",
|
||||
"@types/ua-parser-js": "^0.7.39",
|
||||
"@types/utf8": "^3.0.3",
|
||||
"@types/uuid": "^9.0.8",
|
||||
"@types/uuid": "^10.0.0",
|
||||
"@unocss/eslint-config": "^0.57.1",
|
||||
"@vitejs/plugin-vue": "^4.3.4",
|
||||
"@vitejs/plugin-vue-jsx": "^3.0.2",
|
||||
@@ -416,14 +416,14 @@
|
||||
"unplugin-vue-markdown": "^29.1.0",
|
||||
"vite": "^4.4.9",
|
||||
"vite-plugin-node-polyfills": "^0.23.0",
|
||||
"vite-plugin-pwa": "^1.0.1",
|
||||
"vite-plugin-pwa": "^1.1.0",
|
||||
"vite-plugin-splash-screen": "^0.2.0",
|
||||
"vite-plugin-wasm": "^3.4.1",
|
||||
"vite-svg-loader": "^4.0.0",
|
||||
"vitest": "^0.34.6",
|
||||
"vue-i18n-extract": "^2.0.7",
|
||||
"workbox-window": "^7.3.0",
|
||||
"zx": "^7.2.3"
|
||||
"zx": "^7.2.4"
|
||||
},
|
||||
"pnpm": {
|
||||
"overrides": {
|
||||
|
||||
Generated
+344
-636
File diff suppressed because it is too large.
Load diff
@@ -26,15 +26,29 @@ program
|
||||
|
||||
const options = program.opts();
|
||||
|
||||
function removeUnusedKeys(targetFlat, englishFlat) {
|
||||
const cleaned = {};
|
||||
for (const key of Object.keys(targetFlat)) {
|
||||
if (englishFlat[key] !== undefined) {
|
||||
cleaned[key] = targetFlat[key];
|
||||
} else {
|
||||
console.log(`Removed unused key: ${key}`);
|
||||
}
|
||||
}
|
||||
return cleaned;
|
||||
}
|
||||
|
||||
async function translateText(text, targetLang) {
|
||||
const response = await axios.post(TRANSLATE_ENDPOINT, null, {
|
||||
params: {
|
||||
q: text,
|
||||
target: targetLang,
|
||||
key: GOOGLE_TRANSLATE_API_KEY,
|
||||
format: 'text',
|
||||
},
|
||||
});
|
||||
return response.data.data.translations[0].translatedText;
|
||||
return response.data.data.translations[0].translatedText
|
||||
.replace(/\{'/, '{\'').replace(/'\}/, '}\'');
|
||||
}
|
||||
|
||||
function flattenYaml(obj, prefix = '') {
|
||||
@@ -79,13 +93,13 @@ async function syncTranslations(englishFile, targetFiles, dryRun = false) {
|
||||
continue;
|
||||
}
|
||||
const targetYaml = yaml.parse(await fs.readFile(file, 'utf8')) || {};
|
||||
const targetFlat = flattenYaml(targetYaml);
|
||||
const targetFlat = removeUnusedKeys(flattenYaml(targetYaml), englishFlat);
|
||||
|
||||
const updatedFlat = { ...targetFlat };
|
||||
let langCharCount = 0;
|
||||
|
||||
for (const [key, englishText] of Object.entries(englishFlat)) {
|
||||
const needsTranslation = !targetFlat[key] || targetFlat[key] === englishText;
|
||||
const needsTranslation = !targetFlat[key];
|
||||
if (needsTranslation) {
|
||||
if (dryRun) {
|
||||
langCharCount += englishText.length;
|
||||
|
||||
@@ -4,14 +4,19 @@ const { availableLocales, locale, t } = useI18n();
|
||||
const localesLong: Record<string, string> = {
|
||||
en: 'English',
|
||||
de: 'Deutsch',
|
||||
da: 'Dansk',
|
||||
es: 'Español',
|
||||
fr: 'Français',
|
||||
ga: 'Gaeilge',
|
||||
it: 'Italiano',
|
||||
nl: 'Nederlands',
|
||||
no: 'Norwegian',
|
||||
pl: 'Polski',
|
||||
pt: 'Português',
|
||||
ru: 'Русский',
|
||||
tr: 'Türkçe',
|
||||
uk: 'Українська',
|
||||
ko: '한국인',
|
||||
zh: '中文',
|
||||
vi: 'Tiếng Việt',
|
||||
ar: 'عربي',
|
||||
|
||||
@@ -16,7 +16,7 @@ const firstLicence = ref('GPL-3.0');
|
||||
const secondLicence = ref('MIT');
|
||||
const compatibility = computed(() => {
|
||||
try {
|
||||
return satisfies(firstLicence.value.split(':')[0], secondLicence.value.split(':')[0]) ? 'ok' : 'nok';
|
||||
return satisfies(firstLicence.value.split(':')[0], [secondLicence.value.split(':')[0]]) ? 'ok' : 'nok';
|
||||
}
|
||||
catch (e: any) {
|
||||
return e.toString();
|
||||
|
||||
Reference in new issue
Block a user