Plugin Directory

Changeset 3124056


Ignore:
Timestamp:
07/23/2024 03:56:53 PM (21 months ago)
Author:
mpntod
Message:

Minor correction to multilingual settings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • rotatingtweets/trunk/rotatingtweets.php

    r3123942 r3124056  
    409409  if($n < (60*60)) { $minutes = round($n/60);
    410410    if($n == 1):
    411         return __('about a minute ago');
     411        return __('about a minute ago','rotatingtweets');
    412412    else:
    413413        /* translators: %d is replaced with the number of minutes since the tweet was posted */
     
    418418  if($n < (60*60*16)) { $hours = round($n/(60*60));
    419419    if($hours == 1):
    420         return __('about an hour ago');
     420        return __('about an hour ago','rotatingtweets');
    421421    else:
    422422        /* translators: %d is replaced with the number of hours since the tweet was posted */
     
    428428  if($n < (60*60*24)) { $hours = round($n/(60*60));
    429429    if($hours == 1):
    430         return __('about an hour ago');
     430        return __('about an hour ago','rotatingtweets');
    431431    else:
    432432        /* translators: %d is replaced with the number of hours since the tweet was posted */
     
    436436  if($n < (60*60*24*6.5)) { $days = round($n/(60*60*24));
    437437    if($days ==1):
    438         return __('about a day ago');
     438        return __('about a day ago','rotatingtweets');
    439439    else:
    440440        /* translators: %d is replaced with the number of days since the tweet was posted */
     
    445445  if($n < (60*60*24*7*3.5)) { $weeks = round($n/(60*60*24*7));
    446446    if($weeks==1):
    447         return __('about a week ago');
     447        return __('about a week ago','rotatingtweets');
    448448    else:
    449449        /* translators: %d is replaced with the number of weeks since the tweet was posted */
     
    455455  if($n < (60*60*24*7*4*11.5)) { $months = round($n/(60*60*24*7*4)) ;
    456456    if($months==1):
    457         return __('about a month ago');
     457        return __('about a month ago','rotatingtweets');
    458458    else:
    459459        /* translators: %d is replaced with the number of months since the tweet was posted */
     
    464464  if($n >= (60*60*24*7*4*12)){$years=round($n/(60*60*24*7*52)) ;
    465465    if($years==1):
    466         return __('about a year ago');
     466        return __('about a year ago','rotatingtweets');
    467467    else:
    468468        /* translators: %d is replaced with the number of years since the tweet was posted */
Note: See TracChangeset for help on using the changeset viewer.