Skip to content

Commit

Permalink
update descriptions and test
Browse files Browse the repository at this point in the history
  • Loading branch information
malvarezphrase committed Sep 25, 2024
1 parent 235a9a3 commit 62930bf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -175,8 +175,8 @@ public void localeDownloadTest() throws ApiException, IOException, InterruptedEx
branch, fileFormat, tags, tag, includeEmptyTranslations, excludeEmptyZeroForms,
includeTranslatedKeys, keepNotranslateTags, convertEmoji, formatOptions, encoding,
skipUnverifiedTranslations, includeUnverifiedTranslations, useLastReviewedVersion,
fallbackLocaleId, sourceLocaleId, customMetadataFilters, translationKeyPrefix,
useTranslationKeyPrefixAsFilter);
fallbackLocaleId, sourceLocaleId, translationKeyPrefix, useTranslationKeyPrefixAsFilter,
customMetadataFilters);

String fileContents = new String(java.nio.file.Files.readAllBytes(response.toPath()));
Assert.assertEquals("Correct file contents", fileContents, body);
Expand Down
4 changes: 2 additions & 2 deletions paths/locales/download.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -112,13 +112,13 @@ parameters:
in: query
schema:
type: string
- description: Provides the source language of a corresponding job as the source language of the generated locale file. This parameter will be ignored unless used in combination with a <code>tag</code> parameter indicating a specific job.
- description: "Download all translation keys, and remove the specified prefix where possible. Warning: this may create duplicate key names if other keys share the same name after the prefix is removed."
example: "prefix_"
name: translation_key_prefix
in: query
schema:
type: string
- description: Provides the source language of a corresponding job as the source language of the generated locale file. This parameter will be ignored unless used in combination with a <code>tag</code> parameter indicating a specific job.
- description: Only download translation keys containing the specified prefix, and remove the prefix from the generated file.
example:
name: use_translation_key_prefix_as_filter
in: query
Expand Down

0 comments on commit 62930bf

Please sign in to comment.