]> git.pld-linux.org Git - packages/php-phpmailer.git/commitdiff
up to 5.2.7 (September 12th 2013) auto/th/php-phpmailer-5.2.7-1
authorElan Ruusamäe <glen@delfi.ee>
Sat, 9 Nov 2013 12:24:41 +0000 (14:24 +0200)
committerElan Ruusamäe <glen@delfi.ee>
Sat, 9 Nov 2013 12:24:56 +0000 (14:24 +0200)
adds fa, lt, uk translations

paths.patch
php-phpmailer.spec

index 5d7df426758509b29ee7e4bfd019f0c6500cfdbf..80e00b509723658e9e122525cecaeaf5cf02ae48 100644 (file)
@@ -1,20 +1,20 @@
---- PHPMailer-5.2.5/class.phpmailer.php~       2013-05-24 09:51:19.087751571 +0300
-+++ PHPMailer-5.2.5/class.phpmailer.php        2013-05-24 09:52:08.203626736 +0300
-@@ -134,7 +134,7 @@
-    * is in a different directory than the PHP include path.
-    * @var string
-    */
--  public $PluginDir         = '';
-+  public $PluginDir         = '/usr/share/php/phpmail/';
+--- PHPMailer-5.2.7/class.phpmailer.php~       2013-09-12 10:52:38.000000000 +0300
++++ PHPMailer-5.2.7/class.phpmailer.php        2013-11-09 13:09:34.941928857 +0200
+@@ -185,7 +185,7 @@
+      * @type string
+      * @deprecated Should not be needed now there is an autoloader.
+      */
+-    public $PluginDir = '';
++    public $PluginDir = '/usr/share/php/phpmail/';
  
-   /**
-    * Holds PHPMailer version.
-@@ -1134,7 +1134,7 @@
-    * @return bool
-    * @access public
-    */
--  function SetLanguage($langcode = 'en', $lang_path = 'language/') {
-+  function SetLanguage($langcode = 'en', $lang_path = '/usr/share/php/phpmailer/language/') {
-     //Define full set of translatable strings
-     $PHPMAILER_LANG = array(
-       'authenticate'         => 'SMTP Error: Could not authenticate.',
+     /**
+      * The email address that a reading confirmation should be sent to.
+@@ -1323,7 +1323,7 @@
+      * @return bool
+      * @access public
+      */
+-    public function setLanguage($langcode = 'en', $lang_path = 'language/')
++    public function setLanguage($langcode = 'en', $lang_path = '/usr/share/php/phpmailer/language/') {
+     {
+         //Define full set of translatable strings
+         $PHPMAILER_LANG = array(
index 5afe7a3436e2613e3098e4cca9c78c752d5b0a41..de6ac6a8490520466f93c9b220b31147b9f9d442 100644 (file)
@@ -4,12 +4,12 @@
 Summary:       Full featured email transfer class for PHP
 Summary(pl.UTF-8):     W pełni funkcjonalna klasa PHP do przesyłania e-maili
 Name:          php-%{pkgname}
-Version:       5.2.6
+Version:       5.2.7
 Release:       1
 License:       LGPL v2.1
 Group:         Development/Languages/PHP
-Source0:       https://github.com/PHPMailer/PHPMailer/archive/v%{version}.tar.gz
-# Source0-md5: 24b6658b50d2a363a81d927bcbffafd2
+Source0:       https://github.com/PHPMailer/PHPMailer/archive/v%{version}/%{pkgname}-%{version}.tar.gz
+# Source0-md5: b07621694679cd625af3f53771502677
 Patch0:                paths.patch
 URL:           https://github.com/PHPMailer/PHPMailer
 BuildRequires: php-pear-PhpDocumentor
@@ -119,6 +119,7 @@ rm -rf $RPM_BUILD_ROOT
 %lang(eo) %{_appdir}/language/phpmailer.lang-eo.php
 %lang(es) %{_appdir}/language/phpmailer.lang-es.php
 %lang(et) %{_appdir}/language/phpmailer.lang-et.php
+%lang(fa) %{_appdir}/language/phpmailer.lang-fa.php
 %lang(fi) %{_appdir}/language/phpmailer.lang-fi.php
 %lang(fo) %{_appdir}/language/phpmailer.lang-fo.php
 %lang(fr) %{_appdir}/language/phpmailer.lang-fr.php
@@ -126,6 +127,7 @@ rm -rf $RPM_BUILD_ROOT
 %lang(hu) %{_appdir}/language/phpmailer.lang-hu.php
 %lang(it) %{_appdir}/language/phpmailer.lang-it.php
 %lang(ja) %{_appdir}/language/phpmailer.lang-ja.php
+%lang(lt) %{_appdir}/language/phpmailer.lang-lt.php
 %lang(nb) %{_appdir}/language/phpmailer.lang-no.php
 %lang(nl) %{_appdir}/language/phpmailer.lang-nl.php
 %lang(pl) %{_appdir}/language/phpmailer.lang-pl.php
@@ -135,10 +137,12 @@ rm -rf $RPM_BUILD_ROOT
 %lang(sk) %{_appdir}/language/phpmailer.lang-sk.php
 %lang(sv) %{_appdir}/language/phpmailer.lang-se.php
 %lang(tr) %{_appdir}/language/phpmailer.lang-tr.php
+%lang(uk) %{_appdir}/language/phpmailer.lang-uk.php
 %lang(zh) %{_appdir}/language/phpmailer.lang-zh.php
 %lang(zh_CN) %{_appdir}/language/phpmailer.lang-zh_cn.php
 
 %dir %{_appdir}/extras
+%{_appdir}/extras/EasyPeasyICS.php
 %{_appdir}/extras/class.html2text.php
 %{_appdir}/extras/htmlfilter.php
 %{_appdir}/extras/ntlm_sasl_client.php
This page took 0.114538 seconds and 4 git commands to generate.