summaryrefslogtreecommitdiffstatshomepage
path: root/plugins/boot.lua
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2021-10-11 15:02:55 +1100
committer Vas Crabb <vas@vastheman.com>2021-10-11 15:02:55 +1100
commit751c2806bfc59d9bbe87c15b2a89b6c797d9eeb1 (patch)
tree24dc4e35a444fc8486195b4e15f5af87aed41185 /plugins/boot.lua
parentb653a00fbccfc6c9eca5bcae78977ef1307a3a6f (diff)
Re-generated translations for I/O port names.
Trying to collect messages from everything at once hits some limit in xgettext and causes messages to be lost no, so I've split it up by the second-level source directories. For some reason xgettext thinks overloaded Lua functions are blasphemy, so that has to be worked around, too.
Diffstat (limited to 'plugins/boot.lua')
-rw-r--r--plugins/boot.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/boot.lua b/plugins/boot.lua
index 28ba9e40498..712fe0db7c6 100644
--- a/plugins/boot.lua
+++ b/plugins/boot.lua
@@ -3,6 +3,7 @@
require('lfs')
_G._ = emu.lang_translate
+_G._p = emu.lang_translate
_G.N_ = function (message) return message end
_G.N_p = function (context, message) return message end
_G.emu.plugin = {} -- table to contain plugin interfaces