-
-
Notifications
You must be signed in to change notification settings - Fork 17
Bug with fn-style-args only strings #20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Labels
Comments
After some exploration, it seems that the function returned by ((impl/str->vargs-fn "%1") ["toto"])
;; => 0
((impl/str->vargs-fn "hello %1") ["world"])
=> "hello world" Hope this helps fixing the bug. |
Hi Khalid, Thanks for the clear error report (and for the follow-up)- that does indeed help with debugging. Will investigate and come back to you 👍 |
ptaoussanis
added a commit
that referenced
this issue
Mar 11, 2018
Fixed with release of |
Happy to have helped !👍
Le dim. 11 mars 2018 à 14:02, Peter Taoussanis <notifications@github.com> a
écrit :
… Fixed with release of [com.taoensso/tempura "1.2.0"] 👍
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#20 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAEt3kAevkheean8-5d02TaZvSJDhGyBks5tdSBzgaJpZM4SkCWR>
.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello,
When a string to translate contains only a fn-style arg (
%1
), tempura returns the number 0 instead of the argument.Bug occured inside my a app. I was able to reproduce it in my app and with a fresh clone of tempura, at tag
v1.1.2
in alein repl
.Note: I know that it's a bit silly to have a text to translate where you just have nothing to translate. We happen to have a translation workflow when it can occur that not everything is translated (or translated properly) at one point.
The text was updated successfully, but these errors were encountered: