Bug 221358 - Process LocalizableAdditions string file correctly.
Summary: Process LocalizableAdditions string file correctly.
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Megan Gardner
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-02-03 15:08 PST by Megan Gardner
Modified: 2021-02-04 11:19 PST (History)
6 users (show)

See Also:


Attachments
Patch (12.30 KB, patch)
2021-02-03 15:19 PST, Megan Gardner
no flags Details | Formatted Diff | Diff
Patch (11.15 KB, patch)
2021-02-03 16:53 PST, Megan Gardner
ews-feeder: commit-queue-
Details | Formatted Diff | Diff
Patch (11.16 KB, patch)
2021-02-03 17:06 PST, Megan Gardner
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Megan Gardner 2021-02-03 15:08:19 PST
Process LocalizableAdditions string file correctly.
Comment 1 Megan Gardner 2021-02-03 15:19:12 PST
Created attachment 419189 [details]
Patch
Comment 2 Tim Horton 2021-02-03 16:07:38 PST
Comment on attachment 419189 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=419189&action=review

> Source/WebCore/DerivedSources-input.xcfilelist:1064
> +$(PROJECT_DIR)/make-localizable-strings.pl

I would call this preprocess-; it's not making them

> Source/WebCore/DerivedSources.make:1324
> +ADDITIONAL_PATHS = \

I feel like there's a noun missing here.

> Source/WebCore/DerivedSources.make:1506
> +# .string files

string/s/

> Source/WebCore/bindings/scripts/preprocessor.pm:59
> +            if ($keepComments) {
> +                push(@args, qw(-E -P -C -x c++));
> +            }
> +            else {
> +                push(@args, qw(-E -P -x c++));
> +            }

I would write this:
    push(@args, qw(-E -P -x c++));
    if ($keepComments) {
        push(@args, qw(-C));
    }
Comment 3 Megan Gardner 2021-02-03 16:53:59 PST
Created attachment 419206 [details]
Patch
Comment 4 Megan Gardner 2021-02-03 17:06:22 PST
Created attachment 419209 [details]
Patch
Comment 5 EWS 2021-02-04 11:16:27 PST
Committed r272377: <https://trac.webkit.org/changeset/272377>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 419209 [details].
Comment 6 Radar WebKit Bug Importer 2021-02-04 11:19:12 PST
<rdar://problem/73989711>