diff --git a/src/main/java/com/crowdin/cli/commands/actions/DownloadAction.java b/src/main/java/com/crowdin/cli/commands/actions/DownloadAction.java index 77a05c7b2..b962305ee 100644 --- a/src/main/java/com/crowdin/cli/commands/actions/DownloadAction.java +++ b/src/main/java/com/crowdin/cli/commands/actions/DownloadAction.java @@ -49,6 +49,7 @@ import static com.crowdin.cli.BaseCli.CHECK_WAITING_TIME_INCREMENT; import static com.crowdin.cli.BaseCli.CHECK_WAITING_TIME_MAX; import static com.crowdin.cli.BaseCli.RESOURCE_BUNDLE; +import static com.crowdin.cli.utils.console.ExecutionStatus.EMPTY; import static com.crowdin.cli.utils.console.ExecutionStatus.ERROR; import static com.crowdin.cli.utils.console.ExecutionStatus.OK; import static com.crowdin.cli.utils.console.ExecutionStatus.WARNING; @@ -300,6 +301,7 @@ public void act(Outputter out, PropertiesWithFiles pb, ProjectClient client) { if (!totalOmittedFiles.isEmpty()) { out.println(WARNING.withIcon(RESOURCE_BUNDLE.getString("message.downloaded_files_omitted"))); + totalOmittedFiles.forEach((file, translations) -> { out.println(String.format( RESOURCE_BUNDLE.getString("message.item_list_with_count"), file, translations.size())); @@ -308,6 +310,8 @@ public void act(Outputter out, PropertiesWithFiles pb, ProjectClient client) { String.format(RESOURCE_BUNDLE.getString("message.inner_item_list"), trans))); } }); + + out.println(EMPTY.withIcon(RESOURCE_BUNDLE.getString("message.faq_link"))); } List totalOmittedFilesNoSources = omittedFilesNoSources.isEmpty() ? new ArrayList<>() : omittedFilesNoSources.get(0); @@ -315,11 +319,12 @@ public void act(Outputter out, PropertiesWithFiles pb, ProjectClient client) { totalOmittedFilesNoSources.retainAll(eachOmittedFilesNoSources); } if (!totalOmittedFilesNoSources.isEmpty()) { - out.println( - WARNING.withIcon( - RESOURCE_BUNDLE.getString("message.downloaded_files_omitted_without_sources"))); + out.println(WARNING.withIcon(RESOURCE_BUNDLE.getString("message.downloaded_files_omitted_without_sources"))); + totalOmittedFilesNoSources.forEach(file -> out.println(String.format(RESOURCE_BUNDLE.getString("message.item_list"), file))); + + out.println(EMPTY.withIcon(RESOURCE_BUNDLE.getString("message.faq_link"))); } } } finally { diff --git a/src/main/resources/messages/messages.properties b/src/main/resources/messages/messages.properties index 4cddf8ada..656760797 100755 --- a/src/main/resources/messages/messages.properties +++ b/src/main/resources/messages/messages.properties @@ -626,6 +626,8 @@ message.spinner.pre_translate_percents=Pre-translation is completed by @|bold (% message.spinner.pre_translate_done=Pre-translation is finished @|bold (%d%%)|@ message.spinner.build_has_failed=The build has failed +message.faq_link=Visit the @|cyan https://crowdin.github.io/crowdin-cli/faq|@ for more details + message.tree.elem=@|cyan \u251C\u2500\u0020|@ message.tree.last_elem=@|cyan \u2570\u2500\u0020|@ message.tree.dir=@|cyan \u2502\u0020\u0020|@