Änderungen

Wechseln zu: Navigation, Suche

Modul:Recipes

5.429 Bytes entfernt, vor 11 Monaten
sync :: en revid:948762::
------- l10n info --------------
-- Note: for "Any xxx" group (e.g. "Any Birds"), they should be added to {{tr}} database.
local l10n_info = {mw.loadData('Module:Recipes/l10n')
['en'] = {
-- for {{recipes}}--
['cate_unexcepted_rows_count'] = 'Recipes table with unexcepted total number of rows',
['cate_no_row'] = 'Recipes table with no row',
['header_result'] = 'Result',
['header_ingredients'] = 'Ingredients',
['header_station'] = '[[Crafting station]]',
 
['cate_craftable'] = 'Craftable items',
 
['station_by_hand'] = '[[By Hand]]',
['station_sep_or'] = "<br/>'''''or'''''<br/>",
['station_sep_and'] = " '''and''' ",
 
['ingredients_sep'] = " ''or'' ",
['snow_biome'] = '[[Snow biome]]',
 
['station_cate'] = {
['Lead Anvil'] = 'Iron or Lead Anvil',
['Iron Anvil'] = 'Iron or Lead Anvil',
['Orichalcum Anvil'] = 'Mythril or Orichalcum Anvil',
['Mythril Anvil'] = 'Mythril or Orichalcum Anvil',
['Demon Altar'] = 'Demon or Crimson Altar',
['Crimson Altar'] = 'Demon or Crimson Altar',
['Altar'] = 'Demon or Crimson Altar',
['Titanium Forge'] = 'Adamantite or Titanium Forge',
['Adamantite Forge'] = 'Adamantite or Titanium Forge',
['Cauldron'] = 'Cooking Pot or Cauldron',
['Cooking Pot'] = 'Cooking Pot or Cauldron',
['Bottle only'] = 'Placed Bottle',
['Placed Bottle only'] = 'Placed Bottle',
['Bottle'] = 'Placed Bottle or Alchemy Table',
['Placed Bottle'] = 'Placed Bottle or Alchemy Table',
['Alchemy Table'] = 'Placed Bottle or Alchemy Table',
['Water'] = 'Water or Sink',
['Sink'] = 'Water or Sink',
['Crystal Ball and Water'] = 'Crystal Ball and Water or Sink',
['Sky Mill and Water'] = 'Sky Mill and Water or Sink',
['Sky Mill and Snow Biome'] = 'Sky Mill and Snow Biome',
['Crystal Ball and Honey'] = 'Crystal Ball and Honey',
['Crystal Ball and Lava'] = 'Crystal Ball and Lava',
},
-- for {{recipes/extract}}--
['default_sep_compact'] = "<br/>'''or'''<br/>",
['default_sep_ingredients'] = "'''or'''",
['compact_snow_biome'] = '[[Snow biome|Snow]]',
},
['de'] = {
-- for {{recipes}}--
['cate_unexcepted_rows_count'] = 'Rezepte-Tabelle mit unerwarteter Gesamtzahl an Zeilen',
['cate_no_row'] = 'Rezepte-Tabelle ohne Zeilen',
['header_result'] = 'Resultat',
['header_ingredients'] = 'Zutaten',
['header_station'] = '[[Herstellungsobjekt]]',
 
['cate_craftable'] = 'Herstellbare Gegenstände',
 
['station_by_hand'] = '[[kein Objekt]]',
['station_sep_or'] = "<br/>'''''oder'''''<br/>",
['station_sep_and'] = " '''und''' ",
 
['ingredients_sep'] = " ''oder'' ",
['snow_biome'] = '[[Tundra]]',
 
['station_cate'] = {
['Lead Anvil'] = 'Eisen- oder Bleiamboss',
['Iron Anvil'] = 'Eisen- oder Bleiamboss',
['Orichalcum Anvil'] = 'Mithril- oder Oreichalkosamboss',
['Mythril Anvil'] = 'Mithril- oder Oreichalkosamboss',
['Demon Altar'] = 'Dämonen- oder Purpur-Altar',
['Crimson Altar'] = 'Dämonen- oder Purpur-Altar',
['Altar'] = 'Dämonen- oder Purpur-Altar',
['Titanium Forge'] = 'Adamantit- oder Titanschmiede',
['Adamantite Forge'] = 'Adamantit- oder Titanschmiede',
['Cauldron'] = 'Kochtopf oder Kessel',
['Cooking Pot'] = 'Kochtopf oder Kessel',
['Bottle only'] = 'Platzierte Flasche',
['Placed Bottle only'] = 'Platzierte Flasche',
['Bottle'] = 'Platzierte Flasche oder Alchemietisch',
['Placed Bottle'] = 'Platzierte Flasche oder Alchemietisch',
['Alchemy Table'] = 'Platzierte Flasche oder Alchemietisch',
['Water'] = 'Wasser oder Waschbecken',
['Sink'] = 'Wasser oder Waschbecken',
['Crystal Ball and Water'] = 'Kristallkugel und Wasser oder Waschbecken',
['Sky Mill and Snow Biome'] = 'Himmelsmühle und Tundra',
['Sky Mill and Water'] = 'Himmelsmühle und Wasser oder Waschbecken',
['Crystal Ball and Lava'] = 'Kristallkugel und Lava',
['Crystal Ball and Honey'] = 'Kristallkugel und Honig',
},
-- for {{recipes/extract}}--
['default_sep_compact'] = "<br/>'''oder'''<br/>",
['default_sep_ingredients'] = "'''oder'''",
['compact_snow_biome'] = '[[Tundra]]',
},
['zh'] = {
-- for {{recipes}}--
['cate_unexcepted_rows_count'] = 'Recipes table with unexcepted total number of rows',
['cate_no_row'] = 'Recipes table with no row',
['header_result'] = '产物',
['header_ingredients'] = '材料',
['header_station'] = '[[制作站]]',
 
['cate_craftable'] = '可制作物品',
 
['station_by_hand'] = '[[徒手]]',
['station_sep_or'] = "<br/>'''''或'''''<br/>",
['station_sep_and'] = " '''和''' ",
 
['ingredients_sep'] = " ''或'' ",
['snow_biome'] = '[[雪原生物群落]]',
 
['station_cate'] = {
['Lead Anvil'] = '铁砧或铅砧',
['Iron Anvil'] = '铁砧或铅砧',
['Orichalcum Anvil'] = '秘银砧或山铜砧',
['Mythril Anvil'] = '秘银砧或山铜砧',
['Demon Altar'] = '恶魔祭坛或猩红祭坛',
['Crimson Altar'] = '恶魔祭坛或猩红祭坛',
['Altar'] = '恶魔祭坛或猩红祭坛',
['Titanium Forge'] = '精金熔炉或钛金熔炉',
['Adamantite Forge'] = '精金熔炉或钛金熔炉',
['Cauldron'] = '烹饪锅或大锅',
['Cooking Pot'] = '烹饪锅或大锅',
['Bottle only'] = '放置的瓶子',
['Placed Bottle only'] = '放置的瓶子',
['Bottle'] = '放置的瓶子或炼药桌',
['Placed Bottle'] = '放置的瓶子或炼药桌',
['Alchemy Table'] = '放置的瓶子或炼药桌',
['Water'] = '水或水槽',
['Sink'] = '水或水槽',
['Crystal Ball and Water'] = '水晶球和水或水槽',
['Sky Mill and Water'] = '天磨和水或水槽',
['Sky Mill and Snow Biome'] = '天磨和雪原生物群落',
['Crystal Ball and Honey'] = '水晶球和蜂蜜',
['Crystal Ball and Lava'] = '水晶球和熔岩',
},
-- for {{recipes/extract}}--
['default_sep_compact'] = "<br/>'''或'''<br/>",
['default_sep_ingredients'] = "'''或'''",
['compact_snow_biome'] = '[[雪原生物群落|雪原]]',
},
}
 
 
local l10n_auto_translate_eicons_pagename = {
local trim = mw.text.trim
local cargo = mw.ext.cargo
local cache = require 'mw.ext.LuaCache'
 
local currentFrame -- global cache for current frame object.
if resulttext then
args[2] = resulttext
end
if version ~= '' then
args['icons'] = 'n'
end
str = str .. itemLink(result, args)
str = str .. ' <span class="note-text">('..amount..')</span>'
end
if not noVersion and version ~= '' then
if-- {{version ~=icons}} ''is thena slow template, so cache its result:
local vstr = cache.get(lang..':recipes:versionicons:'..version) -- cache for current lang
str = str .. ' (' ..currentFrame:expandTemplate{ title = 'version icons', args = {version} }..')'
if not vstr then
strvstr = str .. ' (' ..currentFrame:expandTemplate{ title = 'version icons', args = {version} }..')'
cache.set(lang..':recipes:versionicons:'..version, vstr, 3600*24) -- cache 24hr.
end
str = str .. vstr
end
if template then
-- no constraint no result.
if where == '' then
return '<span style="color:red;font-weight:bold;">RecipesKeine Eingrenzung in {{tl|recipes/extract: No}} constraintfestgelegt!</span>'
end
 
3.581

Bearbeitungen