translations.js 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  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.Rules = "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. // Protocol
  39. locale.tr.player_left = "Oyundan kaçış";
  40. locale.tr.okey_revealed = "Açtığı el";
  41. locale.tr.okey_round_ended = "Tamamladığı oyun";
  42. locale.tr.okey_turn_timeout = "Zamanında oynamama";
  43. locale.tr.wrong_reveal = "Yanlış açma";
  44. locale.tr.okey_game_started = "Oynadığı oyun";
  45. currentLocale = "en";
  46. function i18n(word) {
  47. var translation = locale[currentLocale][word];
  48. return (translation == null) ? word : translation;
  49. }