Bug 21880

Summary: "files" string for multifile uploads needs to be localized
Product: WebKit Reporter: Sam Weinig <sam>
Component: FormsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: adele, sullivan
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Mac   
OS: OS X 10.5   
Attachments:
Description Flags
patch
sullivan: review-
updated patch sullivan: review+

Description Sam Weinig 2008-10-24 21:53:58 PDT
The string we use when you select multiple files for upload needs locatlization
Comment 1 Adele Peterson 2008-10-28 13:25:36 PDT
Created attachment 24726 [details]
patch

This also includes changes to update-webkit-localizable-strings since the script wasn't working with the Mac platform directory structure
Comment 2 Sam Weinig 2008-10-28 13:32:02 PDT
Comment on attachment 24726 [details]
patch

r=me
Comment 3 John Sullivan 2008-10-28 13:40:51 PDT
Comment on attachment 24726 [details]
patch

This doesn't seem right to me. You can't localize a string like "8 files" by localizing the word "files" and appending it to "8 ". You need to localize the entire string, with a wildcard for the number, like "%d files".
Comment 4 Adele Peterson 2008-10-28 16:15:16 PDT
Created attachment 24735 [details]
updated patch
Comment 5 John Sullivan 2008-10-28 16:32:34 PDT
Comment on attachment 24735 [details]
updated patch

I suggest a FIXME for the GTK and Wx ports that says something like "// FIXME: This should really be localizing the entire string with a wildcard for the count"
Comment 6 Adele Peterson 2008-10-28 16:36:54 PDT
Committed revision 37949.