scm: code clean up RepositoriesHelper.
Bulgarian translation updated by Ivan Cenov (#8179).
Swedish translation updated by Nicklas Holm (#8173).
Merged r5502 from trunk.
Simplified Chinese translation updated by Peng Wang.
Simplified Chinese translation updated by Peng Wang (#7278).
Merged r5500 from trunk.
Czech translation updated by Lubor Nosek.
Czech translation updated by Lubor Nosek (#7390).
Traditional Chinese translation updated by ChunChang Lo (#8170).
Fixes potential test failure.
Merged r4901 from trunk.
Updated basque and czech translations. Contributed by Ales Zabala Alava and Michal Gebauer.
#7390 depends on this commit.