Skip to content

Commit

Permalink
remap strings file for transifex
Browse files Browse the repository at this point in the history
  • Loading branch information
bridiver committed Oct 24, 2018
1 parent 3482036 commit 0e21779
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion script/lib/transifex.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@

def transifex_name_from_filename(source_file_path, filename):
ext = os.path.splitext(source_file_path)[1]
if ext == '.grd':
if (filename == 'brave_components_strings.grd')
return 'brave_components_resources.grd'
elif ext == '.grd':
return filename
elif 'brave_rewards' in source_file_path:
return 'rewards_extension'
Expand Down

0 comments on commit 0e21779

Please sign in to comment.