File: locale.lua

package info (click to toggle)
wireshark 4.6.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 351,352 kB
  • sloc: ansic: 3,102,875; cpp: 129,717; xml: 100,972; python: 56,513; perl: 24,575; sh: 5,874; lex: 4,383; pascal: 4,304; makefile: 166; ruby: 113; objc: 91; tcl: 35
file content (9 lines) | stat: -rw-r--r-- 169 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
-- Test script to set the locale before running other Lua scripts

local arg={...}

if #arg >= 2 then
    os.setlocale(arg[1], arg[2])
else
    os.setlocale(arg[1])
end