Countdown: Multilingual with Precision Control |
|
Submitted By Jose Luis Benavente (joseluis) |
DescriptionIt's an improvement of this Countdown script from itthe.Added multiple languages and precision of output. New features:
Languages supported:
If someone wants his language supported, can modify the languages.plist file to add their strings (or you can send it to me, and I'll update the script) The traditional method (%_countdown) looks for the system language as default; the %_cdlang accept any language. Examples:
ChangesA little fix for Snow Leopard.CommentsYou can reply to individual comments by clicking the "Reply" link next to each. # by pablos93 on 09/11/09 at 17:02:52I think the script needs to be upgraded to work with Snow Leopard, I tried to make it work but I just got the "some time" error :S
# by fanatic on 07/05/11 at 18:22:24%_cdlangformat does not work, the result is always "some time" (with language being English and end time being in the future).
When comparing the scripts for each "command" I noticed that in the script for %_cdlangformat the quoted form of end_time is being returned instead of end_time itself. After changing this in the script %_cdlangformat now works as expected for me. Hope this helps :-) Post a New CommentYou must be logged in to post comments. |
# by FireCrow on 12/25/07 at 22:30:12