Index: chrome/browser/resources/print_preview/settings/dpi_settings.js |
diff --git a/chrome/browser/resources/print_preview/settings/dpi_settings.js b/chrome/browser/resources/print_preview/settings/dpi_settings.js |
index a06dc9e9df4e838708dc7965998b6d3e1c079581..90bcd50eba569962bf1a0d4b1a13b6f01a457279 100644 |
--- a/chrome/browser/resources/print_preview/settings/dpi_settings.js |
+++ b/chrome/browser/resources/print_preview/settings/dpi_settings.js |
@@ -23,9 +23,13 @@ cr.define('print_preview', function() { |
getDefaultDisplayName_: function(option) { |
var hDpi = option.horizontal_dpi || 0; |
var vDpi = option.vertical_dpi || 0; |
- if (hDpi > 0 && vDpi > 0 && hDpi != vDpi) |
- return loadTimeData.getStringF('nonIsotropicDpiItemLabel', hDpi, vDpi); |
- return loadTimeData.getStringF('dpiItemLabel', hDpi || vDpi); |
+ if (hDpi > 0 && vDpi > 0 && hDpi != vDpi) { |
+ return loadTimeData.getStringF('nonIsotropicDpiItemLabel', |
+ hDpi.toLocaleString(), |
+ vDpi.toLocaleString()); |
+ } |
+ return loadTimeData.getStringF('dpiItemLabel', |
+ (hDpi || vDpi).toLocaleString()); |
} |
}; |