forked from uakfdotb/ent-ghost
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlanguage.h
274 lines (261 loc) · 13.4 KB
/
language.h
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
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
/*
ent-ghost
Copyright [2011-2013] [Jack Lu]
This file is part of the ent-ghost source code.
ent-ghost is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
ent-ghost source code is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with ent-ghost source code. If not, see <http://www.gnu.org/licenses/>.
ent-ghost is modified from GHost++ (http://ghostplusplus.googlecode.com/)
GHost++ is Copyright [2008] [Trevor Hogan]
*/
#ifndef LANGUAGE_H
#define LANGUAGE_H
//
// CLanguage
//
class CLanguage
{
private:
CConfig *m_CFG;
public:
CLanguage( string nCFGFile );
~CLanguage( );
string UnableToCreateGameTryAnotherName( string server, string gamename );
string UserIsAlreadyAnAdmin( string server, string user );
string AddedUserToAdminDatabase( string server, string user );
string ErrorAddingUserToAdminDatabase( string server, string user );
string YouDontHaveAccessToThatCommand( );
string UserIsAlreadyBanned( string server, string victim );
string BannedUser( string server, string victim );
string ErrorBanningUser( string server, string victim );
string UserIsAnAdmin( string server, string user );
string UserIsNotAnAdmin( string server, string user );
string UserWasBannedOnByBecause( string server, string victim, string date, string admin, string reason );
string UserIsNotBanned( string server, string victim );
string ThereAreNoAdmins( string server );
string ThereIsAdmin( string server );
string ThereAreAdmins( string server, string count );
string ThereAreNoBannedUsers( string server );
string ThereIsBannedUser( string server );
string ThereAreBannedUsers( string server, string count );
string YouCantDeleteTheRootAdmin( );
string DeletedUserFromAdminDatabase( string server, string user );
string ErrorDeletingUserFromAdminDatabase( string server, string user );
string UnbannedUser( string victim );
string ErrorUnbanningUser( string victim );
string GameNumberIs( string number, string description );
string GameNumberDoesntExist( string number );
string GameIsInTheLobby( string description, string current, string max );
string ThereIsNoGameInTheLobby( string current, string max );
string UnableToLoadConfigFilesOutside( );
string LoadingConfigFile( string file );
string UnableToLoadConfigFileDoesntExist( string file );
string CreatingPrivateGame( string gamename, string user );
string CreatingPublicGame( string gamename, string user );
string UnableToUnhostGameCountdownStarted( string description );
string UnhostingGame( string description );
string UnableToUnhostGameNoGameInLobby( );
string VersionAdmin( string version );
string VersionNotAdmin( string version );
string UnableToCreateGameAnotherGameInLobby( string gamename, string description );
string UnableToCreateGameMaxGamesReached( string gamename, string max );
string GameIsOver( string description );
string SpoofCheckByReplying( );
string GameRefreshed( );
string SpoofPossibleIsAway( string user );
string SpoofPossibleIsUnavailable( string user );
string SpoofPossibleIsRefusingMessages( string user );
string SpoofDetectedIsNotInGame( string user );
string SpoofDetectedIsInPrivateChannel( string user );
string SpoofDetectedIsInAnotherGame( string user );
string CountDownAborted( );
string TryingToJoinTheGameButBanned( string victim );
string UnableToBanNoMatchesFound( string victim );
string PlayerWasBannedByPlayer( string server, string victim, string user );
string UnableToBanFoundMoreThanOneMatch( string victim );
string AddedPlayerToTheHoldList( string user );
string UnableToKickNoMatchesFound( string victim );
string UnableToKickFoundMoreThanOneMatch( string victim );
string SettingLatencyToMinimum( string min );
string SettingLatencyToMaximum( string max );
string SettingLatencyTo( string latency );
string KickingPlayersWithPingsGreaterThan( string total, string ping );
string HasPlayedGamesWithThisBot( string user, string totalgames, string avgstay, string playtime );
string HasntPlayedGamesWithThisBot( string user );
string AutokickingPlayerForExcessivePing( string victim, string ping );
string SpoofCheckAcceptedFor( string server, string user );
string PlayersNotYetSpoofChecked( string notspoofchecked );
string ManuallySpoofCheckByWhispering( string hostname );
string SpoofCheckByWhispering( string hostname );
string EveryoneHasBeenSpoofChecked( );
string PlayersNotYetPinged( string notpinged );
string EveryoneHasBeenPinged( );
string ShortestLoadByPlayer( string user, string loadingtime );
string LongestLoadByPlayer( string user, string loadingtime );
string YourLoadingTimeWas( string loadingtime );
string HasPlayedDotAGamesWithThisBot( string user, string totalgames, string totalwins, string totallosses, string totalkills, string totaldeaths, string totalcreepkills, string totalcreepdenies, string totalassists, string totalneutralkills, string totaltowerkills, string totalraxkills, string totalcourierkills, string avgkills, string avgdeaths, string avgcreepkills, string avgcreepdenies, string avgassists, string avgneutralkills, string avgtowerkills, string avgraxkills, string avgcourierkills, string score, string category );
string HasPlayedVampGamesWithThisBot( string user, string totalgames, string humangames, string vampgames, string humanwins, string vampwins, string humanlosses, string vamplosses, string vampkills, string mincc, string avgcc, string minbase, string avgbase );
string HasPlayedTreeGamesWithThisBot( string user, string totalgames, string totalwins, string totallosses, string totalkills, string totaltks, string totaldeaths, string totalsaves, string avgkills, string avgtks, string avgdeaths, string avgsaves, string totalentgames, string totalinfernalgames );
string HasntPlayedDotAGamesWithThisBot( string user, string category );
string HasntPlayedVampGamesWithThisBot( string user );
string HasntPlayedTreeGamesWithThisBot( string user );
string WasKickedForReservedPlayer( string reserved );
string WasKickedForOwnerPlayer( string owner );
string WasKickedByPlayer( string user );
string HasLostConnectionPlayerError( string error );
string HasLostConnectionSocketError( string error );
string HasLostConnectionClosedByRemoteHost( );
string HasLeftVoluntarily( );
string EndingGame( string description );
string HasLostConnectionTimedOut( );
string GlobalChatMuted( );
string GlobalChatUnmuted( );
string ShufflingPlayers( );
string UnableToLoadConfigFileGameInLobby( );
string PlayersStillDownloading( string stilldownloading );
string RefreshMessagesEnabled( );
string RefreshMessagesDisabled( );
string AtLeastOneGameActiveUseForceToShutdown( );
string CurrentlyLoadedMapCFGIs( string mapcfg );
string LaggedOutDroppedByAdmin( );
string LaggedOutDroppedByVote( );
string PlayerVotedToDropLaggers( string user );
string LatencyIs( string latency );
string SyncLimitIs( string synclimit );
string SettingSyncLimitToMinimum( string min );
string SettingSyncLimitToMaximum( string max );
string SettingSyncLimitTo( string synclimit );
string UnableToCreateGameNotLoggedIn( string gamename );
string AdminLoggedIn( );
string AdminInvalidPassword( string attempt );
string ConnectingToBNET( string server );
string ConnectedToBNET( string server );
string DisconnectedFromBNET( string server );
string LoggedInToBNET( string server );
string BNETGameHostingSucceeded( string server );
string BNETGameHostingFailed( string server, string gamename );
string ConnectingToBNETTimedOut( string server );
string PlayerDownloadedTheMap( string user, string seconds, string rate );
string UnableToCreateGameNameTooLong( string gamename );
string SettingGameOwnerTo( string owner );
string TheGameIsLocked( );
string GameLocked( );
string GameUnlocked( );
string UnableToStartDownloadNoMatchesFound( string victim );
string UnableToStartDownloadFoundMoreThanOneMatch( string victim );
string UnableToSetGameOwner( string owner );
string UnableToCheckPlayerNoMatchesFound( string victim );
string CheckedPlayer( string victim, string ping, string from, string admin, string owner, string spoofed, string spoofedrealm, string reserved );
string UnableToCheckPlayerFoundMoreThanOneMatch( string victim );
string TheGameIsLockedBNET( );
string UnableToCreateGameDisabled( string gamename );
string BotDisabled( );
string BotEnabled( );
string UnableToCreateGameInvalidMap( string gamename );
string WaitingForPlayersBeforeAutoStart( string players, string playersleft );
string AutoStartDisabled( );
string AutoStartEnabled( string players );
string AnnounceMessageEnabled( );
string AnnounceMessageDisabled( );
string AutoHostEnabled( );
string AutoHostDisabled( );
string UnableToLoadSaveGamesOutside( );
string UnableToLoadSaveGameGameInLobby( );
string LoadingSaveGame( string file );
string UnableToLoadSaveGameDoesntExist( string file );
string UnableToCreateGameInvalidSaveGame( string gamename );
string UnableToCreateGameSaveGameMapMismatch( string gamename );
string AutoSaveEnabled( );
string AutoSaveDisabled( );
string DesyncDetected( );
string UnableToMuteNoMatchesFound( string victim );
string MutedPlayer( string victim, string user );
string UnmutedPlayer( string victim, string user );
string UnableToMuteFoundMoreThanOneMatch( string victim );
string PlayerIsSavingTheGame( string player );
string UpdatingClanList( );
string UpdatingFriendsList( );
string MultipleIPAddressUsageDetected( string player, string others );
string UnableToVoteKickAlreadyInProgress( );
string UnableToVoteKickNotEnoughPlayers( );
string UnableToVoteKickNoMatchesFound( string victim );
string UnableToVoteKickPlayerIsReserved( string victim );
string StartedVoteKick( string victim, string user, string votesneeded );
string UnableToVoteKickFoundMoreThanOneMatch( string victim );
string VoteKickPassed( string victim );
string ErrorVoteKickingPlayer( string victim );
string VoteKickAcceptedNeedMoreVotes( string victim, string user, string votes );
string VoteKickCancelled( string victim );
string VoteKickExpired( string victim );
string WasKickedByVote( );
string TypeYesToVote( string commandtrigger );
string PlayersNotYetPingedAutoStart( string notpinged );
string WasKickedForNotSpoofChecking( );
string WasKickedForHavingFurthestScore( string score, string average );
string PlayerHasScore( string player, string score );
string RatedPlayersSpread( string rated, string total, string spread );
string ErrorListingMaps( );
string FoundMaps( string maps );
string NoMapsFound( );
string ErrorListingMapConfigs( );
string FoundMapConfigs( string mapconfigs );
string NoMapConfigsFound( );
string PlayerFinishedLoading( string user );
string PleaseWaitPlayersStillLoading( );
string MapDownloadsDisabled( );
string MapDownloadsEnabled( );
string MapDownloadsConditional( );
string SettingHCL( string HCL );
string UnableToSetHCLInvalid( );
string UnableToSetHCLTooLong( );
string TheHCLIs( string HCL );
string TheHCLIsTooLongUseForceToStart( );
string ClearingHCL( );
string TryingToRehostAsPrivateGame( string gamename );
string TryingToRehostAsPublicGame( string gamename );
string RehostWasSuccessful( );
string TryingToJoinTheGameButBannedByName( string victim );
string TryingToJoinTheGameButBannedByIP( string victim, string ip, string bannedname );
string HasBannedName( string victim );
string HasBannedIP( string victim, string ip, string bannedname );
string PlayersInGameState( string number, string players );
string ValidServers( string servers );
string TeamCombinedScore( string team, string score );
string BalancingSlotsCompleted( );
string PlayerWasKickedForFurthestScore( string name, string score, string average );
string LocalAdminMessagesEnabled( );
string LocalAdminMessagesDisabled( );
string WasDroppedDesync( );
string WasKickedForHavingLowestScore( string score );
string PlayerWasKickedForLowestScore( string name, string score );
string ReloadingConfigurationFiles( );
string CountDownAbortedSomeoneLeftRecently( );
string UnableToCreateGameMustEnforceFirst( string gamename );
string UnableToLoadReplaysOutside( );
string LoadingReplay( string file );
string UnableToLoadReplayDoesntExist( string file );
string CommandTrigger( string trigger );
string CantEndGameOwnerIsStillPlaying( string owner );
string CantUnhostGameOwnerIsPresent( string owner );
string WasAutomaticallyDroppedAfterSeconds( string seconds );
string HasLostConnectionTimedOutGProxy( );
string HasLostConnectionSocketErrorGProxy( string error );
string HasLostConnectionClosedByRemoteHostGProxy( );
string WaitForReconnectSecondsRemain( string seconds );
string WasUnrecoverablyDroppedFromGProxy( );
string PlayerReconnectedWithGProxy( string name );
string CantKickPlayers( );
string UnableToCreateGameInvalidCharacters( string gamename );
string TeamForfeited( string team );
string ForfeitStatsWarning( );
string ForfeitVote( string user );
string ForfeitVotesNeeded( string votes, string total, string team );
};
#endif