Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(94)

Issue 22392004: Improvements to warnings on message extraction. (Closed)

Created:
7 years, 4 months ago by Alan Knight
Modified:
7 years, 4 months ago
Reviewers:
Emily Fortuna
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Improvements to warnings on message extraction. Add warning for message names that don't match the function name, and a warnings-are-errors command-line option. R=efortuna@google.com Committed: https://code.google.com/p/dart/source/detail?r=25829

Patch Set 1 #

Total comments: 4

Patch Set 2 : Changes from review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+78 lines, -31 lines) Patch
M pkg/intl/lib/extract_messages.dart View 1 8 chunks +48 lines, -24 lines 0 comments Download
M pkg/intl/test/message_extraction/extract_to_json.dart View 2 chunks +5 lines, -0 lines 0 comments Download
A pkg/intl/test/message_extraction/failed_extraction_test.dart View 1 chunk +16 lines, -0 lines 0 comments Download
M pkg/intl/test/message_extraction/make_hardcoded_translation.dart View 2 chunks +2 lines, -2 lines 0 comments Download
M pkg/intl/test/message_extraction/part_of_sample_with_messages.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/intl/test/message_extraction/sample_with_messages.dart View 1 3 chunks +5 lines, -4 lines 0 comments Download
M pkg/pkg.status View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Alan Knight
7 years, 4 months ago (2013-08-06 19:07:11 UTC) #1
Emily Fortuna
lgtm, just a few comments to consider. https://codereview.chromium.org/22392004/diff/1/pkg/intl/lib/extract_messages.dart File pkg/intl/lib/extract_messages.dart (right): https://codereview.chromium.org/22392004/diff/1/pkg/intl/lib/extract_messages.dart#newcode157 pkg/intl/lib/extract_messages.dart:157: print("${messageName.expression} != ...
7 years, 4 months ago (2013-08-06 19:31:30 UTC) #2
Alan Knight
https://codereview.chromium.org/22392004/diff/1/pkg/intl/lib/extract_messages.dart File pkg/intl/lib/extract_messages.dart (right): https://codereview.chromium.org/22392004/diff/1/pkg/intl/lib/extract_messages.dart#newcode157 pkg/intl/lib/extract_messages.dart:157: print("${messageName.expression} != $name"); On 2013/08/06 19:31:30, Emily Fortuna wrote: ...
7 years, 4 months ago (2013-08-06 20:00:26 UTC) #3
Alan Knight
7 years, 4 months ago (2013-08-06 20:01:24 UTC) #4
Message was sent while issue was closed.
Committed patchset #2 manually as r25829 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698