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

Fix custom columns

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