Firefox PHP

Module: Readable Dates and Concealed Times

Posted by Maurice Makaay 
Re: Module: Readable Dates
August 26, 2009 03:26AM
Ah right, I see. Almost 3:30am here, so I'm losing some of my sharpness ;-) I'll incorporate this into the module core. Maybe still a bit more generic than with _234

    'seconds_ago_0'    => 'сейчас',
    'seconds_ago_x1'   => 'секунду назад',
    'seconds_ago_x2'   => '%count% секунды назад',
    'seconds_ago_x3'   => '%count% секунды назад',
    'seconds_ago_x4'   => '%count% секунды назад',
    'seconds_ago_x'    => '%count% секунд назад',

So, with the "x" as a sort of wildcard, where x2 means "number ends on 2".

Update: I implemented this idea in the module and I updated your language file to use the above schema. Can you please try if v1.1.9 of the module works for you out-of-the-box?


Maurice Makaay
Phorum Development Team
my blog linkedin profile secret sauce



Edited 1 time(s). Last edit at 08/26/2009 03:42AM by Maurice Makaay.
Re: Module: Readable Dates
August 26, 2009 11:41AM
Looks nice :) But I have to test it few days.
There were mistakes in my lang file. So, please replace it with new one

mmakaay: removed the attachment. The language file is now included in the package.



Edited 1 time(s). Last edit at 08/26/2009 07:39PM by Maurice Makaay.
Re: Module: Readable Dates
August 26, 2009 07:39PM
I included the latest version in the package.


Maurice Makaay
Phorum Development Team
my blog linkedin profile secret sauce
Re: Module: Readable Dates
September 01, 2009 01:30AM
I tested, and it's fine. Thank you, Maurice :)
Re: Module: Readable Dates
September 01, 2009 08:38AM
And thank you for bringing it up!


Maurice Makaay
Phorum Development Team
my blog linkedin profile secret sauce
Re: Module: Readable Dates
September 01, 2009 10:42PM
Is the "Follow Threads" page within the account settings not meant to be included for the "Readable Dates" module?
Re: Module: Readable Dates
September 02, 2009 12:18AM
Well, there is no configuration option for that in the admin module settings, so that kind of gives you the answer. I did not build readable dates for that page. I can keep it in mind for a future version.


Maurice Makaay
Phorum Development Team
my blog linkedin profile secret sauce
Re: Module: Readable Dates
September 02, 2009 12:23AM
Then I had the same thought ... Thanks for including it for the next version!
Re: Module: Readable Dates
January 14, 2010 03:01PM
Did I miss a setting for turning this off?

phorum-5.2.14

Scott
Re: Module: Readable Dates
January 14, 2010 03:05PM
what is "this"? The module can be turned off in the admin like every other module.


Thomas Seifert
Phorum Development Team / Mysnip-Solutions.de
Custom Phorum and general software development
worry-free Phorum Hosting
Sorry, only registered users may post in this forum.

Click here to login