From 057110e08b79dec0db7d419fa1a0471a5fdc4eb0 Mon Sep 17 00:00:00 2001 From: Fabrixxm <fabrix.xm@gmail.com> Date: Wed, 27 Feb 2013 09:36:25 -0500 Subject: [PATCH] update strings, add plural select function definition check --- view/ca/strings.php | 3 ++- view/cs/strings.php | 3 ++- view/de/strings.php | 3 ++- view/eo/strings.php | 3 ++- view/es/strings.php | 3 ++- view/fr/strings.php | 3 ++- view/is/strings.php | 3 ++- view/it/strings.php | 3 ++- view/nb-no/strings.php | 3 ++- view/pl/strings.php | 3 ++- view/pt-br/strings.php | 3 ++- view/ru/strings.php | 3 ++- view/zh-cn/strings.php | 5 +++-- 13 files changed, 27 insertions(+), 14 deletions(-) diff --git a/view/ca/strings.php b/view/ca/strings.php index f1da4762e2..31e3e7e223 100644 --- a/view/ca/strings.php +++ b/view/ca/strings.php @@ -1,8 +1,9 @@ <?php +if(! function_exists("string_plural_select_ca")) { function string_plural_select_ca($n){ return ($n != 1);; -} +}} ; $a->strings["Post successful."] = "Publicat amb éxit."; $a->strings["[Embedded content - reload page to view]"] = "[Contingut embegut - recarrega la pà gina per a veure-ho]"; diff --git a/view/cs/strings.php b/view/cs/strings.php index 89d81837f0..c3ddcc6853 100644 --- a/view/cs/strings.php +++ b/view/cs/strings.php @@ -1,8 +1,9 @@ <?php +if(! function_exists("string_plural_select_cs")) { function string_plural_select_cs($n){ return ($n==1) ? 0 : ($n>=2 && $n<=4) ? 1 : 2;; -} +}} ; $a->strings["Post successful."] = "PÅÃspÄvek úspÄÅ¡nÄ odeslán"; $a->strings["[Embedded content - reload page to view]"] = "[Vložený obsah - obnovenà stránky pro zobrazenÃ]"; diff --git a/view/de/strings.php b/view/de/strings.php index 97f3252a4c..31a08fdf91 100644 --- a/view/de/strings.php +++ b/view/de/strings.php @@ -1,8 +1,9 @@ <?php +if(! function_exists("string_plural_select_de")) { function string_plural_select_de($n){ return ($n != 1);; -} +}} ; $a->strings["Altpager settings updated."] = "Altpager Einstellungen sind aktualisiert."; $a->strings["Alternate Pagination Setting"] = "Alternative Seitenumbruch Einstellung"; diff --git a/view/eo/strings.php b/view/eo/strings.php index 23dca759c8..93e6a332b6 100644 --- a/view/eo/strings.php +++ b/view/eo/strings.php @@ -1,8 +1,9 @@ <?php +if(! function_exists("string_plural_select_eo")) { function string_plural_select_eo($n){ return ($n != 1);; -} +}} ; $a->strings["Post successful."] = "Sukcese afiÅita."; $a->strings["[Embedded content - reload page to view]"] = "[Enigita enhavo - reÅargu paÄon por spekti Äin]"; diff --git a/view/es/strings.php b/view/es/strings.php index 689989b074..4c314016da 100644 --- a/view/es/strings.php +++ b/view/es/strings.php @@ -1,8 +1,9 @@ <?php +if(! function_exists("string_plural_select_es")) { function string_plural_select_es($n){ return ($n != 1);; -} +}} ; $a->strings["Post successful."] = "¡Publicado!"; $a->strings["[Embedded content - reload page to view]"] = "[Contenido incrustado - recarga la página para verlo]"; diff --git a/view/fr/strings.php b/view/fr/strings.php index 63e044849a..8a751c78b3 100644 --- a/view/fr/strings.php +++ b/view/fr/strings.php @@ -1,8 +1,9 @@ <?php +if(! function_exists("string_plural_select_fr")) { function string_plural_select_fr($n){ return ($n > 1);; -} +}} ; $a->strings["Post successful."] = "Publication réussie."; $a->strings["[Embedded content - reload page to view]"] = "[contenu incorporé - rechargez la page pour le voir]"; diff --git a/view/is/strings.php b/view/is/strings.php index b0dc1808c7..876946a7f1 100644 --- a/view/is/strings.php +++ b/view/is/strings.php @@ -1,8 +1,9 @@ <?php +if(! function_exists("string_plural_select_is")) { function string_plural_select_is($n){ return ($n != 1);; -} +}} ; $a->strings["Post successful."] = "Melding tókst."; $a->strings["[Embedded content - reload page to view]"] = "[Innfelt efni - endurhlaða sÃðu til að sjá]"; diff --git a/view/it/strings.php b/view/it/strings.php index c46047d087..d7d1ab8e40 100644 --- a/view/it/strings.php +++ b/view/it/strings.php @@ -1,8 +1,9 @@ <?php +if(! function_exists("string_plural_select_it")) { function string_plural_select_it($n){ return ($n != 1);; -} +}} ; $a->strings["Altpager settings updated."] = "Impostazioni Altpager aggiornate."; $a->strings["Alternate Pagination Setting"] = "Impostazioni Paginatore Alternativo"; diff --git a/view/nb-no/strings.php b/view/nb-no/strings.php index c2b32ec7c6..8f10fcea14 100644 --- a/view/nb-no/strings.php +++ b/view/nb-no/strings.php @@ -1,8 +1,9 @@ <?php +if(! function_exists("string_plural_select_nb_no")) { function string_plural_select_nb_no($n){ return ($n != 1);; -} +}} ; $a->strings["Post successful."] = "Innlegg vellykket."; $a->strings["[Embedded content - reload page to view]"] = "[Innebygget innhold - hent siden pÃ¥ nytt for Ã¥ se det]"; diff --git a/view/pl/strings.php b/view/pl/strings.php index b070090d5c..f30f311b0d 100644 --- a/view/pl/strings.php +++ b/view/pl/strings.php @@ -1,8 +1,9 @@ <?php +if(! function_exists("string_plural_select_pl")) { function string_plural_select_pl($n){ return ($n==1 ? 0 : $n%10>=2 && $n%10<=4 && ($n%100<10 || $n%100>=20) ? 1 : 2);; -} +}} ; $a->strings["Post successful."] = "Post dodany pomyÅlnie"; $a->strings["[Embedded content - reload page to view]"] = ""; diff --git a/view/pt-br/strings.php b/view/pt-br/strings.php index fb71c004a1..80b27a1a62 100644 --- a/view/pt-br/strings.php +++ b/view/pt-br/strings.php @@ -1,8 +1,9 @@ <?php +if(! function_exists("string_plural_select_pt_br")) { function string_plural_select_pt_br($n){ return ($n > 1);; -} +}} ; $a->strings["Post successful."] = "Publicado com sucesso."; $a->strings["[Embedded content - reload page to view]"] = "[Conteúdo incorporado - recarregue a página para ver]"; diff --git a/view/ru/strings.php b/view/ru/strings.php index 4111fa8e53..1311cb69eb 100644 --- a/view/ru/strings.php +++ b/view/ru/strings.php @@ -1,8 +1,9 @@ <?php +if(! function_exists("string_plural_select_ru")) { function string_plural_select_ru($n){ return ($n%10==1 && $n%100!=11 ? 0 : $n%10>=2 && $n%10<=4 && ($n%100<10 || $n%100>=20) ? 1 : 2);; -} +}} ; $a->strings["Post successful."] = "УÑпеÑно добавлено."; $a->strings["[Embedded content - reload page to view]"] = "[ÐÑÑÑоенное ÑодеÑжание - пеÑезагÑÑзиÑе ÑÑÑаниÑÑ Ð´Ð»Ñ Ð¿ÑоÑмоÑÑа]"; diff --git a/view/zh-cn/strings.php b/view/zh-cn/strings.php index b98b8fba39..96daa5a637 100644 --- a/view/zh-cn/strings.php +++ b/view/zh-cn/strings.php @@ -1,8 +1,9 @@ <?php +if(! function_exists("string_plural_select_zh_cn")) { function string_plural_select_zh_cn($n){ return 0;; -} +}} ; $a->strings["Post successful."] = "è¯è®ºå表äºã"; $a->strings["[Embedded content - reload page to view]"] = "[åµå ¥å 容ï¼éæ°å 载页为ç]"; @@ -1505,7 +1506,7 @@ $a->strings["Alternate Pagination Setting"] = "便¿æ¢çå页设置"; $a->strings["Use links to \"newer\" and \"older\" pages in place of page numbers?"] = "ç¨å°ãæ´æ°ãåãæ´æ§ã页代æ¿é¡µæ°ï¼"; $a->strings["Force global use of the alternate pager"] = "让大家ç¨ä¾æ¿æ¢çå页"; $a->strings["Each user chooses whether to use the alternate pager"] = "æ¯ç¨æ·éæ©æ¯å¦ç¨ä¾æ¿æ¢çå页"; -$a->strings["The MathJax addon renders mathematical formulae written using the LaTeX syntax surrounded by the usual $$ or an eqnarray block in the postings of your wall,network tab and private mail."] = "MathJaxæä»¶è¡¨ç¤ºç¨LaTeX奿³çæ°å¦å ¬å¼ï¼å´ç»\$\$æè eqnarrayå¿«ï¼å¨æ¨å¢ï¼ç½ç»å页åç§äººæ¶ä»¶ç®±çæç« ã"; +$a->strings["The MathJax addon renders mathematical formulae written using the LaTeX syntax surrounded by the usual $$ or an eqnarray block in the postings of your wall,network tab and private mail."] = "MathJaxæä»¶è¡¨ç¤ºç¨LaTeX奿³çæ°å¦å ¬å¼ï¼å´ç»$$æè eqnarrayå¿«ï¼å¨æ¨å¢ï¼ç½ç»å页åç§äººæ¶ä»¶ç®±çæç« ã"; $a->strings["Use the MathJax renderer"] = "ç¨MathJax表示å¨"; $a->strings["MathJax Base URL"] = "MathJaxåºç¡URL"; $a->strings["The URL for the javascript file that should be included to use MathJax. Can be either the MathJax CDN or another installation of MathJax."] = "URL JavaScriptæä»¶åºè¯¥å æ¬ä¸ºç¨MathJaxãå¯ä»¥MathJax CDNæè å«çMathJaxå®è£ ã"; -- 2.39.5