Skip to content

Commit fc6b1eb

Browse files
authored
Bug #21 fix: Terms & Conditions Filter - Language constant displayed in filter placeholder. (#22)
* Bug #157795 fix: Terms & Conditions Filter - Language constant COM_TC_CONTENTS_TC_CODE_FILTER displayed in filter placeholder. * Bug #157795 fix: Terms & Conditions Filter - Language constant displayed in filter placeholder. * Bug #157795 fix: Terms & Conditions Filter - Language constant displayed in filter placeholder. * Bug #157795 fix: Terms & Conditions Filter - Language constant COM_TC_CONTENTS_TC_CODE_FILTER displayed in filter placeholder.
1 parent cbc1960 commit fc6b1eb

File tree

3 files changed

+12
-10
lines changed

3 files changed

+12
-10
lines changed

src/components/com_tc/administrator/models/forms/filter_contents.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<form>
33
<fields name="filter">
4-
<field name="search" type="text" filter="string" label="JSEARCH_FILTER" description="JSEARCH_FILTER_DESC" hint="JSEARCH_FILTER" />
4+
<field name="search" type="text" filter="string" label="JSEARCH_FILTER" description="COM_TC_CONTENTS_SEARCH_FILTER_DESC" hint="JSEARCH_FILTER" />
55
<field name="state" type="status" label="COM_TC_CONTENTS_FILTER_PUBLISHED" description="COM_TC_CONTENTS_FILTER_PUBLISHED_DESC" onchange="this.form.submit();">
66
<option value="">JOPTION_SELECT_PUBLISHED</option>
77
</field>
@@ -22,7 +22,7 @@
2222
<option value="a.title ASC">JGLOBAL_TITLE_ASC</option>
2323
<option value="a.title DESC">JGLOBAL_TITLE_DESC</option>
2424
<option value="a.version ASC">COM_TC_CONTENTS_VERSION_ASC</option>
25-
<option value="a.version DESC">COM_TC_CONTENTS_VERSION_ASC</option>
25+
<option value="a.version DESC">COM_TC_CONTENTS_VERSION_DES</option>
2626
<option value="a.client ASC">COM_TC_CONTENTS_TC_CODE_ASC</option>
2727
<option value="a.client DESC">COM_TC_CONTENTS_TC_CODE_DES</option>
2828
<option value="a.start_date DESC">COM_TC_CONTENTS_STARTDATE_ASC</option>

src/components/com_tc/administrator/models/forms/filter_usertcs.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<form>
33
<fields name="filter">
4-
<field name="search" type="text" filter="string" label="JSEARCH_FILTER" description="JSEARCH_FILTER_DESC" hint="JSEARCH_FILTER" />
4+
<field name="search" type="text" filter="string" label="JSEARCH_FILTER" description="COM_TC_USERS_SEARCH_FILTER_DESC" hint="JSEARCH_FILTER" />
55
<field name="client" type="sql" query="SELECT DISTINCT (`client`) FROM `#__tc_content` ORDER BY client ASC" key_field="client" value_field="client" filter="safehtml" label="COM_TC_CONTENTS_TC_CODE" description="COM_TC_CONTENTS_TC_CODE_FILTER_DESC" onchange="this.form.submit();">
66
<option value="">COM_TC_CONTENTS_TC_CODE_FILTER</option>
77
</field>

