From 63ff895f4b1a0d8254bc748dae968ec70069f0d1 Mon Sep 17 00:00:00 2001 From: mkarolin Date: Wed, 13 Nov 2019 17:10:21 -0500 Subject: [PATCH] Updated grdp exclusions in transifex.py. 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 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 --- script/lib/transifex.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/script/lib/transifex.py b/script/lib/transifex.py index 20e04c84945c..cfaebb680640 100644 --- a/script/lib/transifex.py +++ b/script/lib/transifex.py @@ -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)