Add support for languages field in iOS/Android/AIR templates
This commit is contained in:
@@ -36,6 +36,7 @@
|
|||||||
::if (icons != null)::<icon>::foreach icons::
|
::if (icons != null)::<icon>::foreach icons::
|
||||||
<image::size::x::size::>::path::</image::size::x::size::>::end::
|
<image::size::x::size::>::path::</image::size::x::size::>::end::
|
||||||
</icon>::end::
|
</icon>::end::
|
||||||
|
::if (languages != null)::<supportedLanguages>::foreach languages::::__current__:: ::end::</supportedLanguages>::end::
|
||||||
<customUpdateUI>false</customUpdateUI>
|
<customUpdateUI>false</customUpdateUI>
|
||||||
<allowBrowserInvocation>false</allowBrowserInvocation>
|
<allowBrowserInvocation>false</allowBrowserInvocation>
|
||||||
<!-- <fileTypes>
|
<!-- <fileTypes>
|
||||||
|
|||||||
@@ -15,6 +15,7 @@ android {
|
|||||||
targetSdkVersion Integer.parseInt(project.ANDROID_BUILD_TARGET_SDK_VERSION)
|
targetSdkVersion Integer.parseInt(project.ANDROID_BUILD_TARGET_SDK_VERSION)
|
||||||
versionCode Integer.parseInt(project.VERSION_CODE)
|
versionCode Integer.parseInt(project.VERSION_CODE)
|
||||||
versionName project.VERSION_NAME
|
versionName project.VERSION_NAME
|
||||||
|
::if (languages != null)::resConfigs ::foreach languages::"::__current__::", ::end::""::end::
|
||||||
}
|
}
|
||||||
|
|
||||||
::if KEY_STORE::
|
::if KEY_STORE::
|
||||||
|
|||||||
@@ -4,6 +4,10 @@
|
|||||||
<dict>
|
<dict>
|
||||||
<key>CFBundleDevelopmentRegion</key>
|
<key>CFBundleDevelopmentRegion</key>
|
||||||
<string>en</string>
|
<string>en</string>
|
||||||
|
::if (languages != null)::<key>CFBundleLocalizations</key>
|
||||||
|
<array>::foreach languages::
|
||||||
|
<string>::__current__::</string>::end::
|
||||||
|
</array>::end::
|
||||||
<key>CFBundleDisplayName</key>
|
<key>CFBundleDisplayName</key>
|
||||||
<string>::APP_TITLE::</string>
|
<string>::APP_TITLE::</string>
|
||||||
<key>CFBundleExecutable</key>
|
<key>CFBundleExecutable</key>
|
||||||
|
|||||||
Reference in New Issue
Block a user