Add missing translations search page

This commit is contained in:
Jonas Heinrich 2020-06-14 14:59:34 +02:00
parent a9e004e494
commit 106d12341a
6 changed files with 188 additions and 25 deletions

View file

@ -22,7 +22,12 @@ get_header();
$paged = (get_query_var('paged')) ? get_query_var('paged') : 1; $paged = (get_query_var('paged')) ? get_query_var('paged') : 1;
$post_count_start = (($paged -1) * 10) + 1; $post_count_start = (($paged -1) * 10) + 1;
$post_count_end = ((($paged -1) * 10) + $wp_query->post_count); $post_count_end = ((($paged -1) * 10) + $wp_query->post_count);
_e("Showing results from", 'kit') . _e(" <strong>" . $post_count_start . " to " . $post_count_end . "</strong>. Total results: <strong>" . $wp_query->found_posts. "</strong>"); _e("Showing results", 'kit');
echo "<strong> ";
printf( esc_html__( '%d to %d', 'kit' ), $post_count_start, $post_count_end );
echo "</strong> ";
_e("from total results", 'kit');
echo " <strong>" . $wp_query->found_posts. "</strong>";
?> ?>
</p> </p>
<div class="tx-indexedsearch-browsebox"> <div class="tx-indexedsearch-browsebox">

Binary file not shown.

View file

@ -2,7 +2,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: \n" "Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-05-03T15:26:54+00:00\n" "POT-Creation-Date: 2020-06-14T12:58:57+00:00\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@ -13,6 +13,34 @@ msgstr ""
"X-Generator: WP-CLI 2.2.0\n" "X-Generator: WP-CLI 2.2.0\n"
"X-Domain: kit\n" "X-Domain: kit\n"
#: functions.php:155
msgid "Contact mail"
msgstr "Kontakt Mail"
#: functions.php:156
msgid "Mail address used in sidebar menu"
msgstr "Mail-Adresse in dem Seitenmenü"
#: functions.php:172
msgid "FAQ page"
msgstr "FAQ Seite"
#: functions.php:173
msgid "FAQ page used in sidebar menu"
msgstr "FAQ Seite in dem Seitenmenü"
#: functions.php:189
msgid "Copyright text"
msgstr "Urheberrechtstext"
#: functions.php:190
msgid "Displayed in the footer"
msgstr "Am Ende der Seite angezeigt"
#: functions.php:206
msgid "Default featured image"
msgstr "Standard Beitragsbild"
#: searchpage.php:14 searchpage.php:31 search.php:12 search.php:31 #: searchpage.php:14 searchpage.php:31 search.php:12 search.php:31
msgid "Search" msgid "Search"
msgstr "Suche" msgstr "Suche"
@ -21,21 +49,32 @@ msgstr "Suche"
msgid "Search for" msgid "Search for"
msgstr "Suche nach" msgstr "Suche nach"
#: search.php:49 #: search.php:49 category.php:25
msgid "Showing results from" msgid "Showing results"
msgstr "" msgstr "Anzeige der Ergebnisse"
#: search.php:56 search.php:83 #: search.php:51 category.php:27
msgid "%d to %d"
msgstr "%d bis %d"
#: search.php:53 category.php:29
msgid "from total results"
msgstr "von insgesamt"
#: search.php:61 search.php:87 category-bestand.php:108
#: category-bestand.php:173 category.php:36 category.php:91
msgid "< Previous" msgid "< Previous"
msgstr "" msgstr "< Zurück"
#: search.php:57 search.php:84 #: search.php:62 search.php:88 category-bestand.php:109
#: category-bestand.php:174 category.php:37 category.php:92
msgid "Next >" msgid "Next >"
msgstr "" msgstr "Nächste >"
#: search.php:59 search.php:86 #: search.php:64 search.php:90 category-bestand.php:111
#: category-bestand.php:176 category.php:39 category.php:94
msgid "Page " msgid "Page "
msgstr "" msgstr "Seite "
#: 404.php:10 #: 404.php:10
msgid "Page not found" msgid "Page not found"
@ -44,3 +83,11 @@ msgstr "Seite nicht gefunden"
#: 404.php:12 #: 404.php:12
msgid "Unfortunately the page you requested was not found" msgid "Unfortunately the page you requested was not found"
msgstr "Leider wurde die von ihnen gewünschte Seite nicht gefunden" msgstr "Leider wurde die von ihnen gewünschte Seite nicht gefunden"
#: category-bestand.php:72
msgid "Ergebnisse filtern"
msgstr ""
#: category-bestand.php:102
msgid "Showing results from"
msgstr ""

View file

