[visual signals] Fix messages for empty destination
Feedback panels display operations in progress with the source and destination visible. In cases where the destination string is empty (e.g. copying to a USB drive with " " as its name), the feedback message should be grammatically correct. Adds new strings for display when there is no destination string. Changes the string generation code to detect empty destination string and use the appropriate string for formatting. Bug: 1076312 Tests: Manually tested for all cases, with transfer progress as well. Change-Id: I72a162d8e0a18a4415d043501bee3cb53b802b36 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2409560Reviewed-by:Luciano Pacheco <lucmult@chromium.org> Commit-Queue: Alex Danilo <adanilo@chromium.org> Cr-Commit-Position: refs/heads/master@{#807678}
Showing
Please register or sign in to comment