Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Update plugins, remove unneeded plugins

  • Loading branch information...
commit 9a56c3a09393b56ce67acd49799bc1676b9c1c49 1 parent f81fc0a
@craigcook craigcook authored
Showing with 5,035 additions and 21,995 deletions.
  1. +0 −741 plugins/achievements/achievements.php
  2. +0 −1,293 plugins/achievements/dpa.pot
  3. +0 −11 plugins/achievements/humans.txt
  4. +0 −275 plugins/achievements/includes/achievements/functions.php
  5. +0 −4 plugins/achievements/includes/achievements/index.php
  6. +0 −746 plugins/achievements/includes/achievements/template.php
  7. +0 −113 plugins/achievements/includes/admin/actions.php
  8. +0 −416 plugins/achievements/includes/admin/admin.php
  9. +0 −265 plugins/achievements/includes/admin/class-dpa-users-list-table.php
  10. +0 −3  plugins/achievements/includes/admin/css/achievements-rtl.css
  11. +0 −2  plugins/achievements/includes/admin/css/achievements.css
  12. BIN  plugins/achievements/includes/admin/css/chosen-sprite.png
  13. +0 −2  plugins/achievements/includes/admin/css/chosen.css
  14. +0 −104 plugins/achievements/includes/admin/css/dev/achievements.less
  15. +0 −25 plugins/achievements/includes/admin/css/dev/admin-forms.less
  16. +0 −23 plugins/achievements/includes/admin/css/dev/admin-variables.less
  17. +0 −403 plugins/achievements/includes/admin/css/dev/chosen.less
  18. +0 −399 plugins/achievements/includes/admin/css/dev/supportedplugins.less
  19. +0 −11 plugins/achievements/includes/admin/css/dev/users.less
  20. +0 −239 plugins/achievements/includes/admin/css/dev/utility.less
  21. +0 −1  plugins/achievements/includes/admin/css/supportedplugins-rtl.css
  22. +0 −2  plugins/achievements/includes/admin/css/supportedplugins.css
  23. +0 −1  plugins/achievements/includes/admin/css/users-rtl.css
  24. +0 −1  plugins/achievements/includes/admin/css/users.css
  25. +0 −347 plugins/achievements/includes/admin/functions.php
  26. BIN  plugins/achievements/includes/admin/images/admin_sprites.png
  27. BIN  plugins/achievements/includes/admin/images/bbpress-small.png
  28. BIN  plugins/achievements/includes/admin/images/bbpress.png
  29. BIN  plugins/achievements/includes/admin/images/buddypress-courseware-small.png
  30. BIN  plugins/achievements/includes/admin/images/buddypress-courseware.png
  31. BIN  plugins/achievements/includes/admin/images/buddypress-small.png
  32. BIN  plugins/achievements/includes/admin/images/buddypress.png
  33. BIN  plugins/achievements/includes/admin/images/buddystream-small.jpg
  34. BIN  plugins/achievements/includes/admin/images/buddystream.jpg
  35. BIN  plugins/achievements/includes/admin/images/invite-anyone-small.jpg
  36. BIN  plugins/achievements/includes/admin/images/invite-anyone.jpg
  37. BIN  plugins/achievements/includes/admin/images/select_arrow.gif
  38. BIN  plugins/achievements/includes/admin/images/wordpress-small.jpg
  39. BIN  plugins/achievements/includes/admin/images/wordpress.jpg
  40. BIN  plugins/achievements/includes/admin/images/wp-e-commerce-small.jpg
  41. BIN  plugins/achievements/includes/admin/images/wp-e-commerce.jpg
  42. +0 −4 plugins/achievements/includes/admin/index.php
  43. +0 −1  plugins/achievements/includes/admin/js/achievements-min.js
  44. +0 −10 plugins/achievements/includes/admin/js/chosen-jquery-min.js
  45. +0 −25 plugins/achievements/includes/admin/js/dev/achievements.js
  46. +0 −147 plugins/achievements/includes/admin/js/dev/supportedplugins.js
  47. +0 −4 plugins/achievements/includes/admin/js/jquery-tablesorter-min.js
  48. +0 −7 plugins/achievements/includes/admin/js/socialite-min.js
  49. +0 −2  plugins/achievements/includes/admin/js/supportedplugins-min.js
  50. +0 −654 plugins/achievements/includes/admin/supported-plugins.php
  51. +0 −100 plugins/achievements/includes/admin/users.php
  52. +0 −100 plugins/achievements/includes/class-dpa-cpt-extension.php
  53. +0 −268 plugins/achievements/includes/class-dpa-extension.php
  54. +0 −286 plugins/achievements/includes/class-dpa-shortcodes.php
  55. +0 −364 plugins/achievements/includes/common/functions.php
  56. +0 −4 plugins/achievements/includes/common/index.php
  57. +0 −673 plugins/achievements/includes/common/template.php
  58. +0 −99 plugins/achievements/includes/common/widgets.php
  59. +0 −110 plugins/achievements/includes/core/actions.php
  60. +0 −34 plugins/achievements/includes/core/cache.php
  61. +0 −344 plugins/achievements/includes/core/caps.php
  62. +0 −327 plugins/achievements/includes/core/dependency.php
  63. +0 −68 plugins/achievements/includes/core/filters.php
  64. +0 −320 plugins/achievements/includes/core/functions.php
  65. +0 −4 plugins/achievements/includes/core/index.php
  66. +0 −306 plugins/achievements/includes/core/options.php
  67. +0 −175 plugins/achievements/includes/core/template-functions.php
  68. +0 −143 plugins/achievements/includes/core/template-loader.php
  69. +0 −709 plugins/achievements/includes/core/theme-compatibility.php
  70. +0 −160 plugins/achievements/includes/core/update.php
  71. +0 −151 plugins/achievements/includes/extensions/bbpress.php
  72. +0 −163 plugins/achievements/includes/extensions/buddypress.php
  73. +0 −66 plugins/achievements/includes/extensions/buddystream.php
  74. +0 −4 plugins/achievements/includes/extensions/index.php
  75. +0 −87 plugins/achievements/includes/extensions/inviteanyone.php
  76. +0 −113 plugins/achievements/includes/extensions/scholarpress.php
  77. +0 −133 plugins/achievements/includes/extensions/wordpress.php
  78. +0 −78 plugins/achievements/includes/extensions/wpecommerce.php
  79. +0 −4 plugins/achievements/includes/index.php
  80. +0 −105 plugins/achievements/includes/progress/functions.php
  81. +0 −4 plugins/achievements/includes/progress/index.php
  82. +0 −451 plugins/achievements/includes/progress/template.php
  83. +0 −165 plugins/achievements/includes/users/capabilities.php
  84. +0 −61 plugins/achievements/includes/users/functions.php
  85. +0 −4 plugins/achievements/includes/users/index.php
  86. +0 −135 plugins/achievements/includes/users/notifications.php
  87. +0 −344 plugins/achievements/includes/users/options.php
  88. +0 −66 plugins/achievements/includes/users/template.php
  89. +0 −4 plugins/achievements/index.php
  90. +0 −674 plugins/achievements/license.txt
  91. +0 −7 plugins/achievements/readme.md
  92. +0 −94 plugins/achievements/readme.txt
  93. +0 −204 plugins/achievements/templates/achievements/achievements-functions.php
  94. +0 −36 plugins/achievements/templates/achievements/achievements/content-archive-achievement.php
  95. +0 −34 plugins/achievements/templates/achievements/achievements/content-author-achievement.php
  96. +0 −36 plugins/achievements/templates/achievements/achievements/content-single-achievement.php
  97. +0 −86 plugins/achievements/templates/achievements/achievements/feedback-achievement-unlocked.php
  98. +0 −25 plugins/achievements/templates/achievements/achievements/feedback-no-achievements.php
  99. +0 −24 plugins/achievements/templates/achievements/achievements/form-redeem-code.php
  100. +0 −54 plugins/achievements/templates/achievements/achievements/loop-achievements.php
  101. +0 −31 plugins/achievements/templates/achievements/achievements/loop-progresses.php
  102. +0 −47 plugins/achievements/templates/achievements/achievements/loop-single-achievement.php
  103. +0 −42 plugins/achievements/templates/achievements/achievements/loop-single-progress.php
  104. +0 −29 plugins/achievements/templates/achievements/achievements/pagination-achievements.php
  105. +0 −23 plugins/achievements/templates/achievements/achievements/pagination-author-achievements.php
  106. +0 −3  plugins/achievements/templates/achievements/css/achievements-rtl.css
  107. +0 −2  plugins/achievements/templates/achievements/css/achievements.css
  108. +0 −189 plugins/achievements/templates/achievements/css/dev/achievements.less
  109. +0 −81 plugins/achievements/templates/achievements/css/dev/notifications.less
  110. +0 −31 plugins/achievements/templates/achievements/css/dev/variables.less
  111. +0 −3  plugins/achievements/templates/achievements/css/notifications-rtl.css
  112. +0 −2  plugins/achievements/templates/achievements/css/notifications.css
  113. +0 −4 plugins/achievements/templates/achievements/index.php
  114. +0 −5 plugins/achievements/templates/achievements/js/achievements.js
  115. +0 −5 plugins/achievements/templates/achievements/js/dev/achievements.js
  116. +0 −15 plugins/achievements/templates/achievements/js/dev/notifications.js
  117. +0 −1  plugins/achievements/templates/achievements/js/notifications.js
  118. +0 −4 plugins/achievements/templates/index.php
  119. +0 −286 plugins/bp-bugzilla-stats/bp-bugzilla-stats.php
  120. +0 −164 plugins/bp-bugzilla-stats/class.BugzillaStatisticsService.php
  121. +0 −27 plugins/bp-custom.php
  122. +0 −147 plugins/bp-group-management/bp-group-management-aux.php
  123. +0 −612 plugins/bp-group-management/bp-group-management-bp-functions.php
  124. +0 −59 plugins/bp-group-management/bp-group-management-css.css
  125. +0 −32 plugins/bp-group-management/bp-group-management.php
  126. +0 −182 plugins/bp-group-management/bp-group-management.pot
  127. BIN  plugins/bp-group-management/languages/bp-group-management-de_DE.mo
  128. +0 −179 plugins/bp-group-management/languages/bp-group-management-de_DE.po
  129. BIN  plugins/bp-group-management/languages/bp-group-management-it_IT.mo
  130. +0 −185 plugins/bp-group-management/languages/bp-group-management-it_IT.po
  131. BIN  plugins/bp-group-management/languages/bp-group-management-nl_NL.mo
  132. +0 −266 plugins/bp-group-management/languages/bp-group-management-nl_NL.po
  133. BIN  plugins/bp-group-management/languages/bp-group-management-ro_RO.mo
  134. +0 −183 plugins/bp-group-management/languages/bp-group-management-ro_RO.po
  135. BIN  plugins/bp-group-management/languages/bp-group-management-sk_SK.mo
  136. +0 −183 plugins/bp-group-management/languages/bp-group-management-sk_SK.po
  137. BIN  plugins/bp-group-management/languages/bp-group-management-tr_TR.mo
  138. +0 −185 plugins/bp-group-management/languages/bp-group-management-tr_TR.po
  139. +0 −186 plugins/bp-group-management/languages/bp-group-management.pot
  140. +0 −82 plugins/bp-group-management/readme.txt
  141. 0  plugins/breadcrumb-navxt/README
  142. +98 −7 plugins/breadcrumb-navxt/breadcrumb_navxt_admin.php
  143. +61 −80 plugins/breadcrumb-navxt/breadcrumb_navxt_class.php
  144. +11 −34 plugins/breadcrumb-navxt/includes/mtekk_adminkit.php
  145. +176 −176 plugins/breadcrumb-navxt/languages/breadcrumb-navxt-ar.po
  146. BIN  plugins/breadcrumb-navxt/languages/breadcrumb-navxt-ca.mo
  147. +753 −0 plugins/breadcrumb-navxt/languages/breadcrumb-navxt-ca.po
  148. +752 −752 plugins/breadcrumb-navxt/languages/breadcrumb-navxt-cs_CZ.po
  149. +752 −752 plugins/breadcrumb-navxt/languages/breadcrumb-navxt-da_DK.po
  150. +176 −176 plugins/breadcrumb-navxt/languages/breadcrumb-navxt-de_DE.po
  151. +752 −752 plugins/breadcrumb-navxt/languages/breadcrumb-navxt-es_ES.po
  152. +752 −752 plugins/breadcrumb-navxt/languages/breadcrumb-navxt-et.po
  153. +752 −752 plugins/breadcrumb-navxt/languages/breadcrumb-navxt-it_IT.po
