Changeset 3817:9cbb20f63f8b
- Timestamp:
- 08/23/18 09:36:21 (7 years ago)
- Branch:
- default
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
locales/en/plugins.po
r3784 r3817 469 469 msgstr "" 470 470 471 msgid "More information on <a href="https://en.wikipedia.org/wiki/XHTML_Friends_Network">Wikipedia</a> website" 472 msgstr "" 473 471 474 msgid "_xfn_Me" 472 475 msgstr "Me" -
locales/fr/plugins.po
r3790 r3817 476 476 msgstr "Informations XFN" 477 477 478 msgid "More information on <a href="https://en.wikipedia.org/wiki/XHTML_Friends_Network">Wikipedia</a> website" 479 msgstr "Plus d'information sur le site <a href="https://fr.wikipedia.org/wiki/XHTML_Friends_Network">Wikipedia</a>" 480 478 481 msgid "_xfn_Me" 479 msgstr " _xfn_Me"482 msgstr "Identité" 480 483 481 484 msgid "_xfn_Another link for myself" 482 msgstr " _xfn_Another link for myself"485 msgstr "Une autre de mes adresses Web" 483 486 484 487 msgid "_xfn_Friendship" 485 msgstr " _xfn_Friendship"488 msgstr "Amitié" 486 489 487 490 msgid "_xfn_Contact" 488 msgstr " _xfn_Contact"491 msgstr "Contact" 489 492 490 493 msgid "_xfn_Acquaintance" 491 msgstr " _xfn_Acquaintance"494 msgstr "Connaissance" 492 495 493 496 msgid "_xfn_Friend" 494 msgstr " _xfn_Friend"497 msgstr "Ami·e" 495 498 496 499 msgid "_xfn_Physical" 497 msgstr " _xfn_Physical"500 msgstr "Physique" 498 501 499 502 msgid "_xfn_Met" 500 msgstr " _xfn_Met"503 msgstr "Rencontré·e" 501 504 502 505 msgid "_xfn_Professional" 503 msgstr " _xfn_Professional"506 msgstr "Professionnel" 504 507 505 508 msgid "_xfn_Co-worker" 506 msgstr " _xfn_Co-worker"509 msgstr "Collègue de travail" 507 510 508 511 msgid "_xfn_Colleague" 509 msgstr " _xfn_Colleague"512 msgstr "Consœur ou Confrère" 510 513 511 514 msgid "_xfn_Geographical" 512 msgstr " _xfn_Geographical"515 msgstr "Géographique" 513 516 514 517 msgid "_xfn_Co-resident" 515 msgstr " _xfn_Co-resident"518 msgstr "Colocataire" 516 519 517 520 msgid "_xfn_Neighbor" 518 msgstr " _xfn_Neighbor"521 msgstr "Voisin" 519 522 520 523 msgid "_xfn_Family" 521 msgstr " _xfn_Family"524 msgstr "Famille" 522 525 523 526 msgid "_xfn_Child" 524 msgstr " _xfn_Child"527 msgstr "Enfant" 525 528 526 529 msgid "_xfn_Parent" 527 msgstr " _xfn_Parent"530 msgstr "Parent" 528 531 529 532 msgid "_xfn_Sibling" 530 msgstr " _xfn_Sibling"533 msgstr "Sœur/frère" 531 534 532 535 msgid "_xfn_Spouse" 533 msgstr " _xfn_Spouse"536 msgstr "Conjoint·e" 534 537 535 538 msgid "_xfn_Kin" 536 msgstr " _xfn_Kin"539 msgstr "Famille" 537 540 538 541 msgid "_xfn_Romantic" 539 msgstr " _xfn_Romantic"542 msgstr "Romantique" 540 543 541 544 msgid "_xfn_Muse" 542 msgstr " _xfn_Muse"545 msgstr "Muse" 543 546 544 547 msgid "_xfn_Crush" 545 msgstr " _xfn_Crush"548 msgstr "Coup de foudre" 546 549 547 550 msgid "_xfn_Date" 548 msgstr " _xfn_Date"551 msgstr "Petit·e ami·e" 549 552 550 553 msgid "_xfn_Sweetheart" 551 msgstr " _xfn_Sweetheart"554 msgstr "Être aimé" 552 555 553 556 msgid "Nothing to import" -
plugins/blogroll/class.dc.blogroll.php
r3731 r3817 46 46 } 47 47 48 public function getLangs($params = array()) 49 { 50 // Use post_lang as an alias of link_lang to be able to use the dcAdminCombos::getLangsCombo() function 51 $strReq = 'SELECT COUNT(link_id) as nb_link, link_lang as post_lang ' . 52 'FROM ' . $this->table . ' ' . 53 "WHERE blog_id = '" . $this->con->escape($this->blog->id) . "' " . 54 "AND link_lang <> '' " . 55 "AND link_lang IS NOT NULL "; 56 57 if (isset($params['lang'])) { 58 $strReq .= "AND link_lang = '" . $this->con->escape($params['lang']) . "' "; 59 } 60 61 $strReq .= 'GROUP BY link_lang '; 62 63 $order = 'desc'; 64 if (!empty($params['order']) && preg_match('/^(desc|asc)$/i', $params['order'])) { 65 $order = $params['order']; 66 } 67 $strReq .= 'ORDER BY link_lang ' . $order . ' '; 68 69 return $this->con->select($strReq); 70 } 71 48 72 public function getLink($id) 49 73 { -
plugins/blogroll/edit.php
r3731 r3817 84 84 } 85 85 86 # Languages combo 87 $links = $blogroll->getLangs(array('order' => 'asc')); 88 $lang_combo = dcAdminCombos::getLangsCombo($links, true); 89 86 90 ?> 87 91 <html> … … 147 151 148 152 '<p><label for="link_lang">' . __('Language:') . '</label> ' . 149 form::field('link_lang', 5, 5, html::escapeHTML($link_lang)) . '</p>' . 153 form::combo('link_lang', $lang_combo, $link_lang) . 154 '</p>' . 155 150 156 '</div>' . 151 157 … … 153 159 '<div class="col70 last-col">' . 154 160 '<h3>' . __('XFN information') . '</h3>' . 161 '<p class="clear form-note">' . __('More information on <a href="https://en.wikipedia.org/wiki/XHTML_Friends_Network">Wikipedia</a> website') . '</p>' . 162 155 163 '<div class="table-outer">' . 156 164 '<table class="noborder">' .
Note: See TracChangeset
for help on using the changeset viewer.