Skip to content

Latest commit

 

History

History
180 lines (120 loc) · 5.75 KB

CHANGELOG.md

File metadata and controls

180 lines (120 loc) · 5.75 KB

Gettext support for Smarty2/Smarty3

1.6.2 - 2021-02-24

  • Update composer.json for php 8.0, #39

1.6.1 - 2019-01-18

  • Make release tarball more compact, #28

1.6.0 - 2018-10-13

As per spdx.org/licenses/LGPL-2.1+ the license identifier LGPL-2.1+ has been deprecated. This release updates the identifier to LGPL-2.1 which helps automated license checking tools verify package licenses.

  • License changed from LGPL-v2.1+ to LGPL-v2.1, #25, #27

1.5.1 - 2017-05-12

  • tsmarty2c: Added support for extracting strings of a specific domain only #19

1.5.0 - 2016-11-03

IMPROVEMENTS:

  • fix for template_dir is array without key of zero defined. #14

1.4.0 - 2016-06-13

IMPROVEMENTS:

1.3.0 - 2015-11-14

IMPROVEMENTS:

  • Smarty 3.1 compatibility fixes in {locale}. #8, #10

1.2.0 - 2015-05-11

IMPROVEMENTS:

  • added new function {locale path="" domain="" stack="push|pop"} to push and pop gettext catalogs. #7

INCOMPATIBLE CHANGES:

  • context parameter in {t} is reserved for special purpose. #3

1.1.1 - 2014-11-12

IMPROVEMENTS:

  • documentation updates
  • use error_log as STDERR is not available in all SAPI variants
  • decrease size of composer package when installed with prefer-dist

BUG FIXES:

  • fix manual page syntax. #2

1.1.0 - 2013-12-26

IMPROVEMENTS:

  • add line numbers support. adopted patch#3 from old project
  • add domain parameter support. adopted patch#5 from old project.

INCOMPATIBLE CHANGES:

  • domain parameter in {t} has special meaning now.

BUG FIXES:

  • tsmarty2c.php did not find plural text. d0330f

1.0.1 - 2013-11-21

New maintainer: Elan Ruusamäe

IMPROVEMENTS:

  • added manual page for tsmarty2c.php (from Debian)
  • tsmarty2c.php outputs now valid .po format (can be used to merge with .pot)
  • added composer repository. add to your composer.json: "smarty-gettext/smarty-gettext"
  • unit tests!
  • more accurate JavaScript escaping

BUG FIXES:

  • Do not show .po file headers on translated pages. (Debian bug: #680754)
  • [PATCH] parse tags properly using {} in parameters (Kalle Volkov)
  • Do not stripslashes(). (magic quotes is deprecated and stripslashes should not be done unconditionally)

1.0b1 - 2005-07-27 Sagi Bashari

  • README:

    • Redone
  • smarty-gettext.php:

    • Renamed file to block.t.php
  • block.t.php:

    • Rename smarty_translate() to smarty_block_t()
    • Rename strarg() to smarty_gettext_strarg()
    • Better comments, new installation method
    • url escaping method
  • tsmarty2c.php:

    • Use 'env php' as php bin path
    • Output file name along with ripped strings
    • Comments, wrapping

0.9.1 - 2004-04-30 Sagi Bashari

  • README:

    • replace smarty_gettext with smarty-gettext
    • correct package name, project urls, add vrsion
  • tsmarty2.c:

    • check if file extension exists before checking if is in array (Florian Lanthaler)
    • correct package name, project urls, add version
  • smarty_gettext:

    • rename to smarty-gettext
    • correct package name, project urls, add version

0.9 - 2004-03-01 Sagi Bashari

  • tsmarty2c.php:

    • added support for directories (originally by Uros Gruber)
    • fixed bug that prevented more than 1 block per line (reported by Eneko Lacunza)
    • convert new line to \n in output string
  • smarty_gettext.php:

    • run nl2br() when escaping html