aboutsummaryrefslogtreecommitdiff
path: root/po/tr
Commit message (Expand)AuthorAge
* Add translation of LANG_CODE in all languagesEkdohibs2017-08-24
* Fix updatepo.sh and run it.Ekdohibs2017-08-24
* Translated using Weblate (Turkish)monolifed2017-06-03
* Run updatepo.shLoic Blot2017-05-21
* Translated using Weblate (Turkish)monolifed2017-05-21
* Translated using Weblate (Turkish)monolifed2017-05-04
* Footsteps without view bobbing (#5645)Louis Pearson2017-04-25
* Translated using Weblate (Turkish)monolifed2017-04-06
* Run updatepo.shest312016-12-14
* Run updatepo.shest312016-08-30
* Run updatepo.shest312016-07-12
* Run updatepo.shest312016-05-05
* Update po files, minetest.conf.example and settings_translation_file.cppest312016-02-27
* Run util/updatepo.shest312015-11-08
* Translated using Weblate (Turkish)PilzAdam2015-11-08
* Translated using Weblate (Turkish)Mahmut Elmas2015-11-08
* Run updatepo.shest312015-10-24
* Run updatepo.shest312015-09-12
* Run updatepo.shest312015-07-17
* Translated using Weblate (Turkish)Michal Čihař2015-07-17
* Update Turkish LanguageMahmut Elmas2015-05-05
* Add Turkish languagemahmutelmas062015-02-27
ame() const { return m_name; } bool registerConsumer(session_t peer_id); bool removeConsumer(session_t peer_id); const std::vector<u16> &getChannelPeers() const { return m_client_consumers; } bool canWrite() const; void setState(ModChannelState state); private: std::string m_name; ModChannelState m_state = MODCHANNEL_STATE_INIT; std::vector<u16> m_client_consumers; }; enum ModChannelSignal : u8 { MODCHANNEL_SIGNAL_JOIN_OK, MODCHANNEL_SIGNAL_JOIN_FAILURE, MODCHANNEL_SIGNAL_LEAVE_OK, MODCHANNEL_SIGNAL_LEAVE_FAILURE, MODCHANNEL_SIGNAL_CHANNEL_NOT_REGISTERED, MODCHANNEL_SIGNAL_SET_STATE, }; class ModChannelMgr { public: ModChannelMgr() = default; ~ModChannelMgr() = default; void registerChannel(const std::string &channel); bool setChannelState(const std::string &channel, ModChannelState state); bool joinChannel(const std::string &channel, session_t peer_id); bool leaveChannel(const std::string &channel, session_t peer_id); bool channelRegistered(const std::string &channel) const; ModChannel *getModChannel(const std::string &channel); /** * This function check if a local mod can write on the channel * * @param channel * @return true if write is allowed */ bool canWriteOnChannel(const std::string &channel) const; void leaveAllChannels(session_t peer_id); const std::vector<u16> &getChannelPeers(const std::string &channel) const; private: bool removeChannel(const std::string &channel); std::unordered_map<std::string, std::unique_ptr<ModChannel>> m_registered_channels; };