View Single Post
08/20/14, 10:15 AM   #2
Tonyleila
 
Tonyleila's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 288
Is Destock even a word? I have now tested it ingame to check if it will it remove items if you have to many of them or is it just to no longer stock this items with the addon.

- your code dosen't work if I past it into the StockUpStrings.lua maybe your missing a ,
- The chatoutputs ends up with ^p ^m ^f behind the item names in German


An other big problem with a translation is the sentence structure if often different in other languages.
But I have managed to keep it in german...

"Will stock 15 [Pact Stone Trebuchet]!"

Its now
"Automatisches aufstocken von 15 [Großer Seelenstein]!"

If i woud make a 1:1 translation it shoud be
"Werde 15 [Großer Seelenstein] aufstocken!"

But I think its ok now...


Lua Code:
  1. StockUpStrings = {
  2.     ["en"] = {
  3.         STOCK_UP_NAME = "Stock Up",
  4.         PREFER_AP = "Prefer AP",
  5.         PREFER_AP_TOOLTIP = "Use AP to buy items when availible.",
  6.         STOCK_UP_HEADER = "Stocked Items",
  7.         REFRESH_LIST_BUTTON = "Refresh",
  8.         REFRESH_LIST_BUTTON_WARNING = "Reloads UI",
  9.         STOCK_ITEM_MENU_OPTION = "Stock Item",
  10.         DESTOCK_ITEM_MENU_OPTION = "Destock Item",
  11.         STOCK_ITEM_CONFIRMATION = "Will stock ", --whole string is, for example, "Will stock 15 Pact Stone Trebuchet!"
  12.         DESTOCK_ITEM_CONFIRMATION = "No longer stocking ", --"No longer stocking Pact Stone Trebuchet."
  13.         PURCHASE_CONFIRMATION = "Bought " -- "Bought 15 Pact Stone Trebuchet!"
  14.     },
  15.     ["fr"] = {
  16.         STOCK_UP_NAME = "Stock Up",
  17.     },
  18.     ["de"] = {
  19.         STOCK_UP_NAME = "Stock Up",
  20.         PREFER_AP = "AP vorziehen",
  21.         PREFER_AP_TOOLTIP = "Allianzpunkte benutzen um Gegenstände zu kaufen wenn verfügbar.",
  22.         STOCK_UP_HEADER = "Vorrätige Gegenstände",
  23.         REFRESH_LIST_BUTTON = "Aktualisieren",
  24.         REFRESH_LIST_BUTTON_WARNING = "Lädt das Interface neu",
  25.         STOCK_ITEM_MENU_OPTION = "Aufstocken",
  26.         DESTOCK_ITEM_MENU_OPTION = "Aufstocken deaktivieren",
  27.         STOCK_ITEM_CONFIRMATION = "Automatisches aufstocken von ", -- "Automatisches aufstocken von 15 [Großer Seelenstein]!"
  28.         DESTOCK_ITEM_CONFIRMATION = "Aufstocken deaktiviert für ", -- "Aufstocken deaktiviert für [Großer Seelenstein]."
  29.         PURCHASE_CONFIRMATION = "Kaufe", -- "Kaufe 15 [Großer Seelenstein]!"
  30.     }
  31. }

Last edited by Tonyleila : 08/20/14 at 11:19 AM.
  Reply With Quote