ReTAD - Relative Time And Date (Facebook Styles)

Started by Hj Ahmad Rasyid Hj Ismail, July 17, 2014, 03:47:03 PM

Previous topic - Next topic

DSystem

I Liked. ;)

Brazil Portuguese Translation

<file name="$languagedir/Modifications.portuguese_brazilian.php">
<operation>
<search position="end" />
<add><![CDATA[
$txt['itv_years'] = ' anos atrás';
$txt['itv_months'] = ' meses atrás';
$txt['itv_weeks'] = ' semanas atrás';
$txt['itv_days'] = ' dias atrás';
$txt['itv_hours'] = ' horas atrás';
$txt['itv_minutes'] = ' minutos atrás';
$txt['itv_year'] = 'um ano atrás';
$txt['itv_month'] = 'há um mês';
$txt['itv_week'] = 'uma semana atrás';
$txt['itv_day'] = 'um dia atrás';
$txt['itv_hour'] = 'uma hora atrás';
$txt['itv_minute'] = 'um minuto atrás';
$txt['itv_second'] = 'agora mesmo!';
$txt['improved_times'] = 'Aparições melhoradas';
$txt['on'] = 'sobre';
]]></add>
</operation>
</file>
<file name="$languagedir/Modifications.portuguese_brazilian-utf8.php">
<operation>
<search position="end" />
<add><![CDATA[
$txt['itv_years'] = ' anos atr&aacute;s';
$txt['itv_months'] = ' meses atr&aacute;s';
$txt['itv_weeks'] = ' semanas atr&aacute;s';
$txt['itv_days'] = ' dias atr&aacute;s';
$txt['itv_hours'] = ' horas atr&aacute;s';
$txt['itv_minutes'] = ' minutos atr&aacute;s';
$txt['itv_year'] = 'um ano atr&aacute;s';
$txt['itv_month'] = 'h&aacute; um m&ecirc;s';
$txt['itv_week'] = 'uma semana atr&aacute;s';
$txt['itv_day'] = 'um dia atr&aacute;s';
$txt['itv_hour'] = 'uma hora atr&aacute;s';
$txt['itv_minute'] = 'um minuto atr&aacute;s';
$txt['itv_second'] = 'agora mesmo!';
$txt['improved_times'] = 'Apari&ccedil;&otilde;es melhoradas';
$txt['on'] = 'sobre';
]]></add>
</operation>
</file>

DSystem


Hj Ahmad Rasyid Hj Ismail


DSystem


shayneb

I actually liked it better when it said "on" instead of "about," lol. Can you attach the version that retains the "about" text?

Hj Ahmad Rasyid Hj Ismail

Updated

#Change log
@Version 1.2.1
-  Fix reported error for not displaying correct 2nd day thanks to DSystem.
- Added Brazilian language thanks to DSystem.

@shaynab, just change that in the mod language file.

shayneb

Quote from: ahrasis on October 18, 2014, 12:30:01 AM
Updated

#Change log
@Version 1.2.1
-  Fix reported error for not displaying correct 2nd day thanks to DSystem.
- Added Brazilian language thanks to DSystem.

@shaynab, just change that in the mod language file.

I actually tried, but wasn't able to find the string. Do you happen to know exactly where it is, and then I will happily change it myself. Thank you for the help!

Hj Ahmad Rasyid Hj Ismail

Find $txt['on'] = 'about'; in Modifications.english.php and simply delete it or change it to $txt['on'] = 'on';

DSystem

Quote from: ahrasis on October 18, 2014, 12:30:01 AM
Updated

#Change log
@Version 1.2.1
-  Fix reported error for not displaying correct 2nd day thanks to DSystem.
- Added Brazilian language thanks to DSystem.

@shaynab, just change that in the mod language file.

Tested !!! Now works like a charm.  ;)

Thank you so much.

Rain Forest

Tested and working on my forums! Thanks for the mod :)

shayneb

Quote from: ahrasis on October 18, 2014, 12:40:15 AM
Find $txt['on'] = 'about'; in Modifications.english.php and simply delete it or change it to $txt['on'] = 'on';

Worked perfectly, thank you so much.


Hj Ahmad Rasyid Hj Ismail

Interesting. Can you uninstall and try the attached package Shuban? It is tested in 2.0.x version but I haven't got 1.1.x version to test it on.

Biology Forums

Quote from: ahrasis on October 20, 2014, 03:45:15 AM
Interesting. Can you uninstall and try the attached package Shuban? It is tested in 2.0.x version but I haven't got 1.1.x version to test it on.

Seems to be working, thanks.

Hj Ahmad Rasyid Hj Ismail

Thank you for confirming. I will upload that to mod page now.

#Change log
@Version 1.2.2
-  Fix reported error for not displaying correct 2nd/3rd day foor SMF 1.1.x thanks to Shuban.


Hj Ahmad Rasyid Hj Ismail

Thank for your feedback. It must be due to my poor programming ability, shuban. I think I managed to fix this in the updated version 1.2.3.


#Change log
@Version 1.2.3
-  Fix reported error for not displaying correct a week / 1 week, thanks to Shuban.

Biology Forums

Don't be so hard on yourself... I'll try it out.

agentblackhat

I have the Autolock Mod and made a small change so on one of my boards all topics will be locked 30 days after the start date. Will this mod conflict with it?

Advertisement: