Bug 170388 - [iOS] <input type=file> label should be specified using plural rules
Summary: [iOS] <input type=file> label should be specified using plural rules
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Forms (show other bugs)
Version: Other
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: mitz
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-04-01 20:10 PDT by mitz
Modified: 2017-04-01 21:53 PDT (History)
4 users (show)

See Also:


Attachments
Use a single key with plural rules (9.24 KB, patch)
2017-04-01 20:16 PDT, mitz
ap: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description mitz 2017-04-01 20:10:32 PDT
Instead of the logic in -[WKFileUploadPanel _displayStringForPhotos:videos:], which only works for languages like English, the label can be specified as a single localizable string with plural rules. Patch forthcoming.
Comment 1 mitz 2017-04-01 20:16:33 PDT
Created attachment 306053 [details]
Use a single key with plural rules
Comment 2 mitz 2017-04-01 21:53:56 PDT
Committed <https://trac.webkit.org/r214723>.