| Index: third_party/WebKit/Source/core/layout/LayoutTheme.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutTheme.cpp b/third_party/WebKit/Source/core/layout/LayoutTheme.cpp
|
| index ba75ce86068fab72ced2f52cf828717389dc3fe6..aac313b90425b322b991e45a900c0cfdb6318f33 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutTheme.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutTheme.cpp
|
| @@ -834,8 +834,7 @@ String LayoutTheme::fileListNameForWidth(Locale& locale, const FileList* fileLis
|
| } else if (fileList->length() == 1) {
|
| string = fileList->item(0)->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(string, width, font);
|
|
|