From 6ec0d923deb1d1de07ebeda40c9a55e2a453d236 Mon Sep 17 00:00:00 2001 From: "DESKTOP-8C1CTRA\\erikv" Date: Tue, 31 Oct 2017 11:15:59 +0100 Subject: [PATCH] * Tested up to version 4.9 * Updated .pot file * Added screenshots * Switched to multi sass files for css * Some extra refactoring --- README.txt | 15 +- admin/css/partials/_widget.scss | 91 +++--- admin/css/support-hours-admin.min.css | 2 +- ...rt-hours-admin-configure-plugin-notice.php | 5 + ...support-hours-admin-overview-workTable.php | 33 +++ admin/support-hours-admin-overview.php | 17 +- admin/support-hours-admin-widget.php | 13 +- languages/support-hours-nl_NL.mo | Bin 3629 -> 3629 bytes languages/support-hours-nl_NL.po | 4 +- languages/support-hours.pot | 265 +++++++++++++----- support-hours.php | 2 +- 11 files changed, 312 insertions(+), 135 deletions(-) create mode 100644 admin/partials/support-hours-admin-configure-plugin-notice.php create mode 100644 admin/partials/support-hours-admin-overview-workTable.php diff --git a/README.txt b/README.txt index 8d07444..0126488 100644 --- a/README.txt +++ b/README.txt @@ -2,8 +2,8 @@ Contributors: levdbas Tags: time, hours, tracking, client, pre-paid Requires at least: 3.0.1 -Tested up to: 4.8 -Stable tag: 1.4.1 +Tested up to: 4.9 +Stable tag: 1.4.2 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html @@ -41,9 +41,18 @@ Yes! I just added some new functionality to set different work entries. I will l Yes! Feel free to sent me any suggestions or feedback. I think this plugin can be optimized quite a lot! == Screenshots == - +1. Dashboard widget, visible for all roles highter then editor. Animated by css and js. The table shows the last five activities. +2. Settings page where you can set your E-mail adress. Amount of bought hours and input the activities with a date, description and the time spent. +3. Overview page where all activities are listed. == Changelog == += 1.4.2 = + +* Tested up to version 4.9 +* Updated .pot file +* Added screenshots +* Switched to multi sass files for css +* Some extra refactoring = 1.4.1 = Thank you [Jos Klever](https://wordpress.org/support/users/josklever/) for reviewing the plugin. diff --git a/admin/css/partials/_widget.scss b/admin/css/partials/_widget.scss index a5913fb..aa777d3 100644 --- a/admin/css/partials/_widget.scss +++ b/admin/css/partials/_widget.scss @@ -5,7 +5,53 @@ font-weight: bold; } } + + .progress-bar { + .innerCicle{ + width: 90%; + height: 90%; + margin: 5%; + position: absolute; + z-index: 12; + border-radius: 50%; + background: white; + transition: all 0.2s ease-in; + .textHolder{ + display: block; + top: 50%; + position: relative; + .text{ + text-align: center; + display: block; + color:$background-color; + font-weight: bold; + margin-top: -50px; + font-size: 35px; + transition: all 0.2s ease-in; + line-height: 50px; + position: absolute; + width: 100%; + &.small{ + margin-top: -50px; + line-height: 50px; + font-size: 30px; + } + } + } + &:hover{ + width: 94%; + height: 94%; + margin: 3%; + .text{ + font-size: 45px; + color:$progress-color; + &.small{ + font-size: 35px; + } + } + } + } position: relative; width:100%; padding-bottom: 100%; @@ -34,51 +80,6 @@ div { display: none; } } -.innerCicle{ - width: 90%; - height: 90%; - margin: 5%; - position: absolute; - z-index: 12; - border-radius: 50%; - background: white; - transition: all 0.2s ease-in; - .textHolder{ - display: block; - top: 50%; - position: relative; - .text{ - text-align: center; - display: block; - color:$background-color; - font-weight: bold; - margin-top: -50px; - font-size: 35px; - transition: all 0.2s ease-in; - line-height: 50px; - position: absolute; - width: 100%; - &.small{ - margin-top: -50px; - line-height: 50px; - font-size: 30px; - } - } - } - &:hover{ - width: 94%; - height: 94%; - margin: 3%; - .text{ - font-size: 45px; - color:$progress-color; - &.small{ - font-size: 35px; - } - } - } -} - @keyframes toggle { 0% { opacity: 0; } 100% { opacity: 1; } diff --git a/admin/css/support-hours-admin.min.css b/admin/css/support-hours-admin.min.css index 054f9df..8e6ae11 100644 --- a/admin/css/support-hours-admin.min.css +++ b/admin/css/support-hours-admin.min.css @@ -1 +1 @@ -#support_hours_dashboard_widget h3{margin:1.33em 0 0;font-size:16px;font-weight:bold}.progress-bar{position:relative;width:100%;padding-bottom:100%}.progress-bar .background{background-color:#ccc}.progress-bar .left{background-color:#ccc;opacity:1}.progress-bar .rotate{background-color:#008ec2}.progress-bar .right{background-color:#008ec2;transform:rotate(180deg);opacity:0}.progress-bar div{border-radius:50%;height:100%;position:absolute;width:100%}.progress-bar .smallbr{display:none}.innerCicle{width:90%;height:90%;margin:5%;position:absolute;z-index:12;border-radius:50%;background:white;transition:all 0.2s ease-in}.innerCicle .textHolder{display:block;top:50%;position:relative}.innerCicle .textHolder .text{text-align:center;display:block;color:#ccc;font-weight:bold;margin-top:-50px;font-size:35px;transition:all 0.2s ease-in;line-height:50px;position:absolute;width:100%}.innerCicle .textHolder .text.small{margin-top:-50px;line-height:50px;font-size:30px}.innerCicle:hover{width:94%;height:94%;margin:3%}.innerCicle:hover .text{font-size:45px;color:#008ec2}.innerCicle:hover .text.small{font-size:35px}@keyframes toggle{0%{opacity:0}100%{opacity:1}}@media screen and (max-width: 870px){.smallbr{display:block}.bigbr{display:none}.text{font-size:30px;line-height:40px;margin-top:-40px}.progress-bar:hover .text{font-size:40px}}@media screen and (max-width: 800px){.progress-bar{max-width:none;max-height:none}}.bold{font-weight:bold;color:#444}.worktable{margin-top:20px;padding-bottom:10px;margin-bottom:10px}.worktable th{text-align:left}.total{border-top:1px solid #eee;border-bottom:1px solid #eee;margin:0 -12px;margin-top:10px;padding:8px 12px 4px;font-size:1rem;background:#fafafa}.progress-bar.midnight .rotate,.progress-bar.midnight .right{background-color:#e14d43}.progress-bar.midnight .innerCicle:hover .text{color:#e14d43}.progress-bar.ectoplasm .rotate,.progress-bar.ectoplasm .right{background-color:#a3b745}.progress-bar.ectoplasm .innerCicle:hover .text{color:#a3b745}.progress-bar.blue .rotate,.progress-bar.blue .right{background-color:#e1a948}.progress-bar.blue .innerCicle:hover .text{color:#e1a948}.progress-bar.ocean .rotate,.progress-bar.ocean .right{background-color:#9ebaa0}.progress-bar.ocean .innerCicle:hover .text{color:#9ebaa0}.progress-bar.coffee .rotate,.progress-bar.coffee .right{background-color:#c7a589}.progress-bar.coffee .innerCicle:hover .text{color:#c7a589}.progress-bar.sunrise .rotate,.progress-bar.sunrise .right{background-color:#dd823b}.progress-bar.sunrise .innerCicle:hover .text{color:#dd823b}.rwd-table{margin:1em 0;min-width:300px}.rwd-table tr{border-top:1px solid #ddd;border-bottom:1px solid #ddd}.rwd-table th{display:none}.rwd-table td{display:block}.rwd-table td:first-child{padding-top:.5em}.rwd-table td:last-child{padding-bottom:.5em}.rwd-table td.remove:before{content:'';width:0}.rwd-table td:before{content:attr(data-th) ": ";font-weight:bold;width:6.5em;display:inline-block}@media (min-width: 480px){.rwd-table td:before{display:none}}.rwd-table th,.rwd-table td{text-align:left}@media (min-width: 480px){.rwd-table th,.rwd-table td{display:table-cell;padding:.25em .5em}.rwd-table th:first-child,.rwd-table td:first-child{padding-left:0}.rwd-table th:last-child,.rwd-table td:last-child{padding-right:0}}.clearfix{clear:both}.currentDate{display:none} +#support_hours_dashboard_widget h3{margin:1.33em 0 0;font-size:16px;font-weight:bold}.progress-bar{position:relative;width:100%;padding-bottom:100%}.progress-bar .innerCicle{width:90%;height:90%;margin:5%;position:absolute;z-index:12;border-radius:50%;background:white;transition:all 0.2s ease-in}.progress-bar .innerCicle .textHolder{display:block;top:50%;position:relative}.progress-bar .innerCicle .textHolder .text{text-align:center;display:block;color:#ccc;font-weight:bold;margin-top:-50px;font-size:35px;transition:all 0.2s ease-in;line-height:50px;position:absolute;width:100%}.progress-bar .innerCicle .textHolder .text.small{margin-top:-50px;line-height:50px;font-size:30px}.progress-bar .innerCicle:hover{width:94%;height:94%;margin:3%}.progress-bar .innerCicle:hover .text{font-size:45px;color:#008ec2}.progress-bar .innerCicle:hover .text.small{font-size:35px}.progress-bar .background{background-color:#ccc}.progress-bar .left{background-color:#ccc;opacity:1}.progress-bar .rotate{background-color:#008ec2}.progress-bar .right{background-color:#008ec2;transform:rotate(180deg);opacity:0}.progress-bar div{border-radius:50%;height:100%;position:absolute;width:100%}.progress-bar .smallbr{display:none}@keyframes toggle{0%{opacity:0}100%{opacity:1}}@media screen and (max-width: 870px){.smallbr{display:block}.bigbr{display:none}.text{font-size:30px;line-height:40px;margin-top:-40px}.progress-bar:hover .text{font-size:40px}}@media screen and (max-width: 800px){.progress-bar{max-width:none;max-height:none}}.bold{font-weight:bold;color:#444}.worktable{margin-top:20px;padding-bottom:10px;margin-bottom:10px}.worktable th{text-align:left}.total{border-top:1px solid #eee;border-bottom:1px solid #eee;margin:0 -12px;margin-top:10px;padding:8px 12px 4px;font-size:1rem;background:#fafafa;margin-bottom:12px}.progress-bar.midnight .rotate,.progress-bar.midnight .right{background-color:#e14d43}.progress-bar.midnight .innerCicle:hover .text{color:#e14d43}.progress-bar.ectoplasm .rotate,.progress-bar.ectoplasm .right{background-color:#a3b745}.progress-bar.ectoplasm .innerCicle:hover .text{color:#a3b745}.progress-bar.blue .rotate,.progress-bar.blue .right{background-color:#e1a948}.progress-bar.blue .innerCicle:hover .text{color:#e1a948}.progress-bar.ocean .rotate,.progress-bar.ocean .right{background-color:#9ebaa0}.progress-bar.ocean .innerCicle:hover .text{color:#9ebaa0}.progress-bar.coffee .rotate,.progress-bar.coffee .right{background-color:#c7a589}.progress-bar.coffee .innerCicle:hover .text{color:#c7a589}.progress-bar.sunrise .rotate,.progress-bar.sunrise .right{background-color:#dd823b}.progress-bar.sunrise .innerCicle:hover .text{color:#dd823b}.rwd-table{margin:1em 0;min-width:300px}.rwd-table tr{border-top:1px solid #ddd;border-bottom:1px solid #ddd}.rwd-table th{display:none}.rwd-table td{display:block}.rwd-table td:first-child{padding-top:.5em}.rwd-table td:last-child{padding-bottom:.5em}.rwd-table td.remove:before{content:'';width:0}.rwd-table td:before{content:attr(data-th) ": ";font-weight:bold;width:6.5em;display:inline-block}@media (min-width: 480px){.rwd-table td:before{display:none}}.rwd-table th,.rwd-table td{text-align:left}@media (min-width: 480px){.rwd-table th,.rwd-table td{display:table-cell;padding:.25em .5em}.rwd-table th:first-child,.rwd-table td:first-child{padding-left:0}.rwd-table th:last-child,.rwd-table td:last-child{padding-right:0}}.clearfix{clear:both}.currentDate{display:none} diff --git a/admin/partials/support-hours-admin-configure-plugin-notice.php b/admin/partials/support-hours-admin-configure-plugin-notice.php new file mode 100644 index 0000000..a0b8ea0 --- /dev/null +++ b/admin/partials/support-hours-admin-configure-plugin-notice.php @@ -0,0 +1,5 @@ +

+ + plugin_name); ?> + +