src/components/com_tc/languages/administrator/en-GB/en-GB.com_tc.ini

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ COM_TC_CONTENTS_CREATED_BY="Created by"
3939
COM_TC_CONTENTS_MODIFIED_BY="Modified by"
4040
COM_TC_CONTENTS_TITLE="Title"
4141
COM_TC_CONTENTS_VERSION="Version"
42-
COM_TC_CONTENTS_CLIENT="T&C code"
42+
COM_TC_CONTENTS_TC_CODE="T&C code"
4343
COM_TC_CONTENTS_START_DATE="Start Date"
4444
COM_TC_CONTENTS_CONTENT="Content"
4545
COM_TC_TITLE_CONTENT="Terms and conditions"
@@ -63,7 +63,7 @@ COM_TC_FORM_DESC_CONTENT_TITLE=""
6363
COM_TC_FORM_LBL_CONTENT_VERSION="Version"
6464
COM_TC_FORM_DESC_CONTENT_VERSION=""
6565
COM_TC_FORM_LBL_CONTENT_TC_CODE="T&C code"
66-
COM_TC_FORM_DESC_CONTENT_CLIENT="Apply to specific extensions "
66+
COM_TC_FORM_DESC_CONTENT_TC_CODE="Apply to specific extensions "
6767
COM_TC_FORM_LBL_CONTENT_START_DATE="Start Date"
6868
COM_TC_FORM_DESC_CONTENT_START_DATE=""
6969
COM_TC_FORM_LBL_CONTENT_CONTENT="Content"
@@ -91,7 +91,7 @@ COM_TC_FORM_LBL_CONTENT_SELECT_USER_GROUP="Select User Groups"
9191
COM_TC_FORM_LBL_CONTENT_SELECT_USER_GROUP_DESC="Select user groups for T&C"
9292
COM_TC_FORM_LBL_CONTENT_URL_PATTERN="URL Pattern"
9393
COM_TC_FORM_LBL_CONTENT_URL_PATTERN_DESC="URL Pattern is used to store option & view of your URL Ex. Option = 'com_ekcontent' & view = 'content'"
94-
COM_TC_VALIDATION_FORM_INVALID_TC="This Version & Client are already stored, please enter another Version & Client"
94+
COM_TC_VALIDATION_FORM_INVALID_TC="This Version & T&C code are already stored, please enter another Version & T&C code"
9595
COM_TC_TITLE_PERMISSIONS="Access Control"
9696
COM_TC_VALIDATION_FORM_LATEST_VERSION_TC ="Latest version of this T&C "
9797
COM_TC_VALIDATION_FORM_GREATER_VERSION_TC =" please enter greater version"
@@ -101,12 +101,12 @@ COM_TC_CONTENTS_LATEST="Latest"
101101
COM_TC_CONTENTS_ALL="All"
102102
COM_TC_CONTENTS_FILTER_PUBLISHED="Status"
103103
COM_TC_CONTENTS_FILTER_PUBLISHED_DESC="Status"
104-
COM_TC_CONTENTS_CLIENT_FILTER="- Select T&C code -"
105-
COM_TC_CONTENTS_CLIENT_FILTER_DESC="T&C code"
104+
COM_TC_CONTENTS_TC_CODE_FILTER="- Select T&C code -"
105+
COM_TC_CONTENTS_TC_CODE_FILTER_DESC="T&C code"
106106
COM_TC_CONTENTS_VERSION_ASC="Version ascending"
107107
COM_TC_CONTENTS_VERSION_DES="Version descending"
108-
COM_TC_CONTENTS_CLIENT_ASC="T&C code ascending"
109-
COM_TC_CONTENTS_CLIENT_DES="T&C code descending"
108+
COM_TC_CONTENTS_TC_CODE_ASC="T&C code ascending"
109+
COM_TC_CONTENTS_TC_CODE_DES="T&C code descending"
110110
COM_TC_CONTENTS_STARTDATE_ASC="Startdate ascending"
111111
COM_TC_CONTENTS_STARTDATE_DES="Startdate descending"
112112
COM_TC_BASIC_CONFIG_SET="Basic configuration"
@@ -115,3 +115,5 @@ COM_TC_DATE_FORMAT_TO_SHOW_DESC="You can set the format to display the date on t
115115
COM_TC_CUSTOM_DATE_FORMAT="Custom date format"
116116
COM_TC_CUSTOM_DATE_FORMAT_DESC="You can customize the date format here"
117117
COM_TC_DATE_FORMAT_CUSTOM="custom"
118+
COM_TC_CONTENTS_SEARCH_FILTER_DESC="Search by Title or Version"
119+
COM_TC_USERS_SEARCH_FILTER_DESC="Search by User name, Terms and Conditions or T&C code"

0 commit comments

Comments
 (0)