mirror of
https://github.com/joomla-extensions/jedchecker.git
synced 2024-11-27 15:26:36 +00:00
Moved the language folder under the installation as per 2.5 best practices
This commit is contained in:
parent
9771aef7db
commit
5c0bfb0644
@ -39,8 +39,8 @@
|
||||
|
||||
<available file="${dirs.source}\administrator\components\com_${component.name}"
|
||||
type="dir" property="admin.exist" value="yes"/>
|
||||
<available file="${dirs.source}\administrator\language"
|
||||
type="dir" property="adminLang.exist" value="yes"/>
|
||||
<!--available file="${dirs.source}\administrator\language"
|
||||
type="dir" property="adminLang.exist" value="yes"/-->
|
||||
<available file="${dirs.source}\components\com_${component.name}"
|
||||
type="dir" property="frontend.exist" value="yes"/>
|
||||
<available file="${dirs.source}\language"
|
||||
@ -74,11 +74,11 @@
|
||||
</fileset>
|
||||
</copy>
|
||||
|
||||
<copy todir="${destination.dir}/administrator/language/">
|
||||
<!--copy todir="${destination.dir}/administrator/language/">
|
||||
<fileset dir="${dirs.source}/administrator/language/">
|
||||
<include name="**/*.com_${component.name}.**"/>
|
||||
</fileset>
|
||||
</copy>
|
||||
</copy-->
|
||||
|
||||
<if>
|
||||
<equals arg1="${frontend.exist}" arg2="yes"/>
|
||||
|
@ -16,9 +16,6 @@
|
||||
<files folder="administrator/components/com_@@COMPONENTNAME@@">
|
||||
##ADMINCOMPONENTPACKAGEFILES##
|
||||
</files>
|
||||
<languages folder="administrator/language">
|
||||
##ADMINLANGUAGEFILES##
|
||||
</languages>
|
||||
</administration>
|
||||
<media destination="com_@@COMPONENTNAME@@" folder="media/com_@@COMPONENTNAME@@">
|
||||
##MEDIAPACKAGEFILES##
|
||||
|
Loading…
Reference in New Issue
Block a user