Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(428)

Unified Diff: ui/file_manager/file_manager/foreground/elements/files_quick_view.html

Issue 2259433004: Quick View: fixed the bug that 'No preview available' text is not shown. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nit Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | ui/file_manager/file_manager/foreground/elements/files_quick_view.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/file_manager/file_manager/foreground/elements/files_quick_view.html
diff --git a/ui/file_manager/file_manager/foreground/elements/files_quick_view.html b/ui/file_manager/file_manager/foreground/elements/files_quick_view.html
index 41e79e615d646cc7478b7360aef57666f67924ac..ea979f454a3d63da154109d116b238af29b7b306 100644
--- a/ui/file_manager/file_manager/foreground/elements/files_quick_view.html
+++ b/ui/file_manager/file_manager/foreground/elements/files_quick_view.html
@@ -37,7 +37,7 @@
</div>
<template is="dom-if" if="[[!contentUrl]]">
<div generic-thumbnail="image"></div>
- <div class="no-preivew" i18n-content="QUICK_VIEW_NO_PREVIEW_AVAILABLE"></div>
+ <div class="no-preivew">[[noPreviewText]]</div>
</template>
</template>
<!-- Video -->
@@ -48,7 +48,7 @@
<files-safe-media type="image" id="video-poster" src="[[videoPoster]]"></files-safe-media>
</div>
<div hidden="[[videoPoster]]" generic-thumbnail="video"></div>
- <div class="no-preview" i18n-content="QUICK_VIEW_NO_PLAYBACK_AVAILABLE"></div>
+ <div class="no-preview">[[noPlaybackText]]</div>
</template>
</template>
<!-- Audio -->
@@ -61,13 +61,13 @@
<template is="dom-if" if="[[isAudio_(type)]]">
<template is="dom-if" if="[[!contentUrl]]">
<div generic-thumbnail="audio"></div>
- <div class="no-preivew" i18n-content="QUICK_VIEW_NO_PLAYBACK_AVAILABLE"></div>
+ <div class="no-preivew">[[noPlaybackText]]</div>
</template>
</template>
<!-- TODO(oka): Support folder icon -->
<div hidden="[[!isUnsupported_(type)]]">
<div generic-thumbnail></div>
- <div class="no-preview" i18n-content="QUICK_VIEW_NO_PREVIEW_AVAILABLE"></div>
+ <div class="no-preview">[[noPreviewText]]</div>
</div>
</div> <!-- innerContentPanel -->
</div> <!-- contentPanel -->
« no previous file with comments | « no previous file | ui/file_manager/file_manager/foreground/elements/files_quick_view.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698