Commit 3580658b authored by Daniel Kochmański's avatar Daniel Kochmański

examples: fix parameter name

Signed-off-by: default avatarDaniel Kochmański <daniel@turtleware.eu>
parent 85b1a78d
...@@ -184,12 +184,12 @@ ...@@ -184,12 +184,12 @@
parameter =TRANSLATE:*LANGUAGE*=. parameter =TRANSLATE:*LANGUAGE*=.
It is important to remember that, when translations are done at It is important to remember that, when translations are done at
run-time, strings preceded by =#t= are transformed to function run-time, strings preceded by =#t= are transformed to the function
calls and they may work not as expected in the context where calls and they may work not as expected in the context where
enclosing macro prevents their evaluation. enclosing macro prevents their evaluation.
#+BEGIN_SRC lisp #+BEGIN_SRC lisp
==> (setf translate:*mode* :run-time) ==> (setf translate:*resolution-time* :run-time)
:RUN-TIME :RUN-TIME
==> (setf translate:*language* :en) ==> (setf translate:*language* :en)
...@@ -220,7 +220,7 @@ ...@@ -220,7 +220,7 @@
in the future won't affect translations resolved earlier. in the future won't affect translations resolved earlier.
#+BEGIN_SRC lisp #+BEGIN_SRC lisp
==> (setf translate:*mode* :load-time) ==> (setf translate:*resolution-time* :load-time)
:RUN-TIME :RUN-TIME
==> (setf translate:*language* :en) ==> (setf translate:*language* :en)
...@@ -247,7 +247,7 @@ ...@@ -247,7 +247,7 @@
==> (defparameter *my-function-2* ==> (defparameter *my-function-2*
(lambda () #t"hello")) (lambda () #t"hello"))
,*MY-FUNCTION-2* *MY-FUNCTION-2*
==> (funcall *my-function-1*) ; phrase wasn't translated when function was created ==> (funcall *my-function-1*) ; phrase wasn't translated when function was created
"{hello}" "{hello}"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment