aboutsummaryrefslogtreecommitdiff
path: root/po/minetest.pot
blob: 9d5528015ac0712c82ca0aea90a4ffe5fe35608d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
/*

    This file is a part of the JThread package, which contains some object-
    oriented thread wrappers for different thread implementations.

    Copyright (c) 2000-2006  Jori Liesenborgs (jori.liesenborgs@gmail.com)

    Permission is hereby granted, free of charge, to any person obtaining a
    copy of this software and associated documentation files (the "Software"),
    to deal in the Software without restriction, including without limitation
    the rights to use, copy, modify, merge, publish, distribute, sublicense,
    and/or sell copies of the Software, and to permit persons to whom the
    Software is furnished to do so, subject to the following conditions:

    The above copyright notice and this permission notice shall be included in
    all copies or substantial portions of the Software.

    THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
    IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
    FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
    THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
    LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
    FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
    DEALINGS IN THE SOFTWARE.

*/

#include "jthread.h"

#ifndef _WIN32_WCE
	#include <process.h>
#endif // _WIN32_WCE

JThread::JThread()
{
	retval = NULL;
	mutexinit = false;
	running = false;
}

JThread::~JThread()
{
	Kill();
}

int JThread::Start()
{
	if (!mutexinit)
	{
		if (!runningmutex.IsInitialized())
		{
			if (runningmutex.Init() < 0)
				return ERR_JTHREAD_CANTINITMUTEX;
		}
		if (!continuemutex.IsInitialized())
		{
			if (continuemutex.Init() < 0)
				return ERR_JTHREAD_CANTINITMUTEX;
		}
		if (!continuemutex2.IsInitialized())
		{
			if (continuemutex2.Init() < 0)
				return ERR_JTHREAD_CANTINITMUTEX;
		}		mutexinit = true;
	}
	
	runningmutex.Lock();
	if (running)
	{
		runningmutex.Unlock();
		return ERR_JTHREAD_ALREADYRUNNING;
	}
	runningmutex.Unlock();
	
	continuemutex.Lock();
#ifndef _WIN32_WCE
	threadhandle = (HANDLE)_beginthreadex(NULL,0,TheThread,this,0,&threadid);
#else
	threadhandle = CreateThread(NULL,0,TheThread,this,0,&threadid);
#endif // _WIN32_WCE
	if (threadhandle == NULL)
	{
		continuemutex.Unlock();
		return ERR_JTHREAD_CANTSTARTTHREAD;
	}
	
	/* Wait until 'running' is set */

	runningmutex.Lock();			
	while (!running)
	{
		runningmutex.Unlock();
		Sleep(1);
		runningmutex.Lock();
	}
	runningmutex.Unlock();
	
	continuemutex.Unlock();
	
	continuemutex2.Lock();
	continuemutex2.Unlock();
		
	return 0;
}

int JThread::Kill()
{
	runningmutex.Lock();			
	if (!running)
	{
		runningmutex.Unlock();
		return ERR_JTHREAD_NOTRUNNING;
	}
	TerminateThread(threadhandle,0);
	CloseHandle(threadhandle);
	running = false;
	runningmutex.Unlock();
	return 0;
}

bool JThread::IsRunning()
{
	bool r;
	
	runningmutex.Lock();			
	r = running;
	runningmutex.Unlock();
	return r;
}

void *JThread::GetReturnValue()
{
	void *val;
	
	runningmutex.Lock();
	if (running)
		val = NULL;
	else
		val = retval;
	runningmutex.Unlock();
	return val;
}

#ifndef _WIN32_WCE
UINT __stdcall JThread::TheThread(void *param)
#else
DWORD WINAPI JThread::TheThread(void *param)
#endif // _WIN32_WCE
{
	JThread *jthread;
	void *ret;

	jthread = (JThread *)param;
	
	jthread->continuemutex2.Lock();
	jthread->runningmutex.Lock();
	jthread->running = true;
	jthread->runningmutex.Unlock();
	
	jthread->continuemutex.Lock();
	jthread->continuemutex.Unlock();
	
	ret = jthread->Thread();
	
	jthread->runningmutex.Lock();
	jthread->running = false;
	jthread->retval = ret;
	CloseHandle(jthread->threadhandle);
	jthread->runningmutex.Unlock();
	return 0;		
}

void JThread::ThreadStarted()
{
	continuemutex2.Unlock();
}

a> 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: minetest\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2013-06-24 00:07+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=CHARSET\n"
"Content-Transfer-Encoding: 8bit\n"