diff --git a/admin/partials/support-hours-admin-overview-workTable.php b/admin/partials/support-hours-admin-overview-workTable.php new file mode 100644 index 0000000..2c0021c --- /dev/null +++ b/admin/partials/support-hours-admin-overview-workTable.php @@ -0,0 +1,33 @@ + +

plugin_name); ?>

+ + + + + + + + + + + + + + + + + = 5){ + break; + } + } + ?> + +
plugin_name); ?>plugin_name); ?>plugin_name); ?>
+
+ plugin_name); ?> + : +
diff --git a/admin/support-hours-admin-overview.php b/admin/support-hours-admin-overview.php index 04d6756..3fe278c 100644 --- a/admin/support-hours-admin-overview.php +++ b/admin/support-hours-admin-overview.php @@ -17,16 +17,17 @@ if(!empty($users) && (!empty($bought_hours) || $bought_hours == '00:00' ) && !empty($email)): $user_ID = get_current_user_id(); $i = 0; + if ( !empty($workFields[0]['date']) ) : - include_once( 'partials/support-hours-admin-widget-workTable.php' ); + include_once( 'partials/support-hours-admin-overview-workTable.php' ); endif; + include_once( 'partials/support-hours-admin-widget-bottomMessage.php' ); + elseif(empty($users) || empty($email)): - ?> -

