translations.js 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. locale = { en: {}, tr: {} };
  2. // Buttons and Interface
  3. locale.tr.Score = "Puan";
  4. locale.tr.Online = "Oynayanlar";
  5. locale.tr.Games = "Oyunlar";
  6. locale.tr.Rules = "Kurallar";
  7. locale.tr.Quota = "Kota";
  8. locale.tr.Kakush = "Kakuş";
  9. locale.tr.Login = "Üye Ol";
  10. locale.tr.Statistics = "İstatistikler";
  11. // Chats
  12. locale.en.EditMessage = "Write some text here";
  13. locale.tr.EditMessage = "Burada bazı metin yazmak";
  14. locale.en.GameChat = "This is In-Game chat";
  15. locale.tr.GameChat = "Oyun sohbet";
  16. locale.en.PrivateChat = "is waiting for chat with you";
  17. locale.tr.PrivateChat = "seninle sohbet için bekliyor";
  18. // Messages
  19. locale.tr.Paused = "ara istiyor";
  20. locale.en.Paused = "paused";
  21. locale.tr.Revealed = "bitirdi";
  22. locale.en.Paused = "revealed";
  23. locale.en.WrongReveal = "Wrong Reveal. Try next time.";
  24. locale.tr.WrongReveal = "Bu el yanlış. Bitirde gel";
  25. // Rules Dialog
  26. locale.en.FakeJoker = "Fake Joker";
  27. locale.tr.FakeJoker = "Sahte okey";
  28. locale.tr.WinningDeck = "Açan el";
  29. locale.en.WinningDeck = "Winning Deck";
  30. locale.tr.OkeyRules = "Oyun kuralları";
  31. locale.en.OkeyRules = "Okey Rules";
  32. locale.tr.Run = "Sıralı";
  33. locale.tr.Set = "Asker";
  34. locale.tr.Pair = "Çift";
  35. locale.en.RulesDetails = "Make 3x3+1x5, 2x3+2x4 or 2x5+1x4 Runs/Sets or 7 Pairs."+
  36. " Use Okey Joker (which is +1 same color as central Gosterme card)"+
  37. " or Fake Joker to substitute any needed card in your combination.";
  38. locale.tr.RulesDetails = "Diğer alternatifler; (2X3’lü+2X4’lü), (2X5‘li sıralı+1X4‘lü)."+
  39. " (“Okey” göstermenin +1 üstüdür. Joker gibi kullanılır."+
  40. " “Sahte okey” ise okey taşının yerinde kullanılır)."+
  41. " 3 ve 4 lüler sıralı ve veya asker olabilir.";
  42. // Protocol
  43. locale.tr.player_left = "Oyundan kaçış";
  44. locale.tr.okey_revealed = "Açtığı el";
  45. locale.tr.okey_round_ended = "Tamamladığı oyun";
  46. locale.tr.okey_turn_timeout = "Zamanında oynamama";
  47. locale.tr.wrong_reveal = "Yanlış açma";
  48. locale.tr.okey_game_started = "Oynadığı oyun";
  49. currentLocale = "en";
  50. function i18n(word) {
  51. var translation = locale[currentLocale][word];
  52. return (translation == null) ? word : translation;
  53. }