#: src/client.cpp:2877
msgid "Item textures..."
msgstr ""

#: src/game.cpp:959
msgid "Loading..."
msgstr ""

#: src/game.cpp:1019
msgid "Creating server...."
msgstr ""

#: src/game.cpp:1035
msgid "Creating client..."
msgstr ""

#: src/game.cpp:1050
msgid "Resolving address..."
msgstr ""

#: src/game.cpp:1126
msgid "Connecting to server..."
msgstr ""

#: src/game.cpp:1223
msgid "Item definitions..."
msgstr ""

#: src/game.cpp:1230
msgid "Node definitions..."
msgstr ""

#: src/game.cpp:1237
msgid "Media..."
msgstr ""

#: src/game.cpp:3418
msgid "Shutting down stuff..."
msgstr ""

#: src/game.cpp:3448 src/guiConfigureWorld.cpp:397
msgid ""
"\n"
"Check debug.txt for details."
msgstr ""

#: src/guiConfigureWorld.cpp:184
msgid "enabled"
msgstr ""

#: src/guiConfigureWorld.cpp:194
msgid "Enable All"
msgstr ""

#: src/guiConfigureWorld.cpp:203
msgid "Disable All"
msgstr ""

#: src/guiConfigureWorld.cpp:211
msgid "depends on:"
msgstr ""

#: src/guiConfigureWorld.cpp:224
msgid "is required by:"
msgstr ""

#: src/guiConfigureWorld.cpp:246 src/guiCreateWorld.cpp:178
#: src/guiKeyChangeMenu.cpp:195 src/keycode.cpp:223
msgid "Cancel"
msgstr ""

#: src/guiConfigureWorld.cpp:253 src/guiKeyChangeMenu.cpp:187
msgid "Save"
msgstr ""

#: src/guiConfigureWorld.cpp:374
msgid "Configuration saved.  "
msgstr ""

#: src/guiConfigureWorld.cpp:386
msgid "Warning: Configuration not consistent.  "
msgstr ""

#: src/guiConfirmMenu.cpp:119
msgid "Yes"
msgstr ""

#: src/guiConfirmMenu.cpp:127
msgid "No"
msgstr ""

#: src/guiCreateWorld.cpp:123
msgid "World name"
msgstr ""

#: src/guiCreateWorld.cpp:146
msgid "Game"
msgstr ""

#: src/guiCreateWorld.cpp:170
msgid "Create"
msgstr ""

#: src/guiDeathScreen.cpp:96
msgid "You died."
msgstr ""

#: src/guiDeathScreen.cpp:104
msgid "Respawn"
msgstr ""

#: src/guiFormSpecMenu.cpp:585
msgid "Left click: Move all items, Right click: Move single item"
msgstr ""

#: src/guiFormSpecMenu.cpp:611 src/guiMessageMenu.cpp:107
#: src/guiTextInputMenu.cpp:133
msgid "Proceed"
msgstr ""

#: src/guiKeyChangeMenu.cpp:121
msgid "Keybindings. (If this menu screws up, remove stuff from minetest.conf)"
msgstr ""

#: src/guiKeyChangeMenu.cpp:161
msgid "\"Use\" = climb down"
msgstr ""

#: src/guiKeyChangeMenu.cpp:176
msgid "Double tap \"jump\" to toggle fly"
msgstr ""

#: src/guiKeyChangeMenu.cpp:290
msgid "Key already in use"
msgstr ""

#: src/guiKeyChangeMenu.cpp:372
msgid "press key"
msgstr ""

#: src/guiKeyChangeMenu.cpp:400
msgid "Forward"
msgstr ""

#: src/guiKeyChangeMenu.cpp:401
msgid "Backward"
msgstr ""

#: src/guiKeyChangeMenu.cpp:402 src/keycode.cpp:228
msgid "Left"
msgstr ""

#: src/guiKeyChangeMenu.cpp:403 src/keycode.cpp:228
msgid "Right"
msgstr ""

#: src/guiKeyChangeMenu.cpp:404
msgid "Use"
msgstr ""

#: src/guiKeyChangeMenu.cpp:405
msgid "Jump"
msgstr ""

#: src/guiKeyChangeMenu.cpp:406
msgid "Sneak"
msgstr ""

#: src/guiKeyChangeMenu.cpp:407
msgid "Drop"
msgstr ""

#: src/guiKeyChangeMenu.cpp:408
msgid "Inventory"
msgstr ""

#: src/guiKeyChangeMenu.cpp:409
msgid "Chat"
msgstr ""

#: src/guiKeyChangeMenu.cpp:410
msgid "Command"
msgstr ""

#: src/guiKeyChangeMenu.cpp:411
msgid "Console"
msgstr ""

#: src/guiKeyChangeMenu.cpp:412
msgid "Toggle fly"
msgstr ""

#: src/guiKeyChangeMenu.cpp:413
msgid "Toggle fast"
msgstr ""

#: src/guiKeyChangeMenu.cpp:414
msgid "Toggle noclip"
msgstr ""

#: src/guiKeyChangeMenu.cpp:415
msgid "Range select"
msgstr ""

#: src/guiKeyChangeMenu.cpp:416
msgid "Print stacks"
msgstr ""

#: src/guiMainMenu.cpp:92
msgid "Cannot create world: Name contains invalid characters"
msgstr ""

#: src/guiMainMenu.cpp:103
msgid "Cannot create world: A world by this name already exists"
msgstr ""

#: src/guiMainMenu.cpp:285
msgid "Singleplayer"
msgstr ""

#: src/guiMainMenu.cpp:288
msgid "Multiplayer"
msgstr ""

#: src/guiMainMenu.cpp:291
msgid "Advanced"
msgstr ""

#: src/guiMainMenu.cpp:294
msgid "Settings"
msgstr ""

#: src/guiMainMenu.cpp:297
msgid "Credits"
msgstr ""

#: src/guiMainMenu.cpp:330
msgid "Select World:"
msgstr ""

#: src/guiMainMenu.cpp:360 src/guiMainMenu.cpp:578 src/keycode.cpp:229
msgid "Delete"
msgstr ""

#: src/guiMainMenu.cpp:369
msgid "New"
msgstr ""

#: src/guiMainMenu.cpp:379
msgid "Configure"
msgstr ""

#: src/guiMainMenu.cpp:396 src/keycode.cpp:248
msgid "Play"
msgstr ""

#: src/guiMainMenu.cpp:409 src/guiMainMenu.cpp:699
msgid "Creative Mode"
msgstr ""

#: src/guiMainMenu.cpp:417 src/guiMainMenu.cpp:707
msgid "Enable Damage"
msgstr ""

#: src/guiMainMenu.cpp:459 src/guiMainMenu.cpp:614
msgid "Name/Password"
msgstr ""

#: src/guiMainMenu.cpp:498 src/guiMainMenu.cpp:519 src/guiMainMenu.cpp:1324
msgid "Favorites:"
msgstr ""

#: src/guiMainMenu.cpp:508 src/guiMainMenu.cpp:1338
msgid "Public Server List:"
msgstr ""

#: src/guiMainMenu.cpp:532 src/guiMainMenu.cpp:643
msgid "Address/Port"
msgstr ""

#: src/guiMainMenu.cpp:560 src/guiMainMenu.cpp:1323
msgid "Show Public"
msgstr ""

#: src/guiMainMenu.cpp:567 src/guiMainMenu.cpp:1337
msgid "Show Favorites"
msgstr ""

#: src/guiMainMenu.cpp:591
msgid "Connect"
msgstr ""

#: src/guiMainMenu.cpp:668
msgid "Leave address blank to start a local server."
msgstr ""

#: src/guiMainMenu.cpp:678
msgid "Start Game / Connect"
msgstr ""

#: src/guiMainMenu.cpp:716
msgid "Public"
msgstr ""

#: src/guiMainMenu.cpp:726 src/guiMainMenu.cpp:1245
msgid "Delete world"
msgstr ""

#: src/guiMainMenu.cpp:735
msgid "Create world"
msgstr ""

#: src/guiMainMenu.cpp:773
msgid "Fancy trees"
msgstr ""

#: src/guiMainMenu.cpp:781
msgid "Smooth Lighting"
msgstr ""

#: src/guiMainMenu.cpp:789
msgid "3D Clouds"
msgstr ""

#: src/guiMainMenu.cpp:797
msgid "Opaque water"
msgstr ""

#: src/guiMainMenu.cpp:809
msgid "Mip-Mapping"
msgstr ""

#: src/guiMainMenu.cpp:818
msgid "Anisotropic Filtering"
msgstr ""

#: src/guiMainMenu.cpp:827
msgid "Bi-Linear Filtering"
msgstr ""

#: src/guiMainMenu.cpp:836
msgid "Tri-Linear Filtering"
msgstr ""

