PHP Classes

File: system/Language/en/Time.php

Recommend this page to a friend!
  Classes of Faris AL-Otabi   PHP GuestBook with Database   system/Language/en/Time.php   Download  
File: system/Language/en/Time.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: PHP GuestBook with Database
GuestBook application using MySQL to store posts
Author: By
Last change:
Date: 1 year ago
Size: 1,373 bytes
 

Contents

Class file image Download
<?php

/**
 * This file is part of the CodeIgniter 4 framework.
 *
 * (c) CodeIgniter Foundation <admin@codeigniter.com>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

// Time language settings
return [
   
'invalidFormat' => '"{0}" is not a valid datetime format',
   
'invalidMonth' => 'Months must be between 1 and 12. Given: {0}',
   
'invalidDay' => 'Days must be between 1 and 31. Given: {0}',
   
'invalidOverDay' => 'Days must be between 1 and {0}. Given: {1}',
   
'invalidHours' => 'Hours must be between 0 and 23. Given: {0}',
   
'invalidMinutes' => 'Minutes must be between 0 and 59. Given: {0}',
   
'invalidSeconds' => 'Seconds must be between 0 and 59. Given: {0}',
   
'years' => '{0, plural, =1{# year} other{# years}}',
   
'months' => '{0, plural, =1{# month} other{# months}}',
   
'weeks' => '{0, plural, =1{# week} other{# weeks}}',
   
'days' => '{0, plural, =1{# day} other{# days}}',
   
'hours' => '{0, plural, =1{# hour} other{# hours}}',
   
'minutes' => '{0, plural, =1{# minute} other{# minutes}}',
   
'seconds' => '{0, plural, =1{# second} other{# seconds}}',
   
'ago' => '{0} ago',
   
'inFuture' => 'in {0}',
   
'yesterday' => 'Yesterday',
   
'tomorrow' => 'Tomorrow',
   
'now' => 'Just now',
];