@ -1,3 +1,31 @@
#: functions.php:155
msgid "Contact mail"
msgstr ""
#: functions.php:156
msgid "Mail address used in sidebar menu"
msgstr ""
#: functions.php:172
msgid "FAQ page"
msgstr ""
#: functions.php:173
msgid "FAQ page used in sidebar menu"
msgstr ""
#: functions.php:189
msgid "Copyright text"
msgstr ""
#: functions.php:190
msgid "Displayed in the footer"
msgstr ""
#: functions.php:206
msgid "Default featured image"
msgstr ""
#: searchpage.php:14 searchpage.php:31 search.php:12 search.php:31 #: searchpage.php:14 searchpage.php:31 search.php:12 search.php:31
msgid "Search" msgid "Search"
msgstr "Recherche" msgstr "Recherche"
@ -6,19 +34,30 @@ msgstr "Recherche"
msgid "Search for" msgid "Search for"
msgstr "" msgstr ""
#: search.php:49 #: search.php:49 category.php:25
msgid "Showing results from" msgid "Showing results"
msgstr "" msgstr ""
#: search.php:56 search.php:83 #: search.php:51 category.php:27
msgid "%d to %d"
msgstr ""
#: search.php:53 category.php:29
msgid "from total results"
msgstr ""
#: search.php:61 search.php:87 category-bestand.php:108
#: category-bestand.php:173 category.php:36 category.php:91
msgid "< Previous" msgid "< Previous"
msgstr "" msgstr ""
#: search.php:57 search.php:84 #: search.php:62 search.php:88 category-bestand.php:109
#: category-bestand.php:174 category.php:37 category.php:92
msgid "Next >" msgid "Next >"
msgstr "" msgstr ""
#: search.php:59 search.php:86 #: search.php:64 search.php:90 category-bestand.php:111
#: category-bestand.php:176 category.php:39 category.php:94
msgid "Page " msgid "Page "
msgstr "" msgstr ""
@ -29,3 +68,11 @@ msgstr ""
#: 404.php:12 #: 404.php:12
msgid "Unfortunately the page you requested was not found" msgid "Unfortunately the page you requested was not found"
msgstr "" msgstr ""
#: category-bestand.php:72
msgid "Ergebnisse filtern"
msgstr ""
#: category-bestand.php:102
msgid "Showing results from"
msgstr ""

View file

@ -7,11 +7,39 @@ msgstr ""
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"POT-Creation-Date: 2020-05-03T15:26:54+00:00\n" "POT-Creation-Date: 2020-06-14T12:58:57+00:00\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"X-Generator: WP-CLI 2.2.0\n" "X-Generator: WP-CLI 2.2.0\n"
"X-Domain: kit\n" "X-Domain: kit\n"
#: functions.php:155
msgid "Contact mail"
msgstr ""
#: functions.php:156
msgid "Mail address used in sidebar menu"
msgstr ""
#: functions.php:172
msgid "FAQ page"
msgstr ""
#: functions.php:173
msgid "FAQ page used in sidebar menu"
msgstr ""
#: functions.php:189
msgid "Copyright text"
msgstr ""
#: functions.php:190
msgid "Displayed in the footer"
msgstr ""
#: functions.php:206
msgid "Default featured image"
msgstr ""
#: searchpage.php:14 #: searchpage.php:14
#: searchpage.php:31 #: searchpage.php:31
#: search.php:12 #: search.php:12
@ -25,21 +53,44 @@ msgid "Search for"
msgstr "" msgstr ""
#: search.php:49 #: search.php:49
msgid "Showing results from" #: category.php:25
msgid "Showing results"
msgstr "" msgstr ""
#: search.php:56 #: search.php:51
#: search.php:83 #: category.php:27
msgid "%d to %d"
msgstr ""
#: search.php:53
#: category.php:29
msgid "from total results"
msgstr ""
#: search.php:61
#: search.php:87
#: category-bestand.php:108
#: category-bestand.php:173
#: category.php:36
#: category.php:91
msgid "< Previous" msgid "< Previous"
msgstr "" msgstr ""
#: search.php:57 #: search.php:62
#: search.php:84 #: search.php:88
#: category-bestand.php:109
#: category-bestand.php:174
#: category.php:37
#: category.php:92
msgid "Next >" msgid "Next >"
msgstr "" msgstr ""
#: search.php:59 #: search.php:64
#: search.php:86 #: search.php:90
#: category-bestand.php:111
#: category-bestand.php:176
#: category.php:39
#: category.php:94
msgid "Page " msgid "Page "
msgstr "" msgstr ""
@ -50,3 +101,11 @@ msgstr ""
#: 404.php:12 #: 404.php:12
msgid "Unfortunately the page you requested was not found" msgid "Unfortunately the page you requested was not found"
msgstr "" msgstr ""
#: category-bestand.php:72
msgid "Ergebnisse filtern"
msgstr ""
#: category-bestand.php:102
msgid "Showing results from"
msgstr ""

View file

@ -46,7 +46,12 @@ get_header();
$paged = (get_query_var('paged')) ? get_query_var('paged') : 1; $paged = (get_query_var('paged')) ? get_query_var('paged') : 1;
$post_count_start = (($paged -1) * 10) + 1; $post_count_start = (($paged -1) * 10) + 1;
$post_count_end = ((($paged -1) * 10) + $wp_query->post_count); $post_count_end = ((($paged -1) * 10) + $wp_query->post_count);
_e("Showing results from", 'kit') . _e(" <strong>" . $post_count_start . " to " . $post_count_end . "</strong>. Total results: <strong>" . $wp_query->found_posts. "</strong>"); _e("Showing results", 'kit');
echo "<strong> ";
printf( esc_html__( '%d to %d', 'kit' ), $post_count_start, $post_count_end );
echo "</strong> ";
_e("from total results", 'kit');
echo " <strong>" . $wp_query->found_posts. "</strong>";
?> ?>
</p> </p>