[ABD] TimeAgo timestamps

Any abandoned Extensions will be moved to this forum.

WARNING: Extensions in this forum are not currently being supported or maintained by the original Extension author. Proceed at your own risk.
Forum rules
IMPORTANT: Extension Development Forum rules

WARNING: Extensions in this forum are not currently being supported nor updated by the original Extension author. Proceed at your own risk.
Locked
..777..
Registered User
Posts: 150
Joined: Tue Oct 28, 2014 5:43 pm

Re: [DEV] TimeAgo timestamps

Post by ..777.. »

MuhClaren wrote:Users: This is not a release announcement. As soon as the translations are updated, I will update the original post with the Change log and updated download link. Thank you.
Thank you. :D
User avatar
DevMakoto
Registered User
Posts: 66
Joined: Tue Jun 23, 2015 3:38 pm
Name: Carlos Mayorga
Contact:

Re: [DEV] TimeAgo timestamps

Post by DevMakoto »

DevMakoto wrote:fix
Image
posible solution?
svennson
Registered User
Posts: 60
Joined: Wed Jun 01, 2005 4:54 pm
Location: Belguim
Contact:

Re: [DEV] TimeAgo timestamps

Post by svennson »

MuhClaren wrote:Translation contributors, please accept pull requests and make small updates to your translations. As soon as you're done, commit / push, and hit me back with a PR. Once translations are updated I will branch v1.3.0 and release it. Svennd, please fork the project from the master repository, make your edits, commit / push, and do a pull request to me.
Hey, I'm not really familiar with git(hub) I tried, see if you van find it :lol:
User avatar
MuhClaren
Registered User
Posts: 126
Joined: Sat Feb 21, 2015 5:23 am

Re: [DEV] TimeAgo timestamps

Post by MuhClaren »

DevMakoto wrote:
DevMakoto wrote:fix
Image
posible solution?
Please more thoroughly explain the problem in order for me to help you.
User avatar
MuhClaren
Registered User
Posts: 126
Joined: Sat Feb 21, 2015 5:23 am

Re: [DEV] TimeAgo timestamps

Post by MuhClaren »

svennson wrote:Hey, I'm not really familiar with git(hub) I tried, see if you van find it :lol:
Perfect! Thanks very much!
User avatar
DevMakoto
Registered User
Posts: 66
Joined: Tue Jun 23, 2015 3:38 pm
Name: Carlos Mayorga
Contact:

Re: [DEV] TimeAgo timestamps

Post by DevMakoto »

MuhClaren wrote:
DevMakoto wrote:
DevMakoto wrote:fix
Image
posible solution?
Please more thoroughly explain the problem in order for me to help you.
Disable ext
Image

Enable Ext
Image
User avatar
Miri4ever
Registered User
Posts: 608
Joined: Sat Mar 07, 2015 11:18 am
Contact:

Re: [DEV] TimeAgo timestamps

Post by Miri4ever »

Don't forget German Translation on page 3. I not created a github account for sometimes doing a few translations or little tweaks.
Homepage: Terra Oceanica

Extension Developments:
PHPBB Games Solitaire, MChat Poker, MChat Black Jack, MChat Cards, MChat Trivia
PHPBB Special Effects, Mousepointers, X-Mas Themes and Designs for PBWoW Style.
Supported work: (**New Updated** UCP Sidebar), Tables, Hide, PBWow3 Style
User avatar
MuhClaren
Registered User
Posts: 126
Joined: Sat Feb 21, 2015 5:23 am

Re: [DEV] TimeAgo timestamps

Post by MuhClaren »

Miri4ever wrote:Don't forget German Translation on page 3. I not created a github account for sometimes doing a few translations or little tweaks.
Whoops! I certainly did forget, I'm sorry! Thanks for the reminder, I'll get it added right now!

EDIT: Just a few missing lines, could you please translate these? :)

