Skip to content

Commit

Permalink
fix lang files
Browse files Browse the repository at this point in the history
  • Loading branch information
lcdservices committed Aug 20, 2011
1 parent 429df7c commit 87964c1
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 9 deletions.
2 changes: 1 addition & 1 deletion civisearch.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
$mainframe->registerEvent( 'onSearch', 'plgSearchCiviSearch' );
$mainframe->registerEvent( 'onSearchAreas', 'plgSearchCiviSearchAreas' );

JPlugin::loadLanguage( 'plg_search_civisearch', JPATH_ADMINISTRATOR );
JPlugin::loadLanguage( 'plg_search_civisearch' );
}
/**
* CiviCRM Search plugin
Expand Down
4 changes: 2 additions & 2 deletions civisearch.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@
</files>

<languages>
<language tag="en-GB">en-GB.plg_search_civisearch.ini</language>
<language tag="en-GB">en-GB.plg_search_civisearch.ini</language>
</languages>

<params>
<param name="search_event" type="radio" default="1" label="PLG_CIVISEARCH_EVENT_FIELD_LABEL" description="PLG_CIVISEARCH_EVENT_FIELD_DESC">
<param name="search_event" type="radio" default="1" label="PLG_SEARCH_CIVISEARCH_EVENT_FIELD_LABEL" description="PLG_SEARCH_CIVISEARCH_EVENT_FIELD_DESC">
<option value='1'>JON</option>
<option value='0'>JOFF</option>
</param>
Expand Down
13 changes: 7 additions & 6 deletions en-GB.plg_search_civisearch.ini
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
; $Id: en-GB.plg_civisearch.ini $
; Brian Shaughnessy
; Copyright (C) 2005 - 2011 Open Source Matters. All rights reserved.
; License GNU General Public License version 2 or later; see LICENSE.txt, see LICENSE.php
; Note : All ini files need to be saved as UTF-8
; $Id: en-GB.plg_civisearch.ini $
; Lighthouse Consulting and Design
; Copyright (C) 2011 Lighthouse Consulting and Design. All rights reserved.
; License GNU General Public License version 2 or later

PLG_SEARCH_CIVISEARCH="Search - CiviCRM"
PLG_SEARCH_CIVISEARCH_XML_DESCRIPTION="This plugin provides search access for CiviCRM resources."
PLG_SEARCH_CIVISEARCH_EVENT_FIELD_DESC="Choose if you would like event title, summary, and description content included in the search. Event templates, non-public events, and inactive events, are excluded."
PLG_SEARCH_CIVISEARCH_EVENT_FIELD_LABEL="Event Search"
PLG_SEARCH_CIVISEARCH_EVENT_FIELD_LABEL="Event Search"
JON="On"
JOFF="Off"

0 comments on commit 87964c1

Please sign in to comment.