Skip to content

Commit bc84776

Browse files
authored
Merge pull request #242 from HenryJobst/master
Fix translation possibility and add German translations
2 parents 625154b + 8bbb829 commit bc84776

File tree

3 files changed

+160
-2
lines changed

3 files changed

+160
-2
lines changed

display-posts-de_DE.po

Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
msgid ""
2+
msgstr ""
3+
"Project-Id-Version: Display Posts\n"
4+
"Report-Msgid-Bugs-To: \n"
5+
"POT-Creation-Date: 2021-02-04 07:16+0000\n"
6+
"PO-Revision-Date: 2021-02-04 07:25+0000\n"
7+
"Last-Translator: \n"
8+
"Language-Team: Deutsch\n"
9+
"Language: de-DE\n"
10+
"Plural-Forms: nplurals=2; plural=n != 1;\n"
11+
"MIME-Version: 1.0\n"
12+
"Content-Type: text/plain; charset=UTF-8\n"
13+
"Content-Transfer-Encoding: 8bit\n"
14+
"X-Generator: Loco https://localise.biz/\n"
15+
"X-Loco-Version: 2.5.0; wp-5.6.1\n"
16+
"X-Domain: display-posts"
17+
18+
#: display-posts-shortcode.php:827
19+
msgid "ago"
20+
msgstr "seit"
21+
22+
#. Author of the plugin
23+
msgid "Bill Erickson"
24+
msgstr "Bill Erickson"
25+
26+
#: display-posts-shortcode.php:533
27+
msgid "by"
28+
msgstr "von"
29+
30+
#. Description of the plugin
31+
msgid "Display a listing of posts using the [display-posts] shortcode"
32+
msgstr ""
33+
"Zeigt eine Liste von Beiträge mit Hilfe des Shortcodes [display-posts] an"
34+
35+
#. Name of the plugin
36+
msgid "Display Posts"
37+
msgstr "Display Posts"
38+
39+
#. URI of the plugin
40+
msgid "https://displayposts.com"
41+
msgstr "https://displayposts.com"
42+
43+
#. Author URI of the plugin
44+
msgid "https://www.billerickson.net"
45+
msgstr "https://www.billerickson.net"
46+
47+
#: display-posts-shortcode.php:869
48+
msgid "I already did"
49+
msgstr "Habe ich bereits erlegigt"
50+
51+
#: display-posts-shortcode.php:864
52+
msgid ""
53+
"In 2019 I'll be working on new features, including the possibility of a "
54+
"premium version. As a valued Display Posts user, your feedback is important "
55+
"and appreciated!"
56+
msgstr ""
57+
"2019 werde ich an weiteren Funktionen arbeiten, inklusive einer "
58+
"Premiumversion. Als werter Display Posts Anwender ist ihr Feedback wichtig "
59+
"und willkommen!"
60+
61+
#: display-posts-shortcode.php:868
62+
msgid "Nope, maybe later"
63+
msgstr "Nein, vieleicht später"
64+
65+
#: display-posts-shortcode.php:863
66+
msgid ""
67+
"Thank you so much for using Display Posts! Could you please do me a BIG "
68+
"favor and answer four quick questions on how I can improve the plugin for "
69+
"you?"
70+
msgstr ""
71+
"Danke für die Nutzung von Display Posts! Können sie mir bitte einen Gefallen "
72+
"tun und 4 kurze Fragen zur Weiterentwicklung des Plugins beantworten?"
73+
74+
#: display-posts-shortcode.php:867
75+
msgid "Yes, I will!"
76+
msgstr "Ja, ich will!"
77+
78+
#: display-posts-shortcode.php:865
79+
msgid "~ Bill Erickson<br>Developer of Display Posts"
80+
msgstr "~ Bill Erickson<br>Entwickler von Display Posts"

display-posts-shortcode.php

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
* Version: 3.0.3
77
* Author: Bill Erickson
88
* Author URI: https://www.billerickson.net
9+
* Text Domain: display-posts
910
*
1011
* This program is free software; you can redistribute it and/or modify it under the terms of the GNU
1112
* General Public License version 2, as published by the Free Software Foundation. You may NOT assume
@@ -528,8 +529,10 @@ function be_display_posts_shortcode( $atts ) {
528529
*
529530
* @param string $author_output HTML markup to display author information.
530531
*/
531-
$author = apply_filters( 'display_posts_shortcode_author', ' <span class="author">by ' . get_the_author() . '</span>', $original_atts );
532-
}
532+
$author = apply_filters('display_posts_shortcode_author',
533+
' <span class="author">' . __( 'by', 'display-posts' ) . '&nbsp;' . get_the_author() . '</span>',
534+
$original_atts);
535+
}
533536

534537
if ( $include_excerpt ) {
535538

display-posts.pot

Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
#, fuzzy
2+
msgid ""
3+
msgstr ""
4+
"Project-Id-Version: Display Posts\n"
5+
"Report-Msgid-Bugs-To: \n"
6+
"POT-Creation-Date: 2021-02-04 07:25+0000\n"
7+
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
8+
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
9+
"Language-Team: \n"
10+
"Language: \n"
11+
"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
12+
"MIME-Version: 1.0\n"
13+
"Content-Type: text/plain; charset=UTF-8\n"
14+
"Content-Transfer-Encoding: 8bit\n"
15+
"X-Generator: Loco https://localise.biz/\n"
16+
"X-Loco-Version: 2.5.0; wp-5.6.1\n"
17+
"X-Domain: display-posts"
18+
19+
#: display-posts-shortcode.php:827
20+
msgid "ago"
21+
msgstr ""
22+
23+
#. Author of the plugin
24+
msgid "Bill Erickson"
25+
msgstr ""
26+
27+
#: display-posts-shortcode.php:533
28+
msgid "by"
29+
msgstr ""
30+
31+
#. Description of the plugin
32+
msgid "Display a listing of posts using the [display-posts] shortcode"
33+
msgstr ""
34+
35+
#. Name of the plugin
36+
msgid "Display Posts"
37+
msgstr ""
38+
39+
#. URI of the plugin
40+
msgid "https://displayposts.com"
41+
msgstr ""
42+
43+
#. Author URI of the plugin
44+
msgid "https://www.billerickson.net"
45+
msgstr ""
46+
47+
#: display-posts-shortcode.php:869
48+
msgid "I already did"
49+
msgstr ""
50+
51+
#: display-posts-shortcode.php:864
52+
msgid ""
53+
"In 2019 I'll be working on new features, including the possibility of a "
54+
"premium version. As a valued Display Posts user, your feedback is important "
55+
"and appreciated!"
56+
msgstr ""
57+
58+
#: display-posts-shortcode.php:868
59+
msgid "Nope, maybe later"
60+
msgstr ""
61+
62+
#: display-posts-shortcode.php:863
63+
msgid ""
64+
"Thank you so much for using Display Posts! Could you please do me a BIG "
65+
"favor and answer four quick questions on how I can improve the plugin for "
66+
"you?"
67+
msgstr ""
68+
69+
#: display-posts-shortcode.php:867
70+
msgid "Yes, I will!"
71+
msgstr ""
72+
73+
#: display-posts-shortcode.php:865
74+
msgid "~ Bill Erickson<br>Developer of Display Posts"
75+
msgstr ""

0 commit comments

Comments
 (0)