#: src/guiMainMenu.cpp:846
msgid "Shaders"
msgstr ""

#: src/guiMainMenu.cpp:855
msgid "Preload item visuals"
msgstr ""

#: src/guiMainMenu.cpp:864
msgid "Enable Particles"
msgstr ""

#: src/guiMainMenu.cpp:873
msgid "Finite liquid"
msgstr ""

#: src/guiMainMenu.cpp:885
msgid "Change keys"
msgstr ""

#: src/guiMainMenu.cpp:1211 src/guiMainMenu.cpp:1372
msgid "Address required."
msgstr ""

#: src/guiMainMenu.cpp:1231
msgid "Cannot delete world: Nothing selected"
msgstr ""

#: src/guiMainMenu.cpp:1246
msgid "Files to be deleted"
msgstr ""

#: src/guiMainMenu.cpp:1267
msgid "Cannot create world: No games found"
msgstr ""

#: src/guiMainMenu.cpp:1286
msgid "Cannot configure world: Nothing selected"
msgstr ""

#: src/guiMainMenu.cpp:1428
msgid "Failed to delete all world files"
msgstr ""

#: src/guiPasswordChange.cpp:107
msgid "Old Password"
msgstr ""

#: src/guiPasswordChange.cpp:125
msgid "New Password"
msgstr ""

#: src/guiPasswordChange.cpp:142
msgid "Confirm Password"
msgstr ""

#: src/guiPasswordChange.cpp:160
msgid "Change"
msgstr ""

#: src/guiPasswordChange.cpp:169
msgid "Passwords do not match!"
msgstr ""

#: src/guiPauseMenu.cpp:122
msgid "Continue"
msgstr ""

#: src/guiPauseMenu.cpp:133
msgid "Change Password"
msgstr ""

#: src/guiPauseMenu.cpp:143
msgid "Sound Volume"
msgstr ""

#: src/guiPauseMenu.cpp:152
msgid "Exit to Menu"
msgstr ""

#: src/guiPauseMenu.cpp:161
msgid "Exit to OS"
msgstr ""

#: src/guiPauseMenu.cpp:170
msgid ""
"Default Controls:\n"
"- WASD: move\n"
"- Space: jump/climb\n"
"- Shift: sneak/go down\n"
"- Q: drop item\n"
"- I: inventory\n"
"- Mouse: turn/look\n"
"- Mouse left: dig/punch\n"
"- Mouse right: place/use\n"
"- Mouse wheel: select item\n"
"- T: chat\n"
msgstr ""

#: src/guiVolumeChange.cpp:107
msgid "Sound Volume: "
msgstr ""

#: src/guiVolumeChange.cpp:121
msgid "Exit"
msgstr ""

#: src/keycode.cpp:223
msgid "Left Button"
msgstr ""

#: src/keycode.cpp:223
msgid "Middle Button"
msgstr ""

#: src/keycode.cpp:223
msgid "Right Button"
msgstr ""

#: src/keycode.cpp:223
msgid "X Button 1"
msgstr ""

#: src/keycode.cpp:224
msgid "Back"
msgstr ""

#: src/keycode.cpp:224
msgid "Clear"
msgstr ""

#: src/keycode.cpp:224
msgid "Return"
msgstr ""

#: src/keycode.cpp:224
msgid "Tab"
msgstr ""

#: src/keycode.cpp:224
msgid "X Button 2"
msgstr ""

#: src/keycode.cpp:225
msgid "Capital"
msgstr ""

#: src/keycode.cpp:225
msgid "Control"
msgstr ""

#: src/keycode.cpp:225
msgid "Kana"
msgstr ""

#: src/keycode.cpp:225
msgid "Menu"
msgstr ""

#: src/keycode.cpp:225
msgid "Pause"
msgstr ""

#: src/keycode.cpp:225
msgid "Shift"
msgstr ""

#: src/keycode.cpp:226
msgid "Convert"
msgstr ""

#: src/keycode.cpp:226
msgid "Escape"
msgstr ""

#: src/keycode.cpp:226
msgid "Final"
msgstr ""

#: src/keycode.cpp:226
msgid "Junja"
msgstr ""

#: src/keycode.cpp:226
msgid "Kanji"
msgstr ""

#: src/keycode.cpp:226
msgid "Nonconvert"
msgstr ""

#: src/keycode.cpp:227
msgid "Accept"
msgstr ""

#: src/keycode.cpp:227
msgid "End"
msgstr ""

