User:Dixtosa/langspan.js

var ls_langLink = $(".etyl a");

var ls_mapping = {"Georgian" : "17-21th", "Old Georgian" : "5-11th", "English" : "6-21st", "Russian" : "18-21st", "Proto-Kartvelian" : "TBD"};

ls_langLink.each(function{   var elem = $(this);    var ls_span = ls_mapping[elem.text];    if (ls_span){        elem.text(elem.text + " (" + ls_span + ")");    } });