summaryrefslogtreecommitdiff
path: root/manager/library/l10n
diff options
context:
space:
mode:
authorBenny Baumann <BenBE@geshi.org>2015-08-09 22:11:39 +0200
committerBenny Baumann <BenBE@geshi.org>2015-08-09 22:11:50 +0200
commitce38587c8459587d7a03002ebcb4427ed95fb85c (patch)
tree1a5d787189deb6b895ff6df7fe1bb2303f92961d /manager/library/l10n
parent2cbb6d9c9cea8624d474807857ba2f8c81352c15 (diff)
downloadcacert-mgr-ce38587c8459587d7a03002ebcb4427ed95fb85c.tar.gz
cacert-mgr-ce38587c8459587d7a03002ebcb4427ed95fb85c.tar.xz
cacert-mgr-ce38587c8459587d7a03002ebcb4427ed95fb85c.zip
bug 1396: Normalize Linefeed to Unix format in Repository
Diffstat (limited to 'manager/library/l10n')
-rw-r--r--manager/library/l10n/L10n.php94
1 files changed, 47 insertions, 47 deletions
diff --git a/manager/library/l10n/L10n.php b/manager/library/l10n/L10n.php
index 80fb091..01a8d1b 100644
--- a/manager/library/l10n/L10n.php
+++ b/manager/library/l10n/L10n.php
@@ -1,47 +1,47 @@
-<?php
-/**
- * encapsulate Zend_Locale within an singleton class
- * @author markus
- * $Id: L10n.php 13 2009-11-24 14:52:56Z markus $
- */
-class L10n {
- /**
- * static pointer to instance
- * @var L10n
- */
- private static $instance = null;
-
- /**
- * config object
- * @var Zend_Locale
- */
- private $locale = null;
-
- /**
- * make new translate
- */
- protected function __construct() {
- $this->locale = new Zend_Locale();
- }
-
- /**
- * get already existing instance, make new instance or throw an exception
- * @return L10n
- */
- public static function getInstance() {
- if (self::$instance === null) {
- self::$instance = new L10n();
- }
-
- return self::$instance;
- }
-
- /**
- * magic __call dispatches all unknown methods to Zend_Locale
- * @param unknown_type $method
- * @param unknown_type $arguments
- */
- public function __call($method, $arguments) {
- return call_user_func_array(array($this->locale, $method), $arguments);
- }
-}
+<?php
+/**
+ * encapsulate Zend_Locale within an singleton class
+ * @author markus
+ * $Id: L10n.php 13 2009-11-24 14:52:56Z markus $
+ */
+class L10n {
+ /**
+ * static pointer to instance
+ * @var L10n
+ */
+ private static $instance = null;
+
+ /**
+ * config object
+ * @var Zend_Locale
+ */
+ private $locale = null;
+
+ /**
+ * make new translate
+ */
+ protected function __construct() {
+ $this->locale = new Zend_Locale();
+ }
+
+ /**
+ * get already existing instance, make new instance or throw an exception
+ * @return L10n
+ */
+ public static function getInstance() {
+ if (self::$instance === null) {
+ self::$instance = new L10n();
+ }
+
+ return self::$instance;
+ }
+
+ /**
+ * magic __call dispatches all unknown methods to Zend_Locale
+ * @param unknown_type $method
+ * @param unknown_type $arguments
+ */
+ public function __call($method, $arguments) {
+ return call_user_func_array(array($this->locale, $method), $arguments);
+ }
+}