Fix contributor list to fit WordPress standards
This commit is contained in:
parent
a98bccdefc
commit
6309c7d0a6
|
@ -336,39 +336,25 @@ function marianne_theme_page() {
|
|||
<?php esc_html_e( 'I would like to thank the following people for their contribution:', 'marianne' ); ?>
|
||||
</p>
|
||||
|
||||
<?php
|
||||
$contributors = array(
|
||||
array(
|
||||
'name' => 'Dr. Matthias Kampmann',
|
||||
'url' => 'https://www.knotenpunkte.net/',
|
||||
'text' => '%s, whose suggestions allowed me to improve some customization features of the theme.',
|
||||
),
|
||||
array(
|
||||
'name' => 'Peter Pellenaars',
|
||||
'url' => 'https://www.peterpellenaars.nl/',
|
||||
'text' => '%s, who has been a great help in reporting bugs, improving the text strings, and for its translation into Dutch.',
|
||||
),
|
||||
);
|
||||
?>
|
||||
<ul class="marianne-admin-list">
|
||||
<li>
|
||||
<?php
|
||||
echo wp_kses(
|
||||
__( '<a href="https://www.knotenpunkte.net/" rel="external" target="_blank">Dr. Matthias Kampmann</a>, whose suggestions allowed me to improve some customization features of the theme.', 'marianne' ),
|
||||
$kses_allowed_html
|
||||
);
|
||||
?>
|
||||
</li>
|
||||
|
||||
<?php if ( $contributors ) : ?>
|
||||
<ul class="marianne-admin-list">
|
||||
<?php foreach ( $contributors as $contributor ) : ?>
|
||||
<li>
|
||||
<?php
|
||||
printf(
|
||||
wp_kses(
|
||||
/* translators: %s: The name of the contributor. */
|
||||
__( $contributor['text'], 'marianne' ),
|
||||
$kses_allowed_html
|
||||
),
|
||||
'<a href="' . esc_url( $contributor['url'] ) . '" rel="external" target="_blank">' . esc_html( $contributor['name'] ) . '</a>'
|
||||
);
|
||||
?>
|
||||
</li>
|
||||
<?php endforeach; ?>
|
||||
</ul>
|
||||
<?php endif; ?>
|
||||
<li>
|
||||
<?php
|
||||
echo wp_kses(
|
||||
__( '<a href="https://www.peterpellenaars.nl/" rel="external" target="_blank">Peter Pellenaars</a>, who has been a great help in reporting bugs, improving the text strings, and for its translation into Dutch.', 'marianne' ),
|
||||
$kses_allowed_html
|
||||
);
|
||||
?>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<footer class="marianne-admin-footer">
|
||||
|
|
Binary file not shown.
|
@ -3,7 +3,7 @@ msgstr ""
|
|||
"Project-Id-Version: Marianne\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2021-04-02 14:22+0000\n"
|
||||
"PO-Revision-Date: 2021-07-30 16:31+0000\n"
|
||||
"PO-Revision-Date: 2021-07-30 16:53+0000\n"
|
||||
"Last-Translator: Teddy\n"
|
||||
"Language-Team: French (France)\n"
|
||||
"Language: fr_FR\n"
|
||||
|
@ -12,7 +12,7 @@ msgstr ""
|
|||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Generator: Loco https://localise.biz/\n"
|
||||
"X-Loco-Version: 2.5.2; wp-5.7.2\n"
|
||||
"X-Loco-Version: 2.5.3; wp-5.8\n"
|
||||
"X-Domain: marianne"
|
||||
|
||||
#. %d: comment count number.
|
||||
|
@ -32,6 +32,28 @@ msgstr "‹ Commentaires plus récents"
|
|||
msgid "‹ Previous page"
|
||||
msgstr "‹ Page précédente"
|
||||
|
||||
#: inc/marianne-theme-page.php:343
|
||||
msgid ""
|
||||
"<a href=\"https://www.knotenpunkte.net/\" rel=\"external\" target=\"_blank\">"
|
||||
"Dr. Matthias Kampmann</a>, whose suggestions allowed me to improve some "
|
||||
"customization features of the theme."
|
||||
msgstr ""
|
||||
"<a href=\"https://www.knotenpunkte.net/\" rel=\"external\" target=\"_blank\">"
|
||||
"Dr. Matthias Kampmann</a>, dont les suggestions m’ont permis d’améliorer "
|
||||
"quelques options de personnalisation du thème."
|
||||
|
||||
#: inc/marianne-theme-page.php:352
|
||||
msgid ""
|
||||
"<a href=\"https://www.peterpellenaars.nl/\" rel=\"external\" "
|
||||
"target=\"_blank\">Peter Pellenaars</a>, who has been a great help in "
|
||||
"reporting bugs, improving the text strings, and for its translation into "
|
||||
"Dutch."
|
||||
msgstr ""
|
||||
"<a href=\"https://www.peterpellenaars.nl/\" rel=\"external\" "
|
||||
"target=\"_blank\">Peter Pellenaars</a>, qui a été d’une grande aide dans le "
|
||||
"signalement de bugs, dans l’amélioration des chaînes de texte, ainsi que "
|
||||
"dans sa traduction en néerlandais."
|
||||
|
||||
#: inc/marianne-theme-page.php:40 inc/marianne-theme-page.php:41
|
||||
#: inc/customizer.php:153
|
||||
msgid "About Marianne"
|
||||
|
@ -592,7 +614,7 @@ msgstr "Lien vers le flux RSS"
|
|||
msgid "LinkedIn"
|
||||
msgstr "LinkedIn"
|
||||
|
||||
#: inc/marianne-theme-page.php:377
|
||||
#: inc/marianne-theme-page.php:363
|
||||
msgid "Made in France"
|
||||
msgstr "Conçu en France"
|
||||
|
||||
|
@ -744,7 +766,7 @@ msgstr ""
|
|||
|
||||
#. %s: The URL of the support forum of the theme on WordPress.org
|
||||
#: inc/marianne-theme-page.php:264
|
||||
#, fuzzy, php-format
|
||||
#, php-format
|
||||
#| msgid ""
|
||||
#| "Please visit the <a href=\"%s\" rel=\"external\" target=\"_blank\">"
|
||||
#| "support forum</a> and post them."
|
||||
|
@ -752,8 +774,8 @@ msgid ""
|
|||
"Please visit the <a href=\"%s\" target=\"_blank\">support forum</a> and post "
|
||||
"them."
|
||||
msgstr ""
|
||||
"Veuillez visiter le <a href=\"%s\" rel=\"external\" target=\"_blank\">forum "
|
||||
"d’assistance</a> et les publier."
|
||||
"Veuillez visiter le <a href=\"%s\" target=\"_blank\">forum d’assistance</a> "
|
||||
"et les publier."
|
||||
|
||||
#: inc/customizer.php:480
|
||||
msgid "Position of the author's identity"
|
||||
|
|
|
@ -3,7 +3,7 @@ msgid ""
|
|||
msgstr ""
|
||||
"Project-Id-Version: Marianne\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2021-07-30 16:27+0000\n"
|
||||
"POT-Creation-Date: 2021-07-30 16:49+0000\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: \n"
|
||||
|
@ -33,6 +33,21 @@ msgstr ""
|
|||
msgid "‹ Previous page"
|
||||
msgstr ""
|
||||
|
||||
#: inc/marianne-theme-page.php:343
|
||||
msgid ""
|
||||
"<a href=\"https://www.knotenpunkte.net/\" rel=\"external\" target=\"_blank\">"
|
||||
"Dr. Matthias Kampmann</a>, whose suggestions allowed me to improve some "
|
||||
"customization features of the theme."
|
||||
msgstr ""
|
||||
|
||||
#: inc/marianne-theme-page.php:352
|
||||
msgid ""
|
||||
"<a href=\"https://www.peterpellenaars.nl/\" rel=\"external\" "
|
||||
"target=\"_blank\">Peter Pellenaars</a>, who has been a great help in "
|
||||
"reporting bugs, improving the text strings, and for its translation into "
|
||||
"Dutch."
|
||||
msgstr ""
|
||||
|
||||
#: inc/marianne-theme-page.php:40 inc/marianne-theme-page.php:41
|
||||
#: inc/customizer.php:153
|
||||
msgid "About Marianne"
|
||||
|
@ -546,7 +561,7 @@ msgstr ""
|
|||
msgid "LinkedIn"
|
||||
msgstr ""
|
||||
|
||||
#: inc/marianne-theme-page.php:377
|
||||
#: inc/marianne-theme-page.php:363
|
||||
msgid "Made in France"
|
||||
msgstr ""
|
||||
|
||||
|
|
Loading…
Reference in a new issue