From 106d12341a7db79a94814bf1f508c0dc6f04daea Mon Sep 17 00:00:00 2001 From: Jonas Heinrich Date: Sun, 14 Jun 2020 14:59:34 +0200 Subject: [PATCH] Add missing translations search page --- kit/category.php | 7 +++- kit/languages/de_DE.mo | Bin 624 -> 1363 bytes kit/languages/de_DE.po | 67 ++++++++++++++++++++++++++++++------ kit/languages/fr_FR.po | 57 ++++++++++++++++++++++++++++--- kit/languages/kit.pot | 75 ++++++++++++++++++++++++++++++++++++----- kit/search.php | 7 +++- 6 files changed, 188 insertions(+), 25 deletions(-) diff --git a/kit/category.php b/kit/category.php index 9497a5f..a5ea32f 100644 --- a/kit/category.php +++ b/kit/category.php @@ -22,7 +22,12 @@ get_header(); $paged = (get_query_var('paged')) ? get_query_var('paged') : 1; $post_count_start = (($paged -1) * 10) + 1; $post_count_end = ((($paged -1) * 10) + $wp_query->post_count); - _e("Showing results from", 'kit') . _e(" " . $post_count_start . " to " . $post_count_end . ". Total results: " . $wp_query->found_posts. ""); + _e("Showing results", 'kit'); + echo " "; + printf( esc_html__( '%d to %d', 'kit' ), $post_count_start, $post_count_end ); + echo " "; + _e("from total results", 'kit'); + echo " " . $wp_query->found_posts. ""; ?>

diff --git a/kit/languages/de_DE.mo b/kit/languages/de_DE.mo index 8fbece2d3834168b905b202fe36eb76b12f610b3..efd8cc1d0b49b74093babdfd0b474d2efa034912 100644 GIT binary patch delta 926 zcmeysa+$0Co)F7a1_lNOAqEBp83qQ1H4F?4vJ4CiHjE%q28Ioc3=A9$3=A6?85p=2 z7#MajGBEHkFfbftWMJT9U|_h!$iN`Rz`*d3k%2*+fq~%%RJ{Nb#2iT`1_nh21_pB` z1_m|;28Ku`1_o9J28IMCu>N|6G^j)=6U2fVCI$w61_p+9CI$v01_p-dOc2MNVq#!0 zU}Rvp%f!II$-uzC#{!`xSRf8kVqstqWME*>XJKFvWnf@%WMN>CW?*0lhpH=Pfq1Z% zg@Hkyfq`Kb3&_5D28LZM5SJZgVPFtpU|=}I0&(F(umT2#=PVE(eqv!@ux4Oj;ACZB z;ALQ7aAjp+00k1rQWgdV24;{P14J(ZenH*gL8gC zWl?5&Mu|d6YDEcyOKMtTX-%0>)4%Eruv6&P+*7N-R>yP0cH1@J-CjQAkWlDM~Fa#;(FIwW379 zjv*j1Jyiih=H-_tq~(|9r7#4iCKe@UOq|EVADoe2o|%`fP?TC+np09daixh+T2X$k zLP>r}Vh&7n;~gW$desz#q|9Q7&!b9<4)00MX7C1iJi9~zSd~QWX;O(o?HaGt*1J zz6XmTSPGeW3Mr|%b`Z6Bxv6=F_kg{x>j?IJDpUcAyx-v^$r;5ZsS0)sVB-`f^D?Q6 oIp%?Ef!OR?l%ATDmswn#I@y@Xmai;7Pa!j}I6bvEF}H*P0N=sK<^TWy delta 180 zcmcc2^?{}So)F7a1_lNORt5$J83qOh7X}6fb_NE99FQOb149P`0|Ore14AbR0|Ofa z1H%jk1_mw$28Q_z3=BpL3=FFn7#Iu~85r&|FffRK)G|TLQf7jv(_~^`ux4OjFkxa~ zV1(KOGMb5jfq|KUffK}LU}0cjn4HR_G\n" "Language-Team: LANGUAGE \n" @@ -13,6 +13,34 @@ msgstr "" "X-Generator: WP-CLI 2.2.0\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 msgid "Search" msgstr "Suche" @@ -21,21 +49,32 @@ msgstr "Suche" msgid "Search for" msgstr "Suche nach" -#: search.php:49 -msgid "Showing results from" -msgstr "" +#: search.php:49 category.php:25 +msgid "Showing results" +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" -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 >" -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 " -msgstr "" +msgstr "Seite " #: 404.php:10 msgid "Page not found" @@ -44,3 +83,11 @@ msgstr "Seite nicht gefunden" #: 404.php:12 msgid "Unfortunately the page you requested was not found" 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 "" diff --git a/kit/languages/fr_FR.po b/kit/languages/fr_FR.po index 4697f58..27519cc 100644 --- a/kit/languages/fr_FR.po +++ b/kit/languages/fr_FR.po @@ -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 msgid "Search" msgstr "Recherche" @@ -6,19 +34,30 @@ msgstr "Recherche" msgid "Search for" msgstr "" -#: search.php:49 -msgid "Showing results from" +#: search.php:49 category.php:25 +msgid "Showing results" 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" 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 >" 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 " msgstr "" @@ -29,3 +68,11 @@ msgstr "" #: 404.php:12 msgid "Unfortunately the page you requested was not found" msgstr "" + +#: category-bestand.php:72 +msgid "Ergebnisse filtern" +msgstr "" + +#: category-bestand.php:102 +msgid "Showing results from" +msgstr "" diff --git a/kit/languages/kit.pot b/kit/languages/kit.pot index bf992b8..1cebf96 100644 --- a/kit/languages/kit.pot +++ b/kit/languages/kit.pot @@ -7,11 +7,39 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\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" "X-Generator: WP-CLI 2.2.0\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:31 #: search.php:12 @@ -25,21 +53,44 @@ msgid "Search for" msgstr "" #: search.php:49 -msgid "Showing results from" +#: category.php:25 +msgid "Showing results" 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" 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 >" 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 " msgstr "" @@ -50,3 +101,11 @@ msgstr "" #: 404.php:12 msgid "Unfortunately the page you requested was not found" msgstr "" + +#: category-bestand.php:72 +msgid "Ergebnisse filtern" +msgstr "" + +#: category-bestand.php:102 +msgid "Showing results from" +msgstr "" diff --git a/kit/search.php b/kit/search.php index df8efd8..8f243a4 100644 --- a/kit/search.php +++ b/kit/search.php @@ -46,7 +46,12 @@ get_header(); $paged = (get_query_var('paged')) ? get_query_var('paged') : 1; $post_count_start = (($paged -1) * 10) + 1; $post_count_end = ((($paged -1) * 10) + $wp_query->post_count); - _e("Showing results from", 'kit') . _e(" " . $post_count_start . " to " . $post_count_end . ". Total results: " . $wp_query->found_posts. ""); + _e("Showing results", 'kit'); + echo " "; + printf( esc_html__( '%d to %d', 'kit' ), $post_count_start, $post_count_end ); + echo " "; + _e("from total results", 'kit'); + echo " " . $wp_query->found_posts. ""; ?>