Skip to content

Commit

Permalink
fix: label descriptions
Browse files Browse the repository at this point in the history
  • Loading branch information
katerina20 committed Feb 8, 2024
1 parent 369ef8d commit a4f6268
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class ScreenshotUploadSubcommand extends ActCommandScreenshot{
@CommandLine.Option(names = {"-b", "--branch"}, paramLabel = "...", descriptionKey = "crowdin.screenshot.upload.branch-name", order = -2)
protected String branchName;

@CommandLine.Option(names = {"--label"}, paramLabel = "...", descriptionKey = "params.label", order = -2)
@CommandLine.Option(names = {"--label"}, paramLabel = "...", descriptionKey = "crowdin.screenshot.upload.label", order = -2)
protected List<String> labelNames;

@CommandLine.Option(names = {"-d", "--directory"}, paramLabel = "...", descriptionKey = "crowdin.screenshot.upload.directory-path", order = -2)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class StringListSubcommand extends ActCommandProject {
@CommandLine.Option(names = {"-b", "--branch"}, paramLabel = "...", order = -2)
protected String branchName;

@CommandLine.Option(names = {"--label"}, paramLabel = "...", descriptionKey = "params.label", order = -2)
@CommandLine.Option(names = {"--label"}, paramLabel = "...", descriptionKey = "crowdin.string.list.label", order = -2)
protected List<String> labelNames;

@CommandLine.Option(names = {"--croql"}, paramLabel = "...", order = -2)
Expand Down
4 changes: 3 additions & 1 deletion src/main/resources/messages/messages.properties
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ params.skipUntranslatedStrings=Skip untranslated strings in exported files (does
params.skipUntranslatedFiles=Omit downloading not fully translated files
params.keepArchive=Do not remove the downloaded archive with translations after it's extracting
params.exportOnlyApproved=Include approved translations only in exported files. If not combined with --skip-untranslated-strings option, strings without approval are fulfilled with the source language
params.label=Attach labels to strings (multiple labels could be specified)
params.label=Attach labels to strings (multiple labels can be specified)
params.excluded-languages=Specify excluded languages (multiple languages could be specified)
params.reviewedSources=Download only reviewed sources (Crowdin Enterprise only)

Expand Down Expand Up @@ -196,6 +196,7 @@ crowdin.string.list.usage.customSynopsis=@|fg(green) crowdin string list|@ [CONF
crowdin.string.list.file=Show a list of source strings filtered by file path
crowdin.string.list.filter=Show a list of source strings filtered by identifier, text or context
crowdin.string.list.croql=Retrieve needed localization resources from Crowdin based on specific conditions
crowdin.string.list.label=Filter strings by labels (multiple labels can be specified)

# CROWDIN STRING EDIT COMMAND
crowdin.string.edit.usage.description=Edit existing source string
Expand Down Expand Up @@ -400,6 +401,7 @@ crowdin.screenshot.upload.file=File path to add
crowdin.screenshot.upload.auto-tag=Choose whether or not to tag screenshot automatically
crowdin.screenshot.upload.file-path=Path to the source file in Crowdin. Requires the '--auto-tag' to be passed
crowdin.screenshot.upload.branch-name=Branch name. Requires the '--auto-tag' to be passed
crowdin.screenshot.upload.label=Attach labels to screenshot (multiple labels can be specified)
crowdin.screenshot.upload.directory-path=Path to the directory in Crowdin. Requires the '--auto-tag' to be passed

# CROWDIN LABEL COMMAND
Expand Down

0 comments on commit a4f6268

Please sign in to comment.