Skip to content
Snippets Groups Projects
Commit 63036aee authored by Yin Huai's avatar Yin Huai
Browse files

Update known_translations for contributor names and also fix a small issue in...

Update known_translations for contributor names and also fix a small issue in translate-contributors.py

## What changes were proposed in this pull request?
This PR updates dev/create-release/known_translations to add more contributor name mapping. It also fixes a small issue in translate-contributors.py

## How was this patch tested?
manually tested

Author: Yin Huai <yhuai@databricks.com>

Closes #16423 from yhuai/contributors.
parent dba81e1d
No related branches found
No related tags found
No related merge requests found
......@@ -165,3 +165,40 @@ stanzhai - Stan Zhai
tien-dungle - Tien-Dung Le
xuchenCN - Xu Chen
zhangjiajin - Zhang JiaJin
ClassNotFoundExp - Fu Xing
KevinGrealish - Kevin Grealish
MasterDDT - Mitesh Patel
VinceShieh - Vincent Xie
WeichenXu123 - Weichen Xu
Yunni - Yun Ni
actuaryzhang - Wayne Zhang
alicegugu - Gu Huiqin Alice
anabranch - Bill Chambers
ashangit - Nicolas Fraison
avulanov - Alexander Ulanov
biglobster - Liang Ke
cenyuhai - Cen Yu Hai
codlife - Jianfei Wang
david-weiluo-ren - Weiluo (David) Ren
dding3 - Ding Ding
fidato13 - Tarun Kumar
frreiss - Fred Reiss
gatorsmile - Xiao Li
hayashidac - Chie Hayashida
invkrh - Hao Ren
jagadeesanas2 - Jagadeesan A S
jiangxb1987 - Jiang Xingbo
jisookim0513 - Jisoo Kim
junyangq - Junyang Qian
krishnakalyan3 - Krishna Kalyan
linbojin - Linbo Jin
mpjlu - Peng Meng
neggert - Nic Eggert
petermaxlee - Peter Lee
phalodi - Sandeep Purohit
pkch - pkch
priyankagargnitk - Priyanka Garg
sharkdtu - Sharkd Tu
shenh062326 - Shen Hong
aokolnychyi - Anton Okolnychyi
linbojin - Linbo Jin
......@@ -147,7 +147,9 @@ print "\n========================== Translating contributor list ===============
lines = contributors_file.readlines()
contributions = []
for i, line in enumerate(lines):
temp_author = line.strip(" * ").split(" -- ")[0]
# It is possible that a line in the contributor file only has the github name, e.g. yhuai.
# So, we need a strip() to remove the newline.
temp_author = line.strip(" * ").split(" -- ")[0].strip()
print "Processing author %s (%d/%d)" % (temp_author, i + 1, len(lines))
if not temp_author:
error_msg = " ERROR: Expected the following format \" * <author> -- <contributions>\"\n"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment