Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/brazdir/stage/crm/lib/vendor/symfony/lib/vendor/lime/lime.php on line 687
Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/brazdir/stage/crm/lib/vendor/symfony/lib/vendor/lime/lime.php on line 688
Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/brazdir/stage/crm/lib/vendor/symfony/lib/vendor/lime/lime.php on line 689
Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/brazdir/stage/crm/lib/vendor/symfony/lib/vendor/lime/lime.php on line 690
1..34
# ->initialize()
ok 1 - ->initialize() connects to the user.change_culture event
ok 2 # SKIP Locale class or English and French locales are not installed
# ->getCulture() ->setCulture()
ok 3 - ->getCulture() returns the current culture
ok 4 - ->setCulture() sets the current culture
# ->__()
ok 5 - ->__() translates a string
ok 6 - ->__() translates an object with __toString()
ok 7 - ->__() takes an array of arguments as its second argument
ok 8 - ->__() takes a catalogue as its third argument
ok 9 - ->__() 1 minute translated as 1 menit
ok 10 - ->__() 1 translated as 1
ok 11 - ->__() number 1 translated as 1
ok 12 - ->__() translates a string
ok 13 - ->__() adds a prefix and a suffix on untranslated strings if debug is on
ok 14 - ->initialize() can change the default prefix and suffix dor untranslated strings
# ->getCountry()
ok 15 - ->getCountry() returns the name of a country for the current culture
ok 16 - ->getCountry() takes an optional culture as its second argument
# ->getNativeName()
ok 17 - ->getNativeName() returns the name of a culture
# ->getTimestampForCulture()
ok 18 - ->getTimestampForCulture() returns the timestamp for a data formatted in the current culture
ok 19 - ->getTimestampForCulture() returns the timestamp for a data formatted in the current culture
ok 20 - ->getTimestampForCulture() can take a culture as its second argument
ok 21 - ->getTimestampForCulture() can take a culture as its second argument
ok 22 - ->getTimestampForCulture() returns the day, month and year for a data formatted in the current culture
# ->getDateForCulture()
ok 23 - ->getDateForCulture() returns the day, month and year for a data formatted in the current culture
ok 24 - ->getDateForCulture() can take a culture as its second argument
ok 25 - ->getDateForCulture() returns null in case of conversion problem
ok 26 - ->getDateForCulture() returns null in case of conversion problem
ok 27 - ->getDateForCulture() returns the day, month and year for a data formatted in culture with dots as separators
ok 28 - ->getDateForCulture() returns null in case of conversion problem with dots as separators
# ->getTimeForCulture()
ok 29 - ->getTimeForCulture() returns the hour and minuter for a time formatted in the current culture
ok 30 - ->getTimeForCulture() can take a culture as its second argument
ok 31 - ->getTimeForCulture() returns null in case of conversion problem
ok 32 - ->getTimeForCulture() returns null in case of conversion problem
ok 33 - ->getTimeForCulture() returns the hour and minuter for a time formatted in culture with dots as separators
ok 34 - ->getTimeForCulture() returns null in case of conversion problem with dots as separators
# Looks like everything went fine.