Version Description
- ADDED: SVN support for core - if you're running WordPress from SVN, you now have the option to keep it up-to-date!
- ADDED: Norwegian Bokml (nb_NO) transation. Props Bjrn Johansen
- ADDED: Link to the Settings page from the Plugin list
- UPDATED: Language POT file
Download this release
Release Info
Developer | pento |
Plugin | Advanced Automatic Updates |
Version | 0.5 |
Comparing to | |
See all releases |
Code changes from version 0.4.1 to 0.5
- admin.php +43 -5
- automatic-updater.php +51 -1
- css/admin.css +15 -0
- languages/automatic-updater-nb_NO.mo +0 -0
- languages/automatic-updater-nb_NO.po +216 -0
- languages/automatic-updater.pot +70 -31
- readme.txt +8 -2
admin.php
CHANGED
@@ -2,6 +2,7 @@
|
|
2 |
|
3 |
function auto_updater_plugin_menu() {
|
4 |
$hook = add_options_page( __( 'Automatic Updater', 'automatic-updater' ), __( 'Automatic Updater', 'automatic-updater' ), 'update_core', 'automatic-updater', 'auto_updater_settings' );
|
|
|
5 |
add_action( "load-$hook", 'auto_updater_settings_loader' );
|
6 |
}
|
7 |
add_action( 'admin_menu', 'auto_updater_plugin_menu' );
|
@@ -20,6 +21,8 @@ function auto_updater_settings_loader() {
|
|
20 |
'<p><a href="http://pento.net/donate/">' . __( 'Donations', 'automatic-updater' ) . '</a></p>' .
|
21 |
'<p><a href="http://wordpress.org/support/plugin/automatic-updater">' . __( 'Support Forums', 'automatic-updater' ) . '</a></p>'
|
22 |
);
|
|
|
|
|
23 |
}
|
24 |
|
25 |
function auto_updater_settings() {
|
@@ -63,11 +66,34 @@ function auto_updater_settings() {
|
|
63 |
echo "<p><input type='checkbox' id='$type' name='$type' value='1'$checked> <label for='$type'>{$messages[$type]}</label></p>";
|
64 |
}
|
65 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
66 |
$checked = '';
|
67 |
if ( $options['debug'] )
|
68 |
$checked = ' checked="checked"';
|
69 |
?>
|
70 |
<br/><br/>
|
|
|
71 |
<p><input type="checkbox" id="debug" name="debug" value="1"<?php echo $checked; ?>> <label for="debug"><?php _e( 'Show debug information in the notification email.', 'automatic-updater' ); ?></label></p>
|
72 |
<p><input class="button button-primary" type="submit" name="submit" id="submit" value="<?php esc_attr_e( 'Save Changes', 'automatic-updater' ); ?>" /></p>
|
73 |
</form>
|
@@ -76,9 +102,9 @@ function auto_updater_settings() {
|
|
76 |
}
|
77 |
|
78 |
function auto_updater_save_settings() {
|
79 |
-
$types = array( 'core', 'plugins', 'themes' );
|
80 |
$options = get_option( 'automatic-updater' );
|
81 |
|
|
|
82 |
foreach ( $types as $type ) {
|
83 |
if ( ! empty( $_REQUEST[$type] ) )
|
84 |
$options['update'][$type] = true;
|
@@ -86,10 +112,22 @@ function auto_updater_save_settings() {
|
|
86 |
$options['update'][$type] = false;
|
87 |
}
|
88 |
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
|
|
|
|
|
|
93 |
|
94 |
update_option( 'automatic-updater', $options );
|
95 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
|
3 |
function auto_updater_plugin_menu() {
|
4 |
$hook = add_options_page( __( 'Automatic Updater', 'automatic-updater' ), __( 'Automatic Updater', 'automatic-updater' ), 'update_core', 'automatic-updater', 'auto_updater_settings' );
|
5 |
+
|
6 |
add_action( "load-$hook", 'auto_updater_settings_loader' );
|
7 |
}
|
8 |
add_action( 'admin_menu', 'auto_updater_plugin_menu' );
|
21 |
'<p><a href="http://pento.net/donate/">' . __( 'Donations', 'automatic-updater' ) . '</a></p>' .
|
22 |
'<p><a href="http://wordpress.org/support/plugin/automatic-updater">' . __( 'Support Forums', 'automatic-updater' ) . '</a></p>'
|
23 |
);
|
24 |
+
|
25 |
+
wp_enqueue_style( 'automatic-updater-admin', plugins_url( 'css/admin.css', __FILE__ ) );
|
26 |
}
|
27 |
|
28 |
function auto_updater_settings() {
|
66 |
echo "<p><input type='checkbox' id='$type' name='$type' value='1'$checked> <label for='$type'>{$messages[$type]}</label></p>";
|
67 |
}
|
68 |
|
69 |
+
if ( is_dir( ABSPATH . '/.svn' ) ) {
|
70 |
+
$checked = '';
|
71 |
+
if ( $options['svn'] )
|
72 |
+
$checked = ' checked="checked"';
|
73 |
+
?>
|
74 |
+
<br><br>
|
75 |
+
<h3><?php _e( 'SVN Support', 'automatic-updater' ); ?></h3>
|
76 |
+
<p><?php _e( "It looks like you're running an SVN version of WordPress, that's cool! Automatic Updater can run <tt>svn up</tt> once an hour, to keep you up-to-date. For safety, enabling this option will disable the normal WordPress core updates.", 'automatic-updater' ) ?></p>
|
77 |
+
<?php
|
78 |
+
if ( !is_writable( ABSPATH . '/.svn' ) ) {
|
79 |
+
$uid = posix_getuid();
|
80 |
+
$user = posix_getpwuid( $uid );
|
81 |
+
echo '<div class="automatic-updater-notice"><p>' . sprintf( __( "The .svn directory isn't writable, so <tt>svn up</tt> will probably fail when the web server runs it. You need to give the user <tt>%1s</tt> write permissions to your entire WordPress install, including .svn directories.", 'automatic-updater' ), $user['name'] ) . '</p></div>';
|
82 |
+
}
|
83 |
+
?>
|
84 |
+
<p><input type="checkbox" id="svn" name="svn" value="1"<?php echo $checked; ?>> <label for="svn"><?php _e( 'Run <tt>svn up</tt> hourly?', 'automatic-updater' ); ?></label></p>
|
85 |
+
<?php
|
86 |
+
}
|
87 |
+
else {
|
88 |
+
echo '<input type="hidden" name="svn" value="0">';
|
89 |
+
}
|
90 |
+
|
91 |
$checked = '';
|
92 |
if ( $options['debug'] )
|
93 |
$checked = ' checked="checked"';
|
94 |
?>
|
95 |
<br/><br/>
|
96 |
+
<h3><?php _e( 'Debug Information', 'automatic-updater' ); ?></h3>
|
97 |
<p><input type="checkbox" id="debug" name="debug" value="1"<?php echo $checked; ?>> <label for="debug"><?php _e( 'Show debug information in the notification email.', 'automatic-updater' ); ?></label></p>
|
98 |
<p><input class="button button-primary" type="submit" name="submit" id="submit" value="<?php esc_attr_e( 'Save Changes', 'automatic-updater' ); ?>" /></p>
|
99 |
</form>
|
102 |
}
|
103 |
|
104 |
function auto_updater_save_settings() {
|
|
|
105 |
$options = get_option( 'automatic-updater' );
|
106 |
|
107 |
+
$types = array( 'core', 'plugins', 'themes' );
|
108 |
foreach ( $types as $type ) {
|
109 |
if ( ! empty( $_REQUEST[$type] ) )
|
110 |
$options['update'][$type] = true;
|
112 |
$options['update'][$type] = false;
|
113 |
}
|
114 |
|
115 |
+
$top_options = array( 'debug', 'svn' );
|
116 |
+
foreach ( $top_options as $option ) {
|
117 |
+
if ( ! empty( $_REQUEST[$option] ) )
|
118 |
+
$options[$option] = true;
|
119 |
+
else
|
120 |
+
$options[$option] = false;
|
121 |
+
}
|
122 |
|
123 |
update_option( 'automatic-updater', $options );
|
124 |
}
|
125 |
+
|
126 |
+
function auto_updater_plugin_row_meta( $links, $file ) {
|
127 |
+
if( AUTOMATIC_UPDATER_BASENAME == $file ) {
|
128 |
+
$links[] = '<a href="options-general.php?page=automatic-updater">' . __( 'Settings', 'automatic-updater' ) . '</a>';
|
129 |
+
}
|
130 |
+
|
131 |
+
return $links;
|
132 |
+
}
|
133 |
+
add_filter( 'plugin_row_meta', 'auto_updater_plugin_row_meta', 10, 2 );
|
automatic-updater.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
* Plugin URI: http://pento.net/projects/automatic-updater-for-wordpress/
|
5 |
* Description: Automatically update your WordPress site, as soon as updates are released! Never worry about falling behing on updating again!
|
6 |
* Author: pento
|
7 |
-
* Version: 0.
|
8 |
* Author URI: http://pento.net/
|
9 |
* License: GPL2+
|
10 |
* Text Domain: automatic-updater
|
@@ -45,6 +45,7 @@ function auto_updater_init() {
|
|
45 |
'plugins' => false,
|
46 |
'themes' => false,
|
47 |
),
|
|
|
48 |
'debug' => false,
|
49 |
);
|
50 |
update_option( 'automatic-updater', $options );
|
@@ -56,6 +57,22 @@ function auto_updater_init() {
|
|
56 |
update_option( 'automatic-updater', $options );
|
57 |
}
|
58 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
59 |
// Load the translations
|
60 |
load_plugin_textdomain( 'automatic-updater', false, dirname( AUTOMATIC_UPDATER_BASENAME ) . '/languages/' );
|
61 |
|
@@ -92,6 +109,10 @@ function auto_updater_core() {
|
|
92 |
if ( $auto_updater_running )
|
93 |
return;
|
94 |
|
|
|
|
|
|
|
|
|
95 |
// Forgive me father, for I have sinned. I have included wp-admin files in a plugin.
|
96 |
include_once( ABSPATH . 'wp-admin/includes/update.php' );
|
97 |
include_once( ABSPATH . 'wp-admin/includes/file.php' );
|
@@ -263,6 +284,35 @@ function auto_updater_themes() {
|
|
263 |
}
|
264 |
add_action( 'auto_updater_themes_event', 'auto_updater_themes' );
|
265 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
266 |
function auto_updater_notification( $info = '', $debug = '' ) {
|
267 |
$options = get_option( 'automatic-updater', array() );
|
268 |
$site = get_home_url();
|
4 |
* Plugin URI: http://pento.net/projects/automatic-updater-for-wordpress/
|
5 |
* Description: Automatically update your WordPress site, as soon as updates are released! Never worry about falling behing on updating again!
|
6 |
* Author: pento
|
7 |
+
* Version: 0.5
|
8 |
* Author URI: http://pento.net/
|
9 |
* License: GPL2+
|
10 |
* Text Domain: automatic-updater
|
45 |
'plugins' => false,
|
46 |
'themes' => false,
|
47 |
),
|
48 |
+
'svn' => false,
|
49 |
'debug' => false,
|
50 |
);
|
51 |
update_option( 'automatic-updater', $options );
|
57 |
update_option( 'automatic-updater', $options );
|
58 |
}
|
59 |
|
60 |
+
// SVN updates added in version 0.5
|
61 |
+
if ( ! array_key_exists( 'svn', $options ) ) {
|
62 |
+
$options['svn'] = false;
|
63 |
+
update_option( 'automatic-updater', $options );
|
64 |
+
}
|
65 |
+
|
66 |
+
// Configure SVN updates cron, if it's enabled
|
67 |
+
if ( $options['svn'] ) {
|
68 |
+
if ( ! wp_next_scheduled( 'auto_updater_svn_event' ) )
|
69 |
+
wp_schedule_event( time(), 'hourly', 'auto_updater_svn_event' );
|
70 |
+
}
|
71 |
+
else {
|
72 |
+
if ( $timestamp = wp_next_scheduled( 'auto_updater_svn_event' ) )
|
73 |
+
wp_unschedule_event( $timestamp, 'auto_updater_svn_event' );
|
74 |
+
}
|
75 |
+
|
76 |
// Load the translations
|
77 |
load_plugin_textdomain( 'automatic-updater', false, dirname( AUTOMATIC_UPDATER_BASENAME ) . '/languages/' );
|
78 |
|
109 |
if ( $auto_updater_running )
|
110 |
return;
|
111 |
|
112 |
+
$options = get_option( 'automatic-updater', array() );
|
113 |
+
if ( $options['svn'] )
|
114 |
+
return;
|
115 |
+
|
116 |
// Forgive me father, for I have sinned. I have included wp-admin files in a plugin.
|
117 |
include_once( ABSPATH . 'wp-admin/includes/update.php' );
|
118 |
include_once( ABSPATH . 'wp-admin/includes/file.php' );
|
284 |
}
|
285 |
add_action( 'auto_updater_themes_event', 'auto_updater_themes' );
|
286 |
|
287 |
+
function auto_updater_svn() {
|
288 |
+
$output = array();
|
289 |
+
$return = NULL;
|
290 |
+
|
291 |
+
exec( 'svn up ' . ABSPATH, $output, $return );
|
292 |
+
|
293 |
+
if ( 0 === $return ) {
|
294 |
+
$update = end( $output );
|
295 |
+
// No need to email if there was no update.
|
296 |
+
if ( 0 === strstr( $update, "At revision" ) )
|
297 |
+
return;
|
298 |
+
|
299 |
+
$message = __( 'We successfully upgraded from SVN!', 'automatic-updater' );
|
300 |
+
$message .= "\r\n\r\n$update";
|
301 |
+
}
|
302 |
+
else {
|
303 |
+
$message = __( 'While upgrading from SVN, we ran into the following error:', 'automatic-updater' );
|
304 |
+
$message .= "\r\n\r\n" . end( $output ) . "\r\n\r\n";
|
305 |
+
$message .= __( "We're sorry it didn't work out. Please try upgrading manually, instead.", 'automatic-updater' );
|
306 |
+
}
|
307 |
+
|
308 |
+
$message .= "\r\n";
|
309 |
+
|
310 |
+
$debug = join( "\r\n", $output );
|
311 |
+
|
312 |
+
auto_updater_notification( $message, $debug );
|
313 |
+
}
|
314 |
+
add_action( 'auto_updater_svn_event', 'auto_updater_svn' );
|
315 |
+
|
316 |
function auto_updater_notification( $info = '', $debug = '' ) {
|
317 |
$options = get_option( 'automatic-updater', array() );
|
318 |
$site = get_home_url();
|
css/admin.css
ADDED
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
div.automatic-updater-notice {
|
2 |
+
background-color: lightYellow;
|
3 |
+
border-color: #E6DB55;
|
4 |
+
padding: 0 .6em;
|
5 |
+
margin: 5px 0 15px;
|
6 |
+
-webkit-border-radius: 3px;
|
7 |
+
border-radius: 3px;
|
8 |
+
border-width: 1px;
|
9 |
+
border-style: solid;
|
10 |
+
}
|
11 |
+
|
12 |
+
div.automatic-updater-notice p {
|
13 |
+
margin: .5em 0;
|
14 |
+
padding: 2px;
|
15 |
+
}
|
languages/automatic-updater-nb_NO.mo
ADDED
Binary file
|
languages/automatic-updater-nb_NO.po
ADDED
@@ -0,0 +1,216 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
msgid ""
|
2 |
+
msgstr ""
|
3 |
+
"Project-Id-Version: Automatic Updater v0.4.1\n"
|
4 |
+
"Report-Msgid-Bugs-To: http://wordpress.org/tag/automatic-updater\n"
|
5 |
+
"POT-Creation-Date: 2012-10-02 10:49:57+00:00\n"
|
6 |
+
"PO-Revision-Date: 2012-10-05 16:14+1000\n"
|
7 |
+
"Last-Translator: Gary Pendergast <gary@pento.net>\n"
|
8 |
+
"Language-Team: \n"
|
9 |
+
"MIME-Version: 1.0\n"
|
10 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
+
"Content-Transfer-Encoding: 8bit\n"
|
12 |
+
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
13 |
+
"X-Poedit-SourceCharset: utf-8\n"
|
14 |
+
"X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;"
|
15 |
+
"_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2\n"
|
16 |
+
"X-Poedit-Basepath: ../\n"
|
17 |
+
"X-Textdomain-Support: yes\n"
|
18 |
+
"X-Generator: Poedit 1.5.3\n"
|
19 |
+
"X-Poedit-SearchPath-0: .\n"
|
20 |
+
|
21 |
+
# @ automatic-updater
|
22 |
+
#. #-#-#-#-# plugin.pot (Automatic Updater 0.3.2) #-#-#-#-#
|
23 |
+
#. Plugin Name of the plugin/theme
|
24 |
+
#: admin.php:4 admin.php:45
|
25 |
+
msgid "Automatic Updater"
|
26 |
+
msgstr ""
|
27 |
+
|
28 |
+
# @ automatic-updater
|
29 |
+
#: admin.php:12
|
30 |
+
msgid "Overview"
|
31 |
+
msgstr "Oversikt"
|
32 |
+
|
33 |
+
# @ automatic-updater
|
34 |
+
#: admin.php:14
|
35 |
+
msgid ""
|
36 |
+
"This settings page allows you to select whether you would like WordPress "
|
37 |
+
"Core, your plugins, and your themes to be automatically updated."
|
38 |
+
msgstr ""
|
39 |
+
"Denne innstillingssiden lar deg velge om du automatisk skal oppdatere "
|
40 |
+
"WordPress-kjernen, dine innstikk og dine temaer."
|
41 |
+
|
42 |
+
# @ automatic-updater
|
43 |
+
#: admin.php:15
|
44 |
+
msgid ""
|
45 |
+
"It is very important to keep your WordPress installation up to date for "
|
46 |
+
"security reasons, so unless you have a specific reason not to, we recommend "
|
47 |
+
"allowing everything to automatically update."
|
48 |
+
msgstr ""
|
49 |
+
"På grunn av sikkerhet, er det veldig viktig å holde din WordPress-"
|
50 |
+
"installasjon oppdatert. Hvis du ikke har en spesifikk grunn til å ikke gjøre "
|
51 |
+
"det, anbefaler vi at du lar alt oppdateres automatisk."
|
52 |
+
|
53 |
+
# @ automatic-updater
|
54 |
+
#: admin.php:19
|
55 |
+
msgid "A Plugin By <a href=\"%s\" target=\"_blank\">Gary</a>"
|
56 |
+
msgstr "Et innstikk av <a href=\"%s\" target=\"_blank\">Gary</a>"
|
57 |
+
|
58 |
+
# @ automatic-updater
|
59 |
+
#: admin.php:20
|
60 |
+
msgid "Donations"
|
61 |
+
msgstr "Donasjoner"
|
62 |
+
|
63 |
+
# @ automatic-updater
|
64 |
+
#: admin.php:21
|
65 |
+
msgid "Support Forums"
|
66 |
+
msgstr "Støttefora"
|
67 |
+
|
68 |
+
# @ automatic-updater
|
69 |
+
#: admin.php:27
|
70 |
+
msgid "You do not have sufficient permissions to access this page."
|
71 |
+
msgstr "Du har ikke tilstrekkelige tillatelser til å vise denne siden."
|
72 |
+
|
73 |
+
# @ automatic-updater
|
74 |
+
#: admin.php:34
|
75 |
+
msgid "Settings updated"
|
76 |
+
msgstr "Innstillinger er oppdatert"
|
77 |
+
|
78 |
+
# @ automatic-updater
|
79 |
+
#: admin.php:38
|
80 |
+
msgid ""
|
81 |
+
"Update WordPress Core automatically? <strong>(Strongly Recommended)</strong>"
|
82 |
+
msgstr ""
|
83 |
+
"Automatisk oppdatering av WordPress-kjernen? <strong>(Anbefales sterkt)</"
|
84 |
+
"strong>"
|
85 |
+
|
86 |
+
# @ automatic-updater
|
87 |
+
#: admin.php:39
|
88 |
+
msgid "Update your plugins automatically?"
|
89 |
+
msgstr "Automatisk oppdatering av dine innstikk?"
|
90 |
+
|
91 |
+
# @ automatic-updater
|
92 |
+
#: admin.php:40
|
93 |
+
msgid "Update your themes automatically?"
|
94 |
+
msgstr "Automatisk oppdatering av dine temaer?"
|
95 |
+
|
96 |
+
# @ automatic-updater
|
97 |
+
#: admin.php:71
|
98 |
+
msgid "Show debug information in the notification email."
|
99 |
+
msgstr "Vis debugging-informasjon i e-postvarslingen."
|
100 |
+
|
101 |
+
#: admin.php:72
|
102 |
+
msgid "Save Changes"
|
103 |
+
msgstr "Lagre endringer"
|
104 |
+
|
105 |
+
# @ automatic-updater
|
106 |
+
#: automatic-updater.php:32
|
107 |
+
msgid ""
|
108 |
+
"Automatic Updater requires WordPress 3.4 or higher! Please upgrade WordPress "
|
109 |
+
"manually, then reactivate Automatic Updater."
|
110 |
+
msgstr ""
|
111 |
+
"Automatiske oppdateringer krever WordPress 3.4 eller nyere! Vennligst "
|
112 |
+
"oppgrader WordPress manuelt, og reaktiver innstikket."
|
113 |
+
|
114 |
+
# @ automatic-updater
|
115 |
+
#: automatic-updater.php:126
|
116 |
+
msgid "While trying to upgrade WordPress, we ran into the following error:"
|
117 |
+
msgstr "Når vi forsøkte å oppdatere WordPress, møtte vi på følgende feil:"
|
118 |
+
|
119 |
+
# @ automatic-updater
|
120 |
+
#: automatic-updater.php:128
|
121 |
+
msgid "We're sorry it didn't work out. Please try upgrading manually, instead."
|
122 |
+
msgstr ""
|
123 |
+
"Beklager at det ikke fungerte. Vennglist forsøk å oppgradere manuelt i "
|
124 |
+
"stedet."
|
125 |
+
|
126 |
+
# @ automatic-updater
|
127 |
+
#: automatic-updater.php:131
|
128 |
+
msgid "We've successfully upgraded WordPress from version %1s to version %2s!"
|
129 |
+
msgstr ""
|
130 |
+
"Vi har suksessfullt oppgradert WordPress fra versjon %1s til versjon %2s!"
|
131 |
+
|
132 |
+
# @ automatic-updater
|
133 |
+
#: automatic-updater.php:132
|
134 |
+
msgid "Have fun!"
|
135 |
+
msgstr "Ha det moro!"
|
136 |
+
|
137 |
+
# @ automatic-updater
|
138 |
+
#: automatic-updater.php:170
|
139 |
+
msgid "We found a plugin upgrade!"
|
140 |
+
msgid_plural "We found upgrades for some plugins!"
|
141 |
+
msgstr[0] "Vi har funnet en innstikkoppgradering!"
|
142 |
+
msgstr[1] "Vi har funnet oppgraderinger for noen innstikk!"
|
143 |
+
|
144 |
+
# @ automatic-updater
|
145 |
+
#. translators: First argument is the Plugin name, second argument is the error
|
146 |
+
#. encountered while upgrading
|
147 |
+
#: automatic-updater.php:176
|
148 |
+
msgid "%1s: We encounted an error upgrading this plugin: %2s"
|
149 |
+
msgstr "%1s: Vi møtte på en feil under oppgradering av dette innstikket: %2s"
|
150 |
+
|
151 |
+
# @ automatic-updater
|
152 |
+
#: automatic-updater.php:182 automatic-updater.php:235
|
153 |
+
msgid "%1s: Successfully upgraded from version %2s to %3s!"
|
154 |
+
msgstr "%1s: Suksessfullt oppgadert fra versjon %2s til %3s!"
|
155 |
+
|
156 |
+
# @ automatic-updater
|
157 |
+
#: automatic-updater.php:223
|
158 |
+
msgid "We found a theme upgrade!"
|
159 |
+
msgid_plural "We found upgrades for some themes!"
|
160 |
+
msgstr[0] "Vi har funnet en temaoppgradering!"
|
161 |
+
msgstr[1] "Vi har funnet oppgraderinger for noen temaer!"
|
162 |
+
|
163 |
+
# @ automatic-updater
|
164 |
+
#. translators: First argument is the Theme name, second argument is the error
|
165 |
+
#. encountered while upgrading
|
166 |
+
#: automatic-updater.php:229
|
167 |
+
msgid "%1s: We encounted an error upgrading this theme: %2s"
|
168 |
+
msgstr "%1s: Vi møtte på en feil under oppgradering av dette temaet: %2s"
|
169 |
+
|
170 |
+
# @ automatic-updater
|
171 |
+
#: automatic-updater.php:255
|
172 |
+
msgid "WordPress Update: %1s"
|
173 |
+
msgstr "WordPress-oppdatering: %1s"
|
174 |
+
|
175 |
+
# @ automatic-updater
|
176 |
+
#: automatic-updater.php:257
|
177 |
+
msgid "Howdy!"
|
178 |
+
msgstr "Heisann!"
|
179 |
+
|
180 |
+
# @ automatic-updater
|
181 |
+
#: automatic-updater.php:259
|
182 |
+
msgid ""
|
183 |
+
"Automatic Updater just ran on your site, %1s, with the following result:"
|
184 |
+
msgstr ""
|
185 |
+
"Automatiske oppdateringer har kjørt på ditt nettsted, %1s, med følgende "
|
186 |
+
"resultat:"
|
187 |
+
|
188 |
+
# @ automatic-updater
|
189 |
+
#: automatic-updater.php:265
|
190 |
+
msgid "Thanks for using the Automatic Updater plugin!"
|
191 |
+
msgstr "Takk for at du benytter deg av innstikket Automatiske oppdateringer!"
|
192 |
+
|
193 |
+
# @ automatic-updater
|
194 |
+
#: automatic-updater.php:269
|
195 |
+
msgid "Debug Information:"
|
196 |
+
msgstr "Debugging-informasjon:"
|
197 |
+
|
198 |
+
#. Plugin URI of the plugin/theme
|
199 |
+
msgid "http://pento.net/projects/automatic-updater-for-wordpress/"
|
200 |
+
msgstr "http://pento.net/projects/automatic-updater-for-wordpress/"
|
201 |
+
|
202 |
+
#. Description of the plugin/theme
|
203 |
+
msgid ""
|
204 |
+
"Automatically update your WordPress site, as soon as updates are released! "
|
205 |
+
"Never worry about falling behing on updating again!"
|
206 |
+
msgstr ""
|
207 |
+
"Automatisk oppdater ditt WordPress-nettsted så snart oppdageringer blir gitt "
|
208 |
+
"ut! Aldri bekymre deg for å falle bakpå med oppdateringer igjen!"
|
209 |
+
|
210 |
+
#. Author of the plugin/theme
|
211 |
+
msgid "pento"
|
212 |
+
msgstr ""
|
213 |
+
|
214 |
+
#. Author URI of the plugin/theme
|
215 |
+
msgid "http://pento.net/"
|
216 |
+
msgstr ""
|
languages/automatic-updater.pot
CHANGED
@@ -2,9 +2,9 @@
|
|
2 |
# This file is distributed under the same license as the Automatic Updater package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
-
"Project-Id-Version: Automatic Updater 0.
|
6 |
"Report-Msgid-Bugs-To: http://wordpress.org/tag/automatic-updater\n"
|
7 |
-
"POT-Creation-Date: 2012-10-
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=UTF-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
@@ -12,93 +12,124 @@ msgstr ""
|
|
12 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
13 |
"Language-Team: LANGUAGE <LL@li.org>\n"
|
14 |
|
15 |
-
#. #-#-#-#-# plugin.pot (Automatic Updater 0.
|
16 |
#. Plugin Name of the plugin/theme
|
17 |
-
#: admin.php:4 admin.php:
|
18 |
msgid "Automatic Updater"
|
19 |
msgstr ""
|
20 |
|
21 |
-
#: admin.php:
|
22 |
msgid "Overview"
|
23 |
msgstr ""
|
24 |
|
25 |
-
#: admin.php:
|
26 |
msgid ""
|
27 |
"This settings page allows you to select whether you would like WordPress "
|
28 |
"Core, your plugins, and your themes to be automatically updated."
|
29 |
msgstr ""
|
30 |
|
31 |
-
#: admin.php:
|
32 |
msgid ""
|
33 |
"It is very important to keep your WordPress installation up to date for "
|
34 |
"security reasons, so unless you have a specific reason not to, we recommend "
|
35 |
"allowing everything to automatically update."
|
36 |
msgstr ""
|
37 |
|
38 |
-
#: admin.php:
|
39 |
msgid "A Plugin By <a href=\"%s\" target=\"_blank\">Gary</a>"
|
40 |
msgstr ""
|
41 |
|
42 |
-
#: admin.php:
|
43 |
msgid "Donations"
|
44 |
msgstr ""
|
45 |
|
46 |
-
#: admin.php:
|
47 |
msgid "Support Forums"
|
48 |
msgstr ""
|
49 |
|
50 |
-
#: admin.php:
|
51 |
msgid "You do not have sufficient permissions to access this page."
|
52 |
msgstr ""
|
53 |
|
54 |
-
#: admin.php:
|
55 |
msgid "Settings updated"
|
56 |
msgstr ""
|
57 |
|
58 |
-
#: admin.php:
|
59 |
msgid ""
|
60 |
"Update WordPress Core automatically? <strong>(Strongly Recommended)</strong>"
|
61 |
msgstr ""
|
62 |
|
63 |
-
#: admin.php:
|
64 |
msgid "Update your plugins automatically?"
|
65 |
msgstr ""
|
66 |
|
67 |
-
#: admin.php:
|
68 |
msgid "Update your themes automatically?"
|
69 |
msgstr ""
|
70 |
|
71 |
-
#: admin.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
72 |
msgid "Show debug information in the notification email."
|
73 |
msgstr ""
|
74 |
|
75 |
-
#: admin.php:
|
76 |
msgid "Save Changes"
|
77 |
msgstr ""
|
78 |
|
|
|
|
|
|
|
|
|
79 |
#: automatic-updater.php:32
|
80 |
msgid ""
|
81 |
"Automatic Updater requires WordPress 3.4 or higher! Please upgrade WordPress "
|
82 |
"manually, then reactivate Automatic Updater."
|
83 |
msgstr ""
|
84 |
|
85 |
-
#: automatic-updater.php:
|
86 |
msgid "While trying to upgrade WordPress, we ran into the following error:"
|
87 |
msgstr ""
|
88 |
|
89 |
-
#: automatic-updater.php:
|
90 |
msgid "We're sorry it didn't work out. Please try upgrading manually, instead."
|
91 |
msgstr ""
|
92 |
|
93 |
-
#: automatic-updater.php:
|
94 |
msgid "We've successfully upgraded WordPress from version %1s to version %2s!"
|
95 |
msgstr ""
|
96 |
|
97 |
-
#: automatic-updater.php:
|
98 |
msgid "Have fun!"
|
99 |
msgstr ""
|
100 |
|
101 |
-
#: automatic-updater.php:
|
102 |
msgid "We found a plugin upgrade!"
|
103 |
msgid_plural "We found upgrades for some plugins!"
|
104 |
msgstr[0] ""
|
@@ -106,15 +137,15 @@ msgstr[1] ""
|
|
106 |
|
107 |
#. translators: First argument is the Plugin name, second argument is the error
|
108 |
#. encountered while upgrading
|
109 |
-
#: automatic-updater.php:
|
110 |
msgid "%1s: We encounted an error upgrading this plugin: %2s"
|
111 |
msgstr ""
|
112 |
|
113 |
-
#: automatic-updater.php:
|
114 |
msgid "%1s: Successfully upgraded from version %2s to %3s!"
|
115 |
msgstr ""
|
116 |
|
117 |
-
#: automatic-updater.php:
|
118 |
msgid "We found a theme upgrade!"
|
119 |
msgid_plural "We found upgrades for some themes!"
|
120 |
msgstr[0] ""
|
@@ -122,28 +153,36 @@ msgstr[1] ""
|
|
122 |
|
123 |
#. translators: First argument is the Theme name, second argument is the error
|
124 |
#. encountered while upgrading
|
125 |
-
#: automatic-updater.php:
|
126 |
msgid "%1s: We encounted an error upgrading this theme: %2s"
|
127 |
msgstr ""
|
128 |
|
129 |
-
#: automatic-updater.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
130 |
msgid "WordPress Update: %1s"
|
131 |
msgstr ""
|
132 |
|
133 |
-
#: automatic-updater.php:
|
134 |
msgid "Howdy!"
|
135 |
msgstr ""
|
136 |
|
137 |
-
#: automatic-updater.php:
|
138 |
msgid ""
|
139 |
"Automatic Updater just ran on your site, %1s, with the following result:"
|
140 |
msgstr ""
|
141 |
|
142 |
-
#: automatic-updater.php:
|
143 |
msgid "Thanks for using the Automatic Updater plugin!"
|
144 |
msgstr ""
|
145 |
|
146 |
-
#: automatic-updater.php:
|
147 |
msgid "Debug Information:"
|
148 |
msgstr ""
|
149 |
|
2 |
# This file is distributed under the same license as the Automatic Updater package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"Project-Id-Version: Automatic Updater 0.5\n"
|
6 |
"Report-Msgid-Bugs-To: http://wordpress.org/tag/automatic-updater\n"
|
7 |
+
"POT-Creation-Date: 2012-10-11 11:25:03+00:00\n"
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=UTF-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
13 |
"Language-Team: LANGUAGE <LL@li.org>\n"
|
14 |
|
15 |
+
#. #-#-#-#-# plugin.pot (Automatic Updater 0.5) #-#-#-#-#
|
16 |
#. Plugin Name of the plugin/theme
|
17 |
+
#: admin.php:4 admin.php:48
|
18 |
msgid "Automatic Updater"
|
19 |
msgstr ""
|
20 |
|
21 |
+
#: admin.php:13
|
22 |
msgid "Overview"
|
23 |
msgstr ""
|
24 |
|
25 |
+
#: admin.php:15
|
26 |
msgid ""
|
27 |
"This settings page allows you to select whether you would like WordPress "
|
28 |
"Core, your plugins, and your themes to be automatically updated."
|
29 |
msgstr ""
|
30 |
|
31 |
+
#: admin.php:16
|
32 |
msgid ""
|
33 |
"It is very important to keep your WordPress installation up to date for "
|
34 |
"security reasons, so unless you have a specific reason not to, we recommend "
|
35 |
"allowing everything to automatically update."
|
36 |
msgstr ""
|
37 |
|
38 |
+
#: admin.php:20
|
39 |
msgid "A Plugin By <a href=\"%s\" target=\"_blank\">Gary</a>"
|
40 |
msgstr ""
|
41 |
|
42 |
+
#: admin.php:21
|
43 |
msgid "Donations"
|
44 |
msgstr ""
|
45 |
|
46 |
+
#: admin.php:22
|
47 |
msgid "Support Forums"
|
48 |
msgstr ""
|
49 |
|
50 |
+
#: admin.php:30
|
51 |
msgid "You do not have sufficient permissions to access this page."
|
52 |
msgstr ""
|
53 |
|
54 |
+
#: admin.php:37
|
55 |
msgid "Settings updated"
|
56 |
msgstr ""
|
57 |
|
58 |
+
#: admin.php:41
|
59 |
msgid ""
|
60 |
"Update WordPress Core automatically? <strong>(Strongly Recommended)</strong>"
|
61 |
msgstr ""
|
62 |
|
63 |
+
#: admin.php:42
|
64 |
msgid "Update your plugins automatically?"
|
65 |
msgstr ""
|
66 |
|
67 |
+
#: admin.php:43
|
68 |
msgid "Update your themes automatically?"
|
69 |
msgstr ""
|
70 |
|
71 |
+
#: admin.php:75
|
72 |
+
msgid "SVN Support"
|
73 |
+
msgstr ""
|
74 |
+
|
75 |
+
#: admin.php:76
|
76 |
+
msgid ""
|
77 |
+
"It looks like you're running an SVN version of WordPress, that's cool! "
|
78 |
+
"Automatic Updater can run <tt>svn up</tt> once an hour, to keep you up-to-"
|
79 |
+
"date. For safety, enabling this option will disable the normal WordPress "
|
80 |
+
"core updates."
|
81 |
+
msgstr ""
|
82 |
+
|
83 |
+
#: admin.php:81
|
84 |
+
msgid ""
|
85 |
+
"The .svn directory isn't writable, so <tt>svn up</tt> will probably fail "
|
86 |
+
"when the web server runs it. You need to give the user <tt>%1s</tt> write "
|
87 |
+
"permissions to your entire WordPress install, including .svn directories."
|
88 |
+
msgstr ""
|
89 |
+
|
90 |
+
#: admin.php:84
|
91 |
+
msgid "Run <tt>svn up</tt> hourly?"
|
92 |
+
msgstr ""
|
93 |
+
|
94 |
+
#: admin.php:96
|
95 |
+
msgid "Debug Information"
|
96 |
+
msgstr ""
|
97 |
+
|
98 |
+
#: admin.php:97
|
99 |
msgid "Show debug information in the notification email."
|
100 |
msgstr ""
|
101 |
|
102 |
+
#: admin.php:98
|
103 |
msgid "Save Changes"
|
104 |
msgstr ""
|
105 |
|
106 |
+
#: admin.php:128
|
107 |
+
msgid "Settings"
|
108 |
+
msgstr ""
|
109 |
+
|
110 |
#: automatic-updater.php:32
|
111 |
msgid ""
|
112 |
"Automatic Updater requires WordPress 3.4 or higher! Please upgrade WordPress "
|
113 |
"manually, then reactivate Automatic Updater."
|
114 |
msgstr ""
|
115 |
|
116 |
+
#: automatic-updater.php:147
|
117 |
msgid "While trying to upgrade WordPress, we ran into the following error:"
|
118 |
msgstr ""
|
119 |
|
120 |
+
#: automatic-updater.php:149 automatic-updater.php:305
|
121 |
msgid "We're sorry it didn't work out. Please try upgrading manually, instead."
|
122 |
msgstr ""
|
123 |
|
124 |
+
#: automatic-updater.php:152
|
125 |
msgid "We've successfully upgraded WordPress from version %1s to version %2s!"
|
126 |
msgstr ""
|
127 |
|
128 |
+
#: automatic-updater.php:153
|
129 |
msgid "Have fun!"
|
130 |
msgstr ""
|
131 |
|
132 |
+
#: automatic-updater.php:198
|
133 |
msgid "We found a plugin upgrade!"
|
134 |
msgid_plural "We found upgrades for some plugins!"
|
135 |
msgstr[0] ""
|
137 |
|
138 |
#. translators: First argument is the Plugin name, second argument is the error
|
139 |
#. encountered while upgrading
|
140 |
+
#: automatic-updater.php:204
|
141 |
msgid "%1s: We encounted an error upgrading this plugin: %2s"
|
142 |
msgstr ""
|
143 |
|
144 |
+
#: automatic-updater.php:210 automatic-updater.php:270
|
145 |
msgid "%1s: Successfully upgraded from version %2s to %3s!"
|
146 |
msgstr ""
|
147 |
|
148 |
+
#: automatic-updater.php:258
|
149 |
msgid "We found a theme upgrade!"
|
150 |
msgid_plural "We found upgrades for some themes!"
|
151 |
msgstr[0] ""
|
153 |
|
154 |
#. translators: First argument is the Theme name, second argument is the error
|
155 |
#. encountered while upgrading
|
156 |
+
#: automatic-updater.php:264
|
157 |
msgid "%1s: We encounted an error upgrading this theme: %2s"
|
158 |
msgstr ""
|
159 |
|
160 |
+
#: automatic-updater.php:299
|
161 |
+
msgid "We successfully upgraded from SVN!"
|
162 |
+
msgstr ""
|
163 |
+
|
164 |
+
#: automatic-updater.php:303
|
165 |
+
msgid "While upgrading from SVN, we ran into the following error:"
|
166 |
+
msgstr ""
|
167 |
+
|
168 |
+
#: automatic-updater.php:319
|
169 |
msgid "WordPress Update: %1s"
|
170 |
msgstr ""
|
171 |
|
172 |
+
#: automatic-updater.php:321
|
173 |
msgid "Howdy!"
|
174 |
msgstr ""
|
175 |
|
176 |
+
#: automatic-updater.php:323
|
177 |
msgid ""
|
178 |
"Automatic Updater just ran on your site, %1s, with the following result:"
|
179 |
msgstr ""
|
180 |
|
181 |
+
#: automatic-updater.php:329
|
182 |
msgid "Thanks for using the Automatic Updater plugin!"
|
183 |
msgstr ""
|
184 |
|
185 |
+
#: automatic-updater.php:333
|
186 |
msgid "Debug Information:"
|
187 |
msgstr ""
|
188 |
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: http://pento.net/donate/
|
|
4 |
Tags: updates, core, plugins, themes, wordpress automatic upgrader
|
5 |
Requires at least: 3.4
|
6 |
Tested up to: 3.5
|
7 |
-
Stable tag: 0.4
|
8 |
License: GPL2+
|
9 |
|
10 |
Automatically update WordPress, your themes and plugins! Never have to click the update button again!
|
@@ -41,11 +41,17 @@ There are some Actions and Filters provided, check the [Documentation](http://pe
|
|
41 |
|
42 |
== Changelog ==
|
43 |
|
|
|
|
|
|
|
|
|
|
|
|
|
44 |
= 0.4.1 =
|
45 |
* FIXED: Stop trying to update plugins and themes that are already updated
|
46 |
|
47 |
= 0.4 =
|
48 |
-
* ADDED: German translation. Props [Alexander Pfabel](http://alexander.pfabel.de/)
|
49 |
* ADDED: Version check on activation, for compatibility
|
50 |
* UPDATED: Language POT file
|
51 |
* FIXED: Typo in the Settings page
|
4 |
Tags: updates, core, plugins, themes, wordpress automatic upgrader
|
5 |
Requires at least: 3.4
|
6 |
Tested up to: 3.5
|
7 |
+
Stable tag: 0.4.1
|
8 |
License: GPL2+
|
9 |
|
10 |
Automatically update WordPress, your themes and plugins! Never have to click the update button again!
|
41 |
|
42 |
== Changelog ==
|
43 |
|
44 |
+
= 0.5 =
|
45 |
+
* ADDED: SVN support for core - if you're running WordPress from SVN, you now have the option to keep it up-to-date!
|
46 |
+
* ADDED: Norwegian Bokmål (nb_NO) transation. Props [Bjørn Johansen](https://twitter.com/bjornjohansen)
|
47 |
+
* ADDED: Link to the Settings page from the Plugin list
|
48 |
+
* UPDATED: Language POT file
|
49 |
+
|
50 |
= 0.4.1 =
|
51 |
* FIXED: Stop trying to update plugins and themes that are already updated
|
52 |
|
53 |
= 0.4 =
|
54 |
+
* ADDED: German (de_DE) translation. Props [Alexander Pfabel](http://alexander.pfabel.de/)
|
55 |
* ADDED: Version check on activation, for compatibility
|
56 |
* UPDATED: Language POT file
|
57 |
* FIXED: Typo in the Settings page
|