Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
T
translate
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Daniel Kochmański
translate
Commits
3580658b
Commit
3580658b
authored
9 years ago
by
Daniel Kochmański
Browse files
Options
Downloads
Patches
Plain Diff
examples: fix parameter name
Signed-off-by:
Daniel Kochmański
<
daniel@turtleware.eu
>
parent
85b1a78d
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.org
+4
-4
4 additions, 4 deletions
README.org
with
4 additions
and
4 deletions
README.org
+
4
−
4
View file @
3580658b
...
...
@@ -184,12 +184,12 @@
parameter =TRANSLATE:*LANGUAGE*=.
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
enclosing macro prevents their evaluation.
#+BEGIN_SRC lisp
==> (setf translate:*
mod
e* :run-time)
==> (setf translate:*
resolution-tim
e* :run-time)
:RUN-TIME
==> (setf translate:*language* :en)
...
...
@@ -220,7 +220,7 @@
in the future won't affect translations resolved earlier.
#+BEGIN_SRC lisp
==> (setf translate:*
mod
e* :load-time)
==> (setf translate:*
resolution-tim
e* :load-time)
:RUN-TIME
==> (setf translate:*language* :en)
...
...
@@ -247,7 +247,7 @@
==> (defparameter *my-function-2*
(lambda () #t"hello"))
,
*MY-FUNCTION-2*
*MY-FUNCTION-2*
==> (funcall *my-function-1*) ; phrase wasn't translated when function was created
"{hello}"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment