Porównaj commity

...

11 Commity

Autor SHA1 Wiadomość Data
Nils Jacobsen 9d79cc6647
Merge 1c17761c6f into 36454f5e49 2024-04-06 10:36:38 +07:00
Mikael Finstad 36454f5e49
Merge pull request #1949 from kalebs-anotheraxiom/patch-2
Update cli.md
2024-04-05 21:48:04 +02:00
kalebs-anotheraxiom a3cb513096
Update cli.md
Fix Link from configStore.js to configStore.ts
2024-04-05 15:40:06 -04:00
Mikael Finstad 41739d7572
Update issues.md 2024-04-05 14:18:52 +02:00
Mikael Finstad 65410eab54
fix another test on windows 2024-04-03 23:24:48 +02:00
Mikael Finstad a662ab47e0
fix test 2024-04-03 23:19:45 +02:00
Mikael Finstad a030b29c9c
Merge pull request #1946 from mifi/dependabot/npm_and_yarn/vite-4.5.3
Bump vite from 4.5.2 to 4.5.3
2024-04-03 21:37:08 +01:00
Mikael Finstad 0ef2a98dbc
lint 2024-04-03 22:36:56 +02:00
dependabot[bot] 6c5acb9b63
Bump vite from 4.5.2 to 4.5.3
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 4.5.2 to 4.5.3.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/v4.5.3/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v4.5.3/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-03 16:54:42 +00:00
Nils Jacobsen 1c17761c6f
Update inlang.config.js 2023-07-10 16:14:03 +02:00
Nils Jacobsen d54d1a2825 feat: add ide-extension for better i18n handling 2023-07-10 16:06:05 +02:00
7 zmienionych plików z 42 dodań i 12 usunięć

5
.vscode/extensions.json vendored 100644
Wyświetl plik

@ -0,0 +1,5 @@
{
"recommendations": [
"inlang.vs-code-extension"
]
}

2
cli.md
Wyświetl plik

@ -26,7 +26,7 @@ LosslessCut file1.mp4 file2.mkv
```
## Override settings (experimental)
See [available settings](https://github.com/mifi/lossless-cut/blob/master/src/main/configStore.js). Note that this is subject to change in newer versions. ⚠️ If you specify incorrect values it could corrupt your configuration file. You may use JSON or JSON5. Example:
See [available settings](https://github.com/mifi/lossless-cut/blob/master/src/main/configStore.ts). Note that this is subject to change in newer versions. ⚠️ If you specify incorrect values it could corrupt your configuration file. You may use JSON or JSON5. Example:
```bash
LosslessCut --settings-json '{captureFormat:"jpeg", "keyframeCut":true}'
```

22
inlang.config.js 100644
Wyświetl plik

@ -0,0 +1,22 @@
/**
* @type { import("@inlang/core/config").DefineConfig }
*/
export async function defineConfig(env) {
const { default: i18nextPlugin } = await env.$import(
"https://cdn.jsdelivr.net/npm/@inlang/plugin-i18next@3/dist/index.js",
)
const { default: standardLintRules } = await env.$import(
"https://cdn.jsdelivr.net/npm/@inlang/plugin-standard-lint-rules@3/dist/index.js",
)
return {
referenceLanguage: "en",
plugins: [
i18nextPlugin({
pathPattern: "public/locales/{language}/translation.json",
}),
standardLintRules(),
],
}
}

Wyświetl plik

@ -12,6 +12,8 @@
- Enable "advanced view" and then click the Yin Yang symbol. It will invert the segments.
- Where is application data, settings and temp files stored?
- Electron's [appData](https://www.electronjs.org/docs/api/app#appgetpathname) folder.
- Can I export and replace the input file in-place?
- No, but you can export and automatically delete the input file.
## App Stores and GitHub difference

Wyświetl plik

@ -113,7 +113,7 @@
"typescript": "~5.2.0",
"use-debounce": "^5.1.0",
"use-trace-update": "^1.3.0",
"vite": "^4.5.2",
"vite": "^4.5.3",
"vitest": "^1.2.2"
},
"dependencies": {

Wyświetl plik

@ -1,3 +1,4 @@
// eslint-disable-line unicorn/filename-case
// eslint-disable-next-line import/no-extraneous-dependencies
import { test, expect, describe } from 'vitest';
@ -22,17 +23,17 @@ if (process.platform === 'win32') {
// taken from https://github.com/sindresorhus/file-url
describe('file uri both platforms', () => {
test('converts path to file url', () => {
expect(pathToFileURL('/test.jpg').href).toMatch(/file:\/{3}test\.jpg/);
expect(pathToFileURL('/test.jpg').href).toMatch(/^file:\/{3}.*test\.jpg$/);
expect(pathToFileURL('/Users/sindresorhus/dev/te^st.jpg').href).toEqual('file:///Users/sindresorhus/dev/te^st.jpg');
expect(pathToFileURL('/Users/sindresorhus/dev/te^st.jpg').href).toMatch(/^file:\/{2}.*\/Users\/sindresorhus\/dev\/te\^st\.jpg$/);
});
test('escapes more special characters in path', () => {
expect(pathToFileURL('/a^?!@#$%&\'";<>').href).toEqual('file:///a^%3F!@%23$%25&\'%22;%3C%3E');
expect(pathToFileURL('/a^?!@#$%&\'";<>').href).toMatch(/^file:\/{3}.*a\^%3F!@%23\$%25&'%22;%3C%3E$/);
});
test('escapes whitespace characters in path', () => {
expect(pathToFileURL('/file with\r\nnewline').href).toEqual('file:///file%20with%0D%0Anewline');
expect(pathToFileURL('/file with\r\nnewline').href).toMatch(/^file:\/{3}.*file%20with%0D%0Anewline$/);
});
test('relative path', () => {
@ -40,7 +41,7 @@ describe('file uri both platforms', () => {
});
test('slash', () => {
expect(pathToFileURL('/').href).toEqual('file:///');
expect(pathToFileURL('/').href).toMatch(/^file:\/{2}.*\/$/);
});
test('empty', () => {

Wyświetl plik

@ -7992,7 +7992,7 @@ __metadata:
typescript: "npm:~5.2.0"
use-debounce: "npm:^5.1.0"
use-trace-update: "npm:^1.3.0"
vite: "npm:^4.5.2"
vite: "npm:^4.5.3"
vitest: "npm:^1.2.2"
winston: "npm:^3.8.1"
yargs-parser: "npm:^21.1.1"
@ -11982,9 +11982,9 @@ __metadata:
languageName: node
linkType: hard
"vite@npm:^4.5.2":
version: 4.5.2
resolution: "vite@npm:4.5.2"
"vite@npm:^4.5.3":
version: 4.5.3
resolution: "vite@npm:4.5.3"
dependencies:
esbuild: "npm:^0.18.10"
fsevents: "npm:~2.3.2"
@ -12018,7 +12018,7 @@ __metadata:
optional: true
bin:
vite: bin/vite.js
checksum: 3feb39f8da038fb2b1ad074c19a9579c263c1d7a872c5c6e0269b82d67805bb8c93cf9fc393e852807483ae9a918b1ac2861c72f73ee92fb3935ea68333a2cf7
checksum: 82efe1bc6d6848f8c97b71f1dc5b2fba2c3f30b2207ef2451c8df1a0ed5903c55714d7cd8ecb75879b488661d97f6e01a4ad758b5ef6a50a14338f916233bfa4
languageName: node
linkType: hard