Sorry, we could not display the entire diff because too many files (773) changed.
View
741 plugins/achievements/achievements.php
@@ -1,741 +0,0 @@
-<?php
-/**
- * Batman begins
- *
- * Plugin structure is based on bbPress and BuddyPress, because they're awesome. Borrowed with love.
- *
- * @author Paul Gibbs <paul@byotos.com>
- * @package Achievements
- * @subpackage Loader
- */
-
-/*
-Plugin Name: Achievements
-Plugin URI: http://achievementsapp.com/
-Description: Achievements gamifies your WordPress site with challenges, badges, and points.
-Version: 3.1
-Requires at least: 3.5.1
-Tested up to: 3.5.1
-License: GPLv3
-Author: Paul Gibbs
-Author URI: http://byotos.com/
-Domain Path: ../../languages/plugins/achievements/
-Text Domain: dpa
-
-"Achievements"
-Copyright (C) 2009-13 Paul Gibbs
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU General Public License version 3 as published by
-the Free Software Foundation.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with this program. If not, see http://www.gnu.org/licenses/.
-*/
-
-// Exit if accessed directly
-if ( ! defined( 'ABSPATH' ) ) exit;
-
-if ( ! class_exists( 'DPA_Achievements_Loader' ) ) :
-/**
- * Main Achievements class
- *
- * @since Achievements (3.0)
- */
-final class DPA_Achievements_Loader {
- /**
- * Achievements uses many variables, several of which can be filtered to
- * customise the way it operates. Most of these variables are stored in a
- * private array that gets updated with the help of PHP magic methods.
- *
- * This is a precautionary measure to avoid potential errors produced by
- * unanticipated direct manipulation of bbPress's run-time data.
- *
- * @see Achievements::setup_globals()
- * @var array
- */
- private $data;
-
- /**
- * Current user
- *
- * @var stdClass|WP_User Empty when not logged in; WP_User object when logged in. (By ref)
- */
- public $current_user;
-
- /**
- * Other plugins append data here. Used to store information about the supported plugin
- * and a list of its actions that you want to support.
- *
- * The items contained within this object need to derive from the {@link DPA_Extension} class.
- *
- * @var stdClass
- */
- public $extensions;
-
- /**
- * @var array Achievement views
- */
- public $views = array();
-
- /**
- * @var array Overloads get_option()
- */
- public $options = array();
-
- /**
- * @var array Overloads get_user_meta()
- */
- public $user_options = array();
-
- /**
- * @var Achievements The one true Achievements
- */
- private static $instance;
-
-
- /**
- * Main Achievements instance
- *
- * Insures that only one instance of Achievements exists in memory at any one
- * time. Also prevents needing to define globals all over the place.
- *
- * @return DPA_Achievements_Loader The one true Achievements
- * @see achievements()
- * @since Achievements (3.0)
- * @staticvar Achievements $instance
- */
- public static function instance() {
- if ( ! isset( self::$instance ) ) {
- self::$instance = new DPA_Achievements_Loader;
- self::$instance->setup_globals();
- self::$instance->includes();
- self::$instance->setup_actions();
- }
- return self::$instance;
- }
-
-
- // Magic Methods
-
- /**
- * A dummy constructor to prevent Achievements from being loaded more than once.
- *
- * @since Achievements (3.0)
- */
- private function __construct() {}
-
- /**
- * A dummy magic method to prevent Achievements from being cloned
- *
- * @since Achievements (3.0)
- */
- public function __clone() { _doing_it_wrong( __FUNCTION__, __( 'Cheatin&#8217; huh?', 'dpa' ), '3.0' ); }
-
- /**
- * A dummy magic method to prevent Achievements from being unserialised
- *
- * @since Achievements (3.0)
- */
- public function __wakeup() { _doing_it_wrong( __FUNCTION__, __( 'Cheatin&#8217; huh?', 'dpa' ), '3.0' ); }
-
- /**
- * Magic method for checking the existence of a certain custom field
- *
- * @param string $key
- * @since Achievements (3.0)
- */
- public function __isset( $key ) { return isset( $this->data[$key] ); }
-
- /**
- * Magic method for getting Achievements variables
- *
- * @param string $key
- * @since Achievements (3.0)
- */
- public function __get( $key ) { return isset( $this->data[$key] ) ? $this->data[$key] : null; }
-
- /**
- * Magic method for setting Achievements variables
- *
- * @param string $key
- * @param mixed $value
- * @since Achievements (3.0)
- */
- public function __set( $key, $value ) { $this->data[$key] = $value; }
-
- /**
- * Magic method for unsetting Achievements variables
- *
- * @param string $key
- * @since Achievements (3.0)
- */
- public function __unset( $key ) { if ( isset( $this->data[$key] ) ) unset( $this->data[$key] ); }
-
-
- // Private methods
-
- /**
- * Set up global variables
- *
- * @since Achievements (3.0)
- */
- private function setup_globals() {
- // Versions
- $this->version = 3.0;
- $this->db_version = 300;
-
- // Paths - plugin
- $this->file = __FILE__;
- $this->basename = apply_filters( 'dpa_basenname', plugin_basename( $this->file ) );
- $this->plugin_dir = apply_filters( 'dpa_plugin_dir_path', plugin_dir_path( $this->file ) );
- $this->plugin_url = apply_filters( 'dpa_plugin_dir_url', plugin_dir_url ( $this->file ) );
-
- // Paths - theme compatibility packs
- $this->themes_dir = apply_filters( 'dpa_themes_dir', trailingslashit( $this->plugin_dir . 'templates' ) );
- $this->themes_url = apply_filters( 'dpa_themes_url', trailingslashit( $this->plugin_url . 'templates' ) );
-
- // Paths - languages
- $this->lang_dir = apply_filters( 'dpa_lang_dir', trailingslashit( $this->plugin_dir . 'languages' ) );
-
- // Includes
- $this->includes_dir = apply_filters( 'dpa_includes_dir', trailingslashit( $this->plugin_dir . 'includes' ) );
- $this->includes_url = apply_filters( 'dpa_includes_url', trailingslashit( $this->plugin_url . 'includes' ) );
-
- // Post type/endpoint/taxonomy identifiers
- $this->achievement_post_type = apply_filters( 'dpa_achievement_post_type', 'achievement' );
- $this->achievement_progress_post_type = apply_filters( 'dpa_achievement_progress_post_type', 'dpa_progress' );
- $this->authors_endpoint = apply_filters( 'dpa_authors_endpoint', 'achievements' );
- $this->event_tax_id = apply_filters( 'dpa_event_tax_id', 'dpa_event' );
-
- // Post status identifiers
- $this->locked_status_id = apply_filters( 'dpa_locked_post_status', 'dpa_locked' );
- $this->unlocked_status_id = apply_filters( 'dpa_unlocked_post_status', 'dpa_unlocked' );
-
- // Other identifiers
- $this->view_id = apply_filters( 'dpa_view_id', 'dpa_view' );
-
- // Queries
- $this->current_achievement_id = 0; // Current achievement ID
-
- $this->achievement_query = new stdClass(); // Main achievement post type query
- $this->progress_query = new stdClass(); // Main dpa_progress post type query
-
- // Theme compat
- $this->theme_compat = new stdClass(); // Base theme compatibility class
- $this->filters = new stdClass(); // Used when adding/removing filters
-
- // Users
- $this->current_user = new stdClass(); // Currently logged in user
-
- // Other stuff
- $this->domain = 'dpa'; // Unique identifier for retrieving translated strings
- $this->errors = new WP_Error(); // Errors
- $this->extensions = new stdClass(); // Other plugins add data here
-
- // Add to global cache groups
- wp_cache_add_global_groups( 'achievements' );
-
- /**
- * If multisite and running network-wide, grab the options from the site options
- * table and store in achievements()->options. dpa_setup_option_filters() sets
- * up a pre_option filter which loads from achievements()->options if an option
- * has been set there. This saves a lot of conditionals throughout the plugin.
- */
- if ( is_multisite() && dpa_is_running_networkwide() ) {
- $options = dpa_get_default_options();
- foreach ( $options as $option_name => $option_value )
- achievements()->options[$option_name] = get_site_option( $option_name );
- }
- }
-
- /**
- * Include required files
- *
- * @since Achievements (3.0)
- */
- private function includes() {
- /**
- * Classes
- */
- require( $this->includes_dir . 'class-dpa-extension.php' ); // Base class for adding support for other plugins
- require( $this->includes_dir . 'class-dpa-cpt-extension.php' ); // Base class for adding support for other plugins using post type actions
- require( $this->includes_dir . 'class-dpa-shortcodes.php' );
-
-
- /**
- * Core
- */
- require( $this->includes_dir . 'core/dependency.php' );
- require( $this->includes_dir . 'core/functions.php' );
- require( $this->includes_dir . 'core/cache.php' );
- require( $this->includes_dir . 'core/options.php' );
- require( $this->includes_dir . 'core/caps.php' );
- require( $this->includes_dir . 'core/update.php' );
-
-
- /**
- * Templates
- */
- require( $this->includes_dir . 'core/template-functions.php' );
- require( $this->includes_dir . 'core/template-loader.php' );
- require( $this->includes_dir . 'core/theme-compatibility.php' );
-
-
- /**
- * Plugin extensions
- */
- require( $this->includes_dir . 'extensions/bbpress.php' );
- require( $this->includes_dir . 'extensions/buddypress.php' );
- require( $this->includes_dir . 'extensions/buddystream.php' );
- require( $this->includes_dir . 'extensions/inviteanyone.php' );
- require( $this->includes_dir . 'extensions/scholarpress.php' );
- require( $this->includes_dir . 'extensions/wordpress.php' );
- require( $this->includes_dir . 'extensions/wpecommerce.php' );
-
-
- /**
- * Components
- */
- require( $this->includes_dir . 'common/functions.php' );
- require( $this->includes_dir . 'common/template.php' );
- require( $this->includes_dir . 'common/widgets.php' );
-
- require( $this->includes_dir . 'achievements/functions.php' );
- require( $this->includes_dir . 'achievements/template.php' );
-
- require( $this->includes_dir . 'progress/functions.php' );
- require( $this->includes_dir . 'progress/template.php' );
-
- require( $this->includes_dir . 'users/capabilities.php' );
- require( $this->includes_dir . 'users/functions.php' );
- require( $this->includes_dir . 'users/template.php' );
- require( $this->includes_dir . 'users/options.php' );
- require( $this->includes_dir . 'users/notifications.php' );
-
-
- /**
- * Hooks
- */
- require( $this->includes_dir . 'core/actions.php' );
- require( $this->includes_dir . 'core/filters.php' );
-
-
- /**
- * Admin
- */
- if ( is_admin() ) {
- require( $this->includes_dir . 'admin/admin.php' );
- require( $this->includes_dir . 'admin/actions.php' );
- }
- }
-
- /**
- * Set up the default hooks and actions
- *
- * @since Achievements (3.0)
- */
- private function setup_actions() {
- // Plugin activation and deactivation hooks
- add_action( 'activate_' . $this->basename, 'dpa_activation' );
- add_action( 'deactivate_' . $this->basename, 'dpa_deactivation' );
-
- // If Achievements is being deactivated, don't add any more actions
- if ( dpa_is_deactivation( $this->basename ) )
- return;
-
- // Add the core actions
- $actions = array(
- 'setup_theme', // Setup the default theme compat
- 'setup_current_user', // Set up currently logged in user
- 'register_post_types', // Register post types (achievement, dpa_progress)
- 'register_post_statuses', // Register post statuses (dpa_progress: locked, unlocked)
- 'register_taxonomies', // Register taxonomies (dpa_event)
- 'register_shortcodes', // Register shortcodes
- 'register_theme_packages', // Register bundled theme packages (templates)
- 'load_textdomain', // Load textdomain
- 'constants', // Define constants
- 'register_endpoints', // Register endpoints (achievements)
- 'admin_bar_menu', // Register custom menu items (My Achievements)
- );
-
- foreach( $actions as $class_action )
- add_action( 'dpa_' . $class_action, array( $this, $class_action ), 5 );
-
- // All Achievements actions are setup (includes core/actions.php)
- do_action_ref_array( 'dpa_after_setup_actions', array( &$this ) );
- }
-
- /**
- * Define constants
- *
- * @since Achievements (3.0)
- */
- public function constants() {
- // If multisite and running network-wide, we switch_to_blog to this site to store/fetch achievement data
- if ( ! defined( 'DPA_DATA_STORE' ) )
- define( 'DPA_DATA_STORE', 1 );
- }
-
- /**
- * Load the translation file for current language. Checks the default WordPress languages folder.
- *
- * @since Achievements (3.0)
- */
- public function load_textdomain() {
- // Traditional WordPress plugin locale filter
- $locale = apply_filters( 'plugin_locale', get_locale(), $this->domain );
- $mofile = sprintf( '%1$s-%2$s.mo', $this->domain, $locale );
-
- // Look in global /wp-content/languages/plugins/achievements/ folder
- $mofile_global = WP_LANG_DIR . '/plugins/achievements/' . $mofile;
-
- if ( file_exists( $mofile_global ) )
- load_textdomain( $this->domain, $mofile_global );
- }
-
- /**
- * Register endpoints
- *
- * @since Achievements (3.0)
- */
- public function register_endpoints() {
- add_rewrite_endpoint( dpa_get_authors_endpoint(), EP_AUTHORS ); // /authors/paul/[achievements]
- }
-
- /**
- * Set up the post types for: achievement, achievement_progress
- *
- * @since Achievements (3.0)
- */
- public function register_post_types() {
- $cpt = $labels = $rewrite = $supports = array();
-
- // CPT labels
- $labels['achievement'] = array(
- 'add_new' => _x( 'Add New', 'achievement', 'dpa' ),
- 'add_new_item' => __( 'Add New Achievement', 'dpa' ),
- 'all_items' => __( 'All Achievements', 'dpa' ),
- 'edit' => _x( 'Edit', 'achievement', 'dpa' ),
- 'edit_item' => __( 'Edit Achievement', 'dpa' ),
- 'menu_name' => __( 'Achievements', 'dpa' ),
- 'name' => __( 'Achievements', 'dpa' ),
- 'new_item' => __( 'New Achievement', 'dpa' ),
- 'not_found' => __( 'No achievements found.', 'dpa' ),
- 'not_found_in_trash' => __( 'No achievements found in Trash.', 'dpa' ),
- 'search_items' => __( 'Search Achievements', 'dpa' ),
- 'singular_name' => __( 'Achievement', 'dpa' ),
- 'view' => __( 'View Achievement', 'dpa' ),
- 'view_item' => __( 'View Achievement', 'dpa' ),
- );
-
- // CPT rewrite
- $rewrite['achievement'] = array(
- 'ep_mask' => 0, // EP_ROOT - removes comment-page rewrite rules
- 'feed' => false, // Remove feed rewrite rules
- 'feeds' => false, // Remove feed rewrite rules (this is what the parameter ought to be)
- 'pages' => true,
- 'slug' => dpa_get_root_slug(),
- 'with_front' => false,
- );
- // CPT supports
- $supports['achievement'] = array(
- 'editor',
- 'revisions',
- 'thumbnail',
- 'title',
- );
- $supports['achievement_progress'] = array(
- 'author',
- );
-
- // CPT filter
- $cpt['achievement'] = apply_filters( 'dpa_register_post_type_achievement', array(
- 'can_export' => true,
- 'capabilities' => dpa_get_achievement_caps(),
- 'capability_type' => array( 'achievement', 'achievements' ),
- 'delete_with_user' => false,
- 'description' => _x( 'Achievements types (e.g. new post, new site, new user)', 'Achievement post type description', 'dpa' ),
- 'exclude_from_search' => false,
- 'has_archive' => true,
- 'hierarchical' => false,
- 'labels' => $labels['achievement'],
- 'public' => true,
- 'publicly_queryable' => true,
- 'query_var' => true,
- 'rewrite' => $rewrite['achievement'],
- 'register_meta_box_cb' => 'dpa_admin_setup_metaboxes',
- 'show_in_admin_bar' => true,
- 'show_in_menu' => true,
- 'show_in_nav_menus' => true,
- 'show_ui' => dpa_current_user_can_see( dpa_get_achievement_post_type() ),
- 'supports' => $supports['achievement'],
- ) );
- $cpt['achievement_progress'] = apply_filters( 'dpa_register_post_type_achievement_progress', array(
- 'can_export' => true,
- 'capabilities' => dpa_get_achievement_progress_caps(),
- 'capability_type' => array( 'achievement_progress', 'achievement_progresses' ),
- 'delete_with_user' => true,
- 'description' => _x( 'Achievement Progress (e.g. unlocked achievements for a user, progress on an achievement for a user)', 'Achievement Progress post type description', 'dpa' ),
- 'exclude_from_search' => true,
- 'has_archive' => false,
- 'hierarchical' => false,
- 'public' => false,
- 'publicly_queryable' => false,
- 'query_var' => false,
- 'rewrite' => false,
- 'show_in_admin_bar' => false,
- 'show_in_menu' => false,
- 'show_in_nav_menus' => false,
- 'show_ui' => false,
- 'supports' => $supports['achievement_progress'],
- ) );
-
- // Register Achievement post type
- register_post_type( dpa_get_achievement_post_type(), $cpt['achievement'] );
-
- // Register Achievement Progress post type
- register_post_type( dpa_get_progress_post_type(), $cpt['achievement_progress'] );
- }
-
- /**
- * Register the post statuses used by Achievements
- *
- * @since Achievements (3.0)
- */
- public function register_post_statuses() {
- // Locked
- register_post_status(
- dpa_get_locked_status_id(),
- apply_filters( 'dpa_register_locked_post_status', array(
- 'label' => _x( 'Locked', 'achievement', 'dpa' ),
- 'label_count' => _nx_noop( 'Locked <span class="count">(%s)</span>', 'Locked <span class="count">(%s)</span>', 'dpa' ),
- 'public' => false,
- 'exclude_from_search' => true,
- 'show_in_admin_status_list' => true,
- 'show_in_admin_all_list' => true,
- ) )
- );
-
- // Unlocked
- register_post_status(
- dpa_get_unlocked_status_id(),
- apply_filters( 'dpa_register_unlocked_post_status', array(
- 'label' => _x( 'Unlocked', 'achievement', 'dpa' ),
- 'label_count' => _nx_noop( 'Unlocked <span class="count">(%s)</span>', 'Unlocked <span class="count">(%s)</span>', 'dpa' ),
- 'public' => false,
- 'exclude_from_search' => true,
- 'show_in_admin_status_list' => true,
- 'show_in_admin_all_list' => true,
- ) )
- );
- }
-
- /**
- * Register the achievement event taxonomy
- *
- * @since Achievements (3.0)
- */
- public function register_taxonomies() {
- $labels = $tax = array();
-
- // Event tax labels
- $labels['event'] = array(
- 'add_new_item' => __( 'Add New Event', 'dpa' ),
- 'all_items' => __( 'All', 'dpa' ),
- 'edit_item' => __( 'Edit Event', 'dpa' ),
- 'name' => _x( 'Events', 'event taxonomy general name', 'dpa' ),
- 'new_item_name' => __( 'New Event Name', 'dpa' ),
- 'popular_items' => __( 'Popular Events', 'dpa' ),
- 'search_items' => __( 'Search Events', 'dpa' ),
- 'singular_name' => _x( 'Event', 'event taxonomy singular name', 'dpa' ),
- 'update_item' => __( 'Update Event', 'dpa' ),
- 'view_item' => __( 'View Event', 'dpa' ),
- );
-
- // Action filter
- $tax = apply_filters( 'dpa_register_taxonomies_action', array(
- 'capabilities' => dpa_get_event_caps(),
- 'hierarchical' => false,
- 'labels' => $labels['event'],
- 'public' => false,
- 'query_var' => false,
- 'rewrite' => false,
- 'show_in_nav_menus' => false,
- 'show_tagcloud' => false,
- 'show_ui' => false,
- 'update_count_callback' => '_update_post_term_count',
- ) );
-
- // Register the achievement event taxonomy
- register_taxonomy(
- dpa_get_event_tax_id(), // The event taxonomy id
- dpa_get_achievement_post_type(), // The achievement post type
- $tax
- );
- }
-
- /**
- * Register bundled theme packages
- *
- * Note that since we currently have complete control over the /templates/
- * folders, it's fine to hardcode these here. If at a later date we need to
- * automate this, an API will need to be built.
- *
- * @since Achievements (3.0)
- */
- public function register_theme_packages() {
- dpa_register_theme_package( array(
- 'id' => 'default',
- 'name' => __( 'Achievements Default', 'dpa' ),
- 'version' => dpa_get_version(),
- 'dir' => trailingslashit( $this->themes_dir . 'achievements' ),
- 'url' => trailingslashit( $this->themes_url . 'achievements' )
- ) );
- }
-
- /**
- * Register Achievements' shortcodes
- *
- * @since Achievements (3.0)
- */
- public function register_shortcodes() {
- $this->shortcodes = new DPA_Shortcodes();
- }
-
- /**
- * Register custom menu items
- *
- * @global WP_Admin_Bar $wp_admin_bar
- * @since Achievements (3.0)
- */
- public function admin_bar_menu() {
- global $wp_admin_bar;
-
- if ( ! dpa_is_user_active() )
- return;
-
- $wp_admin_bar->add_node( array(
- 'href' => user_trailingslashit( trailingslashit( get_author_posts_url( get_current_user_id() ) ) . dpa_get_authors_endpoint() ),
- 'id' => 'dpa_my_achievements',
- 'parent' => 'user-actions',
- 'title' => _x( 'My Achievements', 'Menu item in the toolbar', 'dpa' ),
- ) );
- }
-
- /**
- * Set up the currently logged in user.
- *
- * Do not call this before the 'init' action has started.
- *
- * @since Achievements (3.0)
- */
- public function setup_current_user() {
- $this->current_user = &wp_get_current_user();
- }
-
- /**
- * Setup the default Achievements theme compatibility location.
- *
- * @since Achievements (3.0)
- */
- public function setup_theme() {
- // Bail if something already has this under control
- if ( ! empty( $this->theme_compat->theme ) )
- return;
-
- // Setup the theme package to use for compatibility
- dpa_setup_theme_compat( dpa_get_theme_package_id() );
- }
-}
-
-/**
- * Checks if the plugin across entire network, rather than on a specific site (for multisite)
- *
- * Needs to be in scope for DPA_Achievements_Loader::setup_globals(), so it's not in core/options.php
- *
- * @return true
- * @since Achievements (3.0)
- * @todo Review if is_plugin_active_for_network() not being available on Network Activation is a WP core bug.
- */
-function dpa_is_running_networkwide() {
- $retval = false;
-
- if ( is_multisite() ) {
- $plugins = get_site_option( 'active_sitewide_plugins' );
- if ( isset( $plugins[achievements()->basename] ) )
- $retval = true;
- }
-
- return (bool) apply_filters( 'dpa_is_running_networkwide', $retval );
-}
-
-/**
- * Get the default site options and their values
- *
- * Needs to be in scope for DPA_Achievements_Loader::setup_globals(), so it's not in core/options.php
- *
- * @return array Option names and values
- * @since Achievements (3.0)
- */
-function dpa_get_default_options() {
- $options = array(
- // DB version
- '_dpa_db_version' => achievements()->db_version, // Initial DB version
-
- // Settings
- '_dpa_theme_package_id' => 'default', // The ID for the current theme package.
-
- // Achievement post type
- '_dpa_achievements_per_page' => 15, // Achievements per page
- '_dpa_achievements_per_rss_page' => 25, // Achievements per RSS page
- '_dpa_root_slug' => 'achievements', // Achievements archive slug
-
- // Progress post type
- '_dpa_progresses_per_page' => 15, // Progresses per page
- '_dpa_progresses_per_rss_page' => 25, // Progresses per RSS page
-
- // Extension support
- '_dpa_extension_versions' => array(), // Version numbers for the plugin extensions
-
- // Stats
- '_dpa_stats_last_achievement_id' => 0, // ID of the last unlocked achievement
- '_dpa_stats_last_achievement_user_id' => 0, // ID of the user who unlocked the last achievement
- );
-
- return apply_filters( 'dpa_get_default_options', $options );
-}
-
-/**
- * The main function responsible for returning the one true Achievements instance.
- *
- * Use this function like you would a global variable, except without needing
- * to declare the global.
- *
- * @return DPA_Achievements_Loader The one true Achievements instance
- * @since Achievements (3.0)
- */
-function achievements() {
- return DPA_Achievements_Loader::instance();
-}
-
-/**
- * Hook Achievements early onto the 'plugins_loaded' action.
- *
- * This gives all other plugins the chance to load before Achievements to get their
- * actions, filters, and overrides setup without Achievements being in the way.
- */
-if ( defined( 'DPA_LATE_LOAD' ) ) {
- add_action( 'plugins_loaded', 'achievements', (int) DPA_LATE_LOAD );
-
-// This makes it go up to 11
-} else {
- achievements();
-}
-
-endif; // class_exists check
View
1,293 plugins/achievements/dpa.pot
@@ -1,1293 +0,0 @@
-# Copyright (C) 2013 Achievements
-# This file is distributed under the same license as the Achievements package.
-msgid ""
-msgstr ""
-"Project-Id-Version: Achievements 3.1\n"
-"Report-Msgid-Bugs-To: http://wordpress.org/tag/achievements\n"
-"POT-Creation-Date: 2013-02-17 22:20:59+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-MO-DA HO:MI+ZONE\n"
-"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
-"Language-Team: LANGUAGE <LL@li.org>\n"
-
-#: achievements.php:138 achievements.php:145
-msgid "Cheatin&#8217; huh?"
-msgstr ""
-
-#: achievements.php:421
-msgctxt "achievement"
-msgid "Add New"
-msgstr ""
-
-#: achievements.php:422
-msgid "Add New Achievement"
-msgstr ""
-
-#: achievements.php:423
-msgid "All Achievements"
-msgstr ""
-
-#: achievements.php:424
-msgctxt "achievement"
-msgid "Edit"
-msgstr ""
-
-#: achievements.php:425
-msgid "Edit Achievement"
-msgstr ""
-
-#. #-#-#-#-# achievements.pot (Achievements 3.1) #-#-#-#-#
-#. Plugin Name of the plugin/theme
-#: achievements.php:426 achievements.php:427
-#: includes/admin/class-dpa-users-list-table.php:150
-#: includes/admin/functions.php:24
-msgid "Achievements"
-msgstr ""
-
-#: achievements.php:428
-msgid "New Achievement"
-msgstr ""
-
-#: achievements.php:429
-msgid "No achievements found."
-msgstr ""
-
-#: achievements.php:430
-msgid "No achievements found in Trash."
-msgstr ""
-
-#: achievements.php:431
-msgid "Search Achievements"
-msgstr ""
-
-#: achievements.php:432
-msgid "Achievement"
-msgstr ""
-
-#: achievements.php:433 achievements.php:434
-msgid "View Achievement"
-msgstr ""
-
-#: achievements.php:463
-msgctxt "Achievement post type description"
-msgid "Achievements types (e.g. new post, new site, new user)"
-msgstr ""
-
-#: achievements.php:484
-msgctxt "Achievement Progress post type description"
-msgid ""
-"Achievement Progress (e.g. unlocked achievements for a user, progress on an "
-"achievement for a user)"
-msgstr ""
-
-#: achievements.php:516
-msgctxt "achievement"
-msgid "Locked"
-msgstr ""
-
-#: achievements.php:517
-msgctxt "dpa"
-msgid "Locked <span class=\"count\">(%s)</span>"
-msgid_plural "Locked <span class=\"count\">(%s)</span>"
-msgstr[0] ""
-msgstr[1] ""
-
-#: achievements.php:529
-msgctxt "achievement"
-msgid "Unlocked"
-msgstr ""
-
-#: achievements.php:530
-msgctxt "dpa"
-msgid "Unlocked <span class=\"count\">(%s)</span>"
-msgid_plural "Unlocked <span class=\"count\">(%s)</span>"
-msgstr[0] ""
-msgstr[1] ""
-
-#: achievements.php:549
-msgid "Add New Event"
-msgstr ""
-
-#: achievements.php:550
-msgid "All"
-msgstr ""
-
-#: achievements.php:551
-msgid "Edit Event"
-msgstr ""
-
-#: achievements.php:552
-msgctxt "event taxonomy general name"
-msgid "Events"
-msgstr ""
-
-#: achievements.php:553
-msgid "New Event Name"
-msgstr ""
-
-#: achievements.php:554
-msgid "Popular Events"
-msgstr ""
-
-#: achievements.php:555
-msgid "Search Events"
-msgstr ""
-
-#: achievements.php:556
-msgctxt "event taxonomy singular name"
-msgid "Event"
-msgstr ""
-
-#: achievements.php:557
-msgid "Update Event"
-msgstr ""
-
-#: achievements.php:558
-msgid "View Event"
-msgstr ""
-
-#: achievements.php:595 templates/achievements/achievements-functions.php:48
-msgid "Achievements Default"
-msgstr ""
-
-#: achievements.php:627
-msgctxt "Menu item in the toolbar"
-msgid "My Achievements"
-msgstr ""
-
-#: includes/achievements/functions.php:238
-msgid "That code was invalid. Try again!"
-msgstr ""
-
-#. translators: first param is post permalink, second param is the "more" text.
-#: includes/achievements/template.php:501
-msgid "&hellip; (<a href=\"%1$s\">%2$s</a>)"
-msgstr ""
-
-#: includes/achievements/template.php:503
-msgctxt "Excerpt - click here to see more of the post"
-msgid "more"
-msgstr ""
-
-#: includes/achievements/template.php:546 includes/progress/template.php:252
-msgctxt "[date] at [time]"
-msgid "%1$s at %2$s"
-msgstr ""
-
-#: includes/achievements/template.php:585
-msgid "%s achievement"
-msgid_plural "%s achievements"
-msgstr[0] ""
-msgstr[1] ""
-
-#: includes/achievements/template.php:603
-msgid ""
-"This site has %1$s, and the last unlocked was <a href=\"%2$s\">%3$s</a> by "
-"%4$s."
-msgstr ""
-
-#: includes/achievements/template.php:618
-msgid "This site has %1$s."
-msgstr ""
-
-#: includes/achievements/template.php:717
-msgid "Viewing %1$s achievement"
-msgid_plural "Viewing %1$s achievements"
-msgstr[0] ""
-msgstr[1] ""
-
-#: includes/achievements/template.php:721
-msgid "Viewing achievement %2$s (of %4$s total)"
-msgid_plural "Viewing %1$s achievements - %2$s through %3$s (of %4$s total)"
-msgstr[0] ""
-msgstr[1] ""
-
-#: includes/admin/admin.php:160
-msgid "Achievements &mdash; Users"
-msgstr ""
-
-#: includes/admin/admin.php:161 includes/admin/users.php:77
-msgctxt "admin menu title"
-msgid "Users"
-msgstr ""
-
-#: includes/admin/admin.php:170
-msgid "Achievements &mdash; Supported Plugins"
-msgstr ""
-
-#: includes/admin/admin.php:171 includes/admin/supported-plugins.php:101
-msgid "Supported Plugins"
-msgstr ""
-
-#: includes/admin/admin.php:278
-msgid "Achievements Settings"
-msgstr ""
-
-#: includes/admin/admin.php:281
-msgctxt "User&rsquo;s total points from unlocked Achievements"
-msgid "Total Points"
-msgstr ""
-
-#: includes/admin/admin.php:288
-msgid "Unlocked Achievements"
-msgstr ""
-
-#: includes/admin/admin.php:291
-msgid "Assign or remove achievements from this user"
-msgstr ""
-
-#: includes/admin/class-dpa-users-list-table.php:82
-msgctxt "admin screen, types of users"
-msgid "All <span class=\"count\">(%s)</span>"
-msgid_plural "All <span class=\"count\">(%s)</span>"
-msgstr[0] ""
-msgstr[1] ""
-
-#. translators: User role name with count
-#: includes/admin/class-dpa-users-list-table.php:100
-msgid "%1$s <span class=\"count\">(%2$s)</span>"
-msgstr ""
-
-#: includes/admin/class-dpa-users-list-table.php:147
-msgid "Username"
-msgstr ""
-
-#: includes/admin/class-dpa-users-list-table.php:148
-msgid "Last Achievement"
-msgstr ""
-
-#: includes/admin/class-dpa-users-list-table.php:149
-msgid "Actions"
-msgstr ""
-
-#: includes/admin/class-dpa-users-list-table.php:263
-msgid "Edit"
-msgstr ""
-
-#: includes/admin/functions.php:65
-msgid "Karma points:"
-msgstr ""
-
-#: includes/admin/functions.php:70
-msgctxt "type of achievement"
-msgid "Type:"
-msgstr ""
-
-#: includes/admin/functions.php:71
-msgctxt "type of achievement"
-msgid "&nbsp;Award"
-msgstr ""
-
-#: includes/admin/functions.php:72
-msgctxt "type of achievement"
-msgid "&nbsp;Event"
-msgstr ""
-
-#: includes/admin/functions.php:74
-msgid ""
-"An <em>award</em> is given by a site admin, whereas an <em>event</em> is "
-"unlocked automatically when its criteria have been met."
-msgstr ""
-
-#: includes/admin/functions.php:76
-msgid "Press here to pick events"
-msgstr ""
-
-#: includes/admin/functions.php:93
-msgctxt ""
-"Number of times an achievement&#8217;s events need to repeat before the "
-"achievement is awarded"
-msgid "Events repeat:"
-msgstr ""
-
-#: includes/admin/functions.php:96
-msgid ""
-"Number of times the events need to repeat before the achievement is awarded."
-msgstr ""
-
-#: includes/admin/functions.php:100
-msgid "Redemption code:"
-msgstr ""
-
-#: includes/admin/functions.php:103
-msgid ""
-"Users can enter this code into the Redemption widget to unlock the "
-"achievement."
-msgstr ""
-
-#: includes/admin/functions.php:189
-msgid "Title"
-msgstr ""
-
-#: includes/admin/functions.php:190
-msgctxt "Type of the achievement; award or badge"
-msgid "Type"
-msgstr ""
-
-#: includes/admin/functions.php:191
-msgid "Karma Points"
-msgstr ""
-
-#: includes/admin/functions.php:192
-msgid "Date"
-msgstr ""
-
-#: includes/admin/functions.php:211
-msgid "Award"
-msgstr ""
-
-#: includes/admin/functions.php:211
-msgid "Event"
-msgstr ""
-
-#: includes/admin/functions.php:241
-msgid ""
-"The title field and the big achievement Editing Area are fixed in place, but "
-"you can reposition all the other boxes using drag and drop, and can minimize "
-"or expand them by clicking the title bar of each box. Use the Screen Options "
-"tab to hide or reveal more boxes (Featured Image, Achievements, Slug) or to "
-"choose a 1- or 2-column layout for this screen."
-msgstr ""
-
-#: includes/admin/functions.php:245
-msgid "Customizing This Display"
-msgstr ""
-
-#: includes/admin/functions.php:249
-msgid ""
-"<strong>Title</strong> - Enter a title for your achievement. After you enter "
-"a title, you&#8217;ll see the permalink below, which you can edit."
-msgstr ""
-
-#: includes/admin/functions.php:250
-msgid ""
-"<strong>Achievement editor</strong> - Enter the text for your achievement. "
-"There are two modes of editing: Visual and Text. Choose the mode by clicking "
-"on the appropriate tab. Visual mode gives you a WYSIWYG editor. Click the "
-"last icon in the row to get a second row of controls. The Text mode allows "
-"you to enter HTML along with your achievement text. Line breaks will be "
-"converted to paragraphs automatically. You can insert media files by "
-"clicking the icons above the achievement editor and following the "
-"directions. You can go to the distraction-free writing screen via the "
-"Fullscreen icon in Visual mode (second to last in the top row) or the "
-"Fullscreen button in Text mode (last in the row). Once there, you can make "
-"buttons visible by hovering over the top area. Exit Fullscreen back to the "
-"regular achievement editor."
-msgstr ""
-
-#: includes/admin/functions.php:254
-msgid "Title and Achievement Editor"
-msgstr ""
-
-#: includes/admin/functions.php:258
-msgid ""
-"You can upload and insert media (images, audio, documents, etc.) by clicking "
-"the Add Media button. You can select from the images and files already "
-"uploaded to the Media Library, or upload new media to add to your "
-"achievement. To create an image gallery, select the images to add and click "
-"the “Create a new gallery” button."
-msgstr ""
-
-#: includes/admin/functions.php:260
-msgid ""
-"You can also embed media from many popular websites including Twitter, "
-"YouTube, Flickr and others by pasting the media URL on its own line into the "
-"content of your post/page. Please refer to the WordPress Codex to <a href="
-"\"%s\">learn more about embeds</a>."
-msgstr ""
-
-#: includes/admin/functions.php:264
-msgid "Inserting Media"
-msgstr ""
-
-#: includes/admin/functions.php:268
-msgid ""
-"Several boxes on this screen contain settings for how your achievement will "
-"be published, including:"
-msgstr ""
-
-#: includes/admin/functions.php:269
-msgid ""
-"<strong>Publish</strong> - You can set the terms of publishing your "
-"achievement in the Publish box. For Status, Visibility, and Publish "
-"(immediately), click on the Edit link to reveal more options. Visibility "
-"includes options for password-protecting an achievement&#8217;s page or "
-"setting the achievement to not appear in lists on your site). Publish "
-"(immediately) allows you to set a future or past date and time, so you can "
-"schedule an achievement to be published in the future."
-msgstr ""
-
-#: includes/admin/functions.php:271
-msgid ""
-"<strong>Featured Image</strong> - This allows you to associate an image with "
-"your achievement without inserting it into the big achievement Editing Area."
-msgstr ""
-
-#: includes/admin/functions.php:275
-msgid "Publish Settings"
-msgstr ""
-
-#: includes/admin/functions.php:279
-msgid ""
-"<strong>Karma points</strong> - set the number of points (called karma) "
-"given to a user when they unlock an achievement."
-msgstr ""
-
-#: includes/admin/functions.php:280
-msgid ""
-"<strong>Type</strong> - there are two types of achievement, Award and Event. "
-"An Award is given by a site admin, whereas an Event is unlocked "
-"automatically when its criteria have been met."
-msgstr ""
-
-#: includes/admin/functions.php:281
-msgid ""
-"<strong>Event achievements</strong> - this field appears when you create an "
-"Event achievement. Use the dropdown box to choose the events that you want "
-"to trigger this achievement."
-msgstr ""
-
-#: includes/admin/functions.php:282
-msgid ""
-"<strong>Events repeat</strong> - for Event achievements, set the number of "
-"times the events need to occur before the achievement is awarded."
-msgstr ""
-
-#: includes/admin/functions.php:283
-msgid ""
-"<strong>Redemption code</strong> - users can enter this code into the "
-"Redemption widget to unlock the achievement."
-msgstr ""
-
-#: includes/admin/functions.php:287
-msgid "Achievements Box"
-msgstr ""
-
-#: includes/admin/functions.php:292 includes/admin/functions.php:343
-#: includes/admin/supported-plugins.php:42 includes/admin/users.php:50
-msgid "For more information:"
-msgstr ""
-
-#: includes/admin/functions.php:293 includes/admin/functions.php:344
-#: includes/admin/supported-plugins.php:43 includes/admin/users.php:51
-msgid "Achievements Website"
-msgstr ""
-
-#: includes/admin/functions.php:294 includes/admin/functions.php:345
-#: includes/admin/supported-plugins.php:44 includes/admin/users.php:52
-msgid "Support Forums"
-msgstr ""
-
-#: includes/admin/functions.php:311 includes/admin/supported-plugins.php:26
-#: includes/admin/users.php:30
-msgid "Overview"
-msgstr ""
-
-#: includes/admin/functions.php:313
-msgid ""
-"This screen provides access to all of your achievements. You can customize "
-"the display of this screen to suit your workflow."
-msgstr ""
-
-#: includes/admin/functions.php:318 includes/admin/users.php:39
-msgid "Screen Content"
-msgstr ""
-
-#: includes/admin/functions.php:320 includes/admin/users.php:41
-msgid ""
-"You can customize the display of this screen&#8217;s contents in a number of "
-"ways:"
-msgstr ""
-
-#: includes/admin/functions.php:322
-msgid ""
-"You can hide/display columns based on your needs and decide how many "
-"achievements to list per screen using the Screen Options tab."
-msgstr ""
-
-#: includes/admin/functions.php:323
-msgid ""
-"You can filter the list of achievements by achievement status using the text "
-"links in the upper left to show All, Published, Draft, or Trashed "
-"achievements. The default view is to show all achievements."
-msgstr ""
-
-#: includes/admin/functions.php:324
-msgid ""
-"You can view achievements in a simple title list or with an excerpt. Choose "
-"the view you prefer by clicking on the icons at the top of the list on the "
-"right."
-msgstr ""
-
-#: includes/admin/functions.php:325
-msgid ""
-"You can refine the list to show only achievements from a specific month by "
-"using the dropdown menus above the posts list. Click the Filter button after "
-"making your selection."
-msgstr ""
-
-#: includes/admin/functions.php:331
-msgid "Available Actions"
-msgstr ""
-
-#: includes/admin/functions.php:333
-msgid ""
-"Hovering over a row in the achievements list will display action links that "
-"allow you to manage your achievement. You can perform the following actions:"
-msgstr ""
-
-#: includes/admin/functions.php:335
-msgid ""
-"<strong>Edit</strong> takes you to the editing screen for that achievement. "
-"You can also reach that screen by clicking on the achievement title."
-msgstr ""
-
-#: includes/admin/functions.php:336
-msgid ""
-"<strong>Quick Edit</strong> provides inline access to the metadata of your "
-"achievement, allowing you to update achievement details without leaving this "
-"screen."
-msgstr ""
-
-#: includes/admin/functions.php:337
-msgid ""
-"<strong>Trash</strong> removes your achievement from this list and places it "
-"in the trash, from which you can permanently delete it."
-msgstr ""
-
-#: includes/admin/functions.php:338
-msgid ""
-"<strong>Preview</strong> will show you what your draft achievement will look "
-"like if you publish it. View will take you to your live site to view the "
-"achievement. Which link is available depends on your achievement&#8217;s "
-"status."
-msgstr ""
-
-#: includes/admin/supported-plugins.php:28
-msgid ""
-"Learn about and discover the plugins which are supported by Achievements. "
-"This screen allows you to customize your view in three main ways; Detail "
-"view, List view, and Grid view. A powerful search box and filter gives you "
-"even more control to see exactly what you want."
-msgstr ""
-
-#: includes/admin/supported-plugins.php:34
-msgid "Views"
-msgstr ""
-
-#: includes/admin/supported-plugins.php:36
-msgid ""
-"<strong>Grid view</strong> displays high-quality artwork of each plugin, "
-"showing you at a glance the plugins supported by Achievements."
-msgstr ""
-
-#: includes/admin/supported-plugins.php:37
-msgid ""
-"<strong>List view</strong> drills down into each plugin, showing you its "
-"authors and whether you already have the plugin installed."
-msgstr ""
-
-#: includes/admin/supported-plugins.php:38
-msgid ""
-"<strong>Detail view</strong> goes even further, showing you which features "
-"of the plugin are supported and the latest news about the plugin."
-msgstr ""
-
-#: includes/admin/supported-plugins.php:48
-msgid "Plugin Information"
-msgstr ""
-
-#: includes/admin/supported-plugins.php:49
-msgid "Supported Features"
-msgstr ""
-
-#: includes/admin/supported-plugins.php:143
-msgid "Search for a plugin..."
-msgstr ""
-
-#: includes/admin/supported-plugins.php:146
-msgid "All Plugins"
-msgstr ""
-
-#: includes/admin/supported-plugins.php:147
-msgid "Available Plugins"
-msgstr ""
-
-#: includes/admin/supported-plugins.php:148
-msgid "Installed Plugins"
-msgstr ""
-
-#: includes/admin/supported-plugins.php:152
-msgid "Grid view"
-msgstr ""
-
-#: includes/admin/supported-plugins.php:153
-msgid "List view"
-msgstr ""
-
-#: includes/admin/supported-plugins.php:154
-msgid "Detail view"
-msgstr ""
-
-#: includes/admin/supported-plugins.php:204
-msgid "Share on Twitter"
-msgstr ""
-
-#: includes/admin/supported-plugins.php:205
-msgid "Share on Google"
-msgstr ""
-
-#: includes/admin/supported-plugins.php:209
-msgid "Latest News"
-msgstr ""
-
-#: includes/admin/supported-plugins.php:221
-msgctxt ""
-"ellipsis character at end of post excerpt to show text has been truncated"
-msgid "&hellip;"
-msgstr ""
-
-#. translators: "By AUTHOR, DATE".
-#: includes/admin/supported-plugins.php:246
-msgid "<p>By %1$s, %2$s</p>"
-msgstr ""
-
-#: includes/admin/supported-plugins.php:255
-msgid "No news found."
-msgstr ""
-
-#: includes/admin/supported-plugins.php:310
-msgid ""
-"This table lists all of the plugins that Achievements has support for. For "
-"each plugin it shows a banner, who contributed to its development, and "
-"whether your site has the plugin installed or not."
-msgstr ""
-
-#: includes/admin/supported-plugins.php:314
-#: includes/admin/supported-plugins.php:324
-msgid "Plugin"
-msgstr ""
-
-#: includes/admin/supported-plugins.php:315
-#: includes/admin/supported-plugins.php:325
-msgid "Rating"
-msgstr ""
-
-#: includes/admin/supported-plugins.php:316
-#: includes/admin/supported-plugins.php:326
-msgid "Status"
-msgstr ""
-
-#: includes/admin/supported-plugins.php:317
-#: includes/admin/supported-plugins.php:327
-msgid "Authors"
-msgstr ""
-
-#: includes/admin/supported-plugins.php:373
-msgctxt "A plugin is installed"
-msgid "Ready"
-msgstr ""
-
-#: includes/admin/supported-plugins.php:382
-#: includes/admin/supported-plugins.php:398
-msgctxt "A plugin is not installed"
-msgid "Not installed"
-msgstr ""
-
-#: includes/admin/supported-plugins.php:571
-msgctxt "A plugin is installed"
-msgid "Status: Ready"
-msgstr ""
-
-#: includes/admin/supported-plugins.php:579
-msgctxt "A plugin is not installed"
-msgid "Install Plugin"
-msgstr ""
-
-#: includes/admin/supported-plugins.php:595
-msgctxt "A plugin is not installed"
-msgid "Status: Not installed"
-msgstr ""
-
-#: includes/admin/supported-plugins.php:601
-msgid "More Info"
-msgstr ""
-
-#: includes/admin/users.php:32
-msgid ""
-"This screen lists all the users on your site who are eligble to unlock "
-"achievements."
-msgstr ""
-
-#: includes/admin/users.php:33
-msgid ""
-"Each user has one of five defined roles as set by the site admin: Site "
-"Administrator, Editor, Author, Contributor, or Subscriber. Users with roles "
-"other than Administrator will see fewer options in the dashboard navigation "
-"when they are logged in, based on their role."
-msgstr ""
-
-#: includes/admin/users.php:43
-msgid ""
-"You can assign and remove achievements from a user by using the links in the "
-"Actions column."
-msgstr ""
-
-#: includes/admin/users.php:44
-msgid ""
-"You can filter the list of users by User Role using the text links in the "
-"upper left to show All, Administrator, Editor, Author, Contributor, or "
-"Subscriber. The default view is to show all users. Unused User Roles are not "
-"listed."
-msgstr ""
-
-#: includes/admin/users.php:45
-msgid ""
-"You can hide/display columns based on your needs using the Screen Options "
-"tab."
-msgstr ""
-
-#: includes/admin/users.php:80
-msgctxt "admin screen search results heading"
-msgid "Search results for &#8220;%s&#8221;"
-msgstr ""
-
-#: includes/admin/users.php:93
-msgid "Search all Users"
-msgstr ""
-
-#: includes/common/functions.php:40
-msgctxt "time"
-msgid "sometime"
-msgstr ""
-
-#: includes/common/functions.php:41
-msgctxt "time"
-msgid "right now"
-msgstr ""
-
-#: includes/common/functions.php:42
-msgctxt "time"
-msgid "%s ago"
-msgstr ""
-
-#: includes/common/functions.php:46
-msgid "year"
-msgstr ""
-
-#: includes/common/functions.php:46
-msgid "years"
-msgstr ""
-
-#: includes/common/functions.php:47
-msgid "month"
-msgstr ""
-
-#: includes/common/functions.php:47
-msgid "months"
-msgstr ""
-
-#: includes/common/functions.php:48
-msgid "week"
-msgstr ""
-
-#: includes/common/functions.php:48
-msgid "weeks"
-msgstr ""
-
-#: includes/common/functions.php:49
-msgid "day"
-msgstr ""
-
-#: includes/common/functions.php:49
-msgid "days"
-msgstr ""
-
-#: includes/common/functions.php:50
-msgid "hour"
-msgstr ""
-
-#: includes/common/functions.php:50
-msgid "hours"
-msgstr ""
-
-#: includes/common/functions.php:51
-msgid "minute"
-msgstr ""
-
-#: includes/common/functions.php:51
-msgid "minutes"
-msgstr ""
-
-#: includes/common/functions.php:52
-msgid "second"
-msgstr ""
-
-#: includes/common/functions.php:52
-msgid "seconds"
-msgstr ""
-
-#: includes/common/functions.php:111
-msgctxt "Separator in time since"
-msgid ","
-msgstr ""
-
-#: includes/common/template.php:366
-msgctxt "Home screen of the website"
-msgid "Home"
-msgstr ""
-
-#: includes/common/template.php:430
-msgctxt "HTML entity for left single angle quotes"
-msgid "&lsaquo;"
-msgstr ""
-
-#: includes/common/template.php:430
-msgctxt "HTML entity for right single angle quotes"
-msgid "&rsaquo;"
-msgstr ""
-
-#: includes/common/template.php:624
-msgid "Achievement: %s"
-msgstr ""
-
-#: includes/common/widgets.php:32
-msgid "Allow users to redeem achievements by typing in a code."
-msgstr ""
-
-#: includes/common/widgets.php:35
-msgid "(Achievements) Redemption"
-msgstr ""
-
-#: includes/common/widgets.php:55 includes/common/widgets.php:88
-msgid "Redeem achievement"
-msgstr ""
-
-#: includes/common/widgets.php:92
-msgid "Title:"
-msgstr ""
-
-#: includes/core/theme-compatibility.php:440
-msgctxt "possesive noun"
-msgid "%s's achievements"
-msgstr ""
-
-#: includes/extensions/bbpress.php:43
-msgid "A forum is permanently deleted by the user"
-msgstr ""
-
-#: includes/extensions/bbpress.php:44
-msgid "A forum&#8217;s settings are changed by the user"
-msgstr ""
-
-#: includes/extensions/bbpress.php:45
-msgid "The user creates a new forum"
-msgstr ""
-
-#: includes/extensions/bbpress.php:46
-msgid "The user puts a forum into the trash"
-msgstr ""
-
-#: includes/extensions/bbpress.php:47
-msgid "The user restores a forum from the trash"
-msgstr ""
-
-#: includes/extensions/bbpress.php:50
-msgid "The user closes a topic."
-msgstr ""
-
-#: includes/extensions/bbpress.php:51
-msgid "Separate topics are merged together by a user"
-msgstr ""
-
-#: includes/extensions/bbpress.php:52
-msgid "The user opens a topic for new replies"
-msgstr ""
-
-#: includes/extensions/bbpress.php:53
-msgid "An existing topic is split into seperate threads by a user"
-msgstr ""
-
-#: includes/extensions/bbpress.php:56
-msgid "The user permanently deletes a topic"
-msgstr ""
-
-#: includes/extensions/bbpress.php:57
-msgid "The user marks a topic as a sticky"
-msgstr ""
-
-#: includes/extensions/bbpress.php:58
-msgid "The user trashes a topic"
-msgstr ""
-
-#: includes/extensions/bbpress.php:59
-msgid "The user unstickies a topic"
-msgstr ""
-
-#: includes/extensions/bbpress.php:60
-msgid "The user restores a topic from the trash"
-msgstr ""
-
-#: includes/extensions/bbpress.php:61
-msgid "The user creates a new topic."
-msgstr ""
-
-#: includes/extensions/bbpress.php:64
-msgid "The user permanently deletes a reply"
-msgstr ""
-
-#: includes/extensions/bbpress.php:65
-msgid "The user trashes a reply"
-msgstr ""
-
-#: includes/extensions/bbpress.php:66
-msgid "The user restores a reply from the trash"
-msgstr ""
-
-#: includes/extensions/bbpress.php:67
-msgid "The user replies to a topic."
-msgstr ""
-
-#: includes/extensions/bbpress.php:91
-msgid "bbPress is forum software, made the WordPress way."
-msgstr ""
-
-#: includes/extensions/bbpress.php:94
-msgid "bbPress"
-msgstr ""
-
-#: includes/extensions/buddypress.php:59
-msgid "The user marks an item in an activity stream as a favourite."
-msgstr ""
-
-#: includes/extensions/buddypress.php:60
-msgid "The user replies to an item in an activity stream."
-msgstr ""
-
-#: includes/extensions/buddypress.php:61
-msgid "The user writes an activity update message."
-msgstr ""
-
-#: includes/extensions/buddypress.php:62
-msgid "The user un-favourites an item in their activity stream."
-msgstr ""
-
-#: includes/extensions/buddypress.php:63
-msgid "A new user activates their account on your website."
-msgstr ""
-
-#: includes/extensions/buddypress.php:64
-msgid "The user writes a message in a group&#8217;s activity stream."
-msgstr ""
-
-#: includes/extensions/buddypress.php:65
-msgid "The user accepts a friendship request from someone."
-msgstr ""
-
-#: includes/extensions/buddypress.php:66
-msgid "The user cancels a friendship."
-msgstr ""
-
-#: includes/extensions/buddypress.php:67
-msgid "The user rejects a friendship request from someone."
-msgstr ""
-
-#: includes/extensions/buddypress.php:68
-msgid "The user sends a friendship request to someone."
-msgstr ""
-
-#: includes/extensions/buddypress.php:69
-msgid "The user bans a member from a group."
-msgstr ""
-
-#: includes/extensions/buddypress.php:70
-msgid "The user creates a group."
-msgstr ""
-
-#: includes/extensions/buddypress.php:71
-msgid "The user deletes a group."
-msgstr ""
-
-#: includes/extensions/buddypress.php:72
-msgid "The user demotes a group member from moderator or administrator status."
-msgstr ""
-
-#: includes/extensions/buddypress.php:73
-msgid "The user invites someone to join a group."
-msgstr ""
-
-#: includes/extensions/buddypress.php:74
-msgid "The user joins a group."
-msgstr ""
-
-#: includes/extensions/buddypress.php:75
-msgid "The user leaves a group."
-msgstr ""
-
-#: includes/extensions/buddypress.php:76
-msgid "The user is promoted to a moderator or an administrator in a group."
-msgstr ""
-
-#: includes/extensions/buddypress.php:77
-msgid "The user promotes a group member to moderator or administrator status."
-msgstr ""
-
-#: includes/extensions/buddypress.php:78
-msgid "The user unbans a member from a group."
-msgstr ""
-
-#: includes/extensions/buddypress.php:79
-msgid "The user deletes a private message."
-msgstr ""
-
-#: includes/extensions/buddypress.php:80
-msgid "The user sends a new private message or replies to an existing one."
-msgstr ""
-
-#: includes/extensions/buddypress.php:81
-msgid "The user changes their profile&#8217;s avatar."
-msgstr ""
-
-#: includes/extensions/buddypress.php:82
-msgid "The user updates their profile information."
-msgstr ""
-
-#: includes/extensions/buddypress.php:103
-msgid ""
-"Social networking in a box. Build a social network for your company, school, "
-"sports team or niche community."
-msgstr ""
-
-#: includes/extensions/buddypress.php:106
-msgid "BuddyPress"
-msgstr ""
-
-#: includes/extensions/buddystream.php:42
-msgid "The user connects their Facebook account to BuddyStream."
-msgstr ""
-
-#: includes/extensions/buddystream.php:43
-msgid "The user connects their Flickr account to BuddyStream."
-msgstr ""
-
-#: includes/extensions/buddystream.php:44
-msgid "The user connects their Last.fm account to BuddyStream."
-msgstr ""
-
-#: includes/extensions/buddystream.php:45
-msgid "The user connects their Twitter account to BuddyStream."
-msgstr ""
-
-#: includes/extensions/buddystream.php:46
-msgid "The user connects their YouTube account to BuddyStream."
-msgstr ""
-
-#: includes/extensions/buddystream.php:57
-msgid ""
-"BuddyStream is a BuddyPress plugin that will synchronize all of your "
-"favorite Social Networks to the BuddyPress activity stream."
-msgstr ""
-
-#: includes/extensions/buddystream.php:60
-msgid "BuddyStream"
-msgstr ""
-
-#: includes/extensions/inviteanyone.php:42
-msgid "A new user activates their account."
-msgstr ""
-
-#: includes/extensions/inviteanyone.php:43
-msgid "The user invites someone else to join the site."
-msgstr ""
-
-#: includes/extensions/inviteanyone.php:59
-msgid "Makes BuddyPress&rsquo;s invitation features more powerful."
-msgstr ""
-
-#: includes/extensions/inviteanyone.php:62
-msgid "Invite Anyone"
-msgstr ""
-
-#: includes/extensions/scholarpress.php:42
-msgid "The user is added as a teacher"
-msgstr ""
-
-#: includes/extensions/scholarpress.php:43
-msgid "A grade is given to the user"
-msgstr ""
-
-#: includes/extensions/scholarpress.php:44
-msgid "A user&rsquo;s grade is updated"
-msgstr ""
-
-#: includes/extensions/scholarpress.php:45
-msgid "The user creates a new assignment"
-msgstr ""
-
-#: includes/extensions/scholarpress.php:46
-msgid "The user creates a new lecture"
-msgstr ""
-
-#: includes/extensions/scholarpress.php:47
-msgid "The user adds a response to an assignment"
-msgstr ""
-
-#: includes/extensions/scholarpress.php:48
-msgid "The user creates a new schedule"
-msgstr ""
-
-#: includes/extensions/scholarpress.php:79
-msgid "A Learning Management System for BuddyPress."
-msgstr ""
-
-#: includes/extensions/scholarpress.php:82
-msgid "BuddyPress Courseware"
-msgstr ""
-
-#: includes/extensions/wordpress.php:42
-msgid "A comment is written by the user."
-msgstr ""
-
-#: includes/extensions/wordpress.php:43
-msgid "The user publishes a blog post."
-msgstr ""
-
-#: includes/extensions/wordpress.php:44
-msgid "A new site is created by the user (multi-site only)."
-msgstr ""
-
-#: includes/extensions/wordpress.php:45
-msgid "The user trashes a blog post."
-msgstr ""
-
-#: includes/extensions/wordpress.php:64
-msgid ""
-"WordPress started in 2003 with a single bit of code to enhance the "
-"typography of everyday writing and with fewer users than you can count on "
-"your fingers and toes. Since then it has grown to be the largest self-hosted "
-"blogging tool in the world, used on millions of sites and seen by tens of "
-"millions of people every day."
-msgstr ""
-
-#: includes/extensions/wordpress.php:67
-msgid "WordPress"
-msgstr ""
-
-#: includes/extensions/wpecommerce.php:42
-msgid "The user sets up a PayPal Subscription"
-msgstr ""
-
-#: includes/extensions/wpecommerce.php:43
-msgid "The user completes checkout"
-msgstr ""
-
-#: includes/extensions/wpecommerce.php:69
-msgid ""
-"WP e-Commerce is a free WordPress Shopping Cart Plugin that lets customers "
-"buy your products, services and digital downloads online."
-msgstr ""
-
-#: includes/extensions/wpecommerce.php:72
-msgid "WP e-Commerce"
-msgstr ""
-
-#: includes/progress/template.php:426
-msgid "Viewing achievement progress %2$s (of %4$s total)"
-msgid_plural ""
-"Viewing %1$s achievements&rsquo; progress - %2$s through %3$s (of %4$s total)"
-msgstr[0] ""
-msgstr[1] ""
-
-#: templates/achievements/achievements/feedback-achievement-unlocked.php:48
-msgctxt "Twitter message: achievement name, site name"
-msgid "I've unlocked the \"%1$s\" achievement on %2$s!"
-msgstr ""
-
-#: templates/achievements/achievements/feedback-achievement-unlocked.php:54
-msgid "Achievement Unlocked"
-msgstr ""
-
-#: templates/achievements/achievements/feedback-achievement-unlocked.php:64
-msgid "Hey, you've unlocked the &#8220;%s&#8221; achievement. Congratulations!"
-msgstr ""
-
-#: templates/achievements/achievements/feedback-achievement-unlocked.php:68
-msgid "Celebrate and share with your friends on %1$s and %2$s."
-msgstr ""
-
-#: templates/achievements/achievements/feedback-achievement-unlocked.php:69
-msgid "Facebook"
-msgstr ""
-
-#: templates/achievements/achievements/feedback-achievement-unlocked.php:70
-msgid "Twitter"
-msgstr ""
-
-#: templates/achievements/achievements/feedback-achievement-unlocked.php:74
-msgid "See your other achievements"
-msgstr ""
-
-#: templates/achievements/achievements/feedback-no-achievements.php:17
-msgid "%1$s hasn&rsquo;t unlocked any achievements."
-msgstr ""
-
-#: templates/achievements/achievements/feedback-no-achievements.php:21
-msgid ""
-"This is somewhat embarrassing, isn&rsquo;t it? No achievements were found."
-msgstr ""
-
-#: templates/achievements/achievements/form-redeem-code.php:18
-msgid "Enter code:"
-msgstr ""
-
-#: templates/achievements/achievements/form-redeem-code.php:20
-msgid "Unlock"
-msgstr ""
-
-#: templates/achievements/achievements/loop-achievements.php:16
-msgid ""
-"All of the available achievements with the name, avatar, and karma points "
-"for each."
-msgstr ""
-
-#: templates/achievements/achievements/loop-achievements.php:21
-#: templates/achievements/achievements/loop-achievements.php:31
-msgctxt "column header for list of achievements"
-msgid "Achievement Name"
-msgstr ""
-
-#: templates/achievements/achievements/loop-achievements.php:22
-#: templates/achievements/achievements/loop-achievements.php:32
-msgctxt "column header for list of achievements"
-msgid "Karma"
-msgstr ""
-
-#: templates/achievements/achievements/loop-achievements.php:23
-#: templates/achievements/achievements/loop-achievements.php:33
-msgctxt "column header for list of achievements"
-msgid "Description"
-msgstr ""
-
-#: templates/achievements/achievements/loop-progresses.php:15
-msgid "Unlocked By"
-msgstr ""
-
-#. Plugin URI of the plugin/theme
-msgid "http://achievementsapp.com/"
-msgstr ""
-
-#. Description of the plugin/theme
-msgid ""
-"Achievements gamifies your WordPress site with challenges, badges, and "
-"points."
-msgstr ""
-
-#. Author of the plugin/theme
-msgid "Paul Gibbs"
-msgstr ""
-
-#. Author URI of the plugin/theme
-msgid "http://byotos.com/"
-msgstr ""
View
11 plugins/achievements/humans.txt
@@ -1,11 +0,0 @@
-/* TEAM */
-Name: Paul Gibbs
-Title: Founding Developer
-Twitter: pgibbs
-
-/* THANKS */
-BuddyPress, bbPress, WordPress
-
-/* META */
-Updated: 2012/05/19
-See: http://humanstxt.org/
View
275 plugins/achievements/includes/achievements/functions.php
@@ -1,275 +0,0 @@
-<?php
-/**
- * Achievement post type, endpoint, Event taxonomy, and other utility functions.
- *
- * @package Achievements
- * @subpackage AchievementsFunctions
- */
-
-// Exit if accessed directly
-if ( ! defined( 'ABSPATH' ) ) exit;
-
-/**
- * Retrieves a list of achievement posts matching criteria
- *
- * Most of the values that $args can accept are documented in {@link WP_Query}. The custom values added by Achievements are as follows:
- * 'ach_event' - string - Loads achievements for a specific event. Matches a slug from the dpa_event tax. Default is empty.
- *
- * @param array|string $args All the arguments supported by {@link WP_Query}, and some more.
- * @return array Posts
- * @since Achievements (3.0)
- */
-function dpa_get_achievements( $args = array() ) {
-
- $defaults = array(
- // Standard WP_Query params
- 'ignore_sticky_posts' => true,
- 'no_found_rows' => true, // Disable SQL_CALC_FOUND_ROWS (used for pagination queries)
- 'order' => 'ASC', // 'ASC', 'DESC
- 'orderby' => 'title', // 'meta_value', 'author', 'date', 'title', 'modified', 'parent', rand'
- 'post_type' => dpa_get_achievement_post_type(), // Only retrieve achievement posts
- 'posts_per_page' => -1, // Achievements per page
-
- // Achievements params
- 'ach_event' => '', // Load achievements for a specific event
- );
-
- // Load achievements for a specific event
- if ( ! empty( $args['ach_event'] ) ) {
-
- $args['tax_query'] = array(
- array(
- 'field' => 'slug',
- 'taxonomy' => dpa_get_event_tax_id(),
- 'terms' => $args['ach_event'],
- )
- );
-
- unset( $args['ach_event'] );
- }
-
- $args = dpa_parse_args( $args, $defaults, 'get_achievements' );
- $achievements = new WP_Query;
-
- return apply_filters( 'dpa_get_achievements', $achievements->query( $args ), $args );
-}
-
-/**
- * Output the unique id of the custom post type for achievement
- *
- * @since Achievements (3.0)
- * @uses dpa_get_achievement_post_type() To get the achievement post type
- */
-function dpa_achievement_post_type() {
- echo dpa_get_achievement_post_type();
-}
- /**
- * Return the unique id of the custom post type for achievement
- *
- * @return string The unique post type id
- * @since Achievements (3.0)
- */
-