33
2
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:
Riccardo Zorn 2014-02-23 03:29:48 +01:00
parent 9771aef7db
commit 5c0bfb0644
14 changed files with 4 additions and 7 deletions

View File

@ -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"/>

View File

@ -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##