Commit fa1c2723 authored by Erick Hitter's avatar Erick Hitter

Add Spanish translation from Maria Ramos as WebHostingHub.

parent 44e1fdd1
# Copyright (C) 2013 WP Revisions Control
# This file is distributed under the same license as the WP Revisions Control package.
msgid ""
msgstr ""
"Project-Id-Version: WP Revisions Control 1.0\n"
"Report-Msgid-Bugs-To: http://wordpress.org/tag/wp-revisions-control\n"
"POT-Creation-Date: 2013-11-12 18:29:38+00:00\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"PO-Revision-Date: 2013-11-14 21:56+0100\n"
"Last-Translator: jelena kovacevic <jecajeca260@gmail.com>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"X-Generator: Poedit 1.5.5\n"
#: wp-revisions-control.php:120
msgid ""
"Set the number of revisions to save for each post type listed. To retain all "
"revisions for a given post type, leave the field empty."
msgstr ""
"Inserte el número de revisiones a salvar para cada tipo de post listado. "
"Para obtener todas las revisiones para un tipo de post dado, deje el campo "
"vacío."
#: wp-revisions-control.php:121
msgid ""
"If a post type isn't listed, revisions are not enabled for that post type."
msgstr ""
"Si un tipo de post no se lista, las revisiones no están habilitadas para ese "
"tipo de post."
#: wp-revisions-control.php:127
msgid ""
"A local change is causing this plugin's functionality to run at a priority "
"other than the default. If you experience difficulties with the plugin, "
"please unhook any functions from the <code>wp_revisions_control_priority</"
"code> filter."
msgstr ""
"Un cambio local está causando que la funcionalidad de este plugin se ejecute "
"a una prioridad diferente de la de por defecto. Si está experimentando "
"dificultades con el plugin, por favor desenganche cualquier función del "
"filtro <code>wp_revisions_control_priority</code>"
#. Plugin Name of the plugin/theme
msgid "WP Revisions Control"
msgstr "WP Revisions Control"
#. Plugin URI of the plugin/theme
msgid "http://www.ethitter.com/plugins/wp-revisions-control/"
msgstr "http://www.ethitter.com/plugins/wp-revisions-control/"
#. Description of the plugin/theme
msgid "Control how many revisions are stored for each post type"
msgstr "Controla cuántas revisiones se almacenan para cada tipo de post"
#. Author of the plugin/theme
msgid "Erick Hitter"
msgstr "Erick Hitter"
#. Author URI of the plugin/theme
msgid "http://www.ethitter.com/"
msgstr "http://www.ethitter.com/"
......@@ -3,8 +3,8 @@ Contributors: ethitter
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&amp;hosted_button_id=10275434
Tags: revision, revisions, admin
Requires at least: 3.6
Tested up to: 3.6
Stable tag: 1.2
Tested up to: 3.8
Stable tag: 1.2.1
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
......@@ -33,14 +33,20 @@ Navigate to **Settings > Writing** in your WordPress Dashboard, and look for the
== Changelog ==
= 1.2.1 =
* Introduce Spanish translation thanks to Maria Ramos at [WebHostingHub](http://www.webhostinghub.com/).
= 1.2 =
Add post-level revision purging and limiting. For any post type that supports revisions, you can now limit the number of revisions retained at a post level.
* Add post-level revision purging and limiting. For any post type that supports revisions, you can now limit the number of revisions retained at a post level.
= 1.0 =
Initial public release
* Initial public release
== Upgrade Notice ==
= 1.2.1 =
Introduces Spanish translation thanks to Maria Ramos at [WebHostingHub](http://www.webhostinghub.com/).
= 1.2 =
For any post type that supports revisions, you can now limit the number of revisions retained at a post level.
......
......@@ -4,8 +4,10 @@ Plugin Name: WP Revisions Control
Plugin URI: http://www.ethitter.com/plugins/wp-revisions-control/
Description: Control how many revisions are stored for each post type
Author: Erick Hitter
Version: 1.2
Version: 1.2.1
Author URI: http://www.ethitter.com/
Text Domain: wp_revisions_control
Domain Path: /languages/
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
......@@ -70,9 +72,22 @@ class WP_Revisions_Control {
* @return null
*/
private function setup() {
add_action( 'plugins_loaded', array( $this, 'action_plugins_loaded' ) );
add_action( 'init', array( $this, 'action_init' ) );
}
/**
* Load plugin translations
*
* @uses load_plugin_textdomain
* @uses plugin_basename
* @action plugins_loaded
* @return null
*/
public function action_plugins_loaded() {
load_plugin_textdomain( 'wp_revisions_control', false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' );
}
/**
* Register actions and filters
*
......
Markdown is supported
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