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::
|
||||
<image::size::x::size::>::path::</image::size::x::size::>::end::
|
||||
</icon>::end::
|
||||
::if (languages != null)::<supportedLanguages>::foreach languages::::__current__:: ::end::</supportedLanguages>::end::
|
||||
<customUpdateUI>false</customUpdateUI>
|
||||
<allowBrowserInvocation>false</allowBrowserInvocation>
|
||||
<!-- <fileTypes>
|
||||
|
||||
@@ -15,6 +15,7 @@ android {
|
||||
targetSdkVersion Integer.parseInt(project.ANDROID_BUILD_TARGET_SDK_VERSION)
|
||||
versionCode Integer.parseInt(project.VERSION_CODE)
|
||||
versionName project.VERSION_NAME
|
||||
::if (languages != null)::resConfigs ::foreach languages::"::__current__::", ::end::""::end::
|
||||
}
|
||||
|
||||
::if KEY_STORE::
|
||||
|
||||
@@ -4,6 +4,10 @@
|
||||
<dict>
|
||||
<key>CFBundleDevelopmentRegion</key>
|
||||
<string>en</string>
|
||||
::if (languages != null)::<key>CFBundleLocalizations</key>
|
||||
<array>::foreach languages::
|
||||
<string>::__current__::</string>::end::
|
||||
</array>::end::
|
||||
<key>CFBundleDisplayName</key>
|
||||
<string>::APP_TITLE::</string>
|
||||
<key>CFBundleExecutable</key>
|
||||
|
||||
Reference in New Issue
Block a user