#: src/keycode.cpp:227
msgid "Home"
msgstr ""

#: src/keycode.cpp:227
msgid "Mode Change"
msgstr ""

#: src/keycode.cpp:227
msgid "Next"
msgstr ""

#: src/keycode.cpp:227
msgid "Prior"
msgstr ""

#: src/keycode.cpp:227
msgid "Space"
msgstr ""

#: src/keycode.cpp:228
msgid "Down"
msgstr ""

#: src/keycode.cpp:228
msgid "Execute"
msgstr ""

#: src/keycode.cpp:228
msgid "Print"
msgstr ""

#: src/keycode.cpp:228
msgid "Select"
msgstr ""

#: src/keycode.cpp:228
msgid "Up"
msgstr ""

#: src/keycode.cpp:229
msgid "Help"
msgstr ""

#: src/keycode.cpp:229
msgid "Insert"
msgstr ""

#: src/keycode.cpp:229
msgid "Snapshot"
msgstr ""

#: src/keycode.cpp:232
msgid "Left Windows"
msgstr ""

#: src/keycode.cpp:233
msgid "Apps"
msgstr ""

#: src/keycode.cpp:233
msgid "Numpad 0"
msgstr ""

#: src/keycode.cpp:233
msgid "Numpad 1"
msgstr ""

#: src/keycode.cpp:233
msgid "Right Windows"
msgstr ""

#: src/keycode.cpp:233
msgid "Sleep"
msgstr ""

#: src/keycode.cpp:234
msgid "Numpad 2"
msgstr ""

#: src/keycode.cpp:234
msgid "Numpad 3"
msgstr ""

#: src/keycode.cpp:234
msgid "Numpad 4"
msgstr ""

#: src/keycode.cpp:234
msgid "Numpad 5"
msgstr ""

#: src/keycode.cpp:234
msgid "Numpad 6"
msgstr ""

#: src/keycode.cpp:234
msgid "Numpad 7"
msgstr ""

#: src/keycode.cpp:235
msgid "Numpad *"
msgstr ""

#: src/keycode.cpp:235
msgid "Numpad +"
msgstr ""

#: src/keycode.cpp:235
msgid "Numpad -"
msgstr ""

#: src/keycode.cpp:235
msgid "Numpad /"
msgstr ""

#: src/keycode.cpp:235
msgid "Numpad 8"
msgstr ""

#: src/keycode.cpp:235
msgid "Numpad 9"
msgstr ""

#: src/keycode.cpp:239
msgid "Num Lock"
msgstr ""

#: src/keycode.cpp:239
msgid "Scroll Lock"
msgstr ""

#: src/keycode.cpp:240
msgid "Left Shift"
msgstr ""

#: src/keycode.cpp:240
msgid "Right Shift"
msgstr ""

#: src/keycode.cpp:241
msgid "Left Control"
msgstr ""

#: src/keycode.cpp:241
msgid "Left Menu"
msgstr ""

#: src/keycode.cpp:241
msgid "Right Control"
msgstr ""

#: src/keycode.cpp:241
msgid "Right Menu"
msgstr ""

#: src/keycode.cpp:243
msgid "Comma"
msgstr ""

#: src/keycode.cpp:243
msgid "Minus"
msgstr ""

#: src/keycode.cpp:243
msgid "Period"
msgstr ""

#: src/keycode.cpp:243
msgid "Plus"
msgstr ""

#: src/keycode.cpp:247
msgid "Attn"
msgstr ""

#: src/keycode.cpp:247
msgid "CrSel"
msgstr ""

#: src/keycode.cpp:248
msgid "Erase OEF"
msgstr ""

#: src/keycode.cpp:248
msgid "ExSel"
msgstr ""

#: src/keycode.cpp:248
msgid "OEM Clear"
msgstr ""

#: src/keycode.cpp:248
msgid "PA1"
msgstr ""

#: src/keycode.cpp:248
msgid "Zoom"
msgstr ""

#: src/main.cpp:1680
msgid "Main Menu"
msgstr ""

#: src/main.cpp:2040
msgid "Failed to initialize world"
msgstr ""

#: src/main.cpp:2053
msgid "No world selected and no address provided. Nothing to do."
msgstr ""

#: src/main.cpp:2061
msgid "Could not find or load game \""
msgstr ""

#: src/main.cpp:2075
msgid "Invalid gamespec."
msgstr ""

#: src/main.cpp:2116
msgid "Connection error (timed out?)"
msgstr ""