Skip to content

Commit b8258b7

Browse files
phunguyenmurculmsivasubramaniaandatho7561dlechKosta-Github
authored
Ebuilder yaml sync 1.19 (#7)
* checked const value for the boolean type * test case added * added positive test case as well * Fix corner case for 'flow sequence forbidden' quickfix - Do not include any trailing spaces in the error range - This is a change in behaviour; it seems this behaviour was intentional based on the test cases, but I don't agree with it, since the error range should only cover the erroneous code. - Fix a bug where `]` or `}` are not included in the error range if they're the last character in the document Fixes redhat-developer#1060 Signed-off-by: David Thompson <davthomp@redhat.com> * added dockercompose and github actions in setting handler Signed-off-by: msivasubramaniaan <msivasub@redhat.com> * Fix YAML JSON Schema files starting with %YAML 1.x Fix a bug where YAML files containing a JSON Schema that start with %YAML 1.x or a comment that contains a number would fail to to be parsed. This is caused by the fact that the JSON Schema parser would contain the number, e.g. 1.2 as the value of `unresolvedJsonSchema.schema` and so the test for `=== undefined` would fail. This would cause the error from the JSON parser to be returned instead of trying to parse the file as a YAML file. To work around this, also check if `unresolvedJsonSchema.schema` is a number. It if is, it clearly was not a JSON Schema and so we can safely try to parse the file as a YAML file. Fixes: redhat-developer#922 Signed-off-by: David Lechner <dlechner@baylibre.com> * show the matching value on top * fix eslint issue * removed enumMarkdown entries * Fix bool enums (redhat-developer#1080) * add (failing) test case for boolean enum and const values failing with: ``` [ { code: 1, data: { schemaUri: [ 'file:///default_schema_id.yaml' ], values: [ true, false ] }, message: 'Value is not accepted. Valid values: true, false.', range: { end: { character: 15, line: 0 }, start: { character: 11, line: 0 } }, severity: 1, source: 'yaml-schema: file:///default_schema_id.yaml' } ] ``` * fix the issue for `boolean` values in `enum` this is the same fix for `enum` that has been applied a while back for `const` values here: redhat-developer@e6165e4 fixes issue: redhat-developer#1078 --------- Co-authored-by: xxx <xxx> * Support draft-04 schemas (redhat-developer#1065) This helps to support the schema for openapi 3.0.0, among others, that use an older draft of JSON schema that has some type differences that make it incompatible with JSON schema draft 07. See redhat-developer#1006 , I think the root cause for the issues that PR caused is that we were trying to download and cache the metaschema from the "URL" instead of using the copy that's bundled with `ajv`. Fixes redhat-developer#780, Fixes redhat-developer#752 (and many, many duplicates we'll have to find and clean up) Signed-off-by: David Thompson <davthomp@redhat.com> * Fix recursion bug in ast-conversion (redhat-developer#1076) * Ensure recursion works as expected * fix test safety for when parse fails * use a cache to keep track of resolved aliases * Added l10n bundle for various language and translate the local strings (redhat-developer#1086) * added l10n bundle for various language and translate the local strings * upstream node * upstream node * update to node 18 * Changed NodeJS.Timeout as per node 18 * upstream to node 20 * updated coversall script * fixed test case * override json service translation * fixed test cases * fix/improve enum value descriptions for merged enum lists (redhat-developer#1085) This is a follow-up submission for redhat-developer#1028, which removes duplicate enum values in merged enum lists. This fix/improvement ensures that the first **non-empty** enum description is used for the corresponding enum value. Before this fix: if the first non-unique enum value was not providing a description but the second one was, it was not picked up and the enum value description stayed empty. Co-authored-by: xxx <xxx> Co-authored-by: Muthurajan Sivasubramanian <93245779+msivasubramaniaan@users.noreply.github.com> * added test cases for bundle and configuration through testhelper class * Fix array of const completion * Fix ignoreScalar in value completion * apply patch * Updated changelog for the release 1.19.0 (redhat-developer#1094) * Updated changelog for the release 1.19.0 * updated chhangelog.md * addressed review comments * @vscode/l10n is a runtime dependency (redhat-developer#1096) * check NODE_AUTH_TOKEN is available or not (redhat-developer#1098) Signed-off-by: msivasubramaniaan <msivasub@redhat.com> * Fix auth on npm publish (redhat-developer#1099) * check NODE_AUTH_TOKEN is available or not Signed-off-by: msivasubramaniaan <msivasub@redhat.com> * set NODE_AUTH_TOKEN --------- Signed-off-by: msivasubramaniaan <msivasub@redhat.com> * Fix auth on npm publish (redhat-developer#1100) * check NODE_AUTH_TOKEN is available or not Signed-off-by: msivasubramaniaan <msivasub@redhat.com> * set NODE_AUTH_TOKEN * set npmAuthToken $NODE_AUTH_TOKEN * set npmAuthToken $NODE_AUTH_TOKEN --------- Signed-off-by: msivasubramaniaan <msivasub@redhat.com> * Update CI.yaml (redhat-developer#1101) just set token to 123 and check what error occur * Revert "Update CI.yaml (redhat-developer#1101)" (redhat-developer#1102) This reverts commit 8c4c22f. * Fix auth on npm publish (redhat-developer#1103) * check NODE_AUTH_TOKEN is available or not Signed-off-by: msivasubramaniaan <msivasub@redhat.com> * set NODE_AUTH_TOKEN * set npmAuthToken $NODE_AUTH_TOKEN * set npmAuthToken $NODE_AUTH_TOKEN * all the required parameters are set --------- Signed-off-by: msivasubramaniaan <msivasub@redhat.com> * Fix the fallback path to the l10n folder (redhat-developer#1104) If the language server client doesn't specify the location of the l10n folder, then the language server falls back to a path relative to the complied file. This path was wrong; `server.js` is in `./out/server/src/server.js`, so the relative path of the `l10n` folder is `../../../l10n` instead of `../l10n`. Signed-off-by: David Thompson <davthomp@redhat.com> * Fix the fallback path to the l10n folder (redhat-developer#1104) (redhat-developer#1105) If the language server client doesn't specify the location of the l10n folder, then the language server falls back to a path relative to the complied file. This path was wrong; `server.js` is in `./out/server/src/server.js`, so the relative path of the `l10n` folder is `../../../l10n` instead of `../l10n`. Signed-off-by: David Thompson <davthomp@redhat.com> Co-authored-by: David Thompson <davidethompson@me.com> * Fix NPM broken (redhat-developer#1095) * set always-auth true * added registry url and release ci on main push for testing * removed main push * renamed to NPM_TOKEN * used YARN_NPM_AUTH_TOKEN * used npm_token * used YARN_NPM_AUTH_TOKEN * added registry-url * tried NODE_AUTH_TOKEN * created .npmrc file * removed .npmrc * check NODE_AUTH_TOKEN available or not * moved the check code on top * checked NPM_TOKEN * tried with NODE_AUTH_TOKEN * Try with NPM instead of YARN * switch to npm * removed install command * fix build issue * fix build issue * done pkg fix * Completely moved to npm from yarn * review comments addressed * Bump serialize-javascript and mocha Bumps [serialize-javascript](https://github.com/yahoo/serialize-javascript) to 6.0.2 and updates ancestor dependency [mocha](https://github.com/mochajs/mocha). These dependencies need to be updated together. Updates `serialize-javascript` from 6.0.0 to 6.0.2 - [Release notes](https://github.com/yahoo/serialize-javascript/releases) - [Commits](yahoo/serialize-javascript@v6.0.0...v6.0.2) Updates `mocha` from 9.2.2 to 11.7.1 - [Release notes](https://github.com/mochajs/mocha/releases) - [Changelog](https://github.com/mochajs/mocha/blob/main/CHANGELOG.md) - [Commits](mochajs/mocha@v9.2.2...v11.7.1) --- updated-dependencies: - dependency-name: serialize-javascript dependency-version: 6.0.2 dependency-type: indirect - dependency-name: mocha dependency-version: 11.7.1 dependency-type: direct:development ... Signed-off-by: dependabot[bot] <support@github.com> * Remove coveralls dependency (redhat-developer#1107) From my understanding, I think we just need the GitHub Action in order for things to work. Signed-off-by: David Thompson <davthomp@redhat.com> * set .npmrc (redhat-developer#1109) * add encoding dependency * upstream @vsode/l10n dependency * updated changelog.md (redhat-developer#1111) * Fixed broken link to JSON schema website * Fix release GitHub Action - setup-node@v5 creates a .npmrc if you provide a registry, so there should be no need to do that separately - after setup-node@v5 is run, `npm publish` expects the token to be accessible from the environment variable `NODE_AUTH_TOKEN` - also fix coveralls, because that's getting annoying (root cause is that it tried to publish the results for each platform instead of just once) See https://github.com/actions/setup-node/blob/main/docs/advanced-usage.md#publish-to-npmjs-and-gpr-with-npm Signed-off-by: David Thompson <davthomp@redhat.com> * Fix prerelease publishing The options that were being used in `npm publish` to modify the version to include the git hash at the end are intended to be used with the `npm version` command beforehand instead. I think this got messed up somewhere along the way while rewriting the GitHub Action. Fixes redhat-developer#1128 Signed-off-by: David Thompson <davthomp@redhat.com> * Upversion to 1.19.1 We burned the 1.19.0 release by publishing a prerelease version labelled 1.19.0. In order to release, we'll need to use a different version number. Signed-off-by: David Thompson <davthomp@redhat.com> * Upversion to 1.20.0 * remove \n in README (redhat-developer#1068) fix typo Signed-off-by: roc <roc@imroc.cc> Co-authored-by: David Lechner <david@lechnology.com> * Wrapping code action title with string (redhat-developer#1117) * Wrapping code action title with string * adding textedit value field wrapped as string * README.md: Mention kate as a Client The `kate` editor has `yaml-language-server` as its default for the YAML format built-in (no plugins or manual configuration needed). * Support `yaml-textmate` and `yaml-tmlanguage` languages * redhat-developer/vscode-yaml#1093 * fix: cast cleanupInterval to any before clearing interval * fix: remove max-warnings option from lint scripts for better flexibility * Remove @microsoft/eslint-formatter-sarif from devDependencies in package.json --------- Signed-off-by: David Thompson <davthomp@redhat.com> Signed-off-by: msivasubramaniaan <msivasub@redhat.com> Signed-off-by: David Lechner <dlechner@baylibre.com> Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: roc <roc@imroc.cc> Co-authored-by: msivasubramaniaan <msivasub@redhat.com> Co-authored-by: David Thompson <davthomp@redhat.com> Co-authored-by: David Lechner <dlechner@baylibre.com> Co-authored-by: Kosta <2526664+Kosta-Github@users.noreply.github.com> Co-authored-by: David Thompson <davidethompson@me.com> Co-authored-by: pjsk-stripe <55514208+pjsk-stripe@users.noreply.github.com> Co-authored-by: Muthurajan Sivasubramanian <93245779+msivasubramaniaan@users.noreply.github.com> Co-authored-by: ShadiestGoat <48590492+ShadiestGoat@users.noreply.github.com> Co-authored-by: Daniel M. Capella <polyzen@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: debbie <148627186+webdevred@users.noreply.github.com> Co-authored-by: roc <roc@imroc.cc> Co-authored-by: David Lechner <david@lechnology.com> Co-authored-by: Arunvenmany <arun.kumar.v.n@ibm.com> Co-authored-by: Niels Thykier <niels@thykier.net> Co-authored-by: RedCMD <33529441+RedCMD@users.noreply.github.com>
1 parent b521cac commit b8258b7

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+8290
-3756
lines changed

.github/workflows/CI.yaml

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -34,23 +34,23 @@ jobs:
3434
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
3535

3636
# Set up Node
37-
- name: Use Node 16
38-
uses: actions/setup-node@7c12f8017d5436eb855f1ed4399f037a36fbd9e8 # v2.5.2
37+
- name: Use Node 20
38+
uses: actions/setup-node@v5
3939
with:
40-
node-version: 16
41-
registry-url: "https://registry.npmjs.org"
40+
node-version: 20
41+
registry-url: 'https://registry.npmjs.org'
4242

4343
# Run install dependencies
4444
- name: Install dependencies
45-
run: yarn
45+
run: npm ci
4646

4747
# Build extension
4848
- name: Run build
49-
run: yarn build
49+
run: npm run build
5050

5151
- name: Generate SARIF
5252
if: matrix.os == 'ubuntu-latest'
53-
run: yarn lint-ci
53+
run: npm run lint-ci
5454

5555
- name: Upload SARIF file
5656
if: matrix.os == 'ubuntu-latest'
@@ -66,17 +66,20 @@ jobs:
6666
- name: Run Test
6767
uses: coactions/setup-xvfb@b6b4fcfb9f5a895edadc3bc76318fae0ac17c8b3 # v1.0.1
6868
with:
69-
run: yarn coveralls
69+
run: npm run coveralls
7070

7171
# Run Coveralls
7272
- name: Coveralls
73+
if: matrix.os == 'ubuntu-latest'
7374
uses: coverallsapp/github-action@c7885c00cb7ec0b8f9f5ff3f53cddb980f7a4412 # v2.2.0
7475
with:
7576
github-token: ${{ secrets.GITHUB_TOKEN }}
7677

7778
- name: Publish
7879
if: ${{ success() && runner.os == 'Linux' && github.event_name == 'push' && github.ref == 'refs/heads/main'}}
79-
run: yarn publish --tag next --no-git-tag-version --prepatch --preid "$(git rev-parse --short HEAD)"
80+
run: |
81+
npm version prerelease --preid $(git rev-parse --short HEAD) --no-git-tag-version
82+
npm publish --tag next
8083
env:
8184
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
8285

.github/workflows/release.yaml

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -23,28 +23,31 @@ jobs:
2323
- uses: actions/checkout@v2
2424

2525
# Set up Node
26-
- name: Use Node 16
27-
uses: actions/setup-node@v1
26+
- name: Use Node 20
27+
uses: actions/setup-node@v5
2828
with:
29-
node-version: 16
29+
node-version: 20
3030
registry-url: 'https://registry.npmjs.org'
3131

3232
# Run install dependencies
3333
- name: Install dependencies
34-
run: yarn
34+
run: npm ci
3535

3636
# Build extension
3737
- name: Run build
38-
run: yarn build
38+
run: npm run build
3939

4040
# Run tests
4141
- name: Run Test
42-
run: yarn test
42+
run: npm test
4343

44-
# Publish to npm
45-
- run: |
46-
yarn check-dependencies
47-
yarn publish --access public
44+
# Check Dependencies
45+
- name: Run Check Dependencies
46+
run: npm run check-dependencies
47+
48+
# Publish to npm
49+
- name: Publish to npm
50+
run: npm publish --access public
4851
env:
4952
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
5053

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ out/server
88
yarn-error.log
99
coverage
1010
lib/
11-
package-lock.json
1211
eslint-result.sarif
12+
yarn.lock

CHANGELOG.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,30 @@
1+
### 1.19.1
2+
- Feat: Support formatting docker-compose.yml by default [#1071](https://github.com/redhat-developer/yaml-language-server/issues/1071)
3+
- Feat: Support statically registering format support [#1062](https://github.com/redhat-developer/yaml-language-server/pull/1062)
4+
- Feat: Support localization in the YAML language server [#1081](https://github.com/redhat-developer/yaml-language-server/issues/1081)
5+
- Feat: Migrated to NPM [#1097](https://github.com/redhat-developer/yaml-language-server/issues/1097)
6+
- Feat: Add formatting option to remove trailing comma [#1112](https://github.com/redhat-developer/vscode-yaml/issues/1112)
7+
- Fix: OpenAPI 3.0.0 specification is treated as invalid [#752](https://github.com/redhat-developer/yaml-language-server/issues/752)
8+
- Fix: YAML Language Server checks against JSON Schema Draft 7 instead of the defined one [#780](https://github.com/redhat-developer/yaml-language-server/issues/780)
9+
- Fix: Numbers in comments should not break schema validation [#922](https://github.com/redhat-developer/yaml-language-server/issues/922)
10+
- Fix: Make enum values easier to read on hover [#982](https://github.com/redhat-developer/yaml-language-server/issues/982)
11+
- Fix: No more quickfix for indent with tab [#1052](https://github.com/redhat-developer/yaml-language-server/issues/1052)
12+
- Fix: QuickFix for "flow sequence forbidden" leaves in trailing `]` [#1060](https://github.com/redhat-developer/yaml-language-server/issues/1060)
13+
- Fix: YAML conversion does not resolve aliases correctly [#1075](https://github.com/redhat-developer/yaml-language-server/issues/1075)
14+
- Fix: Fix enum values to be unique [#1028](https://github.com/redhat-developer/yaml-language-server/pull/1028)
15+
- Fix: Using bool values in enum and const generates a validation error for valid values [#1078](https://github.com/redhat-developer/yaml-language-server/issues/1078)
16+
- Fix: improve enum value descriptions for merged enum lists [#1085](https://github.com/redhat-developer/yaml-language-server/pull/1085)
17+
- Fix: Array of const completion [#1092](https://github.com/redhat-developer/yaml-language-server/pull/1092)
18+
- Fix: Error for missing anchor (unidentified alias) broken since 1.0 [#1098](https://github.com/redhat-developer/vscode-yaml/issues/1098)
19+
- Fix: Invalid tab indentation error [#1110](https://github.com/redhat-developer/vscode-yaml/issues/1110)
20+
- Fix: Validation shows false negative errors if using boolean with const [#1116](https://github.com/redhat-developer/vscode-yaml/issues/1116)
21+
- Fix: Broken link to JSON Schema website [#1113](https://github.com/redhat-developer/yaml-language-server/pull/1113)
22+
- Fix: GitHub Actions release process was broken [#1127](https://github.com/redhat-developer/yaml-language-server/pull/1127), [#1128](https://github.com/redhat-developer/yaml-language-server/issues/1128)
23+
- Bump: ajv version [#1067](https://github.com/redhat-developer/yaml-language-server/pull/1067)
24+
25+
Thanks to [Trevor Dixon](https://github.com/trevordixon), [David Lechner](https://github.com/dlech), [pjsk-stripe](https://github.com/pjsk-stripe), [Lucy Dryaeva
26+
](https://github.com/ShadiestGoat), [Kosta](https://github.com/Kosta-Github) and [August Johansson ](https://github.com/webdevred) for your contributions.
27+
128
### 1.18.0
229
- Feat: Do not suggest propertyNames if doNotSuggest is true [#1045](https://github.com/redhat-developer/yaml-language-server/pull/1045)
330
- Feat: Exclude not suggest properties from possible properties error [#1051](https://github.com/redhat-developer/yaml-language-server/pull/1051)

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ WORKDIR /yaml-language-server
44

55
COPY . .
66

7-
RUN yarn install && \
8-
yarn run build
7+
RUN npm install && \
8+
npm run build
99

1010
ENTRYPOINT [ "node", "./out/server/src/server.js" ]
1111
CMD [ "--stdio" ]

README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ The following settings are supported:
3939
- `yaml.hover`: Enable/disable hover
4040
- `yaml.completion`: Enable/disable autocompletion
4141
- `yaml.schemas`: Helps you associate schemas with files in a glob pattern
42-
- `yaml.schemaStore.enable`: When set to true the YAML language server will pull in all available schemas from [JSON Schema Store](https://www.schemastore.org/json/)
42+
- `yaml.schemaStore.enable`: When set to true the YAML language server will pull in all available schemas from [JSON Schema Store](https://www.schemastore.org)
4343
- `yaml.schemaStore.url`: URL of a schema store catalog to use when downloading schemas.
4444
- `yaml.customTags`: Array of custom tags that the parser will validate against. It has two ways to be used. Either an item in the array is a custom tag such as "!Ref" and it will automatically map !Ref to scalar or you can specify the type of the object !Ref should be e.g. "!Ref sequence". The type of object can be either scalar (for strings and booleans), sequence (for arrays), map (for objects).
4545
- `yaml.maxItemsComputed`: The maximum number of outline symbols and folding regions computed (limited for performance reasons).
@@ -49,7 +49,7 @@ The following settings are supported:
4949
- `http.proxyStrictSSL`: If true the proxy server certificate should be verified against the list of supplied CAs. Default is false.
5050
- `[yaml].editor.formatOnType`: Enable/disable on type indent and auto formatting array
5151
- `yaml.disableDefaultProperties`: Disable adding not required properties with default values into completion text
52-
- `yaml.suggest.parentSkeletonSelectedFirst`: If true, the user must select some parent skeleton first before autocompletion starts to suggest the rest of the properties.\nWhen yaml object is not empty, autocompletion ignores this setting and returns all properties and skeletons.
52+
- `yaml.suggest.parentSkeletonSelectedFirst`: If true, the user must select some parent skeleton first before autocompletion starts to suggest the rest of the properties. When yaml object is not empty, autocompletion ignores this setting and returns all properties and skeletons.
5353
- `yaml.style.flowMapping` : Forbids flow style mappings if set to `forbid`
5454
- `yaml.style.flowSequence` : Forbids flow style sequences if set to `forbid`
5555
- `yaml.keyOrdering` : Enforces alphabetical ordering of keys in mappings when set to `true`. Default is `false`
@@ -388,6 +388,7 @@ This repository only contains the server implementation. Here are some known cli
388388
- [Vim-EasyComplete](https://github.com/jayli/vim-easycomplete) for Vim/NeoVim
389389
- [nova-yaml](https://github.com/robb-j/nova-yaml/) for Nova
390390
- [volar-service-yaml](https://github.com/volarjs/services/tree/master/packages/yaml) for Volar
391+
- [Kate](https://kate-editor.org/)
391392

392393
## Developer Support
393394

@@ -400,11 +401,11 @@ This repository only contains the server implementation. Here are some known cli
400401
3. Install the dependencies
401402
```bash
402403
cd yaml-language-server
403-
$ yarn install
404+
$ npm install
404405
```
405406
4. Build the language server
406407
```bash
407-
$ yarn run build
408+
$ npm run build
408409
```
409410
5. The new built server is now located in ./out/server/src/server.js.
410411
```bash

l10n/bundle.l10n.de.json

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
{
2+
"Default Value": "Standardwert",
3+
"json.schema.invalidref": "$ref '{0}' in '{1}' kann nicht aufgelöst werden.",
4+
"json.schema.problemloadingref": "Probleme beim Laden der Referenz '{0}': {1}",
5+
"json.schema.nocontent": "Schema konnte nicht von '{0}' geladen werden: Kein Inhalt.",
6+
"json.schema.invalidFormat": "Inhalt von '{0}' konnte nicht analysiert werden: Analysefehler in Zeile:{1}, Spalte:{2}",
7+
"colorHexFormatWarning": "Ungültiges Farbformat. Verwenden Sie #RGB, #RGBA, #RRGGBB oder #RRGGBBAA.",
8+
"dateTimeFormatWarning": "Zeichenfolge ist kein RFC3339-Datum-Zeit-Wert.",
9+
"dateFormatWarning": "Zeichenfolge ist kein RFC3339-Datum.",
10+
"timeFormatWarning": "Zeichenfolge ist keine RFC3339-Zeit.",
11+
"emailFormatWarning": "Zeichenfolge ist keine E-Mail-Adresse.",
12+
"ipv4FormatWarning": "Zeichenfolge entspricht nicht dem IPv4-Format.",
13+
"ipv6FormatWarning": "Zeichenfolge entspricht nicht dem IPv6-Format.",
14+
"enumWarning": "Wert wird nicht akzeptiert. Gültige Werte: {0}.",
15+
"typeArrayMismatchWarning": "Falscher Typ. Erwartet wird einer von {0}.",
16+
"notSchemaWarning": "Entspricht einem Schema, das nicht zulässig ist.",
17+
"oneOfWarning": "Entspricht mehreren Schemata, obwohl nur eines gültig sein darf.",
18+
"ifFilePatternAssociation": "filePatternAssociation '{0}' stimmt nicht mit der Dokument-URI '{1}' überein",
19+
"multipleOfWarning": "Wert ist nicht durch {0} teilbar.",
20+
"exclusiveMinimumWarning": "Wert liegt unter dem exklusiven Minimum von {0}.",
21+
"exclusiveMaximumWarning": "Wert liegt über dem exklusiven Maximum von {0}.",
22+
"minimumWarning": "Wert liegt unter dem Minimum von {0}.",
23+
"maximumWarning": "Wert liegt über dem Maximum von {0}.",
24+
"minLengthWarning": "Zeichenfolge ist kürzer als die minimale Länge von {0}.",
25+
"maxLengthWarning": "Zeichenfolge ist länger als die maximale Länge von {0}.",
26+
"patternWarning": "Zeichenfolge stimmt nicht mit dem Muster \"{0}\" überein.",
27+
"uriEmpty": "URI erwartet.",
28+
"uriSchemeMissing": "URI mit Schema wird erwartet.",
29+
"uriFormatWarning": "Zeichenfolge ist keine gültige URI: {0}",
30+
"additionalItemsWarning": "Array hat zu viele Elemente laut Schema. Erwartet: {0} oder weniger.",
31+
"requiredItemMissingWarning": "Array enthält das erforderliche Element nicht.",
32+
"minItemsWarning": "Array hat zu wenige Elemente. Erwartet: {0} oder mehr.",
33+
"maxItemsWarning": "Array hat zu viele Elemente. Erwartet: {0} oder weniger.",
34+
"uniqueItemsWarning": "Array enthält doppelte Elemente.",
35+
"DisallowedExtraPropWarning": "Eigenschaft {0} ist nicht erlaubt.",
36+
"MaxPropWarning": "Objekt hat mehr Eigenschaften als das Limit von {0}.",
37+
"MinPropWarning": "Objekt hat weniger Eigenschaften als die erforderliche Anzahl von {0}.",
38+
"RequiredDependentPropWarning": "Objekt fehlt die Eigenschaft {0}, die von Eigenschaft {1} benötigt wird.",
39+
"Inline schema": "Inline-Schema",
40+
"create.item.array": "Ein Element eines Arrays erstellen{0}{1}",
41+
"array.item": "- (Array-Element) ",
42+
"allowedValues": "Erlaubte Werte:",
43+
"example": "Beispiel:",
44+
"source": "Quelle: [{0}]({1})",
45+
"jumpToSchema": "Zur Schema-Position springen ({0})",
46+
"convertToSpace": "Tab in Leerzeichen umwandeln",
47+
"convertAllSpaceToTab": "Alle Tabs in Leerzeichen umwandeln",
48+
"deleteUnusedAnchor": "Nicht verwendeten Anker löschen: {0}",
49+
"convertToBoolean": "In Boolean umwandeln",
50+
"convertToBlockStyle": "In Blockstil {0} umwandeln",
51+
"fixKeyOrderToMap": "Schlüsselreihenfolge für diese Map korrigieren",
52+
"flowStyleMapForbidden": "Flow-Stil-Mapping ist verboten",
53+
"flowStyleSeqForbidden": "Flow-Stil-Sequenz ist verboten",
54+
"unUsedAnchor": "Nicht verwendeter Anker \"{0}\"",
55+
"unUsedAlias": "Nicht aufgelöstes Alias \"{0}\""
56+
}

l10n/bundle.l10n.fr.json

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
{
2+
"Default Value": "Valeur par défaut",
3+
"json.schema.invalidref": "$ref '{0}' dans '{1}' ne peut pas être résolu",
4+
"json.schema.problemloadingref": "Problèmes de chargement de la référence '{0}' : {1}",
5+
"json.schema.noContent": "Impossible de charger le schéma à partir de {0}: aucun contenu.",
6+
"json.schema.invalidFormat": "Impossible d’analyser le contenu de {0}: erreur d’analyse à la ligne:{1}, colonne:{2}",
7+
"colorHexFormatWarning": "Format de couleur non valide. Utilisez #RGB, #RGBA, #RRGGBB ou #RRGGBBAA.",
8+
"dateTimeFormatWarning": "La chaîne n'est pas une date-heure RFC3339.",
9+
"dateFormatWarning": "La chaîne n'est pas une date RFC3339.",
10+
"timeFormatWarning": "La chaîne n'est pas une heure RFC3339.",
11+
"emailFormatWarning": "La chaîne n'est pas une adresse e-mail.",
12+
"ipv4FormatWarning": "La chaîne ne correspond pas au format IPv4.",
13+
"ipv6FormatWarning": "La chaîne ne correspond pas au format IPv6.",
14+
"enumWarning": "Valeur non acceptée. Valeurs valides: {0}.",
15+
"typeArrayMismatchWarning": "Type incorrect. On attend un des {0}.",
16+
"notSchemaWarning": "Correspond à un schéma qui n'est pas autorisé.",
17+
"oneOfWarning": "Correspond à plusieurs schémas lorsqu'un seul doit être validé.",
18+
"ifFilePatternAssociation": "filePatternAssociation '{0}' ne correspond pas à l'URI du document '{1}'",
19+
"multipleOfWarning": "La valeur n'est pas divisible par {0}.",
20+
"exclusiveMinimumWarning": "La valeur est inférieure au minimum exclusif de {0}.",
21+
"exclusiveMaximumWarning": "La valeur est supérieure au maximum exclusif de {0}.",
22+
"minimumWarning": "La valeur est inférieure au minimum de {0}.",
23+
"maximumWarning": "La valeur est supérieure au maximum de {0}.",
24+
"minLengthWarning": "La chaîne est plus courte que la longueur minimale de {0}.",
25+
"maxLengthWarning": "La chaîne est plus longue que la longueur maximale de {0}.",
26+
"patternWarning": "La chaîne ne correspond pas au modèle de '{0}'.",
27+
"uriEmpty": "URI attendu.",
28+
"uriSchemeMissing": "Une URI avec un schéma est attendue.",
29+
"uriFormatWarning": "La chaîne n'est pas un URI: {0}",
30+
"additionalItemsWarning": "Le tableau contient trop d'éléments selon le schéma. Valeur attendue : {0} ou moins.",
31+
"requiredItemMissingWarning": "Le tableau ne contient pas l'élément requis.",
32+
"minItemsWarning": "Le tableau contient trop peu d'éléments. On attend {0} ou plus.",
33+
"maxItemsWarning": "Le tableau contient trop d'éléments. On attend {0} ou moins.",
34+
"uniqueItemsWarning": "Le tableau contient des éléments en double.",
35+
"DisallowedExtraPropWarning": "La propriété {0} n'est pas autorisée.",
36+
"MaxPropWarning": "L'objet a plus de propriétés que la limite de {0}.",
37+
"MinPropWarning": "L'objet a moins de propriétés que le nombre requis de {0}",
38+
"RequiredDependentPropWarning": "L'objet ne possède pas la propriété {0} requise par la propriété {1}.",
39+
"Inline schema": "Schéma en ligne",
40+
"create.item.array": "Créer un élément d'un tableau {0} {1}",
41+
"array.item": "- (élément de tableau)",
42+
"allowedValues": "Valeurs autorisées:",
43+
"example": "Exemple:",
44+
"source": "Source: [{0}]{1}",
45+
"jumpToSchema": "Accéder à l'emplacement du schéma ({0})",
46+
"convertToSpace": "Convertir les tabulations en espaces",
47+
"convertAllSpaceToTab": "Convertir toutes les tabulations en espaces",
48+
"deleteUnusedAnchor": "Supprimer l'ancre inutilisée: {0}",
49+
"convertToBoolean": "Convertir en booléen",
50+
"convertToBlockStyle": "Convertir en style de bloc {0}",
51+
"fixKeyOrderToMap": "Corriger l'ordre des touches pour cette carte",
52+
"flowStyleMapForbidden": "Le mappage de style de flux est interdit",
53+
"flowStyleSeqForbidden": "La séquence de style Flow est interdite",
54+
"unUsedAnchor": "Ancre inutilisée '{0}'",
55+
"unUsedAlias": "Alias ​​non résolu '{0}'"
56+
}

0 commit comments

Comments
 (0)