Skip to content

Commit

Permalink
Updated grdp exclusions in transifex.py.
Browse files Browse the repository at this point in the history
Fixes brave/brave-browser#6907

There is no need to exclude os_settings_strings.grdp and
xr_consent_ui_strings.grdp.

media_router_resources.grdp has been removed upstream.

Chromium change:

https://chromium.googlesource.com/chromium/src/+/edcf55b10dfe41c3ffa18bfbca8f07e62532ef74

commit edcf55b10dfe41c3ffa18bfbca8f07e62532ef74
Author: Takumi Fujimoto <takumif@chromium.org>
Date:   Tue Jul 9 16:36:20 2019 +0000

    Delete Media Router WebUI dialog resource files

    Delete JS/HTML/CSS files for chrome://media-router and its tests.

    We do not remove files related to chrome://media-router-internals
    because that is still in use.

    Bug: 900246
  • Loading branch information
mkarolin committed Nov 13, 2019
1 parent 3fe3fe1 commit 63ff895
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions script/lib/transifex.py
Original file line number Diff line number Diff line change
Expand Up @@ -229,10 +229,7 @@ def get_grd_message_string_tags(grd_file_path):
for element in elements:
grd_base_path = os.path.dirname(grd_file_path)
grd_part_filename = element.get('file')
if grd_part_filename in ['chromeos_strings.grdp',
'media_router_resources.grdp',
'os_settings_strings.grdp',
'xr_consent_ui_strings.grdp']:
if grd_part_filename in ['chromeos_strings.grdp']:
continue
grd_part_path = os.path.join(grd_base_path, grd_part_filename)
part_output_elements = get_grd_message_string_tags(grd_part_path)
Expand Down

0 comments on commit 63ff895

Please sign in to comment.