aboutsummaryrefslogtreecommitdiff
path: root/po/ja/minetest.po
Commit message (Expand)AuthorAge
* Run updatepo.shest312016-07-12
* Translated using Weblate (Japanese)BreadW2016-05-10
* Translated using Weblate (Japanese)BreadW2016-05-10
* Run updatepo.shest312016-05-05
* Translated using Weblate (Japanese)Rui2016-05-01
* Translated using Weblate (Japanese)Rui2016-03-25
* Update po files, minetest.conf.example and settings_translation_file.cppest312016-02-27
* Translated using Weblate (Japanese)Rui2016-01-25
* Translated using Weblate (Japanese)Rui2016-01-25
* Translated using Weblate (Japanese)Rui2015-12-21
* Translated using Weblate (Japanese)Rui2015-12-21
* Translated using Weblate (Japanese)nobb2015-11-15
* Translated using Weblate (Japanese)Rui2015-11-15
* Run util/updatepo.shest312015-11-08
* Translated using Weblate (Japanese)Onee Chan2015-11-08
* Run updatepo.shest312015-10-24
* Translated using Weblate (Japanese)Rui2015-10-22
* Run updatepo.shest312015-09-12
* Translated using Weblate (Japanese)Rui2015-09-12
* Translated using Weblate (Japanese)Rui2015-09-12
* Translated using Weblate (Japanese)Rui2015-09-12
* Translated using Weblate (Japanese)Rui2015-08-09
* Translated using Weblate (Japanese)Rui2015-08-09
* Run updatepo.shest312015-07-17
* Translated using Weblate (Japanese)Rui2015-07-17
* Translated using Weblate (Japanese)sfan52015-07-17
* Translated using Weblate (Japanese)Tae Lim Kook2015-07-17
* Update minetest.poRui2015-03-28
* Update minetest.poRui2015-02-27
* Update Japanese TranslationRui2015-02-21
* Update Japanese TranslationRui2014-12-30
* Revert "Update Russian translation"Kahrl2014-12-13
* Update po filesShadowNinja2014-12-12
* Update minetest.po (Japanese)Rui2014-11-28
* Fix syntax error in Japanese translationRui2014-10-23
* Translated using Weblate (Japanese)Rui2014-10-22
* Update ja/minetest.poRui9142014-09-21
* Run updatepo.shPilzAdam2013-11-23
* Run updatepo.shIlya Zhuravlev2013-09-08
* Run util/updatepo.shPilzAdam2013-08-25
* Fix i18n of some strings.arsdragonfly2013-07-02
* Update po filesPilzAdam2013-05-13
* Update po filesPilzAdam2013-03-30
* Translated using Weblate (Japanese)Mitori Itoshiki2013-03-30
* Translated using Weblate (Japanese)c h2013-03-07
* Translated using Weblate (Japanese)Mitori Itoshiki2013-03-01
* Translated using Weblate (Japanese)Tomona Nanase2013-02-28
* Translated using Weblate (Japanese)Mitori Itoshiki2013-02-20
* Translated using Weblate (Japanese)Tomona Nanase2013-02-19
* Translated using Weblate (Japanese)Mitori Itoshiki2013-02-08
>CallerInfo<Caller, CallerData, Key, T> > callers; }; /** * Notes for RequestQueue usage * @param Key unique key to identify a request for a specific resource * @param T ? * @param Caller unique id of calling thread * @param CallerData data passed back to caller */ template<typename Key, typename T, typename Caller, typename CallerData> class RequestQueue { public: bool empty() { return m_queue.empty(); } void add(Key key, Caller caller, CallerData callerdata, ResultQueue<Key, T, Caller, CallerData> *dest) { { JMutexAutoLock lock(m_queue.getMutex()); /* If the caller is already on the list, only update CallerData */ for(typename std::deque< GetRequest<Key, T, Caller, CallerData> >::iterator i = m_queue.getQueue().begin(); i != m_queue.getQueue().end(); ++i) { GetRequest<Key, T, Caller, CallerData> &request = *i; if(request.key == key) { for(typename std::list< CallerInfo<Caller, CallerData, Key, T> >::iterator i = request.callers.begin(); i != request.callers.end(); ++i) { CallerInfo<Caller, CallerData, Key, T> &ca = *i; if(ca.caller == caller) { ca.data = callerdata; return; } } CallerInfo<Caller, CallerData, Key, T> ca; ca.caller = caller; ca.data = callerdata; ca.dest = dest; request.callers.push_back(ca); return; } } } /* Else add a new request to the queue */ GetRequest<Key, T, Caller, CallerData> request; request.key = key; CallerInfo<Caller, CallerData, Key, T> ca; ca.caller = caller; ca.data = callerdata; ca.dest = dest; request.callers.push_back(ca); m_queue.push_back(request); } GetRequest<Key, T, Caller, CallerData> pop(unsigned int timeout_ms) { return m_queue.pop_front(timeout_ms); } GetRequest<Key, T, Caller, CallerData> pop() { return m_queue.pop_frontNoEx(); } void pushResult(GetRequest<Key, T, Caller, CallerData> req, T res) { for(typename std::list< CallerInfo<Caller, CallerData, Key, T> >::iterator i = req.callers.begin(); i != req.callers.end(); ++i) { CallerInfo<Caller, CallerData, Key, T> &ca = *i; GetResult<Key,T,Caller,CallerData> result; result.key = req.key; result.item = res; result.caller.first = ca.caller; result.caller.second = ca.data; ca.dest->push_back(result); } } private: MutexedQueue< GetRequest<Key, T, Caller, CallerData> > m_queue; }; #endif