Permalink
Switch branches/tags
Nothing to show
Commits on Jan 8, 2017
  1. Merge pull request #3 from GeoffreyDijkstra/master

    Namespaces, PSR, Docblocks
    committed on GitHub Jan 8, 2017
Commits on May 17, 2016
  1. Introduced namespaces, phpcs fixes and PSR standards. Also added comp…

    …oser.json for easy package install
    GeoffreyDijkstra committed May 17, 2016
Commits on Aug 12, 2009
  1. Implement singleton based on the given tuple and add appropriate tests

    Signed-off-by: David Soria Parra <sn_@gmx.net>
    committed Aug 12, 2009
  2. Typo

    Signed-off-by: David Soria Parra <sn_@gmx.net>
    committed Aug 12, 2009
  3. Always parse 32bit integers

    Signed-off-by: David Soria Parra <sn_@gmx.net>
    committed Aug 12, 2009
  4. Correctly close file pointer on error

    Signed-off-by: David Soria Parra <sn_@gmx.net>
    committed Aug 12, 2009
  5. Elimniate dead code

    Signed-off-by: David Soria Parra <sn_@gmx.net>
    committed Aug 12, 2009
  6. Change error beahvior to fit gettext() behavior

    Although it might be a good idea to use exceptions, we use null to
    indicate errors as we have to fail silently, as this is ext/gettext
    behavior. Yes we might just catch every exception, but this doesn't
    seem to be very intelligent at all, if we later change the code
    and a real exception might be raised somewhere.
    
    Signed-off-by: David Soria Parra <sn_@gmx.net>
    committed Aug 12, 2009
  7. tests: Test nonexistant file behavior

    Signed-off-by: David Soria Parra <sn_@gmx.net>
    committed Aug 12, 2009
  8. tests: Do not use a shared fixture anymore

    Signed-off-by: David Soria Parra <sn_@gmx.net>
    committed Aug 12, 2009
  9. Make sure we just deal with positive counts

    Signed-off-by: David Soria Parra <sn_@gmx.net>
    committed Aug 11, 2009
Commits on Aug 11, 2009
  1. Add docstrings

    Signed-off-by: David Soria Parra <sn_@gmx.net>
    committed Aug 11, 2009
  2. Coding style

    Signed-off-by: David Soria Parra <sn_@gmx.net>
    committed Aug 11, 2009
  3. Rewrite the parse mechanism

    The old parse mechanism with two separte tables wasn't flexible enough
    to support the edge cases in ngettext. We better use a single table that
    contains the translations and have all translations and plural forms available.
    
    Signed-off-by: David Soria Parra <sn_@gmx.net>
    committed Aug 11, 2009
  4. Add unit tests

    Signed-off-by: David Soria Parra <sn_@gmx.net>
    committed Aug 11, 2009
  5. Add gettext po file that is used in tests

    Signed-off-by: David Soria Parra <sn_@gmx.net>
    committed Aug 11, 2009
  6. Use require once

    Signed-off-by: David Soria Parra <sn_@gmx.net>
    committed Aug 11, 2009
  7. Refactor and split main parse function

    Signed-off-by: David Soria Parra <sn_@gmx.net>
    committed Aug 11, 2009
  8. Add tests for ngettext

    Signed-off-by: David Soria Parra <sn_@gmx.net>
    committed Aug 11, 2009
  9. Add ngettext implementation

    Signed-off-by: David Soria Parra <sn_@gmx.net>
    committed Aug 11, 2009
  10. Add ignore file

    Signed-off-by: David Soria Parra <sn_@gmx.net>
    committed Aug 11, 2009
  11. Add README

    Signed-off-by: David Soria Parra <sn_@gmx.net>
    committed Aug 11, 2009
  12. Rename Gettext_Native to Gettext_PHP

    Gettext_Native is not really clear, Gettext_PHP should be a much
    better name for the PHP implementation of gettext.
    
    Signed-off-by: David Soria Parra <sn_@gmx.net>
    committed Aug 11, 2009
  13. Add phpdoc

    Signed-off-by: David Soria Parra <sn_@gmx.net>
    committed Aug 11, 2009
  14. Initial version

    committed Aug 11, 2009