share/hedgewars/Data/Scripts/Locale.lua
changeset 12013 3e615852f36e
parent 8824 fe9eacd390f2
child 13088 2b5314cc356c
equal deleted inserted replaced
12012:06afe8535b1c 12013:3e615852f36e
     5 function loc(text)
     5 function loc(text)
     6     if locale ~= nil and locale[text] ~= nil then return locale[text]
     6     if locale ~= nil and locale[text] ~= nil then return locale[text]
     7     else return text
     7     else return text
     8     end
     8     end
     9 end
     9 end
       
    10 
       
    11 function loc_noop(text)
       
    12     return text
       
    13 end