Bug 213274

Summary: update-webkit-localizable-strings exits without writing localized strings because of an R"" string
Product: WebKit Reporter: Said Abou-Hallawa <sabouhallawa>
Component: New BugsAssignee: Kate Cheney <katherine_cheney>
Status: RESOLVED FIXED    
Severity: Normal CC: aestes, darin, katherine_cheney, thorton, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Description Said Abou-Hallawa 2020-06-16 17:04:01 PDT
When adding new localized strings in WebKit and running update-webkit-localizable-strings, I get the following errors:

    Source/WebKit/NetworkProcess/Classifier/ResourceLoadStatisticsDatabaseStore.cpp:929: mismatched quotes
    Source/WebKit/NetworkProcess/Classifier/ResourceLoadStatisticsDatabaseStore.cpp:946: mismatched quotes

    577 localizable strings
    41665 strings not marked for localization

    Errors encountered. Exiting without writing to Source/WebCore/en.lproj/Localizable.strings.

When commenting the R"" string in joinSubStatisticsForSorting() and rerunning the tool, the localized strings are generated as expected.
Comment 1 Radar WebKit Bug Importer 2020-06-16 17:04:37 PDT
<rdar://problem/64427891>
Comment 2 Andy Estes 2020-06-16 17:06:47 PDT
*** Bug 213273 has been marked as a duplicate of this bug. ***
Comment 3 Kate Cheney 2020-07-06 11:49:33 PDT
Created attachment 403602 [details]
Patch
Comment 4 EWS 2020-07-06 13:19:55 PDT
Committed r263982: <https://trac.webkit.org/changeset/263982>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 403602 [details].