Skip to content

Commit 04a76c8

Browse files
authored
fix: label descriptions (#723)
1 parent 369ef8d commit 04a76c8

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

src/main/java/com/crowdin/cli/commands/picocli/ScreenshotUploadSubcommand.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class ScreenshotUploadSubcommand extends ActCommandScreenshot{
3434
@CommandLine.Option(names = {"-b", "--branch"}, paramLabel = "...", descriptionKey = "crowdin.screenshot.upload.branch-name", order = -2)
3535
protected String branchName;
3636

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

4040
@CommandLine.Option(names = {"-d", "--directory"}, paramLabel = "...", descriptionKey = "crowdin.screenshot.upload.directory-path", order = -2)

src/main/java/com/crowdin/cli/commands/picocli/StringListSubcommand.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class StringListSubcommand extends ActCommandProject {
2626
@CommandLine.Option(names = {"-b", "--branch"}, paramLabel = "...", order = -2)
2727
protected String branchName;
2828

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

3232
@CommandLine.Option(names = {"--croql"}, paramLabel = "...", order = -2)

src/main/resources/messages/messages.properties

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ params.skipUntranslatedStrings=Skip untranslated strings in exported files (does
2828
params.skipUntranslatedFiles=Omit downloading not fully translated files
2929
params.keepArchive=Do not remove the downloaded archive with translations after it's extracting
3030
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
31-
params.label=Attach labels to strings (multiple labels could be specified)
31+
params.label=Attach labels to strings (multiple labels can be specified)
3232
params.excluded-languages=Specify excluded languages (multiple languages could be specified)
3333
params.reviewedSources=Download only reviewed sources (Crowdin Enterprise only)
3434

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

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

405407
# CROWDIN LABEL COMMAND

0 commit comments

Comments
 (0)