diff options
Diffstat (limited to 'plugins/Mapstraction')
21 files changed, 281 insertions, 162 deletions
diff --git a/plugins/Mapstraction/MapstractionPlugin.php b/plugins/Mapstraction/MapstractionPlugin.php index d5261d8bc..5ad25763e 100644 --- a/plugins/Mapstraction/MapstractionPlugin.php +++ b/plugins/Mapstraction/MapstractionPlugin.php @@ -67,10 +67,10 @@ class MapstractionPlugin extends Plugin { $m->connect(':nickname/all/map', array('action' => 'allmap'), - array('nickname' => '['.NICKNAME_FMT.']{1,64}')); + array('nickname' => Nickname::DISPLAY_FMT)); $m->connect(':nickname/map', array('action' => 'usermap'), - array('nickname' => '['.NICKNAME_FMT.']{1,64}')); + array('nickname' => Nickname::DISPLAY_FMT)); return true; } diff --git a/plugins/Mapstraction/allmap.php b/plugins/Mapstraction/allmap.php index 6e2e1d122..62d8d0445 100644 --- a/plugins/Mapstraction/allmap.php +++ b/plugins/Mapstraction/allmap.php @@ -61,12 +61,7 @@ class AllmapAction extends MapAction function title() { - if (!empty($this->profile->fullname)) { - // @todo FIXME: Bad i18n. Should be "%1$s (%2$s)". - $base = $this->profile->fullname . ' (' . $this->user->nickname . ') '; - } else { - $base = $this->user->nickname; - } + $base = $this->profile->getFancyName(); if ($this->page == 1) { // TRANS: Page title. diff --git a/plugins/Mapstraction/locale/Mapstraction.pot b/plugins/Mapstraction/locale/Mapstraction.pot index 292a541c0..ba15f7044 100644 --- a/plugins/Mapstraction/locale/Mapstraction.pot +++ b/plugins/Mapstraction/locale/Mapstraction.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2010-10-27 23:43+0000\n" +"POT-Creation-Date: 2010-11-29 15:37+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" @@ -16,16 +16,16 @@ msgstr "" "Content-Type: text/plain; charset=CHARSET\n" "Content-Transfer-Encoding: 8bit\n" -#: MapstractionPlugin.php:178 +#: MapstractionPlugin.php:179 msgid "Map" msgstr "" #. TRANS: Clickable item to allow opening the map in full size. -#: MapstractionPlugin.php:190 +#: MapstractionPlugin.php:191 msgid "Full size" msgstr "" -#: MapstractionPlugin.php:202 +#: MapstractionPlugin.php:203 msgid "" "Show maps of users' and friends' notices with <a href=\"http://www." "mapstraction.com/\">Mapstraction</a>." @@ -41,19 +41,19 @@ msgstr "" #. TRANS: Page title. #. TRANS: %s is a user nickname. -#: allmap.php:74 +#: allmap.php:69 #, php-format msgid "%s friends map" msgstr "" #. TRANS: Page title. #. TRANS: %1$s is a user nickname, %2$d is a page number. -#: allmap.php:80 +#: allmap.php:75 #, php-format msgid "%1$s friends map, page %2$d" msgstr "" -#: usermap.php:73 +#: usermap.php:68 #, php-format msgid "%s map, page %d" msgstr "" diff --git a/plugins/Mapstraction/locale/br/LC_MESSAGES/Mapstraction.po b/plugins/Mapstraction/locale/br/LC_MESSAGES/Mapstraction.po index 6552915b9..64150e661 100644 --- a/plugins/Mapstraction/locale/br/LC_MESSAGES/Mapstraction.po +++ b/plugins/Mapstraction/locale/br/LC_MESSAGES/Mapstraction.po @@ -9,28 +9,28 @@ msgid "" msgstr "" "Project-Id-Version: StatusNet - Mapstraction\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2010-10-27 23:43+0000\n" -"PO-Revision-Date: 2010-10-27 23:46:46+0000\n" +"POT-Creation-Date: 2010-11-29 15:37+0000\n" +"PO-Revision-Date: 2010-11-29 15:41:25+0000\n" "Language-Team: Breton <http://translatewiki.net/wiki/Portal:br>\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-POT-Import-Date: 2010-10-18 20:29:55+0000\n" -"X-Generator: MediaWiki 1.17alpha (r75590); Translate extension (2010-09-17)\n" +"X-POT-Import-Date: 2010-11-05 00:30:14+0000\n" +"X-Generator: MediaWiki 1.17alpha (r77421); Translate extension (2010-09-17)\n" "X-Translation-Project: translatewiki.net at http://translatewiki.net\n" "X-Language-Code: br\n" "X-Message-Group: #out-statusnet-plugin-mapstraction\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n" -#: MapstractionPlugin.php:178 +#: MapstractionPlugin.php:179 msgid "Map" msgstr "Kartenn" #. TRANS: Clickable item to allow opening the map in full size. -#: MapstractionPlugin.php:190 +#: MapstractionPlugin.php:191 msgid "Full size" msgstr "" -#: MapstractionPlugin.php:202 +#: MapstractionPlugin.php:203 msgid "" "Show maps of users' and friends' notices with <a href=\"http://www." "mapstraction.com/\">Mapstraction</a>." @@ -46,19 +46,19 @@ msgstr "An implijer-mañ n'eus profil ebet dezhañ." #. TRANS: Page title. #. TRANS: %s is a user nickname. -#: allmap.php:74 +#: allmap.php:69 #, php-format msgid "%s friends map" msgstr "Kartenn mignoned %s" #. TRANS: Page title. #. TRANS: %1$s is a user nickname, %2$d is a page number. -#: allmap.php:80 +#: allmap.php:75 #, fuzzy, php-format msgid "%1$s friends map, page %2$d" msgstr "%s gartenn, pajenn %d" -#: usermap.php:73 +#: usermap.php:68 #, php-format msgid "%s map, page %d" msgstr "%s gartenn, pajenn %d" diff --git a/plugins/Mapstraction/locale/de/LC_MESSAGES/Mapstraction.po b/plugins/Mapstraction/locale/de/LC_MESSAGES/Mapstraction.po index 0299a5d15..d5d69e6df 100644 --- a/plugins/Mapstraction/locale/de/LC_MESSAGES/Mapstraction.po +++ b/plugins/Mapstraction/locale/de/LC_MESSAGES/Mapstraction.po @@ -10,28 +10,28 @@ msgid "" msgstr "" "Project-Id-Version: StatusNet - Mapstraction\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2010-10-27 23:43+0000\n" -"PO-Revision-Date: 2010-10-27 23:46:46+0000\n" +"POT-Creation-Date: 2010-11-29 15:37+0000\n" +"PO-Revision-Date: 2010-11-29 15:41:25+0000\n" "Language-Team: German <http://translatewiki.net/wiki/Portal:de>\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-POT-Import-Date: 2010-10-18 20:29:55+0000\n" -"X-Generator: MediaWiki 1.17alpha (r75590); Translate extension (2010-09-17)\n" +"X-POT-Import-Date: 2010-11-05 00:30:14+0000\n" +"X-Generator: MediaWiki 1.17alpha (r77421); Translate extension (2010-09-17)\n" "X-Translation-Project: translatewiki.net at http://translatewiki.net\n" "X-Language-Code: de\n" "X-Message-Group: #out-statusnet-plugin-mapstraction\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -#: MapstractionPlugin.php:178 +#: MapstractionPlugin.php:179 msgid "Map" msgstr "Karte" #. TRANS: Clickable item to allow opening the map in full size. -#: MapstractionPlugin.php:190 +#: MapstractionPlugin.php:191 msgid "Full size" msgstr "in voller Größe" -#: MapstractionPlugin.php:202 +#: MapstractionPlugin.php:203 msgid "" "Show maps of users' and friends' notices with <a href=\"http://www." "mapstraction.com/\">Mapstraction</a>." @@ -49,19 +49,19 @@ msgstr "Benutzer hat kein Profil." #. TRANS: Page title. #. TRANS: %s is a user nickname. -#: allmap.php:74 +#: allmap.php:69 #, php-format msgid "%s friends map" msgstr "Karte der Freunde von %s" #. TRANS: Page title. #. TRANS: %1$s is a user nickname, %2$d is a page number. -#: allmap.php:80 +#: allmap.php:75 #, php-format msgid "%1$s friends map, page %2$d" msgstr "Karte der Freunde von %1$s, Seite %2$d" -#: usermap.php:73 +#: usermap.php:68 #, php-format msgid "%s map, page %d" msgstr "%s-Karte, Seite %d" diff --git a/plugins/Mapstraction/locale/es/LC_MESSAGES/Mapstraction.po b/plugins/Mapstraction/locale/es/LC_MESSAGES/Mapstraction.po new file mode 100644 index 000000000..3b1ab9e91 --- /dev/null +++ b/plugins/Mapstraction/locale/es/LC_MESSAGES/Mapstraction.po @@ -0,0 +1,65 @@ +# Translation of StatusNet - Mapstraction to Spanish (Español) +# Expored from translatewiki.net +# +# Author: Locos epraix +# Author: Peter17 +# -- +# This file is distributed under the same license as the StatusNet package. +# +msgid "" +msgstr "" +"Project-Id-Version: StatusNet - Mapstraction\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2010-11-30 20:16+0000\n" +"PO-Revision-Date: 2010-11-30 20:19:18+0000\n" +"Language-Team: Spanish <http://translatewiki.net/wiki/Portal:es>\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-POT-Import-Date: 2010-11-29 19:44:16+0000\n" +"X-Generator: MediaWiki 1.17alpha (r77503); Translate extension (2010-09-17)\n" +"X-Translation-Project: translatewiki.net at http://translatewiki.net\n" +"X-Language-Code: es\n" +"X-Message-Group: #out-statusnet-plugin-mapstraction\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#: MapstractionPlugin.php:179 +msgid "Map" +msgstr "Mapa" + +#. TRANS: Clickable item to allow opening the map in full size. +#: MapstractionPlugin.php:191 +msgid "Full size" +msgstr "" + +#: MapstractionPlugin.php:203 +msgid "" +"Show maps of users' and friends' notices with <a href=\"http://www." +"mapstraction.com/\">Mapstraction</a>." +msgstr "" + +#: map.php:72 +msgid "No such user." +msgstr "" + +#: map.php:79 +msgid "User has no profile." +msgstr "Usuario no tiene perfil." + +#. TRANS: Page title. +#. TRANS: %s is a user nickname. +#: allmap.php:69 +#, php-format +msgid "%s friends map" +msgstr "" + +#. TRANS: Page title. +#. TRANS: %1$s is a user nickname, %2$d is a page number. +#: allmap.php:75 +#, php-format +msgid "%1$s friends map, page %2$d" +msgstr "" + +#: usermap.php:68 +#, php-format +msgid "%s map, page %d" +msgstr "" diff --git a/plugins/Mapstraction/locale/fi/LC_MESSAGES/Mapstraction.po b/plugins/Mapstraction/locale/fi/LC_MESSAGES/Mapstraction.po index 8e6007152..f7edafd26 100644 --- a/plugins/Mapstraction/locale/fi/LC_MESSAGES/Mapstraction.po +++ b/plugins/Mapstraction/locale/fi/LC_MESSAGES/Mapstraction.po @@ -9,28 +9,28 @@ msgid "" msgstr "" "Project-Id-Version: StatusNet - Mapstraction\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2010-10-27 23:43+0000\n" -"PO-Revision-Date: 2010-10-27 23:46:47+0000\n" +"POT-Creation-Date: 2010-11-29 15:37+0000\n" +"PO-Revision-Date: 2010-11-29 15:41:25+0000\n" "Language-Team: Finnish <http://translatewiki.net/wiki/Portal:fi>\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-POT-Import-Date: 2010-10-18 20:29:55+0000\n" -"X-Generator: MediaWiki 1.17alpha (r75590); Translate extension (2010-09-17)\n" +"X-POT-Import-Date: 2010-11-05 00:30:14+0000\n" +"X-Generator: MediaWiki 1.17alpha (r77421); Translate extension (2010-09-17)\n" "X-Translation-Project: translatewiki.net at http://translatewiki.net\n" "X-Language-Code: fi\n" "X-Message-Group: #out-statusnet-plugin-mapstraction\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -#: MapstractionPlugin.php:178 +#: MapstractionPlugin.php:179 msgid "Map" msgstr "Kartta" #. TRANS: Clickable item to allow opening the map in full size. -#: MapstractionPlugin.php:190 +#: MapstractionPlugin.php:191 msgid "Full size" msgstr "Täysi koko" -#: MapstractionPlugin.php:202 +#: MapstractionPlugin.php:203 msgid "" "Show maps of users' and friends' notices with <a href=\"http://www." "mapstraction.com/\">Mapstraction</a>." @@ -46,19 +46,19 @@ msgstr "Käyttäjällä ei ole profiilia." #. TRANS: Page title. #. TRANS: %s is a user nickname. -#: allmap.php:74 +#: allmap.php:69 #, php-format msgid "%s friends map" msgstr "Kartta käyttäjän %s ystävistä" #. TRANS: Page title. #. TRANS: %1$s is a user nickname, %2$d is a page number. -#: allmap.php:80 +#: allmap.php:75 #, fuzzy, php-format msgid "%1$s friends map, page %2$d" msgstr "Kartta käyttäjän %s ystävistä" -#: usermap.php:73 +#: usermap.php:68 #, php-format msgid "%s map, page %d" msgstr "" diff --git a/plugins/Mapstraction/locale/fr/LC_MESSAGES/Mapstraction.po b/plugins/Mapstraction/locale/fr/LC_MESSAGES/Mapstraction.po index a75da34ec..29553119a 100644 --- a/plugins/Mapstraction/locale/fr/LC_MESSAGES/Mapstraction.po +++ b/plugins/Mapstraction/locale/fr/LC_MESSAGES/Mapstraction.po @@ -10,28 +10,28 @@ msgid "" msgstr "" "Project-Id-Version: StatusNet - Mapstraction\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2010-10-27 23:43+0000\n" -"PO-Revision-Date: 2010-10-27 23:46:47+0000\n" +"POT-Creation-Date: 2010-11-29 15:37+0000\n" +"PO-Revision-Date: 2010-11-29 15:41:25+0000\n" "Language-Team: French <http://translatewiki.net/wiki/Portal:fr>\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-POT-Import-Date: 2010-10-18 20:29:55+0000\n" -"X-Generator: MediaWiki 1.17alpha (r75590); Translate extension (2010-09-17)\n" +"X-POT-Import-Date: 2010-11-05 00:30:14+0000\n" +"X-Generator: MediaWiki 1.17alpha (r77421); Translate extension (2010-09-17)\n" "X-Translation-Project: translatewiki.net at http://translatewiki.net\n" "X-Language-Code: fr\n" "X-Message-Group: #out-statusnet-plugin-mapstraction\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n" -#: MapstractionPlugin.php:178 +#: MapstractionPlugin.php:179 msgid "Map" msgstr "Cartographie" #. TRANS: Clickable item to allow opening the map in full size. -#: MapstractionPlugin.php:190 +#: MapstractionPlugin.php:191 msgid "Full size" msgstr "Pleine taille" -#: MapstractionPlugin.php:202 +#: MapstractionPlugin.php:203 msgid "" "Show maps of users' and friends' notices with <a href=\"http://www." "mapstraction.com/\">Mapstraction</a>." @@ -49,19 +49,19 @@ msgstr "Aucun profil ne correspond à cet utilisateur." #. TRANS: Page title. #. TRANS: %s is a user nickname. -#: allmap.php:74 +#: allmap.php:69 #, php-format msgid "%s friends map" msgstr "Carte des amis de %s" #. TRANS: Page title. #. TRANS: %1$s is a user nickname, %2$d is a page number. -#: allmap.php:80 +#: allmap.php:75 #, php-format msgid "%1$s friends map, page %2$d" msgstr "Carte des amis de %1$s, page %2$d" -#: usermap.php:73 +#: usermap.php:68 #, php-format msgid "%s map, page %d" msgstr "Carte %s, page %d" diff --git a/plugins/Mapstraction/locale/gl/LC_MESSAGES/Mapstraction.po b/plugins/Mapstraction/locale/gl/LC_MESSAGES/Mapstraction.po index 5df0d1404..5cbed8711 100644 --- a/plugins/Mapstraction/locale/gl/LC_MESSAGES/Mapstraction.po +++ b/plugins/Mapstraction/locale/gl/LC_MESSAGES/Mapstraction.po @@ -9,28 +9,28 @@ msgid "" msgstr "" "Project-Id-Version: StatusNet - Mapstraction\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2010-10-27 23:43+0000\n" -"PO-Revision-Date: 2010-10-27 23:46:47+0000\n" +"POT-Creation-Date: 2010-11-29 15:37+0000\n" +"PO-Revision-Date: 2010-11-29 15:41:25+0000\n" "Language-Team: Galician <http://translatewiki.net/wiki/Portal:gl>\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-POT-Import-Date: 2010-10-18 20:29:55+0000\n" -"X-Generator: MediaWiki 1.17alpha (r75590); Translate extension (2010-09-17)\n" +"X-POT-Import-Date: 2010-11-05 00:30:14+0000\n" +"X-Generator: MediaWiki 1.17alpha (r77421); Translate extension (2010-09-17)\n" "X-Translation-Project: translatewiki.net at http://translatewiki.net\n" "X-Language-Code: gl\n" "X-Message-Group: #out-statusnet-plugin-mapstraction\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -#: MapstractionPlugin.php:178 +#: MapstractionPlugin.php:179 msgid "Map" msgstr "Mapa" #. TRANS: Clickable item to allow opening the map in full size. -#: MapstractionPlugin.php:190 +#: MapstractionPlugin.php:191 msgid "Full size" msgstr "Tamaño completo" -#: MapstractionPlugin.php:202 +#: MapstractionPlugin.php:203 msgid "" "Show maps of users' and friends' notices with <a href=\"http://www." "mapstraction.com/\">Mapstraction</a>." @@ -46,19 +46,19 @@ msgstr "O usuario non ten perfil." #. TRANS: Page title. #. TRANS: %s is a user nickname. -#: allmap.php:74 +#: allmap.php:69 #, php-format msgid "%s friends map" msgstr "" #. TRANS: Page title. #. TRANS: %1$s is a user nickname, %2$d is a page number. -#: allmap.php:80 +#: allmap.php:75 #, php-format msgid "%1$s friends map, page %2$d" msgstr "" -#: usermap.php:73 +#: usermap.php:68 #, php-format msgid "%s map, page %d" msgstr "" diff --git a/plugins/Mapstraction/locale/ia/LC_MESSAGES/Mapstraction.po b/plugins/Mapstraction/locale/ia/LC_MESSAGES/Mapstraction.po index 72249a654..4f0b76a3d 100644 --- a/plugins/Mapstraction/locale/ia/LC_MESSAGES/Mapstraction.po +++ b/plugins/Mapstraction/locale/ia/LC_MESSAGES/Mapstraction.po @@ -9,28 +9,28 @@ msgid "" msgstr "" "Project-Id-Version: StatusNet - Mapstraction\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2010-10-27 23:43+0000\n" -"PO-Revision-Date: 2010-10-27 23:46:47+0000\n" +"POT-Creation-Date: 2010-11-29 15:37+0000\n" +"PO-Revision-Date: 2010-11-29 15:41:25+0000\n" "Language-Team: Interlingua <http://translatewiki.net/wiki/Portal:ia>\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-POT-Import-Date: 2010-10-18 20:29:55+0000\n" -"X-Generator: MediaWiki 1.17alpha (r75590); Translate extension (2010-09-17)\n" +"X-POT-Import-Date: 2010-11-05 00:30:14+0000\n" +"X-Generator: MediaWiki 1.17alpha (r77421); Translate extension (2010-09-17)\n" "X-Translation-Project: translatewiki.net at http://translatewiki.net\n" "X-Language-Code: ia\n" "X-Message-Group: #out-statusnet-plugin-mapstraction\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -#: MapstractionPlugin.php:178 +#: MapstractionPlugin.php:179 msgid "Map" msgstr "Mappa" #. TRANS: Clickable item to allow opening the map in full size. -#: MapstractionPlugin.php:190 +#: MapstractionPlugin.php:191 msgid "Full size" msgstr "Dimension complete" -#: MapstractionPlugin.php:202 +#: MapstractionPlugin.php:203 msgid "" "Show maps of users' and friends' notices with <a href=\"http://www." "mapstraction.com/\">Mapstraction</a>." @@ -48,19 +48,19 @@ msgstr "Le usator non ha un profilo." #. TRANS: Page title. #. TRANS: %s is a user nickname. -#: allmap.php:74 +#: allmap.php:69 #, php-format msgid "%s friends map" msgstr "Mappa del amicos de %s" #. TRANS: Page title. #. TRANS: %1$s is a user nickname, %2$d is a page number. -#: allmap.php:80 +#: allmap.php:75 #, php-format msgid "%1$s friends map, page %2$d" msgstr "Mappa de amicos de %1$s, pagina %2$d" -#: usermap.php:73 +#: usermap.php:68 #, php-format msgid "%s map, page %d" msgstr "Mappa de %s, pagina %d" diff --git a/plugins/Mapstraction/locale/mk/LC_MESSAGES/Mapstraction.po b/plugins/Mapstraction/locale/mk/LC_MESSAGES/Mapstraction.po index cf7be70ab..7b5e5d61d 100644 --- a/plugins/Mapstraction/locale/mk/LC_MESSAGES/Mapstraction.po +++ b/plugins/Mapstraction/locale/mk/LC_MESSAGES/Mapstraction.po @@ -9,28 +9,28 @@ msgid "" msgstr "" "Project-Id-Version: StatusNet - Mapstraction\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2010-10-27 23:43+0000\n" -"PO-Revision-Date: 2010-10-27 23:46:47+0000\n" +"POT-Creation-Date: 2010-11-29 15:37+0000\n" +"PO-Revision-Date: 2010-11-29 15:41:25+0000\n" "Language-Team: Macedonian <http://translatewiki.net/wiki/Portal:mk>\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-POT-Import-Date: 2010-10-18 20:29:55+0000\n" -"X-Generator: MediaWiki 1.17alpha (r75590); Translate extension (2010-09-17)\n" +"X-POT-Import-Date: 2010-11-05 00:30:14+0000\n" +"X-Generator: MediaWiki 1.17alpha (r77421); Translate extension (2010-09-17)\n" "X-Translation-Project: translatewiki.net at http://translatewiki.net\n" "X-Language-Code: mk\n" "X-Message-Group: #out-statusnet-plugin-mapstraction\n" "Plural-Forms: nplurals=2; plural=(n == 1 || n%10 == 1) ? 0 : 1;\n" -#: MapstractionPlugin.php:178 +#: MapstractionPlugin.php:179 msgid "Map" msgstr "Карта" #. TRANS: Clickable item to allow opening the map in full size. -#: MapstractionPlugin.php:190 +#: MapstractionPlugin.php:191 msgid "Full size" msgstr "Полна големина" -#: MapstractionPlugin.php:202 +#: MapstractionPlugin.php:203 msgid "" "Show maps of users' and friends' notices with <a href=\"http://www." "mapstraction.com/\">Mapstraction</a>." @@ -48,19 +48,19 @@ msgstr "Корисникот нема профил." #. TRANS: Page title. #. TRANS: %s is a user nickname. -#: allmap.php:74 +#: allmap.php:69 #, php-format msgid "%s friends map" msgstr "Карта на пријатели на %s" #. TRANS: Page title. #. TRANS: %1$s is a user nickname, %2$d is a page number. -#: allmap.php:80 +#: allmap.php:75 #, php-format msgid "%1$s friends map, page %2$d" msgstr "Карта на пријатели на %1$s, страница %2$d" -#: usermap.php:73 +#: usermap.php:68 #, php-format msgid "%s map, page %d" msgstr "Карта на %s, стр. %d" diff --git a/plugins/Mapstraction/locale/nb/LC_MESSAGES/Mapstraction.po b/plugins/Mapstraction/locale/nb/LC_MESSAGES/Mapstraction.po index b478de888..aac4b3087 100644 --- a/plugins/Mapstraction/locale/nb/LC_MESSAGES/Mapstraction.po +++ b/plugins/Mapstraction/locale/nb/LC_MESSAGES/Mapstraction.po @@ -9,28 +9,28 @@ msgid "" msgstr "" "Project-Id-Version: StatusNet - Mapstraction\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2010-10-27 23:43+0000\n" -"PO-Revision-Date: 2010-10-27 23:46:47+0000\n" +"POT-Creation-Date: 2010-11-29 15:37+0000\n" +"PO-Revision-Date: 2010-11-29 15:41:25+0000\n" "Language-Team: Norwegian (bokmål) <http://translatewiki.net/wiki/Portal:no>\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-POT-Import-Date: 2010-10-18 20:29:55+0000\n" -"X-Generator: MediaWiki 1.17alpha (r75590); Translate extension (2010-09-17)\n" +"X-POT-Import-Date: 2010-11-05 00:30:14+0000\n" +"X-Generator: MediaWiki 1.17alpha (r77421); Translate extension (2010-09-17)\n" "X-Translation-Project: translatewiki.net at http://translatewiki.net\n" "X-Language-Code: no\n" "X-Message-Group: #out-statusnet-plugin-mapstraction\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -#: MapstractionPlugin.php:178 +#: MapstractionPlugin.php:179 msgid "Map" msgstr "Kart" #. TRANS: Clickable item to allow opening the map in full size. -#: MapstractionPlugin.php:190 +#: MapstractionPlugin.php:191 msgid "Full size" msgstr "Full størrelse" -#: MapstractionPlugin.php:202 +#: MapstractionPlugin.php:203 msgid "" "Show maps of users' and friends' notices with <a href=\"http://www." "mapstraction.com/\">Mapstraction</a>." @@ -48,19 +48,19 @@ msgstr "Bruker har ingen profil." #. TRANS: Page title. #. TRANS: %s is a user nickname. -#: allmap.php:74 +#: allmap.php:69 #, php-format msgid "%s friends map" msgstr "%s vennekart" #. TRANS: Page title. #. TRANS: %1$s is a user nickname, %2$d is a page number. -#: allmap.php:80 +#: allmap.php:75 #, php-format msgid "%1$s friends map, page %2$d" msgstr "%1$s vennekart, side %2$d" -#: usermap.php:73 +#: usermap.php:68 #, php-format msgid "%s map, page %d" msgstr "%s kart, side %d" diff --git a/plugins/Mapstraction/locale/nl/LC_MESSAGES/Mapstraction.po b/plugins/Mapstraction/locale/nl/LC_MESSAGES/Mapstraction.po index fdc68490e..e46f581ff 100644 --- a/plugins/Mapstraction/locale/nl/LC_MESSAGES/Mapstraction.po +++ b/plugins/Mapstraction/locale/nl/LC_MESSAGES/Mapstraction.po @@ -10,28 +10,28 @@ msgid "" msgstr "" "Project-Id-Version: StatusNet - Mapstraction\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2010-10-27 23:43+0000\n" -"PO-Revision-Date: 2010-10-27 23:46:47+0000\n" +"POT-Creation-Date: 2010-11-29 15:37+0000\n" +"PO-Revision-Date: 2010-11-29 15:41:25+0000\n" "Language-Team: Dutch <http://translatewiki.net/wiki/Portal:nl>\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-POT-Import-Date: 2010-10-18 20:29:55+0000\n" -"X-Generator: MediaWiki 1.17alpha (r75590); Translate extension (2010-09-17)\n" +"X-POT-Import-Date: 2010-11-05 00:30:14+0000\n" +"X-Generator: MediaWiki 1.17alpha (r77421); Translate extension (2010-09-17)\n" "X-Translation-Project: translatewiki.net at http://translatewiki.net\n" "X-Language-Code: nl\n" "X-Message-Group: #out-statusnet-plugin-mapstraction\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -#: MapstractionPlugin.php:178 +#: MapstractionPlugin.php:179 msgid "Map" msgstr "Kaart" #. TRANS: Clickable item to allow opening the map in full size. -#: MapstractionPlugin.php:190 +#: MapstractionPlugin.php:191 msgid "Full size" msgstr "Groter" -#: MapstractionPlugin.php:202 +#: MapstractionPlugin.php:203 msgid "" "Show maps of users' and friends' notices with <a href=\"http://www." "mapstraction.com/\">Mapstraction</a>." @@ -49,19 +49,19 @@ msgstr "Deze gebruiker heeft geen profiel." #. TRANS: Page title. #. TRANS: %s is a user nickname. -#: allmap.php:74 +#: allmap.php:69 #, php-format msgid "%s friends map" msgstr "Kaart van %s en vrienden" #. TRANS: Page title. #. TRANS: %1$s is a user nickname, %2$d is a page number. -#: allmap.php:80 +#: allmap.php:75 #, php-format msgid "%1$s friends map, page %2$d" msgstr "Kaart van vrienden van %1$s, pagina %2$d" -#: usermap.php:73 +#: usermap.php:68 #, php-format msgid "%s map, page %d" msgstr "Kaart van %s, pagina %d" diff --git a/plugins/Mapstraction/locale/ru/LC_MESSAGES/Mapstraction.po b/plugins/Mapstraction/locale/ru/LC_MESSAGES/Mapstraction.po index 93ad72cc3..8fe7dc8f0 100644 --- a/plugins/Mapstraction/locale/ru/LC_MESSAGES/Mapstraction.po +++ b/plugins/Mapstraction/locale/ru/LC_MESSAGES/Mapstraction.po @@ -9,29 +9,29 @@ msgid "" msgstr "" "Project-Id-Version: StatusNet - Mapstraction\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2010-10-27 23:43+0000\n" -"PO-Revision-Date: 2010-10-27 23:46:47+0000\n" +"POT-Creation-Date: 2010-11-29 15:37+0000\n" +"PO-Revision-Date: 2010-11-29 15:41:26+0000\n" "Language-Team: Russian <http://translatewiki.net/wiki/Portal:ru>\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-POT-Import-Date: 2010-10-18 20:29:55+0000\n" -"X-Generator: MediaWiki 1.17alpha (r75590); Translate extension (2010-09-17)\n" +"X-POT-Import-Date: 2010-11-05 00:30:14+0000\n" +"X-Generator: MediaWiki 1.17alpha (r77421); Translate extension (2010-09-17)\n" "X-Translation-Project: translatewiki.net at http://translatewiki.net\n" "X-Language-Code: ru\n" "X-Message-Group: #out-statusnet-plugin-mapstraction\n" "Plural-Forms: nplurals=3; plural=(n%10 == 1 && n%100 != 11) ? 0 : ( (n%10 >= " "2 && n%10 <= 4 && (n%100 < 10 || n%100 >= 20)) ? 1 : 2 );\n" -#: MapstractionPlugin.php:178 +#: MapstractionPlugin.php:179 msgid "Map" msgstr "Карта" #. TRANS: Clickable item to allow opening the map in full size. -#: MapstractionPlugin.php:190 +#: MapstractionPlugin.php:191 msgid "Full size" msgstr "Полный размер" -#: MapstractionPlugin.php:202 +#: MapstractionPlugin.php:203 msgid "" "Show maps of users' and friends' notices with <a href=\"http://www." "mapstraction.com/\">Mapstraction</a>." @@ -47,19 +47,19 @@ msgstr "У пользователя нет профиля." #. TRANS: Page title. #. TRANS: %s is a user nickname. -#: allmap.php:74 +#: allmap.php:69 #, php-format msgid "%s friends map" msgstr "Карта друзей: %s" #. TRANS: Page title. #. TRANS: %1$s is a user nickname, %2$d is a page number. -#: allmap.php:80 +#: allmap.php:75 #, fuzzy, php-format msgid "%1$s friends map, page %2$d" msgstr "Карта друзей: %s" -#: usermap.php:73 +#: usermap.php:68 #, php-format msgid "%s map, page %d" msgstr "" diff --git a/plugins/Mapstraction/locale/ta/LC_MESSAGES/Mapstraction.po b/plugins/Mapstraction/locale/ta/LC_MESSAGES/Mapstraction.po index 301117348..b6b98ad46 100644 --- a/plugins/Mapstraction/locale/ta/LC_MESSAGES/Mapstraction.po +++ b/plugins/Mapstraction/locale/ta/LC_MESSAGES/Mapstraction.po @@ -9,28 +9,28 @@ msgid "" msgstr "" "Project-Id-Version: StatusNet - Mapstraction\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2010-10-27 23:43+0000\n" -"PO-Revision-Date: 2010-10-27 23:46:47+0000\n" +"POT-Creation-Date: 2010-11-29 15:37+0000\n" +"PO-Revision-Date: 2010-11-29 15:41:26+0000\n" "Language-Team: Tamil <http://translatewiki.net/wiki/Portal:ta>\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-POT-Import-Date: 2010-10-18 20:29:55+0000\n" -"X-Generator: MediaWiki 1.17alpha (r75590); Translate extension (2010-09-17)\n" +"X-POT-Import-Date: 2010-11-05 00:30:14+0000\n" +"X-Generator: MediaWiki 1.17alpha (r77421); Translate extension (2010-09-17)\n" "X-Translation-Project: translatewiki.net at http://translatewiki.net\n" "X-Language-Code: ta\n" "X-Message-Group: #out-statusnet-plugin-mapstraction\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -#: MapstractionPlugin.php:178 +#: MapstractionPlugin.php:179 msgid "Map" msgstr "வரைபடம்" #. TRANS: Clickable item to allow opening the map in full size. -#: MapstractionPlugin.php:190 +#: MapstractionPlugin.php:191 msgid "Full size" msgstr "முழு அளவு" -#: MapstractionPlugin.php:202 +#: MapstractionPlugin.php:203 msgid "" "Show maps of users' and friends' notices with <a href=\"http://www." "mapstraction.com/\">Mapstraction</a>." @@ -46,19 +46,19 @@ msgstr "" #. TRANS: Page title. #. TRANS: %s is a user nickname. -#: allmap.php:74 +#: allmap.php:69 #, php-format msgid "%s friends map" msgstr "" #. TRANS: Page title. #. TRANS: %1$s is a user nickname, %2$d is a page number. -#: allmap.php:80 +#: allmap.php:75 #, php-format msgid "%1$s friends map, page %2$d" msgstr "" -#: usermap.php:73 +#: usermap.php:68 #, php-format msgid "%s map, page %d" msgstr "" diff --git a/plugins/Mapstraction/locale/te/LC_MESSAGES/Mapstraction.po b/plugins/Mapstraction/locale/te/LC_MESSAGES/Mapstraction.po new file mode 100644 index 000000000..e9e6b6313 --- /dev/null +++ b/plugins/Mapstraction/locale/te/LC_MESSAGES/Mapstraction.po @@ -0,0 +1,64 @@ +# Translation of StatusNet - Mapstraction to Telugu (తెలుగు) +# Expored from translatewiki.net +# +# Author: Veeven +# -- +# This file is distributed under the same license as the StatusNet package. +# +msgid "" +msgstr "" +"Project-Id-Version: StatusNet - Mapstraction\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2010-11-30 20:16+0000\n" +"PO-Revision-Date: 2010-11-30 20:19:19+0000\n" +"Language-Team: Telugu <http://translatewiki.net/wiki/Portal:te>\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-POT-Import-Date: 2010-11-29 19:44:16+0000\n" +"X-Generator: MediaWiki 1.17alpha (r77503); Translate extension (2010-09-17)\n" +"X-Translation-Project: translatewiki.net at http://translatewiki.net\n" +"X-Language-Code: te\n" +"X-Message-Group: #out-statusnet-plugin-mapstraction\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#: MapstractionPlugin.php:179 +msgid "Map" +msgstr "పటం" + +#. TRANS: Clickable item to allow opening the map in full size. +#: MapstractionPlugin.php:191 +msgid "Full size" +msgstr "పూర్తి పరిమాణం" + +#: MapstractionPlugin.php:203 +msgid "" +"Show maps of users' and friends' notices with <a href=\"http://www." +"mapstraction.com/\">Mapstraction</a>." +msgstr "" + +#: map.php:72 +msgid "No such user." +msgstr "" + +#: map.php:79 +msgid "User has no profile." +msgstr "" + +#. TRANS: Page title. +#. TRANS: %s is a user nickname. +#: allmap.php:69 +#, php-format +msgid "%s friends map" +msgstr "" + +#. TRANS: Page title. +#. TRANS: %1$s is a user nickname, %2$d is a page number. +#: allmap.php:75 +#, php-format +msgid "%1$s friends map, page %2$d" +msgstr "" + +#: usermap.php:68 +#, php-format +msgid "%s map, page %d" +msgstr "" diff --git a/plugins/Mapstraction/locale/tl/LC_MESSAGES/Mapstraction.po b/plugins/Mapstraction/locale/tl/LC_MESSAGES/Mapstraction.po index 49d27836b..c1977a7d5 100644 --- a/plugins/Mapstraction/locale/tl/LC_MESSAGES/Mapstraction.po +++ b/plugins/Mapstraction/locale/tl/LC_MESSAGES/Mapstraction.po @@ -9,28 +9,28 @@ msgid "" msgstr "" "Project-Id-Version: StatusNet - Mapstraction\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2010-10-27 23:43+0000\n" -"PO-Revision-Date: 2010-10-27 23:46:47+0000\n" +"POT-Creation-Date: 2010-11-29 15:37+0000\n" +"PO-Revision-Date: 2010-11-29 15:41:26+0000\n" "Language-Team: Tagalog <http://translatewiki.net/wiki/Portal:tl>\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-POT-Import-Date: 2010-10-18 20:29:55+0000\n" -"X-Generator: MediaWiki 1.17alpha (r75590); Translate extension (2010-09-17)\n" +"X-POT-Import-Date: 2010-11-05 00:30:14+0000\n" +"X-Generator: MediaWiki 1.17alpha (r77421); Translate extension (2010-09-17)\n" "X-Translation-Project: translatewiki.net at http://translatewiki.net\n" "X-Language-Code: tl\n" "X-Message-Group: #out-statusnet-plugin-mapstraction\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -#: MapstractionPlugin.php:178 +#: MapstractionPlugin.php:179 msgid "Map" msgstr "Mapa" #. TRANS: Clickable item to allow opening the map in full size. -#: MapstractionPlugin.php:190 +#: MapstractionPlugin.php:191 msgid "Full size" msgstr "Buong sukat" -#: MapstractionPlugin.php:202 +#: MapstractionPlugin.php:203 msgid "" "Show maps of users' and friends' notices with <a href=\"http://www." "mapstraction.com/\">Mapstraction</a>." @@ -48,19 +48,19 @@ msgstr "Walang balangkas ang tagagamit." #. TRANS: Page title. #. TRANS: %s is a user nickname. -#: allmap.php:74 +#: allmap.php:69 #, php-format msgid "%s friends map" msgstr "%s na mapa ng mga kaibigan" #. TRANS: Page title. #. TRANS: %1$s is a user nickname, %2$d is a page number. -#: allmap.php:80 +#: allmap.php:75 #, php-format msgid "%1$s friends map, page %2$d" msgstr " %1$s mapa ng mga kaibigan, pahina %2$d" -#: usermap.php:73 +#: usermap.php:68 #, php-format msgid "%s map, page %d" msgstr "%s na mapa, pahina %d" diff --git a/plugins/Mapstraction/locale/uk/LC_MESSAGES/Mapstraction.po b/plugins/Mapstraction/locale/uk/LC_MESSAGES/Mapstraction.po index 9a43d791e..4e8bcd463 100644 --- a/plugins/Mapstraction/locale/uk/LC_MESSAGES/Mapstraction.po +++ b/plugins/Mapstraction/locale/uk/LC_MESSAGES/Mapstraction.po @@ -9,29 +9,29 @@ msgid "" msgstr "" "Project-Id-Version: StatusNet - Mapstraction\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2010-10-27 23:43+0000\n" -"PO-Revision-Date: 2010-10-27 23:46:47+0000\n" +"POT-Creation-Date: 2010-11-29 15:37+0000\n" +"PO-Revision-Date: 2010-11-29 15:41:26+0000\n" "Language-Team: Ukrainian <http://translatewiki.net/wiki/Portal:uk>\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-POT-Import-Date: 2010-10-18 20:29:55+0000\n" -"X-Generator: MediaWiki 1.17alpha (r75590); Translate extension (2010-09-17)\n" +"X-POT-Import-Date: 2010-11-05 00:30:14+0000\n" +"X-Generator: MediaWiki 1.17alpha (r77421); Translate extension (2010-09-17)\n" "X-Translation-Project: translatewiki.net at http://translatewiki.net\n" "X-Language-Code: uk\n" "X-Message-Group: #out-statusnet-plugin-mapstraction\n" "Plural-Forms: nplurals=3; plural=(n%10 == 1 && n%100 != 11) ? 0 : ( (n%10 >= " "2 && n%10 <= 4 && (n%100 < 10 || n%100 >= 20)) ? 1 : 2 );\n" -#: MapstractionPlugin.php:178 +#: MapstractionPlugin.php:179 msgid "Map" msgstr "Мапа" #. TRANS: Clickable item to allow opening the map in full size. -#: MapstractionPlugin.php:190 +#: MapstractionPlugin.php:191 msgid "Full size" msgstr "Повний розмір" -#: MapstractionPlugin.php:202 +#: MapstractionPlugin.php:203 msgid "" "Show maps of users' and friends' notices with <a href=\"http://www." "mapstraction.com/\">Mapstraction</a>." @@ -49,19 +49,19 @@ msgstr "Користувач не має профілю." #. TRANS: Page title. #. TRANS: %s is a user nickname. -#: allmap.php:74 +#: allmap.php:69 #, php-format msgid "%s friends map" msgstr "Мапа друзів %s." #. TRANS: Page title. #. TRANS: %1$s is a user nickname, %2$d is a page number. -#: allmap.php:80 +#: allmap.php:75 #, php-format msgid "%1$s friends map, page %2$d" msgstr "Мапа друзів %1$s, сторінка %2$d" -#: usermap.php:73 +#: usermap.php:68 #, php-format msgid "%s map, page %d" msgstr "Мапа друзів %s, сторінка %d" diff --git a/plugins/Mapstraction/locale/zh_CN/LC_MESSAGES/Mapstraction.po b/plugins/Mapstraction/locale/zh_CN/LC_MESSAGES/Mapstraction.po index 47f07d159..e9c2fba78 100644 --- a/plugins/Mapstraction/locale/zh_CN/LC_MESSAGES/Mapstraction.po +++ b/plugins/Mapstraction/locale/zh_CN/LC_MESSAGES/Mapstraction.po @@ -9,29 +9,29 @@ msgid "" msgstr "" "Project-Id-Version: StatusNet - Mapstraction\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2010-10-27 23:43+0000\n" -"PO-Revision-Date: 2010-10-27 23:46:47+0000\n" +"POT-Creation-Date: 2010-11-29 15:37+0000\n" +"PO-Revision-Date: 2010-11-29 15:41:26+0000\n" "Language-Team: Simplified Chinese <http://translatewiki.net/wiki/Portal:zh-" "hans>\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-POT-Import-Date: 2010-10-18 20:29:55+0000\n" -"X-Generator: MediaWiki 1.17alpha (r75590); Translate extension (2010-09-17)\n" +"X-POT-Import-Date: 2010-11-05 00:30:14+0000\n" +"X-Generator: MediaWiki 1.17alpha (r77421); Translate extension (2010-09-17)\n" "X-Translation-Project: translatewiki.net at http://translatewiki.net\n" "X-Language-Code: zh-hans\n" "X-Message-Group: #out-statusnet-plugin-mapstraction\n" "Plural-Forms: nplurals=1; plural=0;\n" -#: MapstractionPlugin.php:178 +#: MapstractionPlugin.php:179 msgid "Map" msgstr "地图" #. TRANS: Clickable item to allow opening the map in full size. -#: MapstractionPlugin.php:190 +#: MapstractionPlugin.php:191 msgid "Full size" msgstr "完整尺寸" -#: MapstractionPlugin.php:202 +#: MapstractionPlugin.php:203 msgid "" "Show maps of users' and friends' notices with <a href=\"http://www." "mapstraction.com/\">Mapstraction</a>." @@ -49,19 +49,19 @@ msgstr "用户没有个人信息。" #. TRANS: Page title. #. TRANS: %s is a user nickname. -#: allmap.php:74 +#: allmap.php:69 #, php-format msgid "%s friends map" msgstr "%s 好友地图" #. TRANS: Page title. #. TRANS: %1$s is a user nickname, %2$d is a page number. -#: allmap.php:80 +#: allmap.php:75 #, php-format msgid "%1$s friends map, page %2$d" msgstr "%1$s 好友地图,第 %2$d 页。" -#: usermap.php:73 +#: usermap.php:68 #, php-format msgid "%s map, page %d" msgstr "%s 地图,第 %d 页" diff --git a/plugins/Mapstraction/map.php b/plugins/Mapstraction/map.php index 50ff82b67..dbba4edd0 100644 --- a/plugins/Mapstraction/map.php +++ b/plugins/Mapstraction/map.php @@ -53,7 +53,7 @@ class MapAction extends OwnerDesignAction parent::prepare($args); $nickname_arg = $this->arg('nickname'); - $nickname = common_canonical_nickname($nickname_arg); + $nickname = Nickname::normalize($nickname_arg); // Permanent redirect on non-canonical nickname diff --git a/plugins/Mapstraction/usermap.php b/plugins/Mapstraction/usermap.php index 0ee956159..54412146e 100644 --- a/plugins/Mapstraction/usermap.php +++ b/plugins/Mapstraction/usermap.php @@ -58,12 +58,7 @@ class UsermapAction extends MapAction function title() { - if (!empty($this->profile->fullname)) { - // @todo FIXME: Bad i18n. Should be '%1$s (%2$s)' - $base = $this->profile->fullname . ' (' . $this->user->nickname . ')'; - } else { - $base = $this->user->nickname; - } + $base = $this->profile->getFancyName(); if ($this->page == 1) { // @todo CHECKME: inconsisten with paged variant below. " map" missing. |