|
|
@ -74,8 +74,8 @@ impl<'a, C, D, R> Symbol for WordpressTranslation<'a, C, D, R> where C: Deref<Ta |
|
|
|
newest = max(newest, file_date.to_string());
|
|
|
|
}
|
|
|
|
}
|
|
|
|
let upstream = try!(self.command_runner.get_output("curl", &["https://api.wordpress.org/core/version-check/1.7/?version=4.7.8&locale=de_DE"]));
|
|
|
|
Ok(try!(String::from_utf8(upstream)).contains(&format!(r###"language":"de_DE","version":"4.7.8","updated":"{}"###, newest)))
|
|
|
|
let upstream = try!(self.command_runner.get_output("curl", &["https://api.wordpress.org/core/version-check/1.7/?version=4.7.10&locale=de_DE"]));
|
|
|
|
Ok(try!(String::from_utf8(upstream)).contains(&format!(r###"language":"de_DE","version":"4.7.10","updated":"{}"###, newest)))
|
|
|
|
}
|
|
|
|
|
|
|
|
fn execute(&self) -> Result<(), Box<Error>> {
|
|
|
|