Version Description
- New translation Deutch (de_DE)
- New translation Finnish (fi_FI)
- Bug fix: Google analytics field.
Download this release
Release Info
Developer | fruitfulcode |
Plugin | Maintenance |
Version | 2.1.2 |
Comparing to | |
See all releases |
Code changes from version 2.1.1 to 2.1.2
- includes/admin.php +1 -0
- includes/functions.php +9 -4
- languages/maintenance-de_DE.mo +0 -0
- languages/maintenance-de_DE.po +249 -0
- languages/maintenance-fi_FI.mo +0 -0
- languages/maintenance-fi_FI.po +247 -0
- load/functions.php +24 -6
- maintenance.php +1 -1
- readme.txt +9 -4
- screenshot-1.png +0 -0
includes/admin.php
CHANGED
@@ -60,6 +60,7 @@
|
|
60 |
$mt_option = mt_get_plugin_options(true);
|
61 |
?>
|
62 |
<div id="maintenance-options" class="wrap">
|
|
|
63 |
<form method="post" action="" enctype="multipart/form-data" name="options-form">
|
64 |
<?php wp_nonce_field('maintenance_edit_post','maintenance_nonce'); ?>
|
65 |
<?php wp_nonce_field('meta-box-order', 'meta-box-order-nonce', false ); ?>
|
60 |
$mt_option = mt_get_plugin_options(true);
|
61 |
?>
|
62 |
<div id="maintenance-options" class="wrap">
|
63 |
+
<h2></h2>
|
64 |
<form method="post" action="" enctype="multipart/form-data" name="options-form">
|
65 |
<?php wp_nonce_field('maintenance_edit_post','maintenance_nonce'); ?>
|
66 |
<?php wp_nonce_field('meta-box-order', 'meta-box-order-nonce', false ); ?>
|
includes/functions.php
CHANGED
@@ -129,7 +129,12 @@
|
|
129 |
do_action('maintenance_color_fields');
|
130 |
generate_check_filed(__('Admin bar', 'maintenance'), __('Show admin bar', 'maintenance'), 'admin_bar_enabled', 'admin_bar_enabled', isset($mt_option['admin_bar_enabled']));
|
131 |
generate_check_filed(__('503', 'maintenance'), __('Service temporarily unavailable', 'maintenance'), '503_enabled', '503_enabled', isset($mt_option['503_enabled']));
|
132 |
-
|
|
|
|
|
|
|
|
|
|
|
133 |
generate_input_filed(__('Blur intensity', 'maintenance'), 'blur_intensity', 'blur_intensity', intval($mt_option['blur_intensity']));
|
134 |
generate_check_filed(__('Background blur', 'maintenance'), __('Apply a blur', 'maintenance'), 'is_blur', 'is_blur', isset($mt_option['is_blur']));
|
135 |
generate_check_filed(__('Login On / Off', 'maintenance'), '', 'is_login', 'is_login', isset($mt_option['is_login']));
|
@@ -189,9 +194,9 @@
|
|
189 |
list( $year, $month, $day ) = explode( '-', $date );
|
190 |
list( $hour, $minute, $second ) = explode ( ':', $time );
|
191 |
$timestamp = mktime( $hour, $minute, $second, $month, $day, $year );
|
192 |
-
|
193 |
-
if (
|
194 |
-
|
195 |
}
|
196 |
}
|
197 |
|
129 |
do_action('maintenance_color_fields');
|
130 |
generate_check_filed(__('Admin bar', 'maintenance'), __('Show admin bar', 'maintenance'), 'admin_bar_enabled', 'admin_bar_enabled', isset($mt_option['admin_bar_enabled']));
|
131 |
generate_check_filed(__('503', 'maintenance'), __('Service temporarily unavailable', 'maintenance'), '503_enabled', '503_enabled', isset($mt_option['503_enabled']));
|
132 |
+
|
133 |
+
$gg_analytics_id = '';
|
134 |
+
if (!empty($mt_option['gg_analytics_id'])) {
|
135 |
+
$gg_analytics_id = esc_attr($mt_option['gg_analytics_id']);
|
136 |
+
}
|
137 |
+
generate_input_filed(__('Google Analytics ID', 'maintenance'), 'gg_analytics_id', 'gg_analytics_id', $gg_analytics_id, __('UA-XXXXX-X', 'maintenance'));
|
138 |
generate_input_filed(__('Blur intensity', 'maintenance'), 'blur_intensity', 'blur_intensity', intval($mt_option['blur_intensity']));
|
139 |
generate_check_filed(__('Background blur', 'maintenance'), __('Apply a blur', 'maintenance'), 'is_blur', 'is_blur', isset($mt_option['is_blur']));
|
140 |
generate_check_filed(__('Login On / Off', 'maintenance'), '', 'is_login', 'is_login', isset($mt_option['is_login']));
|
194 |
list( $year, $month, $day ) = explode( '-', $date );
|
195 |
list( $hour, $minute, $second ) = explode ( ':', $time );
|
196 |
$timestamp = mktime( $hour, $minute, $second, $month, $day, $year );
|
197 |
+
|
198 |
+
if ((time() > $timestamp) && (!empty($mt_options['is_down']))) {
|
199 |
+
return true;
|
200 |
}
|
201 |
}
|
202 |
|
languages/maintenance-de_DE.mo
ADDED
Binary file
|
languages/maintenance-de_DE.po
ADDED
@@ -0,0 +1,249 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
msgid ""
|
2 |
+
msgstr ""
|
3 |
+
"Project-Id-Version: maintenance\n"
|
4 |
+
"POT-Creation-Date: 2014-02-18 12:25+0200\n"
|
5 |
+
"PO-Revision-Date: 2014-05-02 08:16+0100\n"
|
6 |
+
"Last-Translator: René Maurer <rene.maurer@jamos.ch>\n"
|
7 |
+
"Language-Team: fruitfulcode\n"
|
8 |
+
"MIME-Version: 1.0\n"
|
9 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
10 |
+
"Content-Transfer-Encoding: 8bit\n"
|
11 |
+
"X-Generator: Poedit 1.6.5\n"
|
12 |
+
"X-Poedit-KeywordsList: _;_e;__;_x\n"
|
13 |
+
"X-Poedit-Basepath: .\n"
|
14 |
+
"X-Poedit-SourceCharset: UTF-8\n"
|
15 |
+
"Language: de_CH\n"
|
16 |
+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
17 |
+
|
18 |
+
#: /includes/admin.php:84
|
19 |
+
msgid "Save changes"
|
20 |
+
msgstr "Einstellungen speichern"
|
21 |
+
|
22 |
+
#: /includes/functions.php:104
|
23 |
+
msgid "General Settings"
|
24 |
+
msgstr "Generelle Einstellungen"
|
25 |
+
|
26 |
+
#: /includes/functions.php:110
|
27 |
+
msgid "Pro version"
|
28 |
+
msgstr "Pro Version"
|
29 |
+
|
30 |
+
#: /includes/functions.php:116
|
31 |
+
msgid "Support"
|
32 |
+
msgstr "Support"
|
33 |
+
|
34 |
+
#: /includes/functions.php:124
|
35 |
+
msgid "Page title"
|
36 |
+
msgstr "Seiten Titel"
|
37 |
+
|
38 |
+
#: /includes/functions.php:125
|
39 |
+
msgid "Headline"
|
40 |
+
msgstr "Kopfzeile"
|
41 |
+
|
42 |
+
#: /includes/functions.php:126
|
43 |
+
msgid "Description"
|
44 |
+
msgstr "Beschreibung"
|
45 |
+
|
46 |
+
#: /includes/functions.php:127
|
47 |
+
msgid "Logo"
|
48 |
+
msgstr "Logo"
|
49 |
+
|
50 |
+
#: /includes/functions.php:127
|
51 |
+
msgid "Upload Logo"
|
52 |
+
msgstr "logo hochladen"
|
53 |
+
|
54 |
+
#: /includes/functions.php:130
|
55 |
+
msgid "Admin bar"
|
56 |
+
msgstr "Admin Bar"
|
57 |
+
|
58 |
+
#: /includes/functions.php:130
|
59 |
+
msgid "Show admin bar"
|
60 |
+
msgstr "Zeige Admin Bar"
|
61 |
+
|
62 |
+
#: /includes/functions.php:131
|
63 |
+
msgid "503"
|
64 |
+
msgstr "503"
|
65 |
+
|
66 |
+
#: /includes/functions.php:131
|
67 |
+
msgid "Service temporarily unavailable"
|
68 |
+
msgstr "Service zurzeit nicht verfügbar"
|
69 |
+
|
70 |
+
#: /includes/functions.php:132
|
71 |
+
msgid "Google Analytics ID"
|
72 |
+
msgstr "UA-XXXXX-X"
|
73 |
+
|
74 |
+
#: /includes/functions.php:132
|
75 |
+
msgid "UA-XXXXX-X"
|
76 |
+
msgstr "UA-XXXXX-X"
|
77 |
+
|
78 |
+
#: /includes/functions.php:133
|
79 |
+
msgid "Blur intensity"
|
80 |
+
msgstr "Intensität des Verwischens"
|
81 |
+
|
82 |
+
#: /includes/functions.php:134
|
83 |
+
msgid "Background blur"
|
84 |
+
msgstr "Hintergrund Verwischen"
|
85 |
+
|
86 |
+
#: /includes/functions.php:134
|
87 |
+
msgid "Apply a blur"
|
88 |
+
msgstr "Verwischen aktivieren"
|
89 |
+
|
90 |
+
#: /includes/functions.php:135
|
91 |
+
msgid "Login On / Off"
|
92 |
+
msgstr "Login Ein / Aus"
|
93 |
+
|
94 |
+
#: /includes/functions.php:142
|
95 |
+
msgid "Background image"
|
96 |
+
msgstr "Hintergrundbild"
|
97 |
+
|
98 |
+
#: /includes/functions.php:142
|
99 |
+
msgid "Upload Background"
|
100 |
+
msgstr "Hintergrundbild hochladen"
|
101 |
+
|
102 |
+
#: /includes/functions.php:148
|
103 |
+
msgid "Background color"
|
104 |
+
msgstr "Hintergrund Farbe"
|
105 |
+
|
106 |
+
#: /includes/functions.php:149
|
107 |
+
msgid "Font color"
|
108 |
+
msgstr "Schrift Farbe"
|
109 |
+
|
110 |
+
#: /includes/functions.php:157
|
111 |
+
msgid "Have any questions?"
|
112 |
+
msgstr "Hast du bestimmte Fragen?"
|
113 |
+
|
114 |
+
#: /includes/functions.php:158
|
115 |
+
#, php-format
|
116 |
+
msgid ""
|
117 |
+
"You may find answers to your questions at <a target=\"_blank\" href=\"http://"
|
118 |
+
"wordpress.org/support/plugin/maintenance\">support forum</a><br>You may <a "
|
119 |
+
"target=\"_blank\" href=\"mailto:mail@fruitfulcode.com?subject=Maintenance "
|
120 |
+
"plugin\">contact us</a> with customization requests and suggestions.<br> "
|
121 |
+
"Please visit our website to learn about us and our services <a href=\"%1$s\" "
|
122 |
+
"title=\"%2$s\">%2$s</a>"
|
123 |
+
msgstr ""
|
124 |
+
"Vielleicht findest du die Antworten im <a target=\"_blank\" href=\"http://"
|
125 |
+
"wordpress.org/support/plugin/maintenance\">Support Forum</a>.<br>Du kannst "
|
126 |
+
"uns und auch mit deinem Anliegen <a target=\"_blank\" href=\"mailto:"
|
127 |
+
"mail@fruitfulcode.com?subject=Maintenance plugin\">kontaktieren</a> <br> "
|
128 |
+
"Bitte besuche zuerst unsere Webseite <a href=\"%1$s\" title=\"%2$s\">%2$s</"
|
129 |
+
"a> um mehr über unsere Dienstleistungen zu erfahren "
|
130 |
+
|
131 |
+
#: /includes/functions.php:169
|
132 |
+
msgid "Extended functionality"
|
133 |
+
msgstr "Erweiterte Funktionalitäten"
|
134 |
+
|
135 |
+
#: /includes/functions.php:170
|
136 |
+
#, php-format
|
137 |
+
msgid ""
|
138 |
+
"Purchase <a href=\"http://codecanyon.net/item/maintenance-wordpress-"
|
139 |
+
"plugin/2781350?ref=fruitfulcode\" target=\"_blank\">PRO</a> version with "
|
140 |
+
"extended functionality. %1$s If you like our plugin please <a target=\"_blank"
|
141 |
+
"\" href=\"http://wordpress.org/support/view/plugin-reviews/maintenance?"
|
142 |
+
"filter=5\">rate it</a>, <a title=\"leave feedbacks\" href=\"%2$s\" target="
|
143 |
+
"\"_blank\">leave feedbacks</a>."
|
144 |
+
msgstr ""
|
145 |
+
"Kaufe eine <a href=\"http://codecanyon.net/item/maintenance-wordpress-"
|
146 |
+
"plugin/2781350?ref=fruitfulcode\" target=\"_blank\">PRO</a> Version mit "
|
147 |
+
"erweiterten Funktionen. %1$s Wenn du unser Plugin gut findest <a target="
|
148 |
+
"\"_blank\" href=\"http://wordpress.org/support/view/plugin-reviews/"
|
149 |
+
"maintenance?filter=5\">bewerte es</a> oder <a title=\"leave feedbacks\" href="
|
150 |
+
"\"%2$s\" target=\"_blank\">hinterlasse ein Feedback</a>."
|
151 |
+
|
152 |
+
#: /includes/functions.php:174
|
153 |
+
msgid "Demo website"
|
154 |
+
msgstr "Demo Webseite"
|
155 |
+
|
156 |
+
#: /includes/functions.php:232
|
157 |
+
msgid "Maintenance"
|
158 |
+
msgstr "Maintenance"
|
159 |
+
|
160 |
+
#: /includes/functions.php:255
|
161 |
+
msgid "Website is under construction"
|
162 |
+
msgstr "Die Webseite ist im Aufbau"
|
163 |
+
|
164 |
+
#: /includes/functions.php:256
|
165 |
+
msgid "Maintenance mode is on"
|
166 |
+
msgstr "Der Wartungsmodus ist aktiv"
|
167 |
+
|
168 |
+
#: /includes/functions.php:257
|
169 |
+
msgid "Website will be available soon"
|
170 |
+
msgstr "Die Webseite wird in Kürze wieder verfügbar sein"
|
171 |
+
|
172 |
+
#: /load/functions.php:37
|
173 |
+
msgid "Permission access denied!"
|
174 |
+
msgstr "Zugriff verweigert!"
|
175 |
+
|
176 |
+
#: /load/functions.php:45
|
177 |
+
msgid "You entered your login are incorrect!"
|
178 |
+
msgstr "Du hast einen falschen Benutzernamen eingegeben!"
|
179 |
+
|
180 |
+
#: /load/functions.php:49
|
181 |
+
msgid "You entered your password are incorrect!"
|
182 |
+
msgstr "Du hast ein falsches Passwort eingegeben!"
|
183 |
+
|
184 |
+
#: /load/functions.php:52
|
185 |
+
msgid "You entered your login and password are incorrect!"
|
186 |
+
msgstr "Dein Benutzername und Passwort ist falsch"
|
187 |
+
|
188 |
+
#: /load/functions.php:223
|
189 |
+
msgid "Username"
|
190 |
+
msgstr "Benutzername"
|
191 |
+
|
192 |
+
#: /load/functions.php:224
|
193 |
+
msgid "Password"
|
194 |
+
msgstr "Passwort"
|
195 |
+
|
196 |
+
#: /load/functions.php:225
|
197 |
+
msgid "Sign In"
|
198 |
+
msgstr "Anmelden"
|
199 |
+
|
200 |
+
#, fuzzy
|
201 |
+
#~ msgid "maintenance"
|
202 |
+
#~ msgstr "Manutenção"
|
203 |
+
|
204 |
+
#~ msgid "Contact support"
|
205 |
+
#~ msgstr "Contatar suporte"
|
206 |
+
|
207 |
+
#~ msgid ""
|
208 |
+
#~ "If you faced with any problems, have a question or suggestion you always "
|
209 |
+
#~ "can contact us with any request on our website <a href=\"%1$s\" title="
|
210 |
+
#~ "\"%2$s\">%2$s</a>"
|
211 |
+
#~ msgstr ""
|
212 |
+
#~ "Se você viu algum problem, tem alguma dúvida ou sugestão, você pode nos "
|
213 |
+
#~ "contatar em nosso site <a href=\"%1$s\" title=\"%2$s\">%2$s</a>"
|
214 |
+
|
215 |
+
#~ msgid ""
|
216 |
+
#~ "If you like our plugin please rate it, %1$s <a title=\"leave feedback\" "
|
217 |
+
#~ "href=\"%2$s\" target=\"_blank\">leave feedback</a> or purchase extended "
|
218 |
+
#~ "version %1$s with more other features."
|
219 |
+
#~ msgstr ""
|
220 |
+
#~ "Se você gostou de nosso plugin, por-favor avalie-o, %1$s <a title=\"deixe "
|
221 |
+
#~ "um comentário\" href=\"%2$s\" target=\"_blank\">deixe um comentário</a> "
|
222 |
+
#~ "ou adquira a versão extendida %1$s com mais funcionalidades."
|
223 |
+
|
224 |
+
#~ msgid "Purchase"
|
225 |
+
#~ msgstr "Comprar"
|
226 |
+
|
227 |
+
#~ msgid "We have time until launch"
|
228 |
+
#~ msgstr "Осталось времени до запуска"
|
229 |
+
|
230 |
+
#~ msgid "Be first of your friends who will know when the website goes live."
|
231 |
+
#~ msgstr "Будь первым из твоих друзей, кто узнает о запуске сайта."
|
232 |
+
|
233 |
+
#~ msgid "Check out our extended version of plugin with new features"
|
234 |
+
#~ msgstr "Проверьте возможности расширенной версии плагина"
|
235 |
+
|
236 |
+
#~ msgid "Your session has expired."
|
237 |
+
#~ msgstr "Ваша сессия истекла."
|
238 |
+
|
239 |
+
#~ msgid "Customer login"
|
240 |
+
#~ msgstr "Вход для клиентов"
|
241 |
+
|
242 |
+
#~ msgid "Please login to see website"
|
243 |
+
#~ msgstr "Пожалуйста авторезируйтесь"
|
244 |
+
|
245 |
+
#~ msgid "User roles"
|
246 |
+
#~ msgstr "Роли пользователей"
|
247 |
+
|
248 |
+
#~ msgid "Choose users access permissions in maintenance mode."
|
249 |
+
#~ msgstr "Выберите права доступа пользователей в режиме обслуживания."
|
languages/maintenance-fi_FI.mo
ADDED
Binary file
|
languages/maintenance-fi_FI.po
ADDED
@@ -0,0 +1,247 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
msgid ""
|
2 |
+
msgstr ""
|
3 |
+
"Project-Id-Version: maintenance\n"
|
4 |
+
"POT-Creation-Date: 2014-02-18 12:25+0200\n"
|
5 |
+
"PO-Revision-Date: 2014-05-05 10:10+0200\n"
|
6 |
+
"Last-Translator: Antti Kuosmanen <antti@seravo.fi>\n"
|
7 |
+
"Language-Team: fruitfulcode\n"
|
8 |
+
"MIME-Version: 1.0\n"
|
9 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
10 |
+
"Content-Transfer-Encoding: 8bit\n"
|
11 |
+
"X-Generator: Poedit 1.6.5\n"
|
12 |
+
"X-Poedit-KeywordsList: _;_e;__;_x\n"
|
13 |
+
"X-Poedit-Basepath: .\n"
|
14 |
+
"X-Poedit-SourceCharset: UTF-8\n"
|
15 |
+
"Language: fi\n"
|
16 |
+
|
17 |
+
#: /includes/admin.php:84
|
18 |
+
msgid "Save changes"
|
19 |
+
msgstr "Tallenna muutokset"
|
20 |
+
|
21 |
+
#: /includes/functions.php:104
|
22 |
+
msgid "General Settings"
|
23 |
+
msgstr "Yleiset asetukset"
|
24 |
+
|
25 |
+
#: /includes/functions.php:110
|
26 |
+
msgid "Pro version"
|
27 |
+
msgstr "Pro-versio"
|
28 |
+
|
29 |
+
#: /includes/functions.php:116
|
30 |
+
msgid "Support"
|
31 |
+
msgstr "Tukipalvelu"
|
32 |
+
|
33 |
+
#: /includes/functions.php:124
|
34 |
+
msgid "Page title"
|
35 |
+
msgstr "Sivun otsikko"
|
36 |
+
|
37 |
+
#: /includes/functions.php:125
|
38 |
+
msgid "Headline"
|
39 |
+
msgstr "Otsake"
|
40 |
+
|
41 |
+
#: /includes/functions.php:126
|
42 |
+
msgid "Description"
|
43 |
+
msgstr "Kuvaus"
|
44 |
+
|
45 |
+
#: /includes/functions.php:127
|
46 |
+
msgid "Logo"
|
47 |
+
msgstr "Logo"
|
48 |
+
|
49 |
+
#: /includes/functions.php:127
|
50 |
+
msgid "Upload Logo"
|
51 |
+
msgstr "Lataa Logo"
|
52 |
+
|
53 |
+
#: /includes/functions.php:130
|
54 |
+
msgid "Admin bar"
|
55 |
+
msgstr "Työkalupalkki"
|
56 |
+
|
57 |
+
#: /includes/functions.php:130
|
58 |
+
msgid "Show admin bar"
|
59 |
+
msgstr "Näytä työkalupalkki"
|
60 |
+
|
61 |
+
#: /includes/functions.php:131
|
62 |
+
msgid "503"
|
63 |
+
msgstr "503"
|
64 |
+
|
65 |
+
#: /includes/functions.php:131
|
66 |
+
msgid "Service temporarily unavailable"
|
67 |
+
msgstr "Palvelu ei ole käytettävissä"
|
68 |
+
|
69 |
+
#: /includes/functions.php:132
|
70 |
+
msgid "Google Analytics ID"
|
71 |
+
msgstr "Google Analytics ID"
|
72 |
+
|
73 |
+
#: /includes/functions.php:132
|
74 |
+
msgid "UA-XXXXX-X"
|
75 |
+
msgstr "UA-XXXXX-X"
|
76 |
+
|
77 |
+
#: /includes/functions.php:133
|
78 |
+
msgid "Blur intensity"
|
79 |
+
msgstr "Sumeuden taso"
|
80 |
+
|
81 |
+
#: /includes/functions.php:134
|
82 |
+
msgid "Background blur"
|
83 |
+
msgstr "Taustan sumennus"
|
84 |
+
|
85 |
+
#: /includes/functions.php:134
|
86 |
+
msgid "Apply a blur"
|
87 |
+
msgstr "Käytä sumennusta"
|
88 |
+
|
89 |
+
#: /includes/functions.php:135
|
90 |
+
msgid "Login On / Off"
|
91 |
+
msgstr "Kirjautuminen Päällä / Pois"
|
92 |
+
|
93 |
+
#: /includes/functions.php:142
|
94 |
+
msgid "Background image"
|
95 |
+
msgstr "Taustakuva"
|
96 |
+
|
97 |
+
#: /includes/functions.php:142
|
98 |
+
msgid "Upload Background"
|
99 |
+
msgstr "Lataa taustakuva"
|
100 |
+
|
101 |
+
#: /includes/functions.php:148
|
102 |
+
msgid "Background color"
|
103 |
+
msgstr "Taustaväri"
|
104 |
+
|
105 |
+
#: /includes/functions.php:149
|
106 |
+
msgid "Font color"
|
107 |
+
msgstr "Tekstin väri"
|
108 |
+
|
109 |
+
#: /includes/functions.php:157
|
110 |
+
msgid "Have any questions?"
|
111 |
+
msgstr "Kysymyksiä?"
|
112 |
+
|
113 |
+
#: /includes/functions.php:158
|
114 |
+
#, php-format
|
115 |
+
msgid ""
|
116 |
+
"You may find answers to your questions at <a target=\"_blank\" href=\"http://"
|
117 |
+
"wordpress.org/support/plugin/maintenance\">support forum</a><br>You may <a "
|
118 |
+
"target=\"_blank\" href=\"mailto:mail@fruitfulcode.com?subject=Maintenance "
|
119 |
+
"plugin\">contact us</a> with customization requests and suggestions.<br> "
|
120 |
+
"Please visit our website to learn about us and our services <a href=\"%1$s\" "
|
121 |
+
"title=\"%2$s\">%2$s</a>"
|
122 |
+
msgstr ""
|
123 |
+
"Saatat löytää vastaukset kysymyksiisi englanninkieliseltä <a target=\"_blank"
|
124 |
+
"\" href=\"http://wordpress.org/support/plugin/maintenance"
|
125 |
+
"\">tukifoorumiltamme</a><br>Voit myös <a target=\"_blank\" href=\"mailto:"
|
126 |
+
"mail@fruitfulcode.com?subject=Maintenance plugin\">lähettää sähköpostia</a> "
|
127 |
+
"(englanniksi) räätälöinti- ja ehdotusasioista.<br> Lisätietoa meistä ja "
|
128 |
+
"palveluistamme löytyy verkkosivuiltamme <a href=\"%1$s\" title=\"%2$s\">"
|
129 |
+
"%2$s</a>"
|
130 |
+
|
131 |
+
#: /includes/functions.php:169
|
132 |
+
msgid "Extended functionality"
|
133 |
+
msgstr "Lisätoiminnallisuus"
|
134 |
+
|
135 |
+
#: /includes/functions.php:170
|
136 |
+
#, php-format
|
137 |
+
msgid ""
|
138 |
+
"Purchase <a href=\"http://codecanyon.net/item/maintenance-wordpress-"
|
139 |
+
"plugin/2781350?ref=fruitfulcode\" target=\"_blank\">PRO</a> version with "
|
140 |
+
"extended functionality. %1$s If you like our plugin please <a target=\"_blank"
|
141 |
+
"\" href=\"http://wordpress.org/support/view/plugin-reviews/maintenance?"
|
142 |
+
"filter=5\">rate it</a>, <a title=\"leave feedbacks\" href=\"%2$s\" target="
|
143 |
+
"\"_blank\">leave feedbacks</a>."
|
144 |
+
msgstr ""
|
145 |
+
"Osta <a href=\"http://codecanyon.net/item/maintenance-wordpress-"
|
146 |
+
"plugin/2781350?ref=fruitfulcode\" target=\"_blank\">PRO</a>-versio "
|
147 |
+
"lisätoiminnallisuuksilla. %1$s Jos pidät lisäosasta, <a target=\"_blank\" "
|
148 |
+
"href=\"http://wordpress.org/support/view/plugin-reviews/maintenance?"
|
149 |
+
"filter=5\">rate it</a>, <a title=\"leave feedbacks\" href=\"%2$s\" target="
|
150 |
+
"\"_blank\">käy kirjoittamassa meille palautetta</a>."
|
151 |
+
|
152 |
+
#: /includes/functions.php:174
|
153 |
+
msgid "Demo website"
|
154 |
+
msgstr "Esimerkkiverkkosivu"
|
155 |
+
|
156 |
+
#: /includes/functions.php:232
|
157 |
+
msgid "Maintenance"
|
158 |
+
msgstr "Huoltotila"
|
159 |
+
|
160 |
+
#: /includes/functions.php:255
|
161 |
+
msgid "Website is under construction"
|
162 |
+
msgstr "Verkkosivu rakenteilla"
|
163 |
+
|
164 |
+
#: /includes/functions.php:256
|
165 |
+
msgid "Maintenance mode is on"
|
166 |
+
msgstr "Huoltotila päällä"
|
167 |
+
|
168 |
+
#: /includes/functions.php:257
|
169 |
+
msgid "Website will be available soon"
|
170 |
+
msgstr "Verkkosivu avataan pian"
|
171 |
+
|
172 |
+
#: /load/functions.php:37
|
173 |
+
msgid "Permission access denied!"
|
174 |
+
msgstr "Pääsy kielletty!"
|
175 |
+
|
176 |
+
#: /load/functions.php:45
|
177 |
+
msgid "You entered your login are incorrect!"
|
178 |
+
msgstr "Kirjautuminen epäonnistui."
|
179 |
+
|
180 |
+
#: /load/functions.php:49
|
181 |
+
msgid "You entered your password are incorrect!"
|
182 |
+
msgstr "Kirjautuminen epäonnistui."
|
183 |
+
|
184 |
+
#: /load/functions.php:52
|
185 |
+
msgid "You entered your login and password are incorrect!"
|
186 |
+
msgstr "Kirjautuminen epäonnistui."
|
187 |
+
|
188 |
+
#: /load/functions.php:223
|
189 |
+
msgid "Username"
|
190 |
+
msgstr "Käyttäjänimi"
|
191 |
+
|
192 |
+
#: /load/functions.php:224
|
193 |
+
msgid "Password"
|
194 |
+
msgstr "Salasana"
|
195 |
+
|
196 |
+
#: /load/functions.php:225
|
197 |
+
msgid "Sign In"
|
198 |
+
msgstr "Kirjaudu"
|
199 |
+
|
200 |
+
#~ msgid "Contact support"
|
201 |
+
#~ msgstr "Служба поддержки"
|
202 |
+
|
203 |
+
#~ msgid ""
|
204 |
+
#~ "If you faced with any problems, have a question or suggestion you always "
|
205 |
+
#~ "can contact us with any request on our website <a href=\"%1$s\" title="
|
206 |
+
#~ "\"%2$s\">%2$s</a>"
|
207 |
+
#~ msgstr ""
|
208 |
+
#~ "Если вы столкнулись с любыми проблемами, есть вопрос или предложение, вы "
|
209 |
+
#~ "всегда можете обратиться к нам с любым предложением на нашем сайте <a "
|
210 |
+
#~ "href=\"%1$s\" title=\"%2$s\">%2$s</a>"
|
211 |
+
|
212 |
+
#~ msgid ""
|
213 |
+
#~ "If you like our plugin please rate it, %1$s <a title=\"leave feedback\" "
|
214 |
+
#~ "href=\"%2$s\" target=\"_blank\">leave feedback</a> or purchase extended "
|
215 |
+
#~ "version %1$s with more other features."
|
216 |
+
#~ msgstr ""
|
217 |
+
#~ "Если Вам нравиться наш плагин, оцените его %1$s <a title=\"оставить "
|
218 |
+
#~ "комментарий\" href=\"%2$s\" target=\"_blank\">оставить комментарий</a> "
|
219 |
+
#~ "или купите расширенную версию %1$s с дополнительными возможностями."
|
220 |
+
|
221 |
+
#~ msgid "Purchase"
|
222 |
+
#~ msgstr "Купить"
|
223 |
+
|
224 |
+
#~ msgid "We have time until launch"
|
225 |
+
#~ msgstr "Осталось времени до запуска"
|
226 |
+
|
227 |
+
#~ msgid "Be first of your friends who will know when the website goes live."
|
228 |
+
#~ msgstr "Будь первым из твоих друзей, кто узнает о запуске сайта."
|
229 |
+
|
230 |
+
#~ msgid "Check out our extended version of plugin with new features"
|
231 |
+
#~ msgstr "Проверьте возможности расширенной версии плагина"
|
232 |
+
|
233 |
+
#~ msgid "Your session has expired."
|
234 |
+
#~ msgstr "Ваша сессия истекла."
|
235 |
+
|
236 |
+
#~ msgid "Customer login"
|
237 |
+
#~ msgstr "Вход для клиентов"
|
238 |
+
|
239 |
+
#~ msgid "Please login to see website"
|
240 |
+
#~ msgstr "Пожалуйста авторезируйтесь"
|
241 |
+
|
242 |
+
#~ msgid "User roles"
|
243 |
+
#~ msgstr "Роли пользователей"
|
244 |
+
|
245 |
+
#~ msgid "Choose users access permissions in maintenance mode."
|
246 |
+
#~ msgstr "Выберите права доступа пользователей в режиме обслуживания."
|
247 |
+
|
load/functions.php
CHANGED
@@ -257,11 +257,10 @@ function get_custom_login_code() {
|
|
257 |
$mt_options = mt_get_plugin_options(true);
|
258 |
if (!isset($mt_options['503_enabled']) && (isset($mt_options['gg_analytics_id']))) {
|
259 |
?>
|
260 |
-
|
261 |
<script type="text/javascript">
|
262 |
var _gaq = _gaq || [];
|
263 |
_gaq.push(['_setAccount', '<?php echo esc_attr($mt_options['gg_analytics_id']); ?>']);
|
264 |
-
|
265 |
(function() {
|
266 |
var ga = document.createElement('script');
|
267 |
ga.type = 'text/javascript';
|
@@ -279,9 +278,28 @@ function get_custom_login_code() {
|
|
279 |
$mt_options = mt_get_plugin_options(true);
|
280 |
nocache_headers();
|
281 |
if (isset($mt_options['503_enabled'])) {
|
282 |
-
|
283 |
-
|
284 |
-
|
285 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
286 |
}
|
287 |
}
|
257 |
$mt_options = mt_get_plugin_options(true);
|
258 |
if (!isset($mt_options['503_enabled']) && (isset($mt_options['gg_analytics_id']))) {
|
259 |
?>
|
|
|
260 |
<script type="text/javascript">
|
261 |
var _gaq = _gaq || [];
|
262 |
_gaq.push(['_setAccount', '<?php echo esc_attr($mt_options['gg_analytics_id']); ?>']);
|
263 |
+
_gaq.push(['_trackPageview']);
|
264 |
(function() {
|
265 |
var ga = document.createElement('script');
|
266 |
ga.type = 'text/javascript';
|
278 |
$mt_options = mt_get_plugin_options(true);
|
279 |
nocache_headers();
|
280 |
if (isset($mt_options['503_enabled'])) {
|
281 |
+
$protocol = "HTTP/1.0";
|
282 |
+
if ( "HTTP/1.1" == $_SERVER["SERVER_PROTOCOL"] )
|
283 |
+
$protocol = "HTTP/1.1";
|
284 |
+
header( "$protocol 503 Service Unavailable", true, 503 );
|
285 |
+
|
286 |
+
if ($mt_options['state']) {
|
287 |
+
if (!empty($mt_options['expiry_date'])) {
|
288 |
+
$vCurrDate = DateTime::createFromFormat('d/m/Y', $mt_options['expiry_date']);
|
289 |
+
list( $date, $time ) = explode( ' ', current($vCurrDate));
|
290 |
+
list( $year, $month, $day ) = explode( '-', $date );
|
291 |
+
list( $hour, $minute, $second ) = explode ( ':', $time );
|
292 |
+
$timestamp = mktime( $hour, $minute, $second, $month, $day, $year );
|
293 |
+
|
294 |
+
|
295 |
+
if ( time() < $timestamp ) {
|
296 |
+
header( "Retry-After: " . gmdate("M d Y H:i:s", $timestamp) );
|
297 |
+
} else {
|
298 |
+
header( "Retry-After: 3600" );
|
299 |
+
}
|
300 |
+
}
|
301 |
+
} else {
|
302 |
+
header( "Retry-After: 3600" );
|
303 |
+
}
|
304 |
}
|
305 |
}
|
maintenance.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Maintenance
|
4 |
Plugin URI: http://wordpress.org/plugins/maintenance/
|
5 |
Description: Take your website for maintenance away from public view. Use maintenance plugin if your website is in development or you need to change a few things, run an upgrade. Make it only accessible by login and password. Plugin has a options to add a logo, background, headline, message, colors, login, etc. Extended PRO with more features version is available for purchase.
|
6 |
-
Version: 2.1.
|
7 |
Author: fruitfulcode
|
8 |
Author URI: http://fruitfulcode.com
|
9 |
License: GPL2
|
3 |
Plugin Name: Maintenance
|
4 |
Plugin URI: http://wordpress.org/plugins/maintenance/
|
5 |
Description: Take your website for maintenance away from public view. Use maintenance plugin if your website is in development or you need to change a few things, run an upgrade. Make it only accessible by login and password. Plugin has a options to add a logo, background, headline, message, colors, login, etc. Extended PRO with more features version is available for purchase.
|
6 |
+
Version: 2.1.2
|
7 |
Author: fruitfulcode
|
8 |
Author URI: http://fruitfulcode.com
|
9 |
License: GPL2
|
readme.txt
CHANGED
@@ -3,8 +3,8 @@ Contributors: fruitfulcode
|
|
3 |
Donate link: http://fruitfulcode.com/
|
4 |
Tags: maintenance, coming soon, under-construction, 503 error, administration, login, customize page, background, fullscreen, blur
|
5 |
Requires at least: 3.0
|
6 |
-
Tested up to: 3.
|
7 |
-
Stable tag: 2.1.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -105,6 +105,11 @@ You can check <a href="http://wordpress.org/support/plugin/maintenance">support
|
|
105 |
|
106 |
== Change log ==
|
107 |
|
|
|
|
|
|
|
|
|
|
|
108 |
= 2.1.1 =
|
109 |
* Content alignment fix
|
110 |
* Added scroll for extra height
|
@@ -151,11 +156,11 @@ You can check <a href="http://wordpress.org/support/plugin/maintenance">support
|
|
151 |
* Css fixes for WP 3.5
|
152 |
|
153 |
= 1.1.1 =
|
154 |
-
*
|
155 |
|
156 |
= 1.1 =
|
157 |
* Any logo images will be in center of page
|
158 |
-
*
|
159 |
* Bug fixes
|
160 |
|
161 |
= 1.0 =
|
3 |
Donate link: http://fruitfulcode.com/
|
4 |
Tags: maintenance, coming soon, under-construction, 503 error, administration, login, customize page, background, fullscreen, blur
|
5 |
Requires at least: 3.0
|
6 |
+
Tested up to: 3.9
|
7 |
+
Stable tag: 2.1.2
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
105 |
|
106 |
== Change log ==
|
107 |
|
108 |
+
= 2.1.2 =
|
109 |
+
* New translation Deutch (de_DE)
|
110 |
+
* New translation Finnish (fi_FI)
|
111 |
+
* Bug fix: Google analytics field.
|
112 |
+
|
113 |
= 2.1.1 =
|
114 |
* Content alignment fix
|
115 |
* Added scroll for extra height
|
156 |
* Css fixes for WP 3.5
|
157 |
|
158 |
= 1.1.1 =
|
159 |
+
*Css fixes
|
160 |
|
161 |
= 1.1 =
|
162 |
* Any logo images will be in center of page
|
163 |
+
* Lastpass fields corrected width
|
164 |
* Bug fixes
|
165 |
|
166 |
= 1.0 =
|
screenshot-1.png
DELETED
Binary file
|