Changeset 1503143
- Timestamp:
- 09/26/2016 09:02:01 PM (9 years ago)
- Location:
- wp-open-last-modified/trunk
- Files:
-
- 4 edited
-
languages/wp-open-last-modified-de_DE.mo (modified) (previous)
-
languages/wp-open-last-modified-de_DE.po (modified) (6 diffs)
-
open_last_modified.php (modified) (5 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wp-open-last-modified/trunk/languages/wp-open-last-modified-de_DE.po
r1417828 r1503143 2 2 msgstr "" 3 3 "Project-Id-Version: wp-open-last-modified\n" 4 "POT-Creation-Date: 2016-0 5-15 22:54+0200\n"5 "PO-Revision-Date: 2016-0 5-15 23:47+0200\n"4 "POT-Creation-Date: 2016-09-26 21:34+0200\n" 5 "PO-Revision-Date: 2016-09-26 21:34+0200\n" 6 6 "Last-Translator: Dogan Ucar <[email protected]>\n" 7 7 "Language-Team: \n" … … 10 10 "Content-Type: text/plain; charset=UTF-8\n" 11 11 "Content-Transfer-Encoding: 8bit\n" 12 "X-Generator: Poedit 1.8. 7\n"12 "X-Generator: Poedit 1.8.9\n" 13 13 "X-Poedit-Basepath: ..\n" 14 14 "Plural-Forms: nplurals=2; plural=(n != 1);\n" … … 17 17 "X-Poedit-SearchPath-0: .\n" 18 18 19 #: open_last_modified.php: 10819 #: open_last_modified.php:98 open_last_modified.php:112 20 20 msgid "WP Last Modified Settings" 21 21 msgstr "WP Last Modified Einstellungen" 22 22 23 #: open_last_modified.php:11 323 #: open_last_modified.php:117 24 24 msgid "" 25 25 "Define the settings by overriding the defaults with your own preferences" 26 26 msgstr " Du kannst hier die Default-Einstellungen überschreiben" 27 27 28 #: open_last_modified.php:12 028 #: open_last_modified.php:124 29 29 msgid "settings saved" 30 30 msgstr "Einstellungen gespeichert" 31 31 32 #: open_last_modified.php:1 2832 #: open_last_modified.php:132 33 33 msgid "Error occured. Please enter a message" 34 34 msgstr "Fehler. Bitte gebe eine Nachricht ein" 35 35 36 #: open_last_modified.php:1 3936 #: open_last_modified.php:143 37 37 msgid "" 38 38 "Just use the *timestamp* or *last_modified_timestamp* shortcuts for " 39 39 "inserting the modification date/time, *publication_timestamp* for the " 40 "publication date/time and *revision_count* for the number of revisions." 40 "publication date/time and *revision_count* for the number of revisions. " 41 "There are also options for GMT timezones (*last_modified_timestamp_gmt* and " 42 "*publication_timestamp_gmt*)." 41 43 msgstr "" 42 44 "Benutzte einfach den *timestamp* oder *last_modified_timestamp* Shortcut für " 43 45 "das letzte Änderungsdatum, *publication_timestamp* für das " 44 "Veröffentlichungsdatum und *revision_count* für die aktuelle Revision." 46 "Veröffentlichungsdatum und *revision_count* für die aktuelle Revision. Um " 47 "die Datumsangaben in der GMT Zeitzone zu erhalten kannst du " 48 "*last_modified_timestamp_gmt* und *publication_timestamp_gmt* verwenden." 45 49 46 #: open_last_modified.php:14 350 #: open_last_modified.php:146 47 51 msgid "If you don't need one of the values, just remove them from your text!" 48 52 msgstr "" … … 50 54 "Text entfernen!" 51 55 52 #: open_last_modified.php:1 4756 #: open_last_modified.php:150 53 57 msgid "" 54 58 "Notice: you can configure the date format via the shortcut attribute " … … 58 62 "setzt." 59 63 60 #: open_last_modified.php:15 164 #: open_last_modified.php:154 61 65 msgid "" 62 66 "Notice: you should use the *last_modified_timestamp* instead of *timestamp* " … … 66 70 "*timestamp* in zukünftigen Releases entfernt wird." 67 71 68 #: open_last_modified.php:15 572 #: open_last_modified.php:158 69 73 msgid "Sample usage: [last_modified_date format=\"Y-m-d H:i:s\"]" 70 74 msgstr "Beispiel: [last_modified_date format=\"Y-m-d H:i:s\"]" 71 75 72 #: open_last_modified.php:1 6676 #: open_last_modified.php:177 73 77 msgid "Save Changes" 74 78 msgstr "Änderungen übernehmen" 79 80 #~ msgid "" 81 #~ "Just use the *timestamp* or *last_modified_timestamp* shortcuts for " 82 #~ "inserting the modification date/time, *publication_timestamp* for the " 83 #~ "publication date/time and *revision_count* for the number of revisions. " 84 #~ "There are also options for GMT timezones (last_modified_timestamp_gmt and " 85 #~ "publication_timestamp_gmt)." 86 #~ msgstr "" 87 #~ "Benutzte einfach den *timestamp* oder *last_modified_timestamp* Shortcut " 88 #~ "für das letzte Änderungsdatum, *publication_timestamp* für das " 89 #~ "Veröffentlichungsdatum und *revision_count* für die aktuelle Revision. Um " 90 #~ "die Datumsangaben in der GMT Zeitzone zu erhalten kannst du " 91 #~ "*last_modified_timestamp_gmt* und *publication_timestamp_gmt* verwenden." 92 93 #~ msgid "" 94 #~ "Just use the *timestamp* or *last_modified_timestamp* shortcuts for " 95 #~ "inserting the modification date/time, *publication_timestamp* for the " 96 #~ "publication date/time and *revision_count* for the number of revisions." 97 #~ msgstr "" 98 #~ "Benutzte einfach den *timestamp* oder *last_modified_timestamp* Shortcut " 99 #~ "für das letzte Änderungsdatum, *publication_timestamp* für das " 100 #~ "Veröffentlichungsdatum und *revision_count* für die aktuelle Revision." 75 101 76 102 #~ msgid "WP Open Last Modified Settings" -
wp-open-last-modified/trunk/open_last_modified.php
r1439678 r1503143 4 4 * Plugin URI: www.dogan-ucar.de/wp-open-last-modified 5 5 * Description: WP Last Modified adds the ‚last_modified_date‘ shortcut to your WordPress installation. This shortcut shows the last timestamp of your post/page. Simply use the „format“ attribute for custom date formats (it uses PHP’s date() function). This plugin shows also the actual revision of your post/page. You can customize the text which will be shown under each post/page under settings -> WP Last Modified Settings. 6 * Version: 1. 1.16 * Version: 1.2.0 7 7 * Author: Dogan Ucar 8 8 * Author URI: www.dogan-ucar.de … … 72 72 $_lastModifiedDateTime = date ( $format, strtotime ( $lastModifiedDateTime ) ); 73 73 74 $lastModifiedDateTimeGmt = $post->post_modified_gmt; 75 $_lastModifiedDateTimeGmt = date ( $format, strtotime ( $lastModifiedDateTimeGmt ) ); 76 74 77 $creationDateTime = $post->post_date; 75 78 $_creationDateTime = date ( $format, strtotime ( $creationDateTime ) ); 79 80 $creationDateTimeGmt = $post->post_date_gmt; 81 $_creationDateTimeGmt = date ( $format, strtotime ( $creationDateTimeGmt ) ); 76 82 77 83 $revisions = wp_get_post_revisions ( $post->ID ); … … 81 87 $text = str_replace ( "*timestamp*", $_lastModifiedDateTime, $text ); 82 88 $text = str_replace ( "*last_modified_timestamp*", $_lastModifiedDateTime, $text ); 89 $text = str_replace ( "*last_modified_timestamp_gmt*", $_lastModifiedDateTimeGmt, $text ); 83 90 $text = str_replace ( "*publication_timestamp*", $_creationDateTime, $text ); 91 $text = str_replace ( "*publication_timestamp_gmt*", $_creationDateTimeGmt, $text ); 84 92 $text = str_replace ( "*revision_count*", $revisionCount, $text ); 85 93 … … 133 141 // Begin descriptions 134 142 echo "<p>"; 135 _e ( "Just use the *timestamp* or *last_modified_timestamp* shortcuts for inserting the modification date/time, *publication_timestamp* for the publication date/time and *revision_count* for the number of revisions. ", 'wp-open-last-modified' );143 _e ( "Just use the *timestamp* or *last_modified_timestamp* shortcuts for inserting the modification date/time, *publication_timestamp* for the publication date/time and *revision_count* for the number of revisions. There are also options for GMT timezones (*last_modified_timestamp_gmt* and *publication_timestamp_gmt*).", 'wp-open-last-modified' ); 136 144 echo "</p>"; 137 138 145 echo "<p>"; 139 146 _e ( "If you don't need one of the values, just remove them from your text!", 'wp-open-last-modified' ); 140 147 echo "</p>"; 141 148 142 149 echo "<p>"; 143 150 _e ( "Notice: you can configure the date format via the shortcut attribute 'format'.", 'wp-open-last-modified' ); … … 173 180 echo "</div>"; 174 181 } 182 /** 183 * loads the plugin specific text domain. 184 * wrapper function for WordPress function 'load_plugin_textdomain'. 185 */ 175 186 function loadPluginTextdomain() { 176 187 load_plugin_textdomain ( "wp-open-last-modified", false, dirname ( plugin_basename ( __FILE__ ) ) . '/languages' ); 177 188 } 178 179 189 ?> -
wp-open-last-modified/trunk/readme.txt
r1468849 r1503143 6 6 License: GPLv3 7 7 License URI: http://www.gnu.org/licenses/gpl-3.0.txt 8 Stable tag: 1. 1.18 Stable tag: 1.2.0 9 9 10 10 This plugins adds the last modified date, current revision and the publication date of your post/page. … … 36 36 37 37 == Changelog == 38 = 1.2.0 = 39 * new placeholder 'last_modified_timestamp_gmt' 40 * new placeholder 'publication_timestamp_gmt' 41 38 42 = 1.1.1 = 39 43 * added donation link
Note: See TracChangeset
for help on using the changeset viewer.