Code: Select all

	'TA_DETAIL'                 => 'Detail Level',
		'TA_TIMER_SETTINGS'  => 'Timer Settings',
		'TA_TIMER'                  => 'Timer',
		'TA_TIMER_EXPLAIN'    => 'Duration of time (days) from the post time that TimeAgo should be active. Example: setting this to 2 will cause TimeAgo to revert to the normal phpBB date-time format after 2 days. If no value is set TimeAgo will never revert. Valid input: 1 - 999, 0 or blank disables this option',
		'TA_DAYS'                   => 'Days',	
User avatar
MuhClaren
Registered User
Posts: 126
Joined: Sat Feb 21, 2015 5:23 am

Re: [DEV] TimeAgo timestamps

Post by MuhClaren »

DevMakoto wrote: Disable ext
...
Enable Ext
...
Yes, I will work on this, and should have a patch in the next release (tomorrow probably).

Thank you for informing me of this. :)
User avatar
MuhClaren
Registered User
Posts: 126
Joined: Sat Feb 21, 2015 5:23 am

Re: [BETA] TimeAgo timestamps

Post by MuhClaren »

I've updated the first post to include the changelog for v1.3.1b and the new download links.

Important: I had to change the folder structure a little bit for compliance with travis-ci testing. Please see the first post for installation instructions.

Now in beta, the extension is no longer taking feature requests, only bug fixes. Please feel free to use the github issues tracker to report any buggy behavior.

Thank you to everyone who has helped with the project! :P

Note: we're still waiting on two translation updates, but will apply them as soon as they're available. ;)
User avatar
MuhClaren
Registered User
Posts: 126
Joined: Sat Feb 21, 2015 5:23 am

Re: [BETA] TimeAgo timestamps

Post by MuhClaren »

MuhClaren wrote:
R3gi wrote:Hello, I've started working on Czech localization, but unfortunately I can't continue. In Czech we have different plurals depending on the count, position in the sentence and context. Could you please update it?
Example:
The user has joined our forum...
1 year ago - před rokem / před 1 rokem
2-4 years ago - před 2-4 roky
5 and more years ago - před 5 a více roky

So you should add three strings per every unit: for singular, paucal and for plural.
I'm planning to expand the language framework to correctly account for these cases, shouldn't be more than a day or two and I'll be able to re-visit the extension coding to do it. I'll post a revision announcement here as soon as it's ready. Thank you for providing the Czech translation!
Just following up to see if you have what you need for the Czech translation. Let me know, when you have a moment. Thank you. :)
User avatar
R3gi
Registered User
Posts: 126
Joined: Mon May 05, 2014 4:33 pm
Location: Czech Republic
Contact:

Re: [BETA] TimeAgo timestamps

Post by R3gi »

Czech translation done!

I noticed one problem: in Czech, word "ago" has to be placed at the beginning of the string:
Image

I think this could be solved by adding variable into the "ago" string, e.g.: "%s ago" (so translators can easily change the position of the variable).
I am sorry for complications :)
User avatar
DevMakoto
Registered User
Posts: 66
Joined: Tue Jun 23, 2015 3:38 pm
Name: Carlos Mayorga
Contact:

Re: [BETA] TimeAgo timestamps

Post by DevMakoto »

R3gi wrote:Czech translation done!

I noticed one problem: in Czech, word "ago" has to be placed at the beginning of the string:
Image

I think this could be solved by adding variable into the "ago" string, e.g.: "%s ago" (so translators can easily change the position of the variable).
I am sorry for complications :)
in /core/timeago_functions.php

search

Code: Select all

// German
before add

Code: Select all

// Czech
case 'cs':
User avatar
R3gi
Registered User
Posts: 126
Joined: Mon May 05, 2014 4:33 pm
Location: Czech Republic
Contact:

Re: [BETA] TimeAgo timestamps

Post by R3gi »

Yup, that's it! Thanks! Pull Request
User avatar
MuhClaren
Registered User
Posts: 126
Joined: Sat Feb 21, 2015 5:23 am

Re: [BETA] TimeAgo timestamps

Post by MuhClaren »

Czech translation merged into master, great work, thanks for your effort!

@DevMakoto: Thanks for showing R3gi where to set word order. ;)
Locked

Return to “Abandoned Extensions”