dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c1b6ee5
)
port stuff from child PT_br to Pt
author
Antoine Musso
<hashar@users.mediawiki.org>
Thu, 25 Aug 2005 17:32:32 +0000
(17:32 +0000)
committer
Antoine Musso
<hashar@users.mediawiki.org>
Thu, 25 Aug 2005 17:32:32 +0000
(17:32 +0000)
languages/LanguagePt.php
patch
|
blob
|
history
diff --git
a/languages/LanguagePt.php
b/languages/LanguagePt.php
index
e276049
..
2c7e952
100644
(file)
--- a/
languages/LanguagePt.php
+++ b/
languages/LanguagePt.php
@@
-1992,6
+1992,17
@@
require_once( 'LanguageUtf8.php' );
class LanguagePt extends LanguageUtf8 {
+ function timeanddate( $ts, $adj = false ) {
+ return $this->time( $ts, $adj ) . ', ' . $this->date( $ts, $adj );
+ }
+
+ /**
+ * Portuguese numeric format is 123 456,78
+ */
+ function formatNum( $number, $year = false ) {
+ return $year ? $number : strtr($this->commafy($number), '.,', ', ' );
+ }
+
/**
* Exports $wgBookstoreListPt
* @return array