diff options
| author | Dave Arter <davea@mysociety.org> | 2017-03-03 17:10:32 +0000 |
|---|---|---|
| committer | Dave Arter <davea@mysociety.org> | 2017-06-22 16:32:07 +0100 |
| commit | f29bbfaff87a505c2b23b2e3b020b9483319f1ea (patch) | |
| tree | 6715815ed9e0d24d218953065af5fbc18533176a /cordova-plugin-ios-displayname | |
| parent | 88b724b8bc7aa4932c1ddc03c580152dc6aaf492 (diff) | |
[CuidoMiCiudad] Add cobrand
This is the companion cobrand for www.cuidomiciudad.do.
Whilst primarily providing the templates and styling for the cobrand, this
commit also:
- gettext-merge to call msgmerge with --no-wrap, matching the fixmystreet code
- Allows localisation of several templates and UI components e.g. back buttons:
- The back buttons were automatically being generated by jQuery Mobile,
which wasn’t using the correct localisation of ‘Back’. Adding them to the
DOM explicitly with the correct translation ensures they appear as they
should.
- Adds a plugin for overriding the iOS display name
- Add a plugin for changing the app’s language easily
- Makes it easier for cobrands to customise pin icons on the map (CONFIG.PINS)
Diffstat (limited to 'cordova-plugin-ios-displayname')
| -rw-r--r-- | cordova-plugin-ios-displayname/package.json | 28 | ||||
| -rw-r--r-- | cordova-plugin-ios-displayname/plugin.xml | 20 |
2 files changed, 48 insertions, 0 deletions
diff --git a/cordova-plugin-ios-displayname/package.json b/cordova-plugin-ios-displayname/package.json new file mode 100644 index 0000000..b02934e --- /dev/null +++ b/cordova-plugin-ios-displayname/package.json @@ -0,0 +1,28 @@ +{ + "name": "cordova-plugin-ios-displayname", + "version": "1.0.0", + "description": "\n Cordova/Phonegap plugin that allows you to control the iOS display name of your app.\n ", + "cordova": { + "id": "cordova-plugin-ios-displayname", + "platforms": [ + "ios" + ] + }, + "keywords": [ + "cordova", + "ios", + "app", + "name", + "cfbundledisplayname", + "ecosystem:cordova", + "cordova-ios" + ], + "engines": [ + { + "name": "cordova", + "version": ">=3.0.0" + } + ], + "author": "", + "license": "MIT" +} diff --git a/cordova-plugin-ios-displayname/plugin.xml b/cordova-plugin-ios-displayname/plugin.xml new file mode 100644 index 0000000..b2d8dc8 --- /dev/null +++ b/cordova-plugin-ios-displayname/plugin.xml @@ -0,0 +1,20 @@ +<?xml version='1.0' encoding='UTF-8'?> +<plugin id="cordova-plugin-ios-displayname" version="1.0.0" xmlns="http://apache.org/cordova/ns/plugins/1.0"> + <name>iOS Display Name</name> + <author>mySociety</author> + <description> + Cordova/Phonegap plugin that allows you to control the iOS display name of your app. + </description> + <keywords>cordova, ios, app, name, cfbundledisplayname</keywords> + <license>MIT</license> + <engines> + <engine name="cordova" version=">=3.0.0"/> + </engines> + + <preference name="IOS_DISPLAY_NAME"/> + <platform name="ios"> + <config-file target="*-Info.plist" parent="CFBundleDisplayName"> + <string>$IOS_DISPLAY_NAME</string> + </config-file> + </platform> +</plugin>
\ No newline at end of file |
