Make branches page translatable

Merged Winnie Hellmann requested to merge winh-i18-branches-page-ee into master

This is the EE port of https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/14221.

What does this MR do?

Replaces hard coded texts by translatable ones on the branches page. This also affects all other places using the SortingHelper.

What are the relevant issue numbers?

closes https://gitlab.com/gitlab-org/gitlab-ce/issues/32797