Permalink
Browse files

version and min version

  • Loading branch information...
1 parent a219560 commit 5dc63376f93a8b98127eeb114e63f9da5f8d5651 @NoahY committed Mar 10, 2012
Showing with 5 additions and 5 deletions.
  1. +1 −1 README.rst
  2. +2 −2 qa-plugin.php
  3. +2 −2 qa-poll-page.php
View
@@ -17,7 +17,7 @@ Features
- answer updates when voted on (optional)
- add a Polls page (optional)
- adds text to poll question titles
-- all text fully customizable
+- all text fully customizable via language files
- all css fully customizable
- Buddypress integration if `Buddypress plugin`_ is enabled
View
@@ -5,12 +5,12 @@
Plugin URI: https://github.com/NoahY/q2a-poll
Plugin Update Check URI: https://github.com/NoahY/q2a-poll/raw/master/qa-plugin.php
Plugin Description: Ask poll questions
- Plugin Version: 1.2
+ Plugin Version: 1.3
Plugin Date: 2011-09-05
Plugin Author: NoahY
Plugin Author URI:
Plugin License: GPLv2
- Plugin Minimum Question2Answer Version: 1.4
+ Plugin Minimum Question2Answer Version: 1.5
*/
View
@@ -15,7 +15,7 @@ function suggest_requests() // for display in admin interface
{
return array(
array(
- 'title' => qa_opt('poll_page_title'),
+ 'title' => qa_lang('polls/page_title'),
'request' => 'polls',
'nav' => 'M', // 'M'=main, 'F'=footer, 'B'=before main, 'O'=opposite main, null=none
),
@@ -99,7 +99,7 @@ function process_request($request)
qa_opt('page_size_qs'), // questions per page
$qa_start, // start offset
count($questions), // total count
- qa_opt('poll_page_title'), // title if some questions
+ qa_lang('polls/page_title'), // title if some questions
$nonetitle, // title if no questions
null, // categories for navigation
null, // selected category id

0 comments on commit 5dc6337

Please sign in to comment.