Hi Monika,
danke für den Tipp. Ich habe da mal nachgeschaut und folgendes gefunden:
<p class="postmetadata alt begleittext">
<small>
<?php /* This is commented, because it requires a little adjusting sometimes.
You'll need to download this plugin, and follow the instructions:
http://binarybonsai.com/wordpress/time-since/ */
/* $entry_datetime = abs(strtotime($post->post_date) - (60*120)); $time_since = sprintf(__('%s ago', 'kubrick'), time_since($entry_datetime)); */ ?>
<?php printf(__('This entry was posted %1$s on %2$s at %3$s and is filed under %4$s.', 'kubrick'), $time_since, get_the_time(__('l, F jS, Y', 'kubrick')), get_the_time(), get_the_category_list(', ')); ?>
<?php printf(__("You can follow any responses to this entry through the <a href='%s'>RSS 2.0</a> feed.", "kubrick"), get_post_comments_feed_link()); ?>
<?php if ( comments_open() && pings_open() ) {
// Both Comments and Pings are open ?>
<?php printf(__('You can <a href="#respond">leave a response</a>, or <a href="%s" rel="trackback">trackback</a> from your own site.', 'kubrick'), trackback_url(false)); ?>
<?php } elseif ( !comments_open() && pings_open() ) {
// Only Pings are Open ?>
<?php printf(__('Responses are currently closed, but you can <a href="%s" rel="trackback">trackback</a> from your own site.', 'kubrick'), trackback_url(false)); ?>
<?php } elseif ( comments_open() && !pings_open() ) {
// Comments are open, Pings are not ?>
<?php _e('You can skip to the end and leave a response. Pinging is currently not allowed.', 'kubrick'); ?>
<?php } elseif ( !comments_open() && !pings_open() ) {
// Neither Comments, nor Pings are open ?>
<?php _e('Both comments and pings are currently closed.', 'kubrick'); ?>
<?php } edit_post_link(__('Edit this entry', 'kubrick'),'','.'); ?>
</small>
</p>
Alles anzeigen
Aber dort tauchen die Begriffe wie "vor" oder "am" nicht auf. Gibt es noch Sprachdateien oder etwas Ähnliches?
Ich habe nämlich auch noch zwei Dateien gefunden: "de_DE.mo" und "de_DE.po", in denen der Text "
"msgstr "Dieser Beitrag wurde vor %1$s am %2$s um %3$s Uhr veröffentlicht und unter %4$s gespeichert."
" auftaucht. Aber Änderungen in diesen Dateien bewirken leider auch keine Veränderung des Textes. (Oder muss man mit diesen beiden Dateien noch irgend etwas machen, damit Veränderungen wirksam werden?)
Es scheint so, dass der Platzhalter
nicht mit Daten gefüllt wird. Woher kommen diese Daten für diesen Platzhalter?
Danke für Info und liebe Grüße
Uwe