From 376cf3670f667eb50cf55cb4c42c6a05caea7d7e Mon Sep 17 00:00:00 2001 From: Kateryna Oblakevych Date: Sat, 6 Apr 2024 19:12:46 +0300 Subject: [PATCH] docs: remove experimental warning in file command --- .../com/crowdin/cli/commands/actions/FileDownloadAction.java | 1 - .../cli/commands/actions/FileDownloadTranslationAction.java | 1 - .../com/crowdin/cli/commands/actions/FileUploadAction.java | 1 - .../cli/commands/actions/FileUploadTranslationAction.java | 1 - src/main/resources/messages/messages.properties | 1 - website/mantemplates/crowdin-file-download.adoc | 3 --- website/mantemplates/crowdin-file-upload.adoc | 3 --- 7 files changed, 11 deletions(-) diff --git a/src/main/java/com/crowdin/cli/commands/actions/FileDownloadAction.java b/src/main/java/com/crowdin/cli/commands/actions/FileDownloadAction.java index 8b9a021e..08cad8a2 100644 --- a/src/main/java/com/crowdin/cli/commands/actions/FileDownloadAction.java +++ b/src/main/java/com/crowdin/cli/commands/actions/FileDownloadAction.java @@ -65,7 +65,6 @@ public void act(Outputter out, ProjectProperties properties, ProjectClient clien } ); out.println(OK.withIcon(String.format(RESOURCE_BUNDLE.getString("message.downloaded_file"), filePath))); - out.println(WARNING.withIcon(RESOURCE_BUNDLE.getString("message.experimental_command"))); } private void saveToFile(String destPath, URL url) { diff --git a/src/main/java/com/crowdin/cli/commands/actions/FileDownloadTranslationAction.java b/src/main/java/com/crowdin/cli/commands/actions/FileDownloadTranslationAction.java index ad78072f..86abc88c 100644 --- a/src/main/java/com/crowdin/cli/commands/actions/FileDownloadTranslationAction.java +++ b/src/main/java/com/crowdin/cli/commands/actions/FileDownloadTranslationAction.java @@ -91,7 +91,6 @@ public void act(Outputter out, ProjectProperties properties, ProjectClient clien saveToFile(Utils.normalizePath(Utils.joinPaths(properties.getBasePath(), destPath)), url, out); out.println(OK.withIcon(String.format(RESOURCE_BUNDLE.getString("message.downloaded_file"), destPath))); } - out.println(WARNING.withIcon(RESOURCE_BUNDLE.getString("message.experimental_command"))); } private void saveToFile(String destPath, URL url, Outputter out) { diff --git a/src/main/java/com/crowdin/cli/commands/actions/FileUploadAction.java b/src/main/java/com/crowdin/cli/commands/actions/FileUploadAction.java index e9931e47..94eacaa5 100644 --- a/src/main/java/com/crowdin/cli/commands/actions/FileUploadAction.java +++ b/src/main/java/com/crowdin/cli/commands/actions/FileUploadAction.java @@ -191,7 +191,6 @@ public void act(Outputter out, ProjectProperties properties, ProjectClient clien } else { out.println(fileFullPath); } - out.println(WARNING.withIcon(RESOURCE_BUNDLE.getString("message.experimental_command"))); } private List filterExcludedLanguages(List excludedLanguages, CrowdinProjectFull project) { diff --git a/src/main/java/com/crowdin/cli/commands/actions/FileUploadTranslationAction.java b/src/main/java/com/crowdin/cli/commands/actions/FileUploadTranslationAction.java index 1f56ec0a..37326464 100644 --- a/src/main/java/com/crowdin/cli/commands/actions/FileUploadTranslationAction.java +++ b/src/main/java/com/crowdin/cli/commands/actions/FileUploadTranslationAction.java @@ -89,7 +89,6 @@ public void act(Outputter out, ProjectProperties properties, ProjectClient clien } else { out.println(file.getPath()); } - out.println(WARNING.withIcon(RESOURCE_BUNDLE.getString("message.experimental_command"))); } private Long getStorageId(ProjectClient client) { diff --git a/src/main/resources/messages/messages.properties b/src/main/resources/messages/messages.properties index 5a889358..7ca738f9 100755 --- a/src/main/resources/messages/messages.properties +++ b/src/main/resources/messages/messages.properties @@ -599,7 +599,6 @@ error.branch_required_string_project=Branch is required for string-based project message.new_version_text=New version of Crowdin CLI is available! %s -> %s message.new_version_text.2=Changelog: @|cyan https://github.com/crowdin/crowdin-cli/releases/latest|@ message.new_version_text.3=Please update for the best experience! -message.experimental_command=This command is experimental. Experimental features are not covered by semver and might change in the future. If you have any feedback, feel free to raise a discussion: https://github.com/crowdin/crowdin-cli/discussions/713 message.uploading_file=File @|bold '%s'|@ message.uploading_file_skipped=File @|bold '%s'|@ was skipped since it is empty message.file_being_updated=File @|bold '%s'|@ is currently being updated diff --git a/website/mantemplates/crowdin-file-download.adoc b/website/mantemplates/crowdin-file-download.adoc index 6c04c377..367b2b2a 100644 --- a/website/mantemplates/crowdin-file-download.adoc +++ b/website/mantemplates/crowdin-file-download.adoc @@ -14,6 +14,3 @@ include::{includedir}/{command}.adoc[tag=picocli-generated-man-section-commands] include::{includedir}/{command}.adoc[tag=picocli-generated-man-section-options] include::{includedir}/{command}.adoc[tag=picocli-generated-man-section-footer] - -=== Notes -This command is experimental. Experimental features are not covered by semver and might change in the future. If you have any feedback, feel free to raise a discussion: https://github.com/crowdin/crowdin-cli/discussions/713 diff --git a/website/mantemplates/crowdin-file-upload.adoc b/website/mantemplates/crowdin-file-upload.adoc index 9a6bf53f..59c4c4ac 100644 --- a/website/mantemplates/crowdin-file-upload.adoc +++ b/website/mantemplates/crowdin-file-upload.adoc @@ -14,6 +14,3 @@ include::{includedir}/{command}.adoc[tag=picocli-generated-man-section-commands] include::{includedir}/{command}.adoc[tag=picocli-generated-man-section-options] include::{includedir}/{command}.adoc[tag=picocli-generated-man-section-footer] - -=== Notes -This command is experimental. Experimental features are not covered by semver and might change in the future. If you have any feedback, feel free to raise a discussion: https://github.com/crowdin/crowdin-cli/discussions/713