comparison MyLilPony.lua @ 22:7bc67e937603 i18n

First pass i18n support.
author syzler
date Sat, 16 Apr 2011 16:54:29 +0000
parents 2ae5f67e313a
children 830b2ccf349d
comparison
equal deleted inserted replaced
21:99f6be0c99fc 22:7bc67e937603
185 if not result then 185 if not result then
186 MyLilPony.Log(format("No matching mounts were found with NAME like '%s'", arg)); 186 MyLilPony.Log(format("No matching mounts were found with NAME like '%s'", arg));
187 end 187 end
188 else 188 else
189 MyLilPony.Print(format("MyLilPony %s", MYLILPONY_VERSION)); 189 MyLilPony.Print(format("MyLilPony %s", MYLILPONY_VERSION));
190 MyLilPony.Print("Slash Command: /mylilpony (/pony, /mlp)"); 190 MyLilPony.Print(L["szSlashCommand"]..": /mylilpony (/pony, /mlp)");
191 MyLilPony.Print(" /mylilpony auto - Summons a \"suitable\" mount"); 191 MyLilPony.Print(" /mylilpony auto - "..L["msgHelpCommandAuto"]);
192 MyLilPony.Print(" /mylilpony random - Summons random mount"); 192 MyLilPony.Print(" /mylilpony random - "..L["msgHelpCommandRandom"]);
193 MyLilPony.Print(" /mylilpony ground - Summons random ground mount"); 193 MyLilPony.Print(" /mylilpony ground - "..L["msgHelpCommandGround"]);
194 MyLilPony.Print(" /mylilpony flying - Summons random flying mount"); 194 MyLilPony.Print(" /mylilpony flying - "..L["msgHelpCommandFlying"]);
195 MyLilPony.Print(" /mylilpony aquatic - Summons random aquatic mount"); 195 MyLilPony.Print(" /mylilpony aquatic - "..L["msgHelpCommandAquatic"]);
196 MyLilPony.Print(" /mylilpony match - Summons same mount as targeted unit"); 196 MyLilPony.Print(" /mylilpony match - "..L["msgHelpCommandTarget"]);
197 MyLilPony.Print(" /mylilpony [@<UNITID>] match - Summons same mount as specified unit"); 197 MyLilPony.Print(" /mylilpony [@<UNITID>] match - "..L["msgHelpCommandMatch"]);
198 MyLilPony.Print(" /mylilpony list <NAME> - Lists mounts matching name"); 198 MyLilPony.Print(" /mylilpony list <NAME> - "..L["msgHelpCommandList"]);
199 MyLilPony.Print(" /mylilpony exact <NAME> - Summons mount by exact name"); 199 MyLilPony.Print(" /mylilpony exact <NAME> - "..L["msgHelpCommandExact"]);
200 MyLilPony.Print(" /mylilpony <ID> - Summons mount by spell or creature ID"); 200 MyLilPony.Print(" /mylilpony <ID> - "..L["msgHelpCommandId"]);
201 MyLilPony.Print(" /mylilpony <NAME> - Summons random mount matching name"); 201 MyLilPony.Print(" /mylilpony <NAME> - "..L["msgHelpCommandName"]);
202 end 202 end
203 end 203 end
204 204
205 MyLilPony.OnLoad(); 205 MyLilPony.OnLoad();