retesere20

english-to-geo - javascript

Mar 1st, 2020
101
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2.  
  3. // ============================================= Eng To Geo ============================================================//
  4. function eng_to_geo(str){
  5. str=str.replace(/a/g,'ა'); str=str.replace(/b/g,'ბ'); str=str.replace(/g/g,'გ'); str=str.replace(/d/g,'დ'); str=str.replace(/e/g,'ე'); str=str.replace(/v/g,'ვ'); str=str.replace(/z/g,'ზ'); str=str.replace(/T/g,'თ'); str=str.replace(/i/g,'ი'); str=str.replace(/k/g,'კ'); str=str.replace(/l/g,'ლ'); str=str.replace(/m/g,'მ'); str=str.replace(/n/g,'ნ'); str=str.replace(/o/g,'ო'); str=str.replace(/p/g,'პ'); str=str.replace(/J/g,'ჟ'); str=str.replace(/r/g,'რ'); str=str.replace(/s/g,'ს'); str=str.replace(/t/g,'ტ'); str=str.replace(/u/g,'უ'); str=str.replace(/f/g,'ფ'); str=str.replace(/q/g,'ქ'); str=str.replace(/R/g,'ღ'); str=str.replace(/y/g,'ყ'); str=str.replace(/S/g,'შ'); str=str.replace(/C/g,'ჩ'); str=str.replace(/c/g,'ც'); str=str.replace(/Z/g,'ძ'); str=str.replace(/w/g,'წ'); str=str.replace(/W/g,'ჭ'); str=str.replace(/x/g,'ხ'); str=str.replace(/j/g,'ჯ'); str=str.replace(/h/g,'ჰ');
  6. return str;
  7. }
  8. // ============================================= ## Eng To Geo ============================================================//
RAW Paste Data