/usr/share/doc/lua-say-dev/README.md is in lua-say-dev 1.3-1-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 | Say
====
[![travis-ci status](https://secure.travis-ci.org/Olivine-Labs/say.png)](http://travis-ci.org/#!/Olivine-Labs/say/builds)
say is a simple string key/value store for i18n or ay other case where you
want namespaced strings.
Check out [busted](http://www.olivinelabs.com/busted) for
extended examples.
```lua
s = require("say")
s:set_namespace("en")
s:set('money', 'I have %s dollars')
s:set('wow', 'So much money!')
print(s('money', 1000)) -- I have 1000 dollars
s:set_namespace("fr") -- switch to french!
s:set('so_much_money', "Tant d'argent!")
print(s('wow')) -- Tant d'argent!
s:set_namespace("en") -- switch back to english!
print(s('wow')) -- So much money!
```
|