- - plugin_name); ?> - -

- + + include_once( 'partials/support-hours-admin-configure-plugin-notice.php' ); + + endif; ?> + diff --git a/admin/support-hours-admin-widget.php b/admin/support-hours-admin-widget.php index 6d4403b..c097de1 100644 --- a/admin/support-hours-admin-widget.php +++ b/admin/support-hours-admin-widget.php @@ -20,21 +20,18 @@ include_once( 'partials/support-hours-admin-widget-clock.php' ); if ( !empty($workFields[0]['date']) ) : - include_once( 'partials/support-hours-admin-widget-workTable.php' ); + + include_once( 'partials/support-hours-admin-overview-workTable.php' ); + endif; include_once( 'partials/support-hours-admin-widget-bottomMessage.php' ); elseif(empty($users) || empty($email)): - ?> -

- - plugin_name); ?> - -

+ include_once( 'partials/support-hours-admin-configure-plugin-notice.php' ); - + else: ?>

plugin_name); ?>. diff --git a/languages/support-hours-nl_NL.mo b/languages/support-hours-nl_NL.mo index b82daae3fbb476b80a2408527abe441868be9345..724c83187a949b25c966a59787592860c6063a42 100644 GIT binary patch delta 64 zcmZ20vsPw9H@mU1p@N}-m4T7AfuVr`SAf56P-Yyd*55jOw; diff --git a/languages/support-hours-nl_NL.po b/languages/support-hours-nl_NL.po index ae9006d..93e90dc 100644 --- a/languages/support-hours-nl_NL.po +++ b/languages/support-hours-nl_NL.po @@ -1,8 +1,8 @@ msgid "" msgstr "" "Project-Id-Version: Support hours\n" -"POT-Creation-Date: 2017-10-06 04:25+0200\n" -"PO-Revision-Date: 2017-10-06 04:55+0200\n" +"POT-Creation-Date: 2017-10-31 10:02+0100\n" +"PO-Revision-Date: 2017-10-31 10:11+0100\n" "Last-Translator: \n" "Language-Team: Erik van der Bas \n" "Language: nl_NL\n" diff --git a/languages/support-hours.pot b/languages/support-hours.pot index 7f56049..d0fd2c5 100644 --- a/languages/support-hours.pot +++ b/languages/support-hours.pot @@ -1,123 +1,254 @@ -# Copyright (C) 2016 Support Hours -# This file is distributed under the same license as the Support Hours package. +# WordPress Blank Pot +# Copyright (C) 2014 ... +# This file is distributed under the GNU General Public License v2 or later. #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Support Hours 1.0\n" -"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/support-hours\n" -"POT-Creation-Date: 2017-09-28 14:00+0200\n" +"Project-Id-Version: " +"WordPress Blank Pot " +"v1.0.0\n" +"POT-Creation-Date: " +"2017-10-31 10:10+0100\n" +"PO-Revision-Date: \n" +"Last-Translator: Your " +"Name \n" +"Language-Team: Your Team " +"\n" +"Report-Msgid-Bugs-To: " +"Translator Name " +"\n" "MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"PO-Revision-Date: 2016-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME \n" -"Language-Team: LANGUAGE \n" -"X-Generator: Poedit 2.0.4\n" +"Content-Type: text/" +"plain; charset=UTF-8\n" +"Content-Transfer-" +"Encoding: 8bit\n" +"Plural-Forms: " +"nplurals=2; plural=n != " +"1;\n" +"X-Textdomain-Support: " +"yesX-Generator: Poedit " +"1.6.4\n" +"X-Poedit-SourceCharset: " +"UTF-8\n" +"X-Poedit-KeywordsList: " +"__;_e;esc_html_e;" +"esc_html_x:1,2c;" +"esc_html__;esc_attr_e;" +"esc_attr_x:1,2c;" +"esc_attr__;_ex:1,2c;" +"_nx:4c,1,2;" +"_nx_noop:4c,1,2;_x:1,2c;" +"_n:1,2;_n_noop:1,2;" +"__ngettext:1,2;" +"__ngettext_noop:1,2;_c," +"_nc:4c,1,2\n" +"X-Poedit-Basepath: ..\n" +"Language: en_US\n" +"X-Generator: Poedit " +"2.0.4\n" +"X-Poedit-" +"SearchPath-0: .\n" +"X-Poedit-" +"SearchPath-1: .\n" + +#: admin/class-support-hours-admin.php:115 +#: admin/class-support-hours-admin.php:124 +msgid "" +"Support Hours overview" +msgstr "" + +#: admin/class-support-hours-admin.php:116 +#: admin/class-support-hours-admin.php:189 +msgid "Support Hours" +msgstr "" -#: admin/class-support-hours-admin.php:114 -#: admin/class-support-hours-admin.php:154 -msgid "Support hours" +#: admin/class-support-hours-admin.php:125 +msgid "Overview" msgstr "" -#: admin/class-support-hours-admin.php:128 +#: admin/class-support-hours-admin.php:132 +msgid "" +"Support Hours settings" +msgstr "" + +#: admin/class-support-hours-admin.php:133 +#: admin/class-support-hours-admin.php:150 msgid "Settings" msgstr "" -#: admin/partials/support-hours-admin-display.php:35 -msgid "Select support-hour manager. " +#: admin/partials/support-hours-admin-settings-textFields.php:2 +msgid "" +"Select Support Hours " +"managers" +msgstr "" + +#: admin/partials/support-hours-admin-settings-textFields.php:3 +msgid "" +"Select Support-Hour " +"manager. Warning! If " +"you do not set yourself " +"as a Support Hours " +"manager, you will loose " +"access to this page " +"until the plugin is " +"disabled and enabled." msgstr "" -#: admin/partials/support-hours-admin-display.php:36 +#: admin/partials/support-hours-admin-settings-textFields.php:8 msgid "" -"Warning! If you select the wrong user, you will not have access to this page " -"until the plugin is disabled and enabled." +"Warning! If you do not " +"set yourself as a " +"Support Hours manager, " +"you will loose access to " +"this page until the " +"plugin is disabled and " +"enabled." msgstr "" -#: admin/partials/support-hours-admin-display.php:37 +#: admin/partials/support-hours-admin-settings-textFields.php:11 +#: admin/partials/support-hours-admin-settings-textFields.php:12 msgid "" -"Select support-hour manager.Warning! If you select the wrong user, you will " -"not have access to this page until the plugin is disabled and enabled." +"E-Mail adress main " +"Support Hours manager" msgstr "" -#: admin/partials/support-hours-admin-display.php:50 -#: admin/partials/support-hours-admin-display.php:51 -msgid "E-Mail adress support-hour manager" +#: admin/partials/support-hours-admin-settings-textFields.php:16 +#: admin/partials/support-hours-admin-settings-textFields.php:17 +msgid "" +"Amount of bought Support " +"Hours" msgstr "" -#: admin/partials/support-hours-admin-display.php:55 -#: admin/partials/support-hours-admin-display.php:56 -msgid "Amount of bought support-hours" +#: admin/partials/support-hours-admin-settings-textFields.php:19 +msgid "" +"Please enter a valid time" msgstr "" -#: admin/partials/support-hours-admin-display.php:58 -#: admin/partials/support-hours-admin-display.php:65 -msgid "Please enter a valid time" +#: admin/partials/support-hours-admin-settings-workTable.php:8 +#: admin/partials/support-hours-admin-settings-workTable.php:23 +#: admin/partials/support-hours-admin-settings-workTable.php:46 +#: admin/partials/support-hours-admin-widget-hourTable.php:6 +#: admin/partials/support-hours-admin-widget-workTable.php:7 +msgid "Date" msgstr "" -#: admin/partials/support-hours-admin-display.php:62 -#: admin/partials/support-hours-admin-display.php:63 -msgid "Amount of used support-hours" +#: admin/partials/support-hours-admin-settings-workTable.php:9 +#: admin/partials/support-hours-admin-settings-workTable.php:28 +#: admin/partials/support-hours-admin-settings-workTable.php:51 +#: admin/partials/support-hours-admin-widget-hourTable.php:7 +#: admin/partials/support-hours-admin-widget-workTable.php:8 +msgid "Description" msgstr "" -#: admin/partials/support-hours-admin-display.php:67 -msgid "Save all changes" +#: admin/partials/support-hours-admin-settings-workTable.php:10 +#: admin/partials/support-hours-admin-settings-workTable.php:32 +#: admin/partials/support-hours-admin-settings-workTable.php:55 +#: admin/partials/support-hours-admin-widget-hourTable.php:8 +#: admin/partials/support-hours-admin-widget-workTable.php:9 +msgid "Time used" msgstr "" -#: admin/partials/support-hours-admin-display.php:71 +#: admin/partials/support-hours-admin-settings-workTable.php:25 +#: admin/partials/support-hours-admin-settings-workTable.php:48 +msgid "Today" +msgstr "" + +#: admin/partials/support-hours-admin-settings-workTable.php:29 +#: admin/partials/support-hours-admin-settings-workTable.php:52 msgid "" -"You do not have access to this page because you are not the support-hour " -"manager. Please disable and enable this plugin if you need access again." +"Description of the " +"activity" msgstr "" -#: admin/partials/support-hours-admin-widget.php:69 -msgid "hours" +#: admin/partials/support-hours-admin-settings-workTable.php:64 +msgid "Add activity" msgstr "" -#: admin/partials/support-hours-admin-widget.php:69 -msgid "used" +#: admin/partials/support-hours-admin-settings-workTable.php:64 +msgid "Save all changes" msgstr "" -#: admin/partials/support-hours-admin-widget.php:85 -msgid "Support-hours used." +#: admin/partials/support-hours-admin-widget-bottomMessage.php:3 +#: admin/partials/support-hours-admin-widget-hourTable.php:30 +msgid "Add new activity" msgstr "" -#: admin/partials/support-hours-admin-widget.php:87 -msgid "Support-hours almost used." +#: admin/partials/support-hours-admin-widget-bottomMessage.php:6 +#: admin/partials/support-hours-admin-widget-hourTable.php:33 +msgid "" +"View all acitivities" +msgstr "" + +#: admin/partials/support-hours-admin-widget-bottomMessage.php:11 +#: admin/partials/support-hours-admin-widget-hourTable.php:37 +msgid "Add first acitivity" +msgstr "" + +#: admin/partials/support-hours-admin-widget-bottomMessage.php:17 +msgid "Support hours used." msgstr "" -#: admin/partials/support-hours-admin-widget.php:89 -msgid "Need more support-hours?" +#: admin/partials/support-hours-admin-widget-bottomMessage.php:19 +msgid "" +"Support hours almost used" msgstr "" -#: admin/partials/support-hours-admin-widget.php:91 -#: admin/partials/support-hours-admin-widget.php:102 +#: admin/partials/support-hours-admin-widget-bottomMessage.php:21 +msgid "" +"Need more support hours" +msgstr "" + +#: admin/partials/support-hours-admin-widget-bottomMessage.php:23 +#: admin/support-hours-admin-widget.php:43 msgid "Contact me via" msgstr "" -#: admin/partials/support-hours-admin-widget.php:97 -msgid "Configure plugin!" +#: admin/partials/support-hours-admin-widget-clock.php:15 +msgid "hours" msgstr "" -#: admin/partials/support-hours-admin-widget.php:100 -msgid "No support-hours bought" +#: admin/partials/support-hours-admin-widget-clock.php:19 +msgid "used" msgstr "" -#. Plugin Name of the plugin/theme -msgid "Support Hours" +#: admin/partials/support-hours-admin-widget-hourTable.php:2 +#: admin/partials/support-hours-admin-widget-workTable.php:2 +msgid "Activities" +msgstr "" + +#: admin/partials/support-hours-admin-widget-hourTable.php:35 +#: admin/partials/support-hours-admin-widget-workTable.php:31 +msgid "Total" msgstr "" -#. Plugin URI of the plugin/theme -#. Author URI of the plugin/theme -msgid "http://basedonline.nl" +#: admin/support-hours-admin-overview.php:28 +#: admin/support-hours-admin-widget.php:33 +msgid "Configure plugin!" msgstr "" -#. Description of the plugin/theme +#: admin/support-hours-admin-settings.php:35 msgid "" -"The support-hours plugin can be used to give your customers insights on the " -"status of their pre-paid support-hours. Security by setting only one manager " -"at the first time you use the plugin." +"You do not have access " +"to this page because you " +"are not a Support Hours " +"manager. Please disable " +"and enable this plugin " +"if you need access again." msgstr "" -#. Author of the plugin/theme -msgid "Erik van der Bas" +#: admin/support-hours-admin-widget.php:40 +msgid "" +"No support Hours bought" +msgstr "" + +#: includes/class-support-hours-activator.php:36 +msgid "" +"Support Hours uses a new " +"system to store hours. " +"Do not forget to input " +"the old hours into the " +"new system. Amount of " +"old hours need to be set:" msgstr "" diff --git a/support-hours.php b/support-hours.php index aaa5b33..4596b6f 100644 --- a/support-hours.php +++ b/support-hours.php @@ -16,7 +16,7 @@ * Plugin Name: Support Hours * Plugin URI: http://basedonline.nl * Description: The support-hours plugin can be used to give your customers insight on the status of their pre-paid support hours. - * Version: 1.4.1 + * Version: 1.4.2 * Author: Erik van der Bas * Author URI: http://basedonline.nl * License: GPL-2.0+