Commit 09a3ec98 authored by Rolf Forst's avatar Rolf Forst
Browse files

Fix custom columns

parent 11b2e1c2
......@@ -2,3 +2,9 @@
.fixed .column-expiration_date {
width: 10%;
}
@media only screen and (max-width: 1024px) {
.fixed .column-expiration_date {
display: none;
}
}
......@@ -2,7 +2,7 @@ msgid ""
msgstr ""
"Project-Id-Version: RRZE Post Expiration\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-03-18 10:52+0100\n"
"POT-Creation-Date: 2016-06-01 15:08+0200\n"
"PO-Revision-Date: \n"
"Last-Translator: \n"
"Language-Team: RRZE-Webteam <webmaster@rrze.fau.de>\n"
......@@ -14,10 +14,10 @@ msgstr ""
"X-Poedit-Basepath: .\n"
"X-Poedit-SourceCharset: UTF-8\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Poedit 1.8.7\n"
"X-Generator: Poedit 1.8.8\n"
"X-Poedit-SearchPath-0: ..\n"
#: ../rrze-post-expiration.php:80
#: ../rrze-post-expiration.php:82
#, php-format
msgid ""
"Ihre PHP-Version %s ist veraltet. Bitte aktualisieren Sie mindestens auf die "
......@@ -26,7 +26,7 @@ msgstr ""
"Your server is running PHP version %s. Please upgrade at least to PHP "
"version %s."
#: ../rrze-post-expiration.php:82
#: ../rrze-post-expiration.php:84
#, php-format
msgid ""
"Ihre Wordpress-Version %s ist veraltet. Bitte aktualisieren Sie mindestens "
......@@ -35,86 +35,85 @@ msgstr ""
"Your Wordpress version is %s. Please upgrade at least to Wordpress version "
"%s."
#: ../rrze-post-expiration.php:92
#: ../rrze-post-expiration.php:98
msgid "Verfallsdatum"
msgstr "Expiration"
#: ../rrze-post-expiration.php:107
msgid "Keine"
msgstr "None"
#: ../rrze-post-expiration.php:110
#: ../rrze-post-expiration.php:116
msgid "Y/m/d g:i:s A"
msgstr "Y/m/d g:i:s A"
#: ../rrze-post-expiration.php:118
#: ../rrze-post-expiration.php:124
#, php-format
msgid "in %s"
msgstr "in %s"
#: ../rrze-post-expiration.php:121
#: ../rrze-post-expiration.php:127
#, php-format
msgid "%s ago"
msgstr "%s ago"
#: ../rrze-post-expiration.php:123
#: ../rrze-post-expiration.php:129
msgid "Y/m/d"
msgstr "Y/m/d"
#: ../rrze-post-expiration.php:127
#: ../rrze-post-expiration.php:133
msgid "abgelaufen"
msgstr "expired"
#: ../rrze-post-expiration.php:171
#: ../rrze-post-expiration.php:177
msgid "j. M Y @ H:i"
msgstr "M j, Y @ H:i"
#: ../rrze-post-expiration.php:173 ../rrze-post-expiration.php:344
#: ../rrze-post-expiration.php:179 ../rrze-post-expiration.php:350
msgid "Verfallsdatum <b>deaktiviert</b>"
msgstr "Expiration <b>disabled</b>"
#: ../rrze-post-expiration.php:179
#: ../rrze-post-expiration.php:185
#, php-format
msgid "Verfällt am: <b>%s</b>"
msgstr "Expires on: <b>%s</b>"
#: ../rrze-post-expiration.php:181
#: ../rrze-post-expiration.php:187
#, php-format
msgid "Abgelaufen am: <b>%s</b>"
msgstr "Expired on: <b>%s</b>"
#: ../rrze-post-expiration.php:191
#: ../rrze-post-expiration.php:197
msgid "Bearbeiten"
msgstr "Edit"
#: ../rrze-post-expiration.php:244
#: ../rrze-post-expiration.php:250
msgid "Verfallsdatum aktivieren"
msgstr "Enable expiration"
#: ../rrze-post-expiration.php:247
#: ../rrze-post-expiration.php:253
#, php-format
msgid "%1$s%2$s, %3$s @ %4$s : %5$s"
msgstr "%1$s%2$s, %3$s @ %4$s : %5$s"
#: ../rrze-post-expiration.php:267
#: ../rrze-post-expiration.php:273
msgid "OK"
msgstr "OK"
#: ../rrze-post-expiration.php:268
#: ../rrze-post-expiration.php:274
msgid "Abbrechen"
msgstr "Cancel"
#: ../rrze-post-expiration.php:325
#: ../rrze-post-expiration.php:331
msgid "Verfällt am:"
msgstr "Expires on:"
#: ../rrze-post-expiration.php:327
#: ../rrze-post-expiration.php:333
msgid "Abgelaufen am:"
msgstr "Expired on:"
#: ../rrze-post-expiration.php:397
#: ../rrze-post-expiration.php:403
msgid "Every Two Minutes"
msgstr "Every Two Minutes"
#~ msgid "Keine"
#~ msgstr "None"
#~ msgid "Abgelaufen"
#~ msgstr "Expired"
......@@ -3,7 +3,7 @@ msgid ""
msgstr ""
"Project-Id-Version: RRZE Post Expiration\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-03-18 10:56+0100\n"
"POT-Creation-Date: 2016-06-01 15:08+0200\n"
"PO-Revision-Date: \n"
"Last-Translator: \n"
"Language-Team: RRZE-Webteam <webmaster@rrze.fau.de>\n"
......@@ -15,100 +15,96 @@ msgstr ""
"X-Poedit-Basepath: .\n"
"X-Poedit-SourceCharset: UTF-8\n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Poedit 1.8.7\n"
"X-Generator: Poedit 1.8.8\n"
"X-Poedit-SearchPath-0: ..\n"
#: ../rrze-post-expiration.php:80
#: ../rrze-post-expiration.php:82
#, php-format
msgid ""
"Ihre PHP-Version %s ist veraltet. Bitte aktualisieren Sie mindestens auf die "
"PHP-Version %s."
msgstr ""
#: ../rrze-post-expiration.php:82
#: ../rrze-post-expiration.php:84
#, php-format
msgid ""
"Ihre Wordpress-Version %s ist veraltet. Bitte aktualisieren Sie mindestens "
"auf die Wordpress-Version %s."
msgstr ""
#: ../rrze-post-expiration.php:92
#: ../rrze-post-expiration.php:98
msgid "Verfallsdatum"
msgstr ""
#: ../rrze-post-expiration.php:107
msgid "Keine"
msgstr ""
#: ../rrze-post-expiration.php:110
#: ../rrze-post-expiration.php:116
msgid "Y/m/d g:i:s A"
msgstr ""
#: ../rrze-post-expiration.php:118
#: ../rrze-post-expiration.php:124
#, php-format
msgid "in %s"
msgstr ""
#: ../rrze-post-expiration.php:121
#: ../rrze-post-expiration.php:127
#, php-format
msgid "%s ago"
msgstr ""
#: ../rrze-post-expiration.php:123
#: ../rrze-post-expiration.php:129
msgid "Y/m/d"
msgstr ""
#: ../rrze-post-expiration.php:127
#: ../rrze-post-expiration.php:133
msgid "abgelaufen"
msgstr ""
#: ../rrze-post-expiration.php:171
#: ../rrze-post-expiration.php:177
msgid "j. M Y @ H:i"
msgstr ""
#: ../rrze-post-expiration.php:173 ../rrze-post-expiration.php:344
#: ../rrze-post-expiration.php:179 ../rrze-post-expiration.php:350
msgid "Verfallsdatum <b>deaktiviert</b>"
msgstr ""
#: ../rrze-post-expiration.php:179
#: ../rrze-post-expiration.php:185
#, php-format
msgid "Verfällt am: <b>%s</b>"
msgstr ""
#: ../rrze-post-expiration.php:181
#: ../rrze-post-expiration.php:187
#, php-format
msgid "Abgelaufen am: <b>%s</b>"
msgstr ""
#: ../rrze-post-expiration.php:191
#: ../rrze-post-expiration.php:197
msgid "Bearbeiten"
msgstr ""
#: ../rrze-post-expiration.php:244
#: ../rrze-post-expiration.php:250
msgid "Verfallsdatum aktivieren"
msgstr ""
#: ../rrze-post-expiration.php:247
#: ../rrze-post-expiration.php:253
#, php-format
msgid "%1$s%2$s, %3$s @ %4$s : %5$s"
msgstr ""
#: ../rrze-post-expiration.php:267
#: ../rrze-post-expiration.php:273
msgid "OK"
msgstr ""
#: ../rrze-post-expiration.php:268
#: ../rrze-post-expiration.php:274
msgid "Abbrechen"
msgstr ""
#: ../rrze-post-expiration.php:325
#: ../rrze-post-expiration.php:331
msgid "Verfällt am:"
msgstr ""
#: ../rrze-post-expiration.php:327
#: ../rrze-post-expiration.php:333
msgid "Abgelaufen am:"
msgstr ""
#: ../rrze-post-expiration.php:397
#: ../rrze-post-expiration.php:403
msgid "Every Two Minutes"
msgstr ""
......@@ -2,7 +2,7 @@
/*
Plugin Name: RRZE Post Expiration
Plugin URI: https://gitlab.rrze.fau.de/rrze-webteam/rrze-post-expiration
Version: 1.1.1
Version: 1.1.2
Description: Verfallsdatum für Beiträge.
Author: RRZE-Webteam
License: GPLv2 or later
......@@ -110,7 +110,7 @@ class RRZE_Post_Expiration {
$expiration_date_gmt = get_post_meta($post->ID, 'expiration_date_gmt', true);
if (( '0000-00-00 00:00:00' == $post->post_date ) || !$expiration_date)
echo '<br/>', __('Keine', 'rrze-post-expiration');
echo '&#8212;';
else {
$t_time = date(__('Y/m/d g:i:s A'), mysql2date('U', $expiration_date));
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment