https://bugzilla.wikimedia.org/show_bug.cgi?id=34383

--- Comment #5 from Van de Bugger <van.de.bug...@gmail.com> 2012-02-15 15:54:26 
UTC ---
Verified on r111537. Yes, it works. If I add my localization to
SMW_Namespaces.php, a user see localized namespace names,
WNamespace::getCanonicalName returns canonical names.

But change does not look completed. If seems you have to move following pieces
of code:

> protected $m_Namespaces = array(
>     SMW_NS_PROPERTY       => 'Property',
>     SMW_NS_PROPERTY_TALK  => 'Property_talk',
>     SMW_NS_TYPE           => 'Type',
>     SMW_NS_TYPE_TALK      => 'Type_talk',
>     SMW_NS_CONCEPT        => 'Concept',
>     SMW_NS_CONCEPT_TALK   => 'Concept_talk'
> );

from every SMW_LanguageXX.php to SMW_Namespaces.php, and , probably, drop all
the namespace-related stuff from SMWLanguage class.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to