Index: third_party/WebKit/Source/core/layout/LayoutThemeMac.mm |
diff --git a/third_party/WebKit/Source/core/layout/LayoutThemeMac.mm b/third_party/WebKit/Source/core/layout/LayoutThemeMac.mm |
index c3b1ecce3e2797676d90f6c6e79f4a61bbacfd76..8cd36255f162b136df3eb1bd865c1d75b2ea1dda 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutThemeMac.mm |
+++ b/third_party/WebKit/Source/core/layout/LayoutThemeMac.mm |
@@ -1003,8 +1003,7 @@ String LayoutThemeMac::fileListNameForWidth(Locale& locale, const FileList* file |
else |
strToTruncate = file->name(); |
} else { |
- // FIXME: Localization of fileList->length(). |
- return StringTruncator::rightTruncate(locale.queryString(WebLocalizedString::MultipleFileUploadText, String::number(fileList->length())), width, font); |
+ return StringTruncator::rightTruncate(locale.queryString(WebLocalizedString::MultipleFileUploadText, locale.convertToLocalizedNumber(String::number(fileList->length()))), width, font); |
} |
return StringTruncator::centerTruncate(strToTruncate, width, font); |