diff options
author | dvs1 | 2024-10-31 16:03:04 +1000 |
---|---|---|
committer | dvs1 | 2024-10-31 16:03:04 +1000 |
commit | 68955b8d404ed09203f5c1dfe9429c27c083a0c8 (patch) | |
tree | ec6109ef3fc258ad0cdedcf6ad4eacd7f6003400 | |
parent | Move the espeak stuff into it's own function, might help get it to behave. (diff) | |
download | JackOnAllDevices-68955b8d404ed09203f5c1dfe9429c27c083a0c8.zip JackOnAllDevices-68955b8d404ed09203f5c1dfe9429c27c083a0c8.tar.gz JackOnAllDevices-68955b8d404ed09203f5c1dfe9429c27c083a0c8.tar.bz2 JackOnAllDevices-68955b8d404ed09203f5c1dfe9429c27c083a0c8.tar.xz |
Language cleanup.
-rwxr-xr-x | aataaj.lua | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -191,7 +191,7 @@ local speak = function(card, subdevice, device, words, printIt, forkIt) | |||
191 | end | 191 | end |
192 | 192 | ||
193 | if 'start' == arg[1] then | 193 | if 'start' == arg[1] then |
194 | print('Your ' .. cnt .. ' audio devices are ') | 194 | print('Your ' .. cnt .. ' audio devices are - ') |
195 | for k,C in pairs(Cards) do | 195 | for k,C in pairs(Cards) do |
196 | for j,c in ipairs(C['playbackDevs']) do | 196 | for j,c in ipairs(C['playbackDevs']) do |
197 | speak(C.name, C['playbackDevs'][j], C.card - 1, 'Your ' .. cnt .. ' audio devices are - ', false, true) | 197 | speak(C.name, C['playbackDevs'][j], C.card - 1, 'Your ' .. cnt .. ' audio devices are - ', false, true) |
@@ -218,7 +218,7 @@ if 'start' == arg[1] then | |||
218 | 218 | ||
219 | for k,C in pairs(Cards) do | 219 | for k,C in pairs(Cards) do |
220 | if (C.card - 1) == choice then | 220 | if (C.card - 1) == choice then |
221 | print('You choose ' .. choice .. ' ' .. C.name) | 221 | print('Your choice is ' .. choice .. ' ' .. C.name) |
222 | ourCard = C.name | 222 | ourCard = C.name |
223 | end | 223 | end |
224 | end | 224 | end |