diff --git a/src/main/java/com/crowdin/cli/commands/picocli/ScreenshotUploadSubcommand.java b/src/main/java/com/crowdin/cli/commands/picocli/ScreenshotUploadSubcommand.java index bacfd999..ea23f52d 100644 --- a/src/main/java/com/crowdin/cli/commands/picocli/ScreenshotUploadSubcommand.java +++ b/src/main/java/com/crowdin/cli/commands/picocli/ScreenshotUploadSubcommand.java @@ -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 labelNames; @CommandLine.Option(names = {"-d", "--directory"}, paramLabel = "...", descriptionKey = "crowdin.screenshot.upload.directory-path", order = -2) diff --git a/src/main/java/com/crowdin/cli/commands/picocli/StringListSubcommand.java b/src/main/java/com/crowdin/cli/commands/picocli/StringListSubcommand.java index e40b7c6d..09297120 100644 --- a/src/main/java/com/crowdin/cli/commands/picocli/StringListSubcommand.java +++ b/src/main/java/com/crowdin/cli/commands/picocli/StringListSubcommand.java @@ -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 labelNames; @CommandLine.Option(names = {"--croql"}, paramLabel = "...", order = -2) diff --git a/src/main/resources/messages/messages.properties b/src/main/resources/messages/messages.properties index 2638ca3f..cc12fa63 100755 --- a/src/main/resources/messages/messages.properties +++ b/src/main/resources/messages/messages.properties @@ -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 @@ -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