View Single Post
07/20/16, 11:57 AM   #1
Dolgubon
 
Dolgubon's Avatar
AddOn Author - Click to view addons
Join Date: Jan 2016
Posts: 409
Lazy Writ Crafter - French Translation

So there's a lot of stuff here, because this is the first time I'm getting around to doing any non-functional french translations. I'd prefer if you can leave the colour codes in btw.




Lua Code:
  1. --Addon Setting Options:
  2. name = "Show Craft Window",
  3. tooltip = "Shows the crafting window when a crafting station is open",
  4.  
  5. name = "AutoCraft",
  6. tooltip = "Selecting this will cause the addon to begin crafting immediately upon entering a crafting station. If the window is not shown, this will be on.",
  7.  
  8. name = "Blacksmithing",
  9. tooltip = "Turn the addon off for Blacksmithing",
  10.  
  11. name = "Clothing",
  12. tooltip = "Turn the addon off for Clothing",
  13.  
  14. name = "Enchanting",
  15. tooltip = "Turn the addon off for Enchanting",
  16.  
  17. name = "Woodworking",
  18. tooltip = "Turn the addon off for Woodworking",
  19.  
  20. name = "Grab writ items",
  21. tooltip = "Grab items required for writs (e.g. nirnroot, Ta, etc.) from the bank",
  22.  
  23. name = "Item Grab Delay",
  24. tooltip = "How long to wait before grabbing items from the bank (milliseconds)",
  25.  
  26. name = "Ignore AutoLoot Setting",
  27. tooltip = "Ignore the Autoloot setting found in the gameplay menu, and use the custom setting below for writ containers",
  28.  
  29. name = "Autoloot Writ Containers",
  30. tooltip = "Loot writ containers when they are opened",
  31.  
  32. name = "Style Stones Used",
  33. tooltip = "Choose which style stones the addon will use",
  34.  
  35. name = nameOfStyle,
  36. tooltip = zo_strformat( "Allow the <<1>> style to be used for crafting", nameOfStyle)
  37.  
  38. --'tutorial'
  39.  
  40. [5]="There's also a few things you should know.\nFirst, /dailyreset is a slash command that will tell you\nhow long until the next daily server reset.",
  41. [4]="Finally, you can also choose to deactivate or\nactivate this addon for each profession.\nBy default, all applicable crafts are on.\nIf you wish to turn some off, please check the settings.",
  42. [3]="Next, you need to choose if you wish to see this\nwindow when using a crafting station.\nThe window will tell you how many mats the writ will require, as well as how many you currently have.",
  43. [2]="The first setting to choose is if you\nwant to useAutoCraft.\nIf on, when you enter a crafting station, the addon will start crafting.",
  44. [1]="Welcome to Dolgubon's Lazy Writ Crafter!\nThere are a few settings you should choose first.\n You can change the settings at any\n time in the settings menu.",
  45.  
  46.  
  47. --what will be on the buttons during the tutorial
  48.  
  49. [1]="Use Defaults",
  50. [2]="On",
  51. [3]="Show",
  52. [4]="Continue",
  53. [5]="Finish",
  54.    
  55.  
  56. [1]="Continue",
  57. [2]="Off",
  58. [3]="Do not show",
  59.  
  60.  
  61. --various other strings
  62.  
  63. ["runeReq"] = function (essence, potency)
  64.         return "|c2dff00Crafting will require 1 |rTa|c2dff00, 1 |cffcc66"..essence.."|c2dff00 and 1 |c0066ff"..potency.."|r" end,
  65. ["runeMissing"] = function (ta,essence,potency)
  66.  
  67.         return  "|cf60000Glyph could not be crafted. You do not have any |r"..ta["slot"].."|cf60000, |cffcc66"..essence["slot"].."|cf60000 or |c0066ff"..potency["slot"].."|r"
  68.  
  69.         return "|cf60000Glyph could not be crafted. You do not have any |r"..ta["slot"].."|cf60000 or |cffcc66"..essence["slot"].."|r"
  70.  
  71.         return "|cf60000Glyph could not be crafted. You do not have any |rTa|cf60000 or |c0066ff"..potency["slot"].."|r"
  72.  
  73.         return "|cf60000Glyph could not be crafted. You do not have any |rTa"
  74.  
  75.         return "|cf60000Glyph could not be crafted. You do not have any |cffcc66"..essence["slot"].."|cf60000 or |c0066ff"..potency["slot"].."|r"
  76.  
  77.         return "|cf60000Glyph could not be crafted. You do not have any |cffcc66"..essence["slot"].."|r"
  78.  
  79.         return "|cf60000Glyph could not be crafted. You do not have any |c0066ff"..potency["slot"].."|r"
  80.  
  81. ["smithingMissing"] =   "\n|cf60000You do not have enough mats|r",
  82. ["craftAnyway"] =   "Craft anyway",
  83. ["smithingEnough"] =    "\n|c2dff00You have enough mats|r",
  84. ["craft"] =             "|c00ff00Craft|r",
  85. ["complete"] =      "|c00FF00Writ complete.|r",
  86. ["craftingstopped"] =   "Crafting stopped. Please check to make sure the addon is crafting the correct item.",
  87. ["crafting"] =      "|c00ff00Crafting...|r",
  88. ["craftIncomplete"] =   "|cf60000Crafting could not be completed.\nYou need more mats.|r",
  89. ["moreStyle"] =         "|cf60000You do not have any usable racial stones\nfrom the styles selected|r",
  90. ["smithingReqM"] =  function (amount, type, more) return zo_strformat( "\nCrafting will use <<1>> <<2>> (|cf60000You need <<3>>|r)" ,amount, type, more) end,
  91. ["smithingReqM2"] = function (amount,type,more)     return zo_strformat( "\nAs well as <<1>> <<2>> (|cf60000You need <<3>>|r)"          ,amount, type, more) end,
  92. ["smithingReq"] =   function (amount,type, current) return zo_strformat( "\nCrafting will use <<1>> <<2>> (|cf60000<<3>> available|r)"  ,amount, type, more) end,
  93. ["smithingReq2"] =  function (amount,type, current) return zo_strformat( "\nAs well as <<1>> <<2>> (|cf60000<<3>> available|r)"         ,amount, type, current) end,
  94. ["dailyreset"] =    function (till) d(zo_strformat(  "<<1>> hours and <<2>> until the daily reset.",till["hour"],till["minute"])end,
  95.  
  96. end

Last edited by Dolgubon : 07/26/16 at 12:22 PM. Reason: removing non string stuff, adding in some zo_strformat
  Reply With Quote