vanilla-wow-addons – Blame information for rev 1

Subversion Repositories:
Rev:
Rev Author Line No. Line
1 office 1 -----------------------------------------------------
2 -- localization.lua
3 -- English strings by default, localizations override with their own.
4 ------------------------------------------------------
5  
6 -- Key bindings
7 BINDING_HEADER_FEEDOMATIC = "Fizzwidget Feed-O-Matic";
8 BINDING_NAME_FEEDOMATIC = "Feed Pet";
9  
10 -- Diet names. These should be the all-lowercase versions of the six diets returned from GetPetFoodTypes(). (Want to get them all nice and quick for your localization? Go tame a bear... they eat anything.)
11 -- THESE STRINGS MUST BE LOCALIZED for Feed-O-Matic to work properly in other locales.
12 FOM_DIET_MEAT = "meat";
13 FOM_DIET_FISH = "fish";
14 FOM_DIET_BREAD = "bread";
15 FOM_DIET_CHEESE = "cheese";
16 FOM_DIET_FRUIT = "fruit";
17 FOM_DIET_FUNGUS = "fungus";
18  
19 -- If the player has a buff whose icon name contains "Ability_Mount" and whose name contains one of these substrings, we assume the player is mounted. We have to use this rather oblique way to check for mounted because some other buffs use the Ability_Mount_* icons. If these aren't localized, we may not recognize when the player is mounted and still try to feed the pet.
20 FOM_MOUNT_NAME_SUBSTRINGS = { "kodo", "wolf", "raptor", "steed", "horse", "ram", "saber", "mechanostrider" };
21  
22 -- It's not clear whether the 5th and 6th returns from GetItemInfo() are supposed to be localized... so we have localized keys for them just in case. If these aren't localized, we'll just needlessly search your ammo bags for food.
23 FOM_AMMO_POUCH = "Ammo Pouch";
24 FOM_QUIVER = "Quiver";
25  
26 -- From here on down, the localized strings are just for readability... they don't affect whether Feed-O-Matic works.
27  
28 -- Two special diets; one is used for tracking food that provides a bonus (or at least, that you don't want to have fed to your pet when the 'savebonus' option is on), and another that's used in the chat-line interface for listing all diets.
29 FOM_DIET_BONUS = "bonus";
30 FOM_DIET_ALL = "all";
31  
32 -- Used in tooltips to indicate food quality.
33 FOM_QUALITY_UNKNOWN = "%s can eat this, but hasn't tried it yet.";
34 FOM_QUALITY_UNDER = "%s doesn't like this anymore.";
35 FOM_QUALITY_MIGHT = "%s might eat this.";
36 FOM_QUALITY_WILL = "%s will eat this.";
37 FOM_QUALITY_LIKE = "%s likes to eat this.";
38 FOM_QUALITY_LOVE = "%s loves to eat this.";
39  
40 -- User-visible errors
41 FOM_ERROR_NO_PET = "You don't have a pet to feed.";
42 FOM_ERROR_PET_DEAD = "Your pet is dead.";
43 FOM_ERROR_NO_FEEDABLE_PET = "You don't have a feedable pet.";
44 FOM_ERROR_FOOD_NOT_FOUND = "%s could not find %s in your pack.";
45 FOM_ERROR_NO_FOOD = "%s could not find any food in your pack.";
46  
47 -- Feeding status messages
48 FOM_FEEDING_EAT_ANOTHER = "%s doesn't like that food and will try something else...";
49 FOM_FEEDING_FEED_ANOTHER = "needs to feed %s something else...";
50 FOM_FEEDING_EAT = "%s eats a %s from your pack.";
51 FOM_FEEDING_FEED = "feeds %s a %s. ";
52  
53 FOM_PET_HUNGRY = "%s is hungry!";
54 FOM_PET_VERY_HUNGRY = "%s is very hungry!";
55  
56 -- Beast family names
57 BAT = "Bat";
58 BEAR = "Bear";
59 BOAR = "Boar";
60 CARRION_BIRD = "Carrion Bird";
61 CAT = "Cat";
62 CRAB = "Crab";
63 CROCOLISK = "Crocolisk";
64 GORILLA = "Gorilla";
65 HYENA = "Hyena";
66 OWL = "Owl";
67 RAPTOR = "Raptor";
68 SCORPID = "Scorpid";
69 SPIDER = "Spider";
70 TALLSTRIDER = "Tallstrider";
71 TURTLE = "Turtle";
72 WIND_SERPENT = "Wind Serpent";
73 WOLF = "Wolf";
74  
75 FOM_OPTIONS_HEADER = "Feed-O-Matic Options";
76 FOM_OPTIONS_GENERAL = "General options:";
77 FOM_OPTIONS_FOOD_CHOICE = "Avoid foods used in Cooking:";
78 FOM_OPTIONS_FEED_NOTIFY = "Notify when feeding:";
79 FOM_OPTIONS_WARNING = "Warn that your pet needs feeding:";
80  
81 FOM_KEEPOPEN = "Try to keep at least";
82 FOM_KEEPOPEN_SLOTS = "slots open in your bags.";
83 FOM_KEEPOPEN_INFO = "(Will choose foods from smaller stacks when low on space, regardless of how well your pet likes them.)";
84  
85 FOM_OptionsButtonText = {
86 ["Tooltip"] = "Show your pet's opinion of foods in their tooltips",
87 ["AvoidQuestFood"] = "Avoid foods needed for quests",
88 ["AvoidBonusFood"] = "Avoid foods that have a bonus effect when eaten",
89 ["PreferHigherQuality"] = "Prefer foods your pet likes more",
90 ["Fallback"] = "Fall back to otherwise-avoided foods if out of others",
91 ["SaveForCook_All"] = "all foods used in cooking",
92 ["SaveForCook_Green"] = "only foods used in |cff3fbf3f\"easy\"|r or better recipes",
93 ["SaveForCook_Yellow"] = "only foods used in |cffffff00\"medium\"|r or better recipes",
94 ["SaveForCook_Orange"] = "only foods used in |cffff7f3f\"difficult\"|r recipes",
95 ["SaveForCook_None"] = "Don't save foods used in cooking",
96 ["IconWarning"] = "Flash icon",
97 ["TextWarning"] = "Show text",
98 ["AudioWarning"] = "Play sound",
99 ["AudioWarningBell"] = "Generic bell sound instead of pet-specific",
100 ["AlertEmote"] = "Via emote (seen by others)",
101 ["AlertChat"] = "In the chat window (seen by you only)",
102 ["AlertNone"] = "Don't notify",
103 ["LevelContent"] = "when \"content\"",
104 ["LevelUnhappy"] = "when \"unhappy\"",
105 ["LevelOff"] = "Don't warn",
106 };
107 ------------------------------------------------------
108  
109 if (GetLocale() == "frFR") then
110  
111 -- Diet names. These should be the all-lowercase versions of the six diets returned from GetPetFoodTypes(). (Want to get them all nice and quick for your localization? Go tame a bear... they eat anything.)
112 -- THESE STRINGS MUST BE LOCALIZED for Feed-O-Matic to work properly in other locales.
113 FOM_DIET_MEAT = "viande";
114 FOM_DIET_FISH = "poisson";
115 FOM_DIET_BREAD = "pain";
116 FOM_DIET_CHEESE = "fromage";
117 FOM_DIET_FRUIT = "fruit";
118 FOM_DIET_FUNGUS = "champignon";
119  
120 -- If the player has a buff whose icon name contains "Ability_Mount" and whose name contains one of these substrings, we assume the player is mounted. We have to use this rather oblique way to check for mounted because some other buffs use the Ability_Mount_* icons. If these aren't localized, we may not recognize when the player is mounted and still try to feed the pet.
121 FOM_MOUNT_NAME_SUBSTRINGS = { "kodo", "loup", "raptor", "steed", "cheval", "bélier", "tigre", "mécanotrotteur", };
122  
123 -- It's not clear whether the 5th and 6th returns from GetItemInfo() are supposed to be localized... so we have localized keys for them just in case. If these aren't localized, we'll just needlessly search your ammo bags for food.
124 FOM_AMMO_POUCH = "Giberne";
125 FOM_QUIVER = "Carquois";
126  
127  
128 -- From here on down, the localized strings are just for readability... they don't affect whether Feed-O-Matic works.
129  
130 -- Two special diets; one is used for tracking food that provides a bonus (or at least, that you don't want to have fed to your pet when the 'savebonus' option is on), and another that's used in the chat-line interface for listing all diets.
131 FOM_DIET_BONUS = "bonus";
132 FOM_DIET_ALL = "tous";
133  
134 -- Used in tooltips to indicate food quality.
135 FOM_QUALITY_UNKNOWN = "%s peut le manger, mais n'a jamais essayé.";
136 FOM_QUALITY_UNDER = "%s n'en mange plus désormais.";
137 FOM_QUALITY_MIGHT = "%s en mangera peut-être.";
138 FOM_QUALITY_WILL = "%s en mangera.";
139 FOM_QUALITY_LIKE = "%s aime en manger.";
140 FOM_QUALITY_LOVE = "%s adore en manger.";
141  
142 -- User-visible errors
143 FOM_ERROR_NO_PET = "Vous n'avez pas de familier.";
144 FOM_ERROR_PET_DEAD = "Votre familier est mort.";
145 FOM_ERROR_NO_FEEDABLE_PET = "Vous n'avez pas de familier capable de manger.";
146 FOM_ERROR_FOOD_NOT_FOUND = "%s n'a pas trouvé de %s dans votre sac.";
147 FOM_ERROR_NO_FOOD = "%s n'a pas trouvé de nourriture dans votre sac.";
148  
149 -- Feeding status messages
150 FOM_FEEDING_EAT_ANOTHER = "%s n'aime pas cette nourriture et va essayer autre chose..."
151 FOM_FEEDING_FEED_ANOTHER = "cherche autre chose à donner à %s...";
152 FOM_FEEDING_EAT = "%s mange un(e) %s.";
153 FOM_FEEDING_FEED = "donne à %s à manger un(e) %s. ";
154  
155 -- Beast family names
156 BAT = "Chauve-souris";
157 BEAR = "Ours";
158 BOAR = "Sanglier";
159 CARRION_BIRD = "Charognard";
160 CAT = "Félin";
161 CRAB = "Crabe";
162 CROCOLISK = "Crocilisque";
163 GORILLA = "Gorille";
164 HYENA = "Hyène";
165 OWL = "Chouette";
166 RAPTOR = "Raptor";
167 SCORPID = "Scorpide";
168 SPIDER = "Araignée";
169 TALLSTRIDER = "Haut-trotteur";
170 TURTLE = "Tortue";
171 WIND_SERPENT = "Serpent des vents";
172 WOLF = "Loup";
173  
174 FOM_PET_HUNGRY = "%s a faim!";
175 FOM_PET_VERY_HUNGRY = "%s a très faim!";
176  
177 FOM_OPTIONS_HEADER = "Feed-O-Matic Options";
178 FOM_OPTIONS_GENERAL = "Options générales:";
179 FOM_OPTIONS_FOOD_CHOICE = "Eviter la nourriture utilisée en cuisine:";
180 FOM_OPTIONS_FEED_NOTIFY = "Prévenir lorsque votre familier est nourrit:";
181 FOM_OPTIONS_WARNING = "Avertir quand votre familier a besoin d'être nourrit:";
182  
183 FOM_KEEPOPEN = "Essayer de garder au moins";
184 FOM_KEEPOPEN_SLOTS = "emplacements de sac libres";
185 FOM_KEEPOPEN_INFO = "(Le familier choisira la nourriture des piles les plus petites, sans tenir compte de ses préférences.)";
186  
187 FOM_OptionsButtonText = {
188 ["Tooltip"] = "Afficher l'avis de votre familier concernant la nourriture",
189 ["AvoidQuestFood"] = "Eviter la nourriture utile dans les quêtes",
190 ["AvoidBonusFood"] = "Eviter la nourriture donnant un bonus",
191 ["PreferHigherQuality"] = "Privilégier la nourriture que votre familier préfère",
192 ["Fallback"] = "Utiliser la nourriture évitée s'il n'y en a plus d'autres",
193 ["SaveForCook_All"] = "Toutes nourritures utilisées pour la cuisine",
194 ["SaveForCook_Green"] = "si elle est utilisée dans les recettes |cff3fbf3f\"faciles\"|r ou supérieures",
195 ["SaveForCook_Yellow"] = "si elle est utilisée dans les recettes |cffffff00\"moyennes\"|r ou supérieures",
196 ["SaveForCook_Orange"] = "si elle est utilisée dans les recettes |cffff7f3f\"difficiles\"|r",
197 ["SaveForCook_None"] = "Ne pas éviter la nourriture utilisée en cuisine",
198 ["IconWarning"] = "Clignoter l'icône",
199 ["TextWarning"] = "Afficher un texte",
200 ["AudioWarning"] = "Jouer un son",
201 ["AudioWarningBell"] = "Un son de cloche au lieu du cri du familier",
202 ["AlertEmote"] = "Via emote (visible par les autres)",
203 ["AlertChat"] = "Dans la fenêtre de discussion (visible uniquement par vous)",
204 ["AlertNone"] = "Ne pas prévenir",
205 ["LevelContent"] = "quand \"content\"",
206 ["LevelUnhappy"] = "quand \"mécontent\"",
207 ["LevelOff"] = "Ne pas avertir",
208 };
209 end
210  
211 ------------------------------------------------------
212  
213 if (GetLocale() == "deDE") then
214  
215 -- Diet names. These should be the all-lowercase versions of the six diets returned from GetPetFoodTypes(). (Want to get them all nice and quick for your localization? Go tame a bear... they eat anything.)
216 -- THESE STRINGS MUST BE LOCALIZED for Feed-O-Matic to work properly in other locales.
217 FOM_DIET_MEAT = "fleisch";
218 FOM_DIET_FISH = "fisch";
219 FOM_DIET_BREAD = "brot";
220 FOM_DIET_CHEESE = "käse";
221 FOM_DIET_FRUIT = "obst";
222 -- FOM_DIET_FUNGUS = "fungus"; -- same as English (?), so we don't need to re-define it.
223  
224 -- If the player has a buff whose icon name contains "Ability_Mount" and whose name contains one of these substrings, we assume the player is mounted. We have to use this rather oblique way to check for mounted because some other buffs use the Ability_Mount_* icons. If these aren't localized, we may not recognize when the player is mounted and still try to feed the pet.
225 -- FOM_MOUNT_NAME_SUBSTRINGS = { "kodo", "wolf", "raptor", "steed", "horse", "ram", "saber", "mechanostrider" };
226  
227 -- It's not clear whether the 5th and 6th returns from GetItemInfo() are supposed to be localized... so we have localized keys for them just in case.
228 FOM_AMMO_POUCH = "Munitionsbeutel";
229 FOM_QUIVER = "Köcher";
230  
231 -- From here on down, the localized strings are just for readability; they don't affect whether Feed-O-Matic works.
232  
233 -- Two special diets; one is used for tracking food that provides a bonus (or at least, that you don't want to have fed to your pet when the 'savebonus' option is on), and another that's used in the chat-line interface for listing all diets.
234 -- FOM_DIET_BONUS = "bonus"; -- same as English(?), so we don't need to re-define it.
235 FOM_DIET_ALL = "alles";
236  
237 -- Used in tooltips to indicate food quality.
238 FOM_QUALITY_UNKNOWN = "%s kann das fressen, hat es aber noch nicht probiert.";
239 FOM_QUALITY_UNDER = "%s mag das nicht mehr fressen.";
240 FOM_QUALITY_MIGHT = "%s mag das möglicherweise fressen.";
241 FOM_QUALITY_WILL = "%s mag das fressen.";
242 FOM_QUALITY_LIKE = "%s frisst das gerne.";
243 FOM_QUALITY_LOVE = "%s liebt es, das zu fressen.";
244  
245 -- User-visible errors
246 FOM_ERROR_NO_PET = "Du hast kein Tier um es zu füttern.";
247 FOM_ERROR_PET_DEAD = "Dein Tier ist tot.";
248 FOM_ERROR_NO_FEEDABLE_PET = "Du hast kein Tier das man füttern kann.";
249 FOM_ERROR_FOOD_NOT_FOUND = "%s kann %s nicht in Deinem Rucksack finden.";
250 FOM_ERROR_NO_FOOD = "%s findet nichts zu fressen in Deinem Rucksack.";
251  
252 -- Feeding status messages
253 FOM_FEEDING_EAT_ANOTHER = "%s mag dieses Futter nicht und probiert etwas anderes...";
254 FOM_FEEDING_FEED_ANOTHER = "sucht nach etwas anderem um %s zu füttern...";
255 FOM_FEEDING_EAT = "%s frisst ein %s aus Deinem Rucksack.";
256 FOM_FEEDING_FEED = "füttert %s ein %s. ";
257  
258 -- Beast family names
259 BAT = "Fledermaus";
260 BEAR = "Bär";
261 BOAR = "Eber";
262 CARRION_BIRD = "Aasvogel";
263 CAT = "Katze";
264 CRAB = "Krebs";
265 CROCOLISK = "Krokilisk";
266 -- GORILLA = "Gorilla"; -- same as enUS
267 HYENA = "Hyäne";
268 OWL = "Eule";
269 -- RAPTOR = "Raptor"; -- same as enUS
270 SCORPID = "Skorpid";
271 SPIDER = "Spinne";
272 TALLSTRIDER = "Weitschreiter";
273 TURTLE = "Schildkröte";
274 WIND_SERPENT = "Windnatter";
275 -- WOLF = "Wolf"; -- same as enUS
276  
277 end
278  
279 ------------------------------------------------------
280  
281 if (GetLocale() == "koKR") then
282  
283 -- Diet names. These should be the all-lowercase versions of the six diets returned from GetPetFoodTypes(). (Want to get them all nice and quick for your localization? Go tame a bear... they eat anything.)
284 -- THESE STRINGS MUST BE LOCALIZED for Feed-O-Matic to work properly in other locales.
285 -- FOM_DIET_MEAT = "meat";
286 -- FOM_DIET_FISH = "fish";
287 -- FOM_DIET_BREAD = "bread";
288 -- FOM_DIET_CHEESE = "cheese";
289 -- FOM_DIET_FRUIT = "fruit";
290 -- FOM_DIET_FUNGUS = "fungus";
291  
292 -- If the player has a buff whose icon name contains "Ability_Mount" and whose name contains one of these substrings, we assume the player is mounted. We have to use this rather oblique way to check for mounted because some other buffs use the Ability_Mount_* icons.
293 -- FOM_MOUNT_NAME_SUBSTRINGS = { "kodo", "wolf", "raptor", "steed", "horse", "ram", "saber", "mechanostrider" };
294  
295 -- It's not clear whether the 5th and 6th returns from GetItemInfo() are supposed to be localized... so we have localized keys for them just in case.
296 -- FOM_AMMO_POUCH = "Ammo Pouch";
297 FOM_QUIVER = "화살통";
298  
299 end