This project is mirrored from https://github.com/sympa-community/sympa.git.
Pull mirroring updated .
- 13 May, 2014 5 commits
-
-
sikeda authored
- Now Sympa::Language is singleton class. Get instance using Sympa::Language->instance(). - Changed names of functions. CanonicLang => canonic_lang ImplicatedLangs => implicated_langs Lang2Locale => lang2locale Lang2Locale_old => lang2oldlocale (ex. Lang2Locale() in Language package) NegotiateLang => negotiate_lang - Changed names of methods (formerly functions). PushLang => push_lang PopLang => pop_lang (allows multiple arguments) SetLang => set_lang (ditto) GetLangName => native_name (optional argment was deprecated) GetLang => get_lang sympa_dgettext => dgettext - Added a new method gettext_sprintf(). It will be extracted by po/xgettext.pl. - Now POSIX locale will be set at inside of gettext_sprintf() and gettext_strftime(). Native strftime(), sprintf() etc. won't be affected by set_lang(). - maketext() was deprecated. - GetCharset() was deprecated. Use tools::lang2charset(). git-svn-id: https://subversion.renater.fr/sympa/branches/sympa-6.2-branch@10608 05aa8bb8-cd2b-0410-b1d7-8918dfa770ce
-
sikeda authored
git-svn-id: https://subversion.renater.fr/sympa/branches/sympa-6.2-branch@10607 05aa8bb8-cd2b-0410-b1d7-8918dfa770ce
-
sikeda authored
[-change] Creates more directories in etcdir during installation: custom_conditions and data_sources. git-svn-id: https://subversion.renater.fr/sympa/branches/sympa-6.2-branch@10606 05aa8bb8-cd2b-0410-b1d7-8918dfa770ce
-
sikeda authored
git-svn-id: https://subversion.renater.fr/sympa/branches/sympa-6.2-branch@10605 05aa8bb8-cd2b-0410-b1d7-8918dfa770ce
-
sikeda authored
[dev] tools::get_filename() and tools::make_tt2_include_path() are renamed to tools::search_fullpath() and tools::get_search_path(). Since they have new calling convention, they are given new names. As a side effect, Scenario::search() no longer takes both $robot and $list arguments. git-svn-id: https://subversion.renater.fr/sympa/branches/sympa-6.2-branch@10604 05aa8bb8-cd2b-0410-b1d7-8918dfa770ce
-
- 11 May, 2014 2 commits
-
-
sikeda authored
[-bug] Commands::info(): title of scenarios were taken only from "title.gettext" lines. Use get_current_title(). git-svn-id: https://subversion.renater.fr/sympa/branches/sympa-6.2-branch@10587 05aa8bb8-cd2b-0410-b1d7-8918dfa770ce
-
sikeda authored
[dev] new Scenario::get_current_title() to get i18n'ed title of scenarios. It trys on "title.gettext", "title.<LANG>" then "title" lines in scenarios. git-svn-id: https://subversion.renater.fr/sympa/branches/sympa-6.2-branch@10586 05aa8bb8-cd2b-0410-b1d7-8918dfa770ce
-
- 10 May, 2014 1 commit
-
-
sikeda authored
[dev] obsoleting Language::GetCharset(): tools::lang2charset() should be used instead. As a result, Language no longer depends on Conf. git-svn-id: https://subversion.renater.fr/sympa/branches/sympa-6.2-branch@10585 05aa8bb8-cd2b-0410-b1d7-8918dfa770ce
-
- 09 May, 2014 1 commit
-
-
sikeda authored
Language::maketext() is obsoleted. git-svn-id: https://subversion.renater.fr/sympa/branches/sympa-6.2-branch@10584 05aa8bb8-cd2b-0410-b1d7-8918dfa770ce
-
- 08 May, 2014 2 commits
-
-
sikeda authored
git-svn-id: https://subversion.renater.fr/sympa/branches/sympa-6.2-branch@10583 05aa8bb8-cd2b-0410-b1d7-8918dfa770ce
-
sikeda authored
git-svn-id: https://subversion.renater.fr/sympa/branches/sympa-6.2-branch@10582 05aa8bb8-cd2b-0410-b1d7-8918dfa770ce
-
- 07 May, 2014 5 commits
-
-
david.verdin authored
[-bug] User attributes were not correctly parsed in Sympa::User::get_global_user. This was due to the change in wwsympa.fcgi.in not reported in this sub. In addition, the cating od $user->{attributes} from string to a hash led wwsympa.fcgi to crash. git-svn-id: https://subversion.renater.fr/sympa/branches/sympa-6.2-branch@10555 05aa8bb8-cd2b-0410-b1d7-8918dfa770ce
-
sikeda authored
- $::pinfo is obsoleted. Parameter definition should be got by tools::get_list_params($domain) as necessary. - List::_apply_defaults() was deprecated. - Use "fake list" (blessed hashref containing parameter values) to check constraint by the family. git-svn-id: https://subversion.renater.fr/sympa/branches/sympa-6.2-branch@10554 05aa8bb8-cd2b-0410-b1d7-8918dfa770ce
-
sikeda authored
git-svn-id: https://subversion.renater.fr/sympa/branches/sympa-6.2-branch@10553 05aa8bb8-cd2b-0410-b1d7-8918dfa770ce
-
sikeda authored
git-svn-id: https://subversion.renater.fr/sympa/branches/sympa-6.2-branch@10552 05aa8bb8-cd2b-0410-b1d7-8918dfa770ce
-
sikeda authored
git-svn-id: https://subversion.renater.fr/sympa/branches/sympa-6.2-branch@10551 05aa8bb8-cd2b-0410-b1d7-8918dfa770ce
-
- 22 Apr, 2014 1 commit
-
-
sikeda authored
git-svn-id: https://subversion.renater.fr/sympa/branches/sympa-6.2-branch@10549 05aa8bb8-cd2b-0410-b1d7-8918dfa770ce
-
- 21 Apr, 2014 2 commits
-
-
sikeda authored
git-svn-id: https://subversion.renater.fr/sympa/branches/sympa-6.2-branch@10548 05aa8bb8-cd2b-0410-b1d7-8918dfa770ce
-
sikeda authored
git-svn-id: https://subversion.renater.fr/sympa/branches/sympa-6.2-branch@10547 05aa8bb8-cd2b-0410-b1d7-8918dfa770ce
-
- 16 Apr, 2014 1 commit
-
-
sikeda authored
git-svn-id: https://subversion.renater.fr/sympa/branches/sympa-6.2-branch@10546 05aa8bb8-cd2b-0410-b1d7-8918dfa770ce
-
- 09 Apr, 2014 1 commit
-
-
sikeda authored
[-bug] (con'd r10529, 10531) ImplicatedLang(): "super" language may override "sub" langauges when multiple arguments are given. Make them to appear after. git-svn-id: https://subversion.renater.fr/sympa/branches/sympa-6.2-branch@10534 05aa8bb8-cd2b-0410-b1d7-8918dfa770ce
-
- 08 Apr, 2014 2 commits
-
-
sikeda authored
git-svn-id: https://subversion.renater.fr/sympa/branches/sympa-6.2-branch@10532 05aa8bb8-cd2b-0410-b1d7-8918dfa770ce
-
sikeda authored
bindtextdomain(), textdomain() and bind_textdomain_codeset() may be executed at once. '_charset_' and '_encoding_' is now returns fixed value. etc. git-svn-id: https://subversion.renater.fr/sympa/branches/sympa-6.2-branch@10531 05aa8bb8-cd2b-0410-b1d7-8918dfa770ce
-
- 07 Apr, 2014 2 commits
-
-
sikeda authored
[-dev] Partially reverted r10529: Sympa::Language has not been incorpolated into software yet. Only unit test is possible. git-svn-id: https://subversion.renater.fr/sympa/branches/sympa-6.2-branch@10530 05aa8bb8-cd2b-0410-b1d7-8918dfa770ce
-
sikeda authored
The new module is committed for purpose of unit test. Coming features: - Language/locale contexts are identified by IETF language tags defined by RFC 5646 (BCP 47). Older style "locale" by earlier releases would be canonicalized. - System locale is not absolutely nessessary to add a new language: gettext catalog is required. - If appropriate POSIX locale is not installed, gettext_strftime() emulates POSIX::strftime(): names of days, months etc. will be taken from catalog. - Content negotiation used by HTTP 1.1 was implemented. Internal changes: - "Language:" field in PO header became mandatory to determine actually selected catalog. Modified po/Makefile.in.in to run msgcat, msgen or msgmerge with --lang option. - Dependent libintl-perl (Locale::Messages) requires 1.22 (virtually 1.23) or later to use locale-independent gettext_dumb feature. - Default language context is fixed to "en" and no longer retrieved implicitly from site config (charset.conf). $Language::default_lang was deprecated. Miscelaneous: - Added unittest t/Language.t and several test data. - Added test stub module for Sympa::Constants. git-svn-id: https://subversion.renater.fr/sympa/branches/sympa-6.2-branch@10529 05aa8bb8-cd2b-0410-b1d7-8918dfa770ce
-
- 05 Apr, 2014 1 commit
-
-
sikeda authored
[-change] (con'd 10302) Date::Parse generates spurious result in several cases. Use DateTime::Format::Mail instead. Additionally, use Date::Format::strftime() which can generate more RFC-compliant result to format locale-independent dates in mail/HTTP headers. git-svn-id: https://subversion.renater.fr/sympa/branches/sympa-6.2-branch@10528 05aa8bb8-cd2b-0410-b1d7-8918dfa770ce
-
- 26 Mar, 2014 5 commits
-
-
sympa-authors authored
git-svn-id: https://subversion.renater.fr/sympa/branches/sympa-6.2-branch@10480 05aa8bb8-cd2b-0410-b1d7-8918dfa770ce
-
sympa-authors authored
git-svn-id: https://subversion.renater.fr/sympa/branches/sympa-6.2-branch@10479 05aa8bb8-cd2b-0410-b1d7-8918dfa770ce
-
sympa-authors authored
git-svn-id: https://subversion.renater.fr/sympa/branches/sympa-6.2-branch@10478 05aa8bb8-cd2b-0410-b1d7-8918dfa770ce
-
sympa-authors authored
git-svn-id: https://subversion.renater.fr/sympa/branches/sympa-6.2-branch@10477 05aa8bb8-cd2b-0410-b1d7-8918dfa770ce
-
sympa-authors authored
git-svn-id: https://subversion.renater.fr/sympa/branches/sympa-6.2-branch@10476 05aa8bb8-cd2b-0410-b1d7-8918dfa770ce
-
- 21 Mar, 2014 2 commits
-
-
sympa-authors authored
git-svn-id: https://subversion.renater.fr/sympa/branches/sympa-6.2-branch@10471 05aa8bb8-cd2b-0410-b1d7-8918dfa770ce
-
david.verdin authored
git-svn-id: https://subversion.renater.fr/sympa/branches/sympa-6.2-branch@10470 05aa8bb8-cd2b-0410-b1d7-8918dfa770ce
-
- 20 Mar, 2014 1 commit
-
-
sikeda authored
git-svn-id: https://subversion.renater.fr/sympa/branches/sympa-6.2-branch@10454 05aa8bb8-cd2b-0410-b1d7-8918dfa770ce
-
- 19 Mar, 2014 1 commit
-
-
sikeda authored
git-svn-id: https://subversion.renater.fr/sympa/branches/sympa-6.2-branch@10450 05aa8bb8-cd2b-0410-b1d7-8918dfa770ce
-
- 18 Mar, 2014 1 commit
-
-
sikeda authored
git-svn-id: https://subversion.renater.fr/sympa/branches/sympa-6.2-branch@10442 05aa8bb8-cd2b-0410-b1d7-8918dfa770ce
-
- 17 Mar, 2014 4 commits
-
-
sikeda authored
git-svn-id: https://subversion.renater.fr/sympa/branches/sympa-6.2-branch@10440 05aa8bb8-cd2b-0410-b1d7-8918dfa770ce
-
sikeda authored
git-svn-id: https://subversion.renater.fr/sympa/branches/sympa-6.2-branch@10439 05aa8bb8-cd2b-0410-b1d7-8918dfa770ce
-
sikeda authored
git-svn-id: https://subversion.renater.fr/sympa/branches/sympa-6.2-branch@10438 05aa8bb8-cd2b-0410-b1d7-8918dfa770ce
-
sikeda authored
git-svn-id: https://subversion.renater.fr/sympa/branches/sympa-6.2-branch@10437 05aa8bb8-cd2b-0410-b1d7-8918dfa770ce
-