Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: label descriptions #723

Merged
merged 1 commit into from
Feb 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading