diff options
105 files changed, 2309 insertions, 181 deletions
@@ -13,4 +13,4 @@ platforms plugins compiled locale/lang_list -config.xml +/config.xml diff --git a/bin/gettext-merge b/bin/gettext-merge index 9137698..fe44f6a 100755 --- a/bin/gettext-merge +++ b/bin/gettext-merge @@ -31,7 +31,7 @@ do echo $X if [ -e FixMyStreetMobileApp.po ] then - msgmerge -o New.po FixMyStreetMobileApp.po ../../FixMyStreetMobileApp.po + msgmerge --no-wrap -o New.po FixMyStreetMobileApp.po ../../FixMyStreetMobileApp.po mv New.po FixMyStreetMobileApp.po fi cd - >/dev/null diff --git a/cobrands/cuidomiciudad/config.js b/cobrands/cuidomiciudad/config.js new file mode 100644 index 0000000..5f6b7f4 --- /dev/null +++ b/cobrands/cuidomiciudad/config.js @@ -0,0 +1,52 @@ +var CONFIG = { + // Language of templates to use ( should be name of directory under www/templates/ ) + LANGUAGE: 'es', + + // Name of app to use in alert dialog titles amongst other things + APP_NAME: 'CuidoMiCiudad', + + // URL of the fixmystreet install to report to. See also config.xml-example + // Make sure it does *not* end with a slash. + // FMS_URL: 'https://cuidomiciudad.fixmystreet.dev.mysociety.org', + FMS_URL: 'https://www.cuidomiciudad.do', + + // Name of the cobrand to use for templates, stylesheets etc. + // Cobrand files should be placed in a new directory within www/cobrands/ + // Leave as null to use the default templates. + COBRAND: 'cuidomiciudad', + + // Type of map to use; possible options currently are 'OSM', 'Bing' or + // 'FMS' (UK only). The default is OSM. + MAP_TYPE: 'OSM', + + // namespace for storing drafts etc in. Should not need to change + NAMESPACE: 'fixmystreet', + + // directory to store draft photos in. Should not need to change + FILES_DIR: 'photos', + + // accuracy in meters required before geolocation is successful + ACCURACY: 100, + + // how long, in milliseconds, before photo uploads timeout. Defaults to 120000 ( 2 minutes ) + UPLOAD_TIMEOUT: 120000, + + // Set to 1 to log debug messages to the console + DEBUG: 0, + + // Bing Maps API key if needed + BING_MAPS_API_KEY: '', + + PINS: { + location: { + image: 'cobrands/cuidomiciudad/images/fms-pin@2x.png', + background: 'images/pin_shadow@x2.png', + image_svg: 'cobrands/cuidomiciudad/images/fms-pin.svg', + background_svg: 'images/pin_shadow.svg', + } + } +}; + +// This bit is so this can be imported as a nodejs module for hook processing +var module = module || {}; +module.exports = CONFIG; diff --git a/cobrands/cuidomiciudad/config.xml b/cobrands/cuidomiciudad/config.xml new file mode 100644 index 0000000..b4ee7a6 --- /dev/null +++ b/cobrands/cuidomiciudad/config.xml @@ -0,0 +1,117 @@ +<?xml version='1.0' encoding='utf-8'?> +<widget android-versionCode="2" id="org.mysociety.CuidoMiDN" version="1.0.1" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0"> + <name>CuidoMiCiudad</name> + <description> + Report problems on CuidoMiCiudad + </description> + <author email="apps@mysociety.org" href="https://www.mysociety.org"> + mySociety + </author> + <content src="index.html" /> + + <access origin="http://127.0.0.1*" /> + <access origin="*://*.openstreetmap.org" /> + <access origin="*://*.opencyclemap.org" /> + <access origin="*://dev.virtualearth.net" /> + <access origin="*://ecn.t0.tiles.virtualearth.net" /> + <access origin="*://ecn.t1.tiles.virtualearth.net" /> + <access origin="*://ecn.t2.tiles.virtualearth.net" /> + <access origin="*://ecn.t3.tiles.virtualearth.net" /> + <access origin="*://mapit.mysociety.org" /> + <!-- Replace this with the hostname of your FMS installation --> + <access origin="https://cuidomiciudad.fixmystreet.dev.mysociety.org" /> + <access origin="https://cuidomiciudad.mysociety.org" /> + <access origin="https://www.cuidomiciudad.com" /> + <access origin="https://www.cuidomiciudad.do" /> + + <allow-intent href="mailto:*" /> + + <preference name="android-minSdkVersion" value="16" /> + <preference name="orientation" value="portrait" /> + <preference name="StatusBarOverlaysWebView" value="false" /> + <preference name="StatusBarStyle" value="lightcontent" /> + <preference name="AndroidPersistentFileLocation" value="Compatibility" /> + <!-- If you change the background colour of the app, change this value to match. --> + <preference name="StatusBarBackgroundColor" value="#005cb9" /> + <preference name="deployment-target" value="6.0" /> + + <platform name="android"> + <icon density="ldpi" src="res/cuidomiciudad/android/icons/ic_ldpi.png" /> + <icon density="mdpi" src="res/cuidomiciudad/android/icons/ic_mdpi.png" /> + <icon density="hdpi" src="res/cuidomiciudad/android/icons/ic_hdpi.png" /> + <icon density="xhdpi" src="res/cuidomiciudad/android/icons/ic_xhdpi.png" /> + <icon density="xxhdpi" src="res/cuidomiciudad/android/icons/ic_xxhdpi.png" /> + <icon density="xxxhdpi" src="res/cuidomiciudad/android/icons/ic_xxxhdpi.png" /> + + <splash density="ldpi" src="res/cuidomiciudad/android/drawable-ldpi/screen.9.png" /> + <splash density="mdpi" src="res/cuidomiciudad/android/drawable-mdpi/screen.9.png" /> + <splash density="hdpi" src="res/cuidomiciudad/android/drawable-hdpi/screen.9.png" /> + <splash density="xhdpi" src="res/cuidomiciudad/android/drawable-xhdpi/screen.9.png" /> + <splash density="xxhdpi" src="res/cuidomiciudad/android/drawable-xxhdpi/screen.9.png" /> + <splash density="xxxhdpi" src="res/cuidomiciudad/android/drawable-xxxhdpi/screen.9.png" /> + </platform> + + <platform name="ios"> + <!-- iOS 8.0+ --> + <!-- iPhone 6 Plus --> + <icon src="res/cuidomiciudad/ios/icons/Icon-60@3x.png" width="180" height="180" /> + <!-- iOS 7.0+ --> + <!-- iPhone / iPod Touch --> + <icon src="res/cuidomiciudad/ios/icons/Icon-60@2x.png" width="120" height="120" /> + <!-- iPad --> + <icon src="res/cuidomiciudad/ios/icons/Icon-76.png" width="76" height="76" /> + <icon src="res/cuidomiciudad/ios/icons/Icon-76@2x.png" width="152" height="152" /> + <!-- iOS 6.1 --> + <!-- Spotlight Icon --> + <icon src="res/cuidomiciudad/ios/icons/Icon-Small-40.png" width="40" height="40" /> + <icon src="res/cuidomiciudad/ios/icons/Icon-Small-40@2x.png" width="80" height="80" /> + <!-- iPhone / iPod Touch --> + <icon src="res/cuidomiciudad/ios/icons/Icon.png" width="57" height="57" /> + <icon src="res/cuidomiciudad/ios/icons/Icon@2x.png" width="114" height="114" /> + <!-- iPad --> + <icon src="res/cuidomiciudad/ios/icons/Icon-72.png" width="72" height="72" /> + <icon src="res/cuidomiciudad/ios/icons/Icon-72@2x.png" width="144" height="144" /> + <!-- iPhone Spotlight and Settings Icon --> + <icon src="res/cuidomiciudad/ios/icons/Icon-Small.png" width="29" height="29" /> + <icon src="res/cuidomiciudad/ios/icons/Icon-Small@2x.png" width="58" height="58" /> + <icon src="res/cuidomiciudad/ios/icons/Icon-Small@3x.png" width="87" height="87" /> + <!-- iPad Spotlight and Settings Icon --> + <icon src="res/cuidomiciudad/ios/icons/Icon-Small-50.png" width="50" height="50" /> + <icon src="res/cuidomiciudad/ios/icons/Icon-Small-50@2x.png" width="100" height="100" /> + + <splash src="res/cuidomiciudad/ios/launch/launch-ipad.png" width="768" height="1024"/> + <splash src="res/cuidomiciudad/ios/launch/launch-ipad@2x.png" width="1536" height="2048"/> + <splash src="res/cuidomiciudad/ios/launch/launch-iphone1234.png" width="320" height="480"/> + <splash src="res/cuidomiciudad/ios/launch/launch-iphone1234@2x.png" width="640" height="960"/> + <splash src="res/cuidomiciudad/ios/launch/launch-iphone5.png" width="640" height="1136"/> + <splash src="res/cuidomiciudad/ios/launch/launch-iphone67.png" width="750" height="1334"/> + <splash src="res/cuidomiciudad/ios/launch/launch-iphone67plus.png" width="1242" height="2208"/> + + </platform> + + <engine name="ios" spec="~4.1.1" /> + <plugin name="cordova-plugin-camera" spec="~2.1.1" /> + <plugin name="cordova-plugin-device" spec="~1.1.1" /> + <plugin name="cordova-plugin-dialogs" spec="~1.2.0" /> + <plugin name="cordova-plugin-file" spec="~4.1.1" /> + <plugin name="cordova-plugin-file-transfer" spec="~1.5.0" /> + <plugin name="cordova-plugin-geolocation" spec="~2.1.0" /> + <plugin name="cordova-plugin-inappbrowser" spec="~1.3.0" /> + <plugin name="cordova-plugin-media" spec="~2.2.0" /> + <plugin name="cordova-plugin-media-capture" spec="~1.4.1"> + <variable name="CAMERA_USAGE_DESCRIPTION" value="Para tomar fotos de problemas" /> + <variable name="PHOTOLIBRARY_USAGE_DESCRIPTION" value="Para acceder a sus fotos de problemas" /> + </plugin> + <plugin name="cordova-plugin-network-information" spec="~1.2.0" /> + <plugin name="cordova-plugin-splashscreen" spec="~3.2.1" /> + <plugin name="cordova-plugin-statusbar" spec="~2.1.2" /> + <plugin name="cordova-plugin-whitelist" spec="~1.2.1" /> + <plugin name="ionic-plugin-keyboard" spec="~2.0.1" /> + <engine name="android" spec="~5.1.1" /> + <plugin name="cordova-plugin-ios-displayname" spec="./cordova-plugin-ios-displayname"> + <variable name="IOS_DISPLAY_NAME" value="CuidoMiDN" /> + </plugin> + <plugin name="cordova-plugin-ios-app-language" spec="./cordova-plugin-ios-app-language"> + <variable name="IOS_LOCALIZATION" value="Spanish" /> + </plugin> +</widget> diff --git a/cordova-plugin-ios-app-language/package.json b/cordova-plugin-ios-app-language/package.json new file mode 100644 index 0000000..04af06d --- /dev/null +++ b/cordova-plugin-ios-app-language/package.json @@ -0,0 +1,28 @@ +{ + "name": "cordova-plugin-ios-app-language", + "version": "1.0.0", + "description": "\n Cordova/Phonegap plugin that allows you to control the iOS localization used by the UI\n ", + "cordova": { + "id": "cordova-plugin-ios-app-language", + "platforms": [ + "ios" + ] + }, + "keywords": [ + "cordova", + "ios", + "app", + "name", + "cfbundlelocalizations", + "ecosystem:cordova", + "cordova-ios" + ], + "engines": [ + { + "name": "cordova", + "version": ">=3.0.0" + } + ], + "author": "", + "license": "MIT" +} diff --git a/cordova-plugin-ios-app-language/plugin.xml b/cordova-plugin-ios-app-language/plugin.xml new file mode 100644 index 0000000..8e6d20a --- /dev/null +++ b/cordova-plugin-ios-app-language/plugin.xml @@ -0,0 +1,22 @@ +<?xml version='1.0' encoding='UTF-8'?> +<plugin id="cordova-plugin-ios-app-language" version="1.0.0" xmlns="http://apache.org/cordova/ns/plugins/1.0"> + <name>iOS App Localization</name> + <author>mySociety</author> + <description> + Cordova/Phonegap plugin that allows you to control the iOS localization used by the UI + </description> + <keywords>cordova, ios, app, name, cfbundlelocalizations</keywords> + <license>MIT</license> + <engines> + <engine name="cordova" version=">=3.0.0"/> + </engines> + + <preference name="IOS_LOCALIZATION"/> + <platform name="ios"> + <config-file target="*-Info.plist" parent="CFBundleLocalizations"> + <array> + <string>$IOS_LOCALIZATION</string> + </array> + </config-file> + </platform> +</plugin>
\ No newline at end of file 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 diff --git a/locale/FixMyStreetMobileApp.po b/locale/FixMyStreetMobileApp.po index bfe2816..dbb7935 100644 --- a/locale/FixMyStreetMobileApp.po +++ b/locale/FixMyStreetMobileApp.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: 1.0\n" "Report-Msgid-Bugs-To: struan@mysociety.org\n" -"POT-Creation-Date: 2016-09-05 15:35+0100\n" +"POT-Creation-Date: 2017-06-22 15:28+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <team@fixmystreet.com>\n" @@ -17,7 +17,7 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" -#: templates/offline.html:54 templates/photo.html:17 +#: templates/offline.html:54 templates/photo.html:18 msgid "(optional)" msgstr "" @@ -25,15 +25,23 @@ msgstr "" msgid "-- Pick a category --" msgstr "" +#: templates/submit.html:56 +msgid "<strong>No</strong> Let me confirm my report by email" +msgstr "" + +#: templates/submit.html:46 +msgid "<strong>Yes</strong> I have a password" +msgstr "" + #: templates/around.html:7 msgid "Account" msgstr "" -#: templates/photo.html:2 +#: templates/photo.html:3 msgid "Add Photo" msgstr "" -#: templates/photo.html:17 +#: templates/photo.html:18 msgid "Add a Photo" msgstr "" @@ -41,7 +49,7 @@ msgstr "" msgid "Add a Photo " msgstr "" -#: templates/offline.html:56 templates/photo.html:33 +#: templates/offline.html:56 templates/photo.html:34 msgid "Add an existing photo" msgstr "" @@ -49,7 +57,11 @@ msgstr "" msgid "An error was encountered when submitting your report: " msgstr "" -#: templates/around.html:22 templates/around.html:5 templates/offline.html:18 +#: templates/details.html:2 templates/details_extra.html:2 templates/photo.html:2 templates/submit.html:2 templates/submit_confirm.html:2 templates/submit_email.html:2 templates/submit_name.html:2 templates/submit_password.html:2 templates/submit_set_password.html:2 +msgid "Back" +msgstr "" + +#: templates/address_search.html:2 templates/around.html:22 templates/around.html:5 templates/offline.html:18 msgid "Cancel" msgstr "" @@ -61,7 +73,11 @@ msgstr "" msgid "Confirm Location" msgstr "" -#: templates/submit_password.html:46 +#: templates/submit.html:18 +msgid "Confirm details" +msgstr "" + +#: templates/submit_password.html:47 msgid "Confirm name" msgstr "" @@ -69,7 +85,7 @@ msgstr "" msgid "Confirmation email sent" msgstr "" -#: templates/submit_set_password.html:18 +#: templates/submit_set_password.html:19 msgid "Continue" msgstr "" @@ -85,7 +101,7 @@ msgstr "" msgid "Delete" msgstr "" -#: templates/details.html:17 templates/details.html:2 +#: templates/details.html:18 templates/details.html:3 msgid "Details" msgstr "" @@ -93,6 +109,10 @@ msgstr "" msgid "Discard" msgstr "" +#: templates/submit.html:42 +msgid "Do you have a %s password?" +msgstr "" + #: templates/reports.html:3 msgid "Draft Reports" msgstr "" @@ -101,7 +121,15 @@ msgstr "" msgid "Drafts" msgstr "" -#: templates/submit_set_password.html:10 +#: templates/address_search.html:7 +msgid "Enter a nearby GB postcode, or street name and area" +msgstr "" + +#: templates/submit.html:76 +msgid "Enter a password (optional)" +msgstr "" + +#: templates/submit_set_password.html:11 msgid "Enter a password for your account. This won't be activated till you click the link in the confirmation email" msgstr "" @@ -109,10 +137,14 @@ msgstr "" msgid "Finding your location" msgstr "" -#: templates/details_extra.html:2 +#: templates/details_extra.html:3 msgid "Further Details" msgstr "" +#: templates/address_search.html:13 +msgid "Go" +msgstr "" + #: templates/strings.js:43 msgid "Got location." msgstr "" @@ -121,15 +153,15 @@ msgstr "" msgid "Home" msgstr "" -#: templates/submit_email.html:21 +#: templates/submit_email.html:22 msgid "I don't want to set a password" msgstr "" -#: templates/submit_email.html:22 +#: templates/submit_email.html:23 msgid "I'd like to set a password" msgstr "" -#: templates/submit_email.html:23 +#: templates/submit_email.html:24 msgid "I've already got one - login" msgstr "" @@ -153,7 +185,7 @@ msgstr "" msgid "Location error" msgstr "" -#: templates/login.html:3 +#: templates/login.html:3 templates/login.html:30 msgid "Login" msgstr "" @@ -165,11 +197,15 @@ msgstr "" msgid "More than one location matched that name. Select one below or try entering street name and area, or a postcode." msgstr "" +#: templates/submit.html:20 templates/submit.html:59 +msgid "Name" +msgstr "" + #: templates/around.html:41 msgid "New Report Here" msgstr "" -#: templates/details.html:3 templates/details_extra.html:3 templates/photo.html:6 templates/strings.js:23 +#: templates/details.html:4 templates/details_extra.html:4 templates/photo.html:7 templates/strings.js:23 msgid "Next" msgstr "" @@ -177,7 +213,7 @@ msgstr "" msgid "No network connection available for submitting your report. Please try again later." msgstr "" -#: templates/submit_name.html:9 +#: templates/submit_name.html:10 msgid "No problem - we don't like faffing with passwords either." msgstr "" @@ -193,15 +229,23 @@ msgstr "" msgid "Oh dear - we can't detect an internet connection. However you can still start a report now and complete it later, by going to 'drafts' when you're back online." msgstr "" -#: templates/submit_confirm.html:29 templates/submit_name.html:26 +#: templates/submit_confirm.html:30 templates/submit_name.html:27 msgid "Optionally enter your phone number" msgstr "" +#: templates/submit.html:72 +msgid "Password" +msgstr "" + +#: templates/submit.html:28 templates/submit.html:67 +msgid "Phone number" +msgstr "" + #: templates/strings.js:49 msgid "Photo added" msgstr "" -#: templates/photo.html:20 +#: templates/photo.html:21 msgid "Photo for report" msgstr "" @@ -209,7 +253,7 @@ msgstr "" msgid "Please choose a category" msgstr "" -#: templates/submit_confirm.html:11 templates/submit_password.html:21 +#: templates/submit_confirm.html:12 templates/submit_password.html:22 msgid "Please confirm your name, if you want it to be public and optionally your phone number." msgstr "" @@ -241,7 +285,7 @@ msgstr "" msgid "Please enter your email" msgstr "" -#: templates/submit_email.html:8 +#: templates/submit.html:39 templates/submit_email.html:9 msgid "Please enter your email address" msgstr "" @@ -249,19 +293,19 @@ msgstr "" msgid "Please enter your full name, councils need this information - if you do not wish your name to be shown on the site, untick the box below" msgstr "" -#: templates/strings.js:8 templates/submit_confirm.html:26 templates/submit_name.html:23 +#: templates/strings.js:8 templates/submit_confirm.html:27 templates/submit_name.html:24 msgid "Please enter your name" msgstr "" -#: templates/submit_password.html:36 +#: templates/submit_password.html:37 msgid "Please enter your phone number (optional)" msgstr "" -#: templates/details.html:18 +#: templates/details.html:19 msgid "Please fill in details of the problem." msgstr "" -#: templates/submit_name.html:11 +#: templates/submit_name.html:12 msgid "Please give us some basic details, and you're nearly done." msgstr "" @@ -269,7 +313,7 @@ msgstr "" msgid "Please search for a street name and area, or postcode." msgstr "" -#: templates/details.html:9 templates/offline.html:41 +#: templates/details.html:10 templates/offline.html:41 msgid "Provide a title" msgstr "" @@ -277,7 +321,7 @@ msgstr "" msgid "Remove Photo" msgstr "" -#: templates/submit_confirm.html:37 templates/submit_password.html:15 +#: templates/submit.html:33 templates/submit.html:51 templates/submit.html:77 templates/submit_confirm.html:38 templates/submit_password.html:16 msgid "Report" msgstr "" @@ -289,6 +333,10 @@ msgstr "" msgid "Reposition Report Here" msgstr "" +#: templates/submit.html:88 +msgid "Save" +msgstr "" + #: templates/strings.js:53 msgid "Save for Later" msgstr "" @@ -297,6 +345,18 @@ msgstr "" msgid "Save for later" msgstr "" +#: templates/submit.html:86 +msgid "Save this report for completion later" +msgstr "" + +#: templates/existing.html:13 +msgid "Saved in the %s category" +msgstr "" + +#: templates/address_search.html:3 +msgid "Search" +msgstr "" + #: templates/strings.js:29 msgid "Search for a place or postcode" msgstr "" @@ -305,7 +365,7 @@ msgstr "" msgid "Search or scroll the map" msgstr "" -#: templates/submit_name.html:36 +#: templates/submit_name.html:37 msgid "Send confirmation email" msgstr "" @@ -313,7 +373,7 @@ msgstr "" msgid "Set Report Location" msgstr "" -#: templates/submit_confirm.html:33 templates/submit_name.html:31 templates/submit_password.html:41 +#: templates/submit.html:25 templates/submit.html:64 templates/submit_confirm.html:34 templates/submit_name.html:32 templates/submit_password.html:42 msgid "Show my name publicly" msgstr "" @@ -329,7 +389,7 @@ msgstr "" msgid "Signed out!" msgstr "" -#: templates/offline.html:4 templates/photo.html:4 +#: templates/offline.html:4 templates/photo.html:5 msgid "Skip" msgstr "" @@ -341,11 +401,15 @@ msgstr "" msgid "Start new report" msgstr "" -#: templates/details.html:8 +#: templates/details.html:9 msgid "Subject" msgstr "" -#: templates/offline.html:55 templates/photo.html:34 +#: templates/submit.html:3 +msgid "Submit" +msgstr "" + +#: templates/offline.html:55 templates/photo.html:35 msgid "Take a new photo" msgstr "" @@ -365,6 +429,10 @@ msgstr "" msgid "There isn't an internet connection, do you want to save the current report for later?" msgstr "" +#: templates/android_error.html:14 +msgid "There seems to have been a problem starting the app. Please quit and try again." +msgstr "" + #: templates/strings.js:38 msgid "There was a problem checking if we have all the details we need. Please try again later." msgstr "" @@ -413,7 +481,7 @@ msgstr "" msgid "These are your draft, unsent reports. To finish and send them, open a report when online." msgstr "" -#: templates/submit_email.html:13 +#: templates/submit_email.html:14 msgid "This app needs to send you a confirmation email before we can send your report to the council." msgstr "" @@ -421,11 +489,11 @@ msgstr "" msgid "This report has a position." msgstr "" -#: templates/submit_confirm.html:19 templates/submit_confirm.html:20 templates/submit_name.html:16 templates/submit_name.html:17 templates/submit_password.html:26 templates/submit_password.html:27 +#: templates/submit_confirm.html:20 templates/submit_confirm.html:21 templates/submit_name.html:17 templates/submit_name.html:18 templates/submit_password.html:27 templates/submit_password.html:28 msgid "Title" msgstr "" -#: templates/submit_email.html:17 +#: templates/submit_email.html:18 msgid "To skip this step in future, you can set a password now." msgstr "" @@ -453,6 +521,22 @@ msgstr "" msgid "We've sent you a confirmation email which may take a few minutes to arrive. Once it arrives click the link in the email to confirm your report." msgstr "" +#: templates/submit.html:48 +msgid "Yes I have a password" +msgstr "" + +#: templates/submit_confirm.html:8 +msgid "You are logged in as %s" +msgstr "" + +#: templates/login.html:9 +msgid "You are signed in as %s" +msgstr "" + +#: templates/submit.html:15 +msgid "You are signed in as <span id=\"username\">%s</span>" +msgstr "" + #: templates/login.html:24 msgid "Your Email" msgstr "" @@ -461,18 +545,34 @@ msgstr "" msgid "Your Photo" msgstr "" -#: templates/submit_confirm.html:2 templates/submit_email.html:2 templates/submit_name.html:2 templates/submit_password.html:2 templates/submit_set_password.html:2 +#: templates/submit_confirm.html:3 templates/submit_email.html:3 templates/submit_name.html:3 templates/submit_password.html:3 templates/submit_set_password.html:3 msgid "Your details" msgstr "" -#: templates/login.html:27 templates/submit_password.html:11 templates/submit_set_password.html:14 +#: templates/submit.html:38 +msgid "Your email" +msgstr "" + +#: templates/submit.html:21 templates/submit.html:60 +msgid "Your name" +msgstr "" + +#: templates/login.html:27 templates/submit.html:50 templates/submit_password.html:12 templates/submit_set_password.html:15 msgid "Your password" msgstr "" +#: templates/submit.html:29 templates/submit.html:68 +msgid "Your phone number (optional)" +msgstr "" + #: templates/save_offline.html:13 msgid "discard" msgstr "" +#: templates/address_search.html:10 +msgid "e.g. ‘B2 4QA’ or ‘Tib St, Manchester’" +msgstr "" + #: templates/strings.js:45 msgid "required" msgstr "" diff --git a/locale/en_GB.UTF-8/LC_MESSAGES/FixMyStreetMobileApp.po b/locale/en_GB.UTF-8/LC_MESSAGES/FixMyStreetMobileApp.po index 611a5e7..f7a7cb0 100644 --- a/locale/en_GB.UTF-8/LC_MESSAGES/FixMyStreetMobileApp.po +++ b/locale/en_GB.UTF-8/LC_MESSAGES/FixMyStreetMobileApp.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: 1.0\n" "Report-Msgid-Bugs-To: struan@mysociety.org\n" -"POT-Creation-Date: 2016-09-05 15:35+0100\n" +"POT-Creation-Date: 2017-06-22 15:28+0100\n" "PO-Revision-Date: 2013-09-18 18:01+0100\n" "Last-Translator: Struan <struan@mysociety.org>\n" "Language-Team: LANGUAGE <team@fixmystreet.com>\n" @@ -17,7 +17,7 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" -#: templates/offline.html:54 templates/photo.html:17 +#: templates/offline.html:54 templates/photo.html:18 msgid "(optional)" msgstr "" @@ -25,15 +25,23 @@ msgstr "" msgid "-- Pick a category --" msgstr "" +#: templates/submit.html:56 +msgid "<strong>No</strong> Let me confirm my report by email" +msgstr "" + +#: templates/submit.html:46 +msgid "<strong>Yes</strong> I have a password" +msgstr "" + #: templates/around.html:7 msgid "Account" msgstr "" -#: templates/photo.html:2 +#: templates/photo.html:3 msgid "Add Photo" msgstr "" -#: templates/photo.html:17 +#: templates/photo.html:18 msgid "Add a Photo" msgstr "" @@ -41,7 +49,7 @@ msgstr "" msgid "Add a Photo " msgstr "" -#: templates/offline.html:56 templates/photo.html:33 +#: templates/offline.html:56 templates/photo.html:34 msgid "Add an existing photo" msgstr "" @@ -49,7 +57,16 @@ msgstr "" msgid "An error was encountered when submitting your report: " msgstr "" -#: templates/around.html:22 templates/around.html:5 templates/offline.html:18 +#: templates/details.html:2 templates/details_extra.html:2 +#: templates/photo.html:2 templates/submit.html:2 +#: templates/submit_confirm.html:2 templates/submit_email.html:2 +#: templates/submit_name.html:2 templates/submit_password.html:2 +#: templates/submit_set_password.html:2 +msgid "Back" +msgstr "" + +#: templates/address_search.html:2 templates/around.html:22 +#: templates/around.html:5 templates/offline.html:18 msgid "Cancel" msgstr "" @@ -61,7 +78,11 @@ msgstr "" msgid "Confirm Location" msgstr "" -#: templates/submit_password.html:46 +#: templates/submit.html:18 +msgid "Confirm details" +msgstr "" + +#: templates/submit_password.html:47 msgid "Confirm name" msgstr "" @@ -69,7 +90,7 @@ msgstr "" msgid "Confirmation email sent" msgstr "" -#: templates/submit_set_password.html:18 +#: templates/submit_set_password.html:19 msgid "Continue" msgstr "" @@ -85,7 +106,7 @@ msgstr "" msgid "Delete" msgstr "" -#: templates/details.html:17 templates/details.html:2 +#: templates/details.html:18 templates/details.html:3 msgid "Details" msgstr "" @@ -93,6 +114,10 @@ msgstr "" msgid "Discard" msgstr "" +#: templates/submit.html:42 +msgid "Do you have a %s password?" +msgstr "" + #: templates/reports.html:3 msgid "Draft Reports" msgstr "" @@ -101,20 +126,30 @@ msgstr "" msgid "Drafts" msgstr "" -#: templates/submit_set_password.html:10 -msgid "" -"Enter a password for your account. This won't be activated till you click " -"the link in the confirmation email" +#: templates/address_search.html:7 +msgid "Enter a nearby GB postcode, or street name and area" +msgstr "" + +#: templates/submit.html:76 +msgid "Enter a password (optional)" +msgstr "" + +#: templates/submit_set_password.html:11 +msgid "Enter a password for your account. This won't be activated till you click the link in the confirmation email" msgstr "" #: templates/around.html:18 templates/offline.html:14 msgid "Finding your location" msgstr "" -#: templates/details_extra.html:2 +#: templates/details_extra.html:3 msgid "Further Details" msgstr "" +#: templates/address_search.html:13 +msgid "Go" +msgstr "" + #: templates/strings.js:43 msgid "Got location." msgstr "" @@ -123,22 +158,20 @@ msgstr "" msgid "Home" msgstr "" -#: templates/submit_email.html:21 +#: templates/submit_email.html:22 msgid "I don't want to set a password" msgstr "" -#: templates/submit_email.html:22 +#: templates/submit_email.html:23 msgid "I'd like to set a password" msgstr "" -#: templates/submit_email.html:23 +#: templates/submit_email.html:24 msgid "I've already got one - login" msgstr "" #: templates/reports.html:6 -msgid "" -"If you start compiling a report, but don't finish and send it, it'll appear " -"in this menu so you can finish it later" +msgid "If you start compiling a report, but don't finish and send it, it'll appear in this menu so you can finish it later" msgstr "" #: templates/strings.js:46 @@ -157,7 +190,7 @@ msgstr "" msgid "Location error" msgstr "" -#: templates/login.html:3 +#: templates/login.html:3 templates/login.html:30 msgid "Login" msgstr "" @@ -166,27 +199,27 @@ msgid "More details" msgstr "" #: templates/strings.js:32 -msgid "" -"More than one location matched that name. Select one below or try entering " -"street name and area, or a postcode." +msgid "More than one location matched that name. Select one below or try entering street name and area, or a postcode." +msgstr "" + +#: templates/submit.html:20 templates/submit.html:59 +msgid "Name" msgstr "" #: templates/around.html:41 msgid "New Report Here" msgstr "" -#: templates/details.html:3 templates/details_extra.html:3 -#: templates/photo.html:6 templates/strings.js:23 +#: templates/details.html:4 templates/details_extra.html:4 +#: templates/photo.html:7 templates/strings.js:23 msgid "Next" msgstr "" #: templates/strings.js:54 -msgid "" -"No network connection available for submitting your report. Please try again " -"later." +msgid "No network connection available for submitting your report. Please try again later." msgstr "" -#: templates/submit_name.html:9 +#: templates/submit_name.html:10 msgid "No problem - we don't like faffing with passwords either." msgstr "" @@ -195,27 +228,30 @@ msgid "Offline" msgstr "" #: templates/offline.html:25 -msgid "" -"Oh dear - we can't detect an internet connection. However you can still edit " -"the report now and send it later." +msgid "Oh dear - we can't detect an internet connection. However you can still edit the report now and send it later." msgstr "" #: templates/offline.html:27 -msgid "" -"Oh dear - we can't detect an internet connection. However you can still " -"start a report now and complete it later, by going to 'drafts' when you're " -"back online." +msgid "Oh dear - we can't detect an internet connection. However you can still start a report now and complete it later, by going to 'drafts' when you're back online." msgstr "" -#: templates/submit_confirm.html:29 templates/submit_name.html:26 +#: templates/submit_confirm.html:30 templates/submit_name.html:27 msgid "Optionally enter your phone number" msgstr "" +#: templates/submit.html:72 +msgid "Password" +msgstr "" + +#: templates/submit.html:28 templates/submit.html:67 +msgid "Phone number" +msgstr "" + #: templates/strings.js:49 msgid "Photo added" msgstr "" -#: templates/photo.html:20 +#: templates/photo.html:21 msgid "Photo for report" msgstr "" @@ -223,10 +259,8 @@ msgstr "" msgid "Please choose a category" msgstr "" -#: templates/submit_confirm.html:11 templates/submit_password.html:21 -msgid "" -"Please confirm your name, if you want it to be public and optionally your " -"phone number." +#: templates/submit_confirm.html:12 templates/submit_password.html:22 +msgid "Please confirm your name, if you want it to be public and optionally your phone number." msgstr "" #: templates/strings.js:36 @@ -257,30 +291,28 @@ msgstr "" msgid "Please enter your email" msgstr "" -#: templates/submit_email.html:8 +#: templates/submit.html:39 templates/submit_email.html:9 msgid "Please enter your email address" msgstr "" #: templates/strings.js:9 -msgid "" -"Please enter your full name, councils need this information - if you do not " -"wish your name to be shown on the site, untick the box below" +msgid "Please enter your full name, councils need this information - if you do not wish your name to be shown on the site, untick the box below" msgstr "" -#: templates/strings.js:8 templates/submit_confirm.html:26 -#: templates/submit_name.html:23 +#: templates/strings.js:8 templates/submit_confirm.html:27 +#: templates/submit_name.html:24 msgid "Please enter your name" msgstr "" -#: templates/submit_password.html:36 +#: templates/submit_password.html:37 msgid "Please enter your phone number (optional)" msgstr "" -#: templates/details.html:18 +#: templates/details.html:19 msgid "Please fill in details of the problem." msgstr "" -#: templates/submit_name.html:11 +#: templates/submit_name.html:12 msgid "Please give us some basic details, and you're nearly done." msgstr "" @@ -288,7 +320,7 @@ msgstr "" msgid "Please search for a street name and area, or postcode." msgstr "" -#: templates/details.html:9 templates/offline.html:41 +#: templates/details.html:10 templates/offline.html:41 msgid "Provide a title" msgstr "" @@ -296,7 +328,8 @@ msgstr "" msgid "Remove Photo" msgstr "" -#: templates/submit_confirm.html:37 templates/submit_password.html:15 +#: templates/submit.html:33 templates/submit.html:51 templates/submit.html:77 +#: templates/submit_confirm.html:38 templates/submit_password.html:16 msgid "Report" msgstr "" @@ -308,6 +341,10 @@ msgstr "" msgid "Reposition Report Here" msgstr "" +#: templates/submit.html:88 +msgid "Save" +msgstr "" + #: templates/strings.js:53 msgid "Save for Later" msgstr "" @@ -316,6 +353,18 @@ msgstr "" msgid "Save for later" msgstr "" +#: templates/submit.html:86 +msgid "Save this report for completion later" +msgstr "" + +#: templates/existing.html:13 +msgid "Saved in the %s category" +msgstr "" + +#: templates/address_search.html:3 +msgid "Search" +msgstr "" + #: templates/strings.js:29 msgid "Search for a place or postcode" msgstr "" @@ -324,7 +373,7 @@ msgstr "" msgid "Search or scroll the map" msgstr "" -#: templates/submit_name.html:36 +#: templates/submit_name.html:37 msgid "Send confirmation email" msgstr "" @@ -332,8 +381,9 @@ msgstr "" msgid "Set Report Location" msgstr "" -#: templates/submit_confirm.html:33 templates/submit_name.html:31 -#: templates/submit_password.html:41 +#: templates/submit.html:25 templates/submit.html:64 +#: templates/submit_confirm.html:34 templates/submit_name.html:32 +#: templates/submit_password.html:42 msgid "Show my name publicly" msgstr "" @@ -349,25 +399,27 @@ msgstr "" msgid "Signed out!" msgstr "" -#: templates/offline.html:4 templates/photo.html:4 +#: templates/offline.html:4 templates/photo.html:5 msgid "Skip" msgstr "" #: templates/strings.js:40 -msgid "" -"Sorry, but we weren't able to establish your location accurately enough to " -"show you a map. Please enter a location in the search box instead" +msgid "Sorry, but we weren't able to establish your location accurately enough to show you a map. Please enter a location in the search box instead" msgstr "" #: templates/sent.html:20 msgid "Start new report" msgstr "" -#: templates/details.html:8 +#: templates/details.html:9 msgid "Subject" msgstr "" -#: templates/offline.html:55 templates/photo.html:34 +#: templates/submit.html:3 +msgid "Submit" +msgstr "" + +#: templates/offline.html:55 templates/photo.html:35 msgid "Take a new photo" msgstr "" @@ -384,26 +436,23 @@ msgid "There is no internet connection" msgstr "" #: templates/save_offline.html:8 -msgid "" -"There isn't an internet connection, do you want to save the current report " -"for later?" +msgid "There isn't an internet connection, do you want to save the current report for later?" +msgstr "" + +#: templates/android_error.html:14 +msgid "There seems to have been a problem starting the app. Please quit and try again." msgstr "" #: templates/strings.js:38 -msgid "" -"There was a problem checking if we have all the details we need. Please try " -"again later." +msgid "There was a problem checking if we have all the details we need. Please try again later." msgstr "" #: templates/strings.js:37 -msgid "" -"There was a problem checking we cover this location. Please try again later." +msgid "There was a problem checking we cover this location. Please try again later." msgstr "" #: templates/strings.js:27 -msgid "" -"There was a problem logging you in. Please check your email and password and " -"that you have confirmed your password." +msgid "There was a problem logging you in. Please check your email and password and that you have confirmed your password." msgstr "" #: templates/strings.js:25 @@ -435,36 +484,28 @@ msgid "There was a problem uploading your report." msgstr "" #: templates/strings.js:28 -msgid "" -"There was a problem with your email/password combination. If you have " -"forgotten your password, or do not have one, you can set one by returning to " -"the email screen and selecting the set password option. Passwords are not " -"activated until the link in the confirmation email is clicked." +msgid "There was a problem with your email/password combination. If you have forgotten your password, or do not have one, you can set one by returning to the email screen and selecting the set password option. Passwords are not activated until the link in the confirmation email is clicked." msgstr "" #: templates/reports.html:9 -msgid "" -"These are your draft, unsent reports. To finish and send them, open a report " -"when online." +msgid "These are your draft, unsent reports. To finish and send them, open a report when online." msgstr "" -#: templates/submit_email.html:13 -msgid "" -"This app needs to send you a confirmation email before we can send your " -"report to the council." +#: templates/submit_email.html:14 +msgid "This app needs to send you a confirmation email before we can send your report to the council." msgstr "" #: templates/offline.html:33 msgid "This report has a position." msgstr "" -#: templates/submit_confirm.html:19 templates/submit_confirm.html:20 -#: templates/submit_name.html:16 templates/submit_name.html:17 -#: templates/submit_password.html:26 templates/submit_password.html:27 +#: templates/submit_confirm.html:20 templates/submit_confirm.html:21 +#: templates/submit_name.html:17 templates/submit_name.html:18 +#: templates/submit_password.html:27 templates/submit_password.html:28 msgid "Title" msgstr "" -#: templates/submit_email.html:17 +#: templates/submit_email.html:18 msgid "To skip this step in future, you can set a password now." msgstr "" @@ -489,9 +530,23 @@ msgid "View it on the site" msgstr "" #: templates/sent.html:10 -msgid "" -"We've sent you a confirmation email which may take a few minutes to arrive. " -"Once it arrives click the link in the email to confirm your report." +msgid "We've sent you a confirmation email which may take a few minutes to arrive. Once it arrives click the link in the email to confirm your report." +msgstr "" + +#: templates/submit.html:48 +msgid "Yes I have a password" +msgstr "" + +#: templates/submit_confirm.html:8 +msgid "You are logged in as %s" +msgstr "" + +#: templates/login.html:9 +msgid "You are signed in as %s" +msgstr "" + +#: templates/submit.html:15 +msgid "You are signed in as <span id=\"username\">%s</span>" msgstr "" #: templates/login.html:24 @@ -502,21 +557,37 @@ msgstr "" msgid "Your Photo" msgstr "" -#: templates/submit_confirm.html:2 templates/submit_email.html:2 -#: templates/submit_name.html:2 templates/submit_password.html:2 -#: templates/submit_set_password.html:2 +#: templates/submit_confirm.html:3 templates/submit_email.html:3 +#: templates/submit_name.html:3 templates/submit_password.html:3 +#: templates/submit_set_password.html:3 msgid "Your details" msgstr "" -#: templates/login.html:27 templates/submit_password.html:11 -#: templates/submit_set_password.html:14 +#: templates/submit.html:38 +msgid "Your email" +msgstr "" + +#: templates/submit.html:21 templates/submit.html:60 +msgid "Your name" +msgstr "" + +#: templates/login.html:27 templates/submit.html:50 +#: templates/submit_password.html:12 templates/submit_set_password.html:15 msgid "Your password" msgstr "" +#: templates/submit.html:29 templates/submit.html:68 +msgid "Your phone number (optional)" +msgstr "" + #: templates/save_offline.html:13 msgid "discard" msgstr "" +#: templates/address_search.html:10 +msgid "e.g. ‘B2 4QA’ or ‘Tib St, Manchester’" +msgstr "" + #: templates/strings.js:45 msgid "required" msgstr "" diff --git a/locale/es_DO.UTF-8/LC_MESSAGES/FixMyStreetMobileApp.po b/locale/es_DO.UTF-8/LC_MESSAGES/FixMyStreetMobileApp.po new file mode 100644 index 0000000..c936397 --- /dev/null +++ b/locale/es_DO.UTF-8/LC_MESSAGES/FixMyStreetMobileApp.po @@ -0,0 +1,610 @@ +# FixMyStreet mobile app original .po file, autogenerated by gettext-extract. +# Copyright (C) 2013 UK Citizens Online Democracy +# This file is distributed under the same license as the main FixMyStreet code. +# Struan Donald <struan@mysociety.org>, 2013. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: my-society\n" +"Report-Msgid-Bugs-To: struan@mysociety.org\n" +"POT-Creation-Date: 2017-06-22 15:28+0100\n" +"PO-Revision-Date: 2017-03-06 13:18-0500\n" +"Last-Translator: applingua <team@applingua.com>\n" +"Language-Team: Spanish, Dominican Republic\n" +"Language: es_DO\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: crowdin.com\n" +"X-Crowdin-Project: my-society\n" +"X-Crowdin-Language: es-DO\n" +"X-Crowdin-File: FixMyStreet.po\n" + +#: templates/offline.html:54 templates/photo.html:18 +msgid "(optional)" +msgstr "(opcional)" + +#: templates/existing.html:12 templates/strings.js:42 +msgid "-- Pick a category --" +msgstr "-- Seleccione una categoría --" + +#: templates/submit.html:56 +msgid "<strong>No</strong> Let me confirm my report by email" +msgstr "" + +#: templates/submit.html:46 +msgid "<strong>Yes</strong> I have a password" +msgstr "" + +#: templates/around.html:7 +msgid "Account" +msgstr "Cuenta" + +#: templates/photo.html:3 +msgid "Add Photo" +msgstr "Añadir foto" + +#: templates/photo.html:18 +msgid "Add a Photo" +msgstr "Añadir una foto" + +#: templates/offline.html:54 +msgid "Add a Photo " +msgstr "Añadir una foto " + +#: templates/offline.html:56 templates/photo.html:34 +msgid "Add an existing photo" +msgstr "Añadir una foto existente" + +#: templates/strings.js:33 +msgid "An error was encountered when submitting your report: " +msgstr "Un error se ha generado al enviar su informe: " + +#: templates/details.html:2 templates/details_extra.html:2 +#: templates/photo.html:2 templates/submit.html:2 +#: templates/submit_confirm.html:2 templates/submit_email.html:2 +#: templates/submit_name.html:2 templates/submit_password.html:2 +#: templates/submit_set_password.html:2 +msgid "Back" +msgstr "Atrás" + +#: templates/address_search.html:2 templates/around.html:22 +#: templates/around.html:5 templates/offline.html:18 +msgid "Cancel" +msgstr "Cancelar" + +#: templates/existing.html:31 +msgid "Complete report now" +msgstr "Completar el informe ahora" + +#: templates/around.html:50 +msgid "Confirm Location" +msgstr "Confirmar ubicación" + +#: templates/submit.html:18 +#, fuzzy +msgid "Confirm details" +msgstr "Más detalles" + +#: templates/submit_password.html:47 +msgid "Confirm name" +msgstr "Confirmar nombre" + +#: templates/sent.html:7 +msgid "Confirmation email sent" +msgstr "Email de confirmación enviado" + +#: templates/submit_set_password.html:19 +msgid "Continue" +msgstr "Continuar" + +#: templates/strings.js:41 +msgid "Could not access location services. Please check permissions." +msgstr "No se pudo acceder a los servicios de ubicación. Por favor, verificar los permisos." + +#: templates/strings.js:44 +msgid "Could not get location." +msgstr "No se pudo obtener la ubicación." + +#: templates/reports.html:25 +msgid "Delete" +msgstr "Eliminar" + +#: templates/details.html:18 templates/details.html:3 +msgid "Details" +msgstr "Detalles" + +#: templates/existing.html:33 +msgid "Discard" +msgstr "Descartar" + +#: templates/submit.html:42 +msgid "Do you have a %s password?" +msgstr "" + +#: templates/reports.html:3 +msgid "Draft Reports" +msgstr "Informes preliminares" + +#: templates/around.html:3 +msgid "Drafts" +msgstr "Borradores" + +#: templates/address_search.html:7 +msgid "Enter a nearby GB postcode, or street name and area" +msgstr "Introduzca un código postal cercano, o el nombre de una calle o área" + +#: templates/submit.html:76 +#, fuzzy +msgid "Enter a password (optional)" +msgstr "Por favor, introduzca la contraseña" + +#: templates/submit_set_password.html:11 +msgid "Enter a password for your account. This won't be activated till you click the link in the confirmation email" +msgstr "Introduzca la contraseña de su cuenta. Esta no será activada hasta que haga click sobre el enlace en el email de confirmación" + +#: templates/around.html:18 templates/offline.html:14 +msgid "Finding your location" +msgstr "Localizando su ubicación" + +#: templates/details_extra.html:3 +msgid "Further Details" +msgstr "Detalles adicionales" + +#: templates/address_search.html:13 +msgid "Go" +msgstr "Ir" + +#: templates/strings.js:43 +msgid "Got location." +msgstr "Ubicación localizada." + +#: templates/login.html:2 templates/reports.html:2 templates/sent.html:2 +msgid "Home" +msgstr "Inicio" + +#: templates/submit_email.html:22 +msgid "I don't want to set a password" +msgstr "No quiero configurar una contraseña" + +#: templates/submit_email.html:23 +msgid "I'd like to set a password" +msgstr "Me gustaría configurar una contraseña" + +#: templates/submit_email.html:24 +msgid "I've already got one - login" +msgstr "Ya tengo una - abrir sesión" + +#: templates/reports.html:6 +msgid "If you start compiling a report, but don't finish and send it, it'll appear in this menu so you can finish it later" +msgstr "Si comienza a compilar un informe, pero no lo termina ni lo envía, este aparecerá en este menú para que lo pueda completar más tarde" + +#: templates/strings.js:46 +msgid "Invalid email" +msgstr "Email inválido" + +#: templates/strings.js:47 +msgid "Invalid report" +msgstr "Informe inválido" + +#: templates/offline.html:35 +msgid "Locate (optional)" +msgstr "Localizar (opcional)" + +#: templates/strings.js:30 +msgid "Location error" +msgstr "Error de ubicación" + +#: templates/login.html:3 templates/login.html:30 +msgid "Login" +msgstr "Abrir sesión" + +#: templates/strings.js:55 +msgid "More details" +msgstr "Más detalles" + +#: templates/strings.js:32 +msgid "More than one location matched that name. Select one below or try entering street name and area, or a postcode." +msgstr "Más de una ubicación corresponde a ese nombre. Seleccione una abajo o pruebe indicando el nombre de la calle y área, o un código postal." + +#: templates/submit.html:20 templates/submit.html:59 +msgid "Name" +msgstr "" + +#: templates/around.html:41 +msgid "New Report Here" +msgstr "Nuevo informe aquí" + +#: templates/details.html:4 templates/details_extra.html:4 +#: templates/photo.html:7 templates/strings.js:23 +msgid "Next" +msgstr "Siguiente" + +#: templates/strings.js:54 +msgid "No network connection available for submitting your report. Please try again later." +msgstr "No hay conexión a la red disponible para enviar su informe. Por favor, inténtelo de nuevo más tarde." + +#: templates/submit_name.html:10 +msgid "No problem - we don't like faffing with passwords either." +msgstr "No hay problema - tampoco nos gusta tontear con contraseñas." + +#: templates/offline.html:3 templates/save_offline.html:2 +msgid "Offline" +msgstr "Sin conexión" + +#: templates/offline.html:25 +msgid "Oh dear - we can't detect an internet connection. However you can still edit the report now and send it later." +msgstr "¡Qué horror! - no podemos detectar una conexión al internet. Sin embargo, aún puede editar el informe en este momento y enviarlo más tarde." + +#: templates/offline.html:27 +msgid "Oh dear - we can't detect an internet connection. However you can still start a report now and complete it later, by going to 'drafts' when you're back online." +msgstr "¡Qué horror! - no podemos detectar una conexión al internet. Sin embargo, aún puede editar el informe en este momento y enviarlo más tarde, yendo a 'borradores' cuando vuelva a estar conectado." + +#: templates/submit_confirm.html:30 templates/submit_name.html:27 +msgid "Optionally enter your phone number" +msgstr "Opcionalmente introduzca su número de teléfono" + +#: templates/submit.html:72 +#, fuzzy +msgid "Password" +msgstr "Su contraseña" + +#: templates/submit.html:28 templates/submit.html:67 +msgid "Phone number" +msgstr "" + +#: templates/strings.js:49 +msgid "Photo added" +msgstr "Foto añadida" + +#: templates/photo.html:21 +msgid "Photo for report" +msgstr "Foto para el informe" + +#: templates/strings.js:11 +msgid "Please choose a category" +msgstr "Por favor, seleccione una categoría" + +#: templates/submit_confirm.html:12 templates/submit_password.html:22 +msgid "Please confirm your name, if you want it to be public and optionally your phone number." +msgstr "Por favor, confirme su nombre, si quiere que se haga público y opcionalmente su número de teléfono." + +#: templates/strings.js:36 +msgid "Please enter a location" +msgstr "Por favor, indique una ubicación" + +#: templates/strings.js:4 +msgid "Please enter a message" +msgstr "Por favor, introduzca un mensaje" + +#: templates/strings.js:20 +msgid "Please enter a password" +msgstr "Por favor, introduzca la contraseña" + +#: templates/strings.js:5 +msgid "Please enter a subject" +msgstr "Por favor, introduzca un título" + +#: templates/strings.js:14 templates/strings.js:18 +msgid "Please enter a valid email" +msgstr "Por favor, introduzca un email válido" + +#: templates/strings.js:6 +msgid "Please enter some details" +msgstr "Por favor, escriba algunos detalles" + +#: templates/strings.js:13 templates/strings.js:17 +msgid "Please enter your email" +msgstr "Por favor, introduzca su email" + +#: templates/submit.html:39 templates/submit_email.html:9 +msgid "Please enter your email address" +msgstr "Por favor, introduzca su dirección de email" + +#: templates/strings.js:9 +msgid "Please enter your full name, councils need this information - if you do not wish your name to be shown on the site, untick the box below" +msgstr "Por favor, introduzca su nombre, los ayuntamientos necesitan esta información - si no quiere que su nombre se haga público en esta página web, borre la marca en la casilla de abajo" + +#: templates/strings.js:8 templates/submit_confirm.html:27 +#: templates/submit_name.html:24 +msgid "Please enter your name" +msgstr "Por favor, introduzca su nombre" + +#: templates/submit_password.html:37 +msgid "Please enter your phone number (optional)" +msgstr "Por favor, introduzca su número de teléfono (opcional)" + +#: templates/details.html:19 +msgid "Please fill in details of the problem." +msgstr "Por favor, provea detalles del problema." + +#: templates/submit_name.html:12 +msgid "Please give us some basic details, and you're nearly done." +msgstr "Por favor, proporciónenos con algunos detalles básicos, y pronto terminaremos." + +#: templates/strings.js:39 +msgid "Please search for a street name and area, or postcode." +msgstr "Por favor, busque el nombre de la calle y área o código postal." + +#: templates/details.html:10 templates/offline.html:41 +msgid "Provide a title" +msgstr "Indique un título" + +#: templates/offline.html:68 +msgid "Remove Photo" +msgstr "Eliminar foto" + +#: templates/submit.html:33 templates/submit.html:51 templates/submit.html:77 +#: templates/submit_confirm.html:38 templates/submit_password.html:16 +msgid "Report" +msgstr "Informe" + +#: templates/sent.html:3 +msgid "Report Created" +msgstr "Informe creado" + +#: templates/around.html:47 +msgid "Reposition Report Here" +msgstr "Reposicione el informe aquí" + +#: templates/submit.html:88 +msgid "Save" +msgstr "" + +#: templates/strings.js:53 +msgid "Save for Later" +msgstr "Guardar para más tarde" + +#: templates/existing.html:32 +msgid "Save for later" +msgstr "Guardar para más tarde" + +#: templates/submit.html:86 +msgid "Save this report for completion later" +msgstr "" + +#: templates/existing.html:13 +msgid "Saved in the %s category" +msgstr "Guardado en la categoría %s" + +#: templates/address_search.html:3 +msgid "Search" +msgstr "Buscar" + +#: templates/strings.js:29 +msgid "Search for a place or postcode" +msgstr "Buscar un lugar o código postal" + +#: templates/around.html:28 +msgid "Search or scroll the map" +msgstr "Buscar o desplazarse en el map" + +#: templates/submit_name.html:37 +msgid "Send confirmation email" +msgstr "Enviar un email de confirmación" + +#: templates/around.html:44 +msgid "Set Report Location" +msgstr "Configurar la ubicación del informe" + +#: templates/submit.html:25 templates/submit.html:64 +#: templates/submit_confirm.html:34 templates/submit_name.html:32 +#: templates/submit_password.html:42 +msgid "Show my name publicly" +msgstr "Mostrar mi nombre públicamente" + +#: templates/login.html:12 templates/login.html:40 +msgid "Sign Out" +msgstr "Cerrar sesión" + +#: templates/login.html:36 +msgid "Signed in!" +msgstr "¡Sesión abierta!" + +#: templates/login.html:17 +msgid "Signed out!" +msgstr "¡Sesión cerrada!" + +#: templates/offline.html:4 templates/photo.html:5 +msgid "Skip" +msgstr "Saltar" + +#: templates/strings.js:40 +msgid "Sorry, but we weren't able to establish your location accurately enough to show you a map. Please enter a location in the search box instead" +msgstr "Lo sentimos, no pudimos establecer su ubicación con la precisión necesaria para mostrarle un mapa. Por favor, como alternativa, incluya una ubicación en la casilla de búsqueda" + +#: templates/sent.html:20 +msgid "Start new report" +msgstr "Comenzar un nuevo informe" + +#: templates/details.html:9 +msgid "Subject" +msgstr "Título" + +#: templates/submit.html:3 +msgid "Submit" +msgstr "" + +#: templates/offline.html:55 templates/photo.html:35 +msgid "Take a new photo" +msgstr "Tomar una nueva foto" + +#: templates/around.html:31 +msgid "Test version. Reports will not be sent to the council." +msgstr "Versión de prueba. Los informes no serán enviados al ayuntamiento." + +#: templates/sent.html:13 +msgid "Thanks. Your report will be sent to the authorities immediately." +msgstr "Gracias. Su informe será enviado inmediatamente a las autoridades." + +#: templates/save_offline.html:5 +msgid "There is no internet connection" +msgstr "No hay conexión al internet" + +#: templates/save_offline.html:8 +msgid "There isn't an internet connection, do you want to save the current report for later?" +msgstr "No hay conexión al internet, ¿quiere guardar el presente informe para más tarde?" + +#: templates/android_error.html:14 +#, fuzzy +msgid "There seems to have been a problem starting the app. Please quit and try again." +msgstr "Hubo un problema al enviar su informe. Por favor, inténtelo de nuevo más tarde." + +#: templates/strings.js:38 +msgid "There was a problem checking if we have all the details we need. Please try again later." +msgstr "Hubo un problema al verificar si tenemos todos los detalles que necesitamos. Por favor, inténtelo de nuevo más tarde." + +#: templates/strings.js:37 +msgid "There was a problem checking we cover this location. Please try again later." +msgstr "Hubo un problema al verificar si cubrimos esta ubicación. Por favor, inténtelo de nuevo más tarde." + +#: templates/strings.js:27 +msgid "There was a problem logging you in. Please check your email and password and that you have confirmed your password." +msgstr "Hubo un problema al abrir la sesión. Por favor, verifique su email y contraseña y que haya confirmado su contraseña." + +#: templates/strings.js:25 +msgid "There was a problem logging you in. Please try again later." +msgstr "Hubo un problema al abrir sesión. Por favor, inténtelo de nuevo más tarde." + +#: templates/strings.js:26 +msgid "There was a problem logging you out. Please try again later." +msgstr "Hubo un problema al cerrar sesión. Por favor, inténtelo de nuevo más tarde." + +#: templates/strings.js:31 +msgid "There was a problem looking up your location." +msgstr "Hubo un problema al buscar su ubicación." + +#: templates/strings.js:34 +msgid "There was a problem submitting your report. Please try again later." +msgstr "Hubo un problema al enviar su informe. Por favor, inténtelo de nuevo más tarde." + +#: templates/strings.js:35 +msgid "There was a problem submitting your report. Please try again." +msgstr "Hubo un problema al enviar su informe. Por favor, inténtelo de nuevo más tarde." + +#: templates/strings.js:48 +msgid "There was a problem taking your photo." +msgstr "Hubo un problema al tomar su foto." + +#: templates/strings.js:51 +msgid "There was a problem uploading your report." +msgstr "Hubo un problema al subir su informe." + +#: templates/strings.js:28 +msgid "There was a problem with your email/password combination. If you have forgotten your password, or do not have one, you can set one by returning to the email screen and selecting the set password option. Passwords are not activated until the link in the confirmation email is clicked." +msgstr "Hubo un problema con la combinación de su email/contraseña. Si ha olvidado su contraseña, o no tiene una, puede configurarla volviendo a la pantalla de email, y seleccionado la opción configuración de contraseña. Las contraseñas no se activan hasta que no se haga click sobre el enlace en el email de confirmación." + +#: templates/reports.html:9 +msgid "These are your draft, unsent reports. To finish and send them, open a report when online." +msgstr "Estos son sus borradores, informes no enviados. Para completarlos y enviarlos, abra un informe cuando esté conectado(a) al internet." + +#: templates/submit_email.html:14 +msgid "This app needs to send you a confirmation email before we can send your report to the council." +msgstr "Esta aplicación necesita enviarle un email de confirmación antes de que podamos enviar su informe al ayuntamiento." + +#: templates/offline.html:33 +msgid "This report has a position." +msgstr "Este informe tiene una posición." + +#: templates/submit_confirm.html:20 templates/submit_confirm.html:21 +#: templates/submit_name.html:17 templates/submit_name.html:18 +#: templates/submit_password.html:27 templates/submit_password.html:28 +msgid "Title" +msgstr "Título" + +#: templates/submit_email.html:18 +msgid "To skip this step in future, you can set a password now." +msgstr "Para saltar este paso en el futuro, puede configurar una contraseña ahora." + +#: templates/offline.html:2 templates/strings.js:52 +msgid "Try Again" +msgstr "Inténtelo nuevamente" + +#: templates/existing.html:2 +msgid "Unsent Report" +msgstr "Informe no enviado" + +#: templates/strings.js:24 +msgid "Untitled draft" +msgstr "Borrador sin título" + +#: templates/strings.js:50 +msgid "Uploading images may take some time, please be patient" +msgstr "Subir imágenes podría demorar, por favor tenga paciencia" + +#: templates/sent.html:15 +msgid "View it on the site" +msgstr "Véalo en la pagina web" + +#: templates/sent.html:10 +msgid "We've sent you a confirmation email which may take a few minutes to arrive. Once it arrives click the link in the email to confirm your report." +msgstr "Le hemos enviado un email de confirmación que le llegará en unos minutos. Una vez que llegue haga click sobre el enlace dentro del email para confirmar su informe." + +#: templates/submit.html:48 +#, fuzzy +msgid "Yes I have a password" +msgstr "Por favor, introduzca la contraseña" + +#: templates/submit_confirm.html:8 +msgid "You are logged in as %s" +msgstr "" + +#: templates/login.html:9 +msgid "You are signed in as %s" +msgstr "" + +#: templates/submit.html:15 +msgid "You are signed in as <span id=\"username\">%s</span>" +msgstr "" + +#: templates/login.html:24 +msgid "Your Email" +msgstr "Su email" + +#: templates/offline.html:64 +msgid "Your Photo" +msgstr "Su foto" + +#: templates/submit_confirm.html:3 templates/submit_email.html:3 +#: templates/submit_name.html:3 templates/submit_password.html:3 +#: templates/submit_set_password.html:3 +msgid "Your details" +msgstr "Sus detalles" + +#: templates/submit.html:38 +#, fuzzy +msgid "Your email" +msgstr "Su email" + +#: templates/submit.html:21 templates/submit.html:60 +#, fuzzy +msgid "Your name" +msgstr "Confirmar nombre" + +#: templates/login.html:27 templates/submit.html:50 +#: templates/submit_password.html:12 templates/submit_set_password.html:15 +msgid "Your password" +msgstr "Su contraseña" + +#: templates/submit.html:29 templates/submit.html:68 +#, fuzzy +msgid "Your phone number (optional)" +msgstr "Por favor, introduzca su número de teléfono (opcional)" + +#: templates/save_offline.html:13 +msgid "discard" +msgstr "eliminar" + +#: templates/address_search.html:10 +msgid "e.g. ‘B2 4QA’ or ‘Tib St, Manchester’" +msgstr "ej. ‘10103’ o ‘Ave. Alma Mater, Santo Domingo’" + +#: templates/strings.js:45 +msgid "required" +msgstr "requerido(a)" + +#: templates/save_offline.html:12 +msgid "save" +msgstr "guardar" diff --git a/res/cuidomiciudad/android/drawable-hdpi/screen.9.png b/res/cuidomiciudad/android/drawable-hdpi/screen.9.png Binary files differnew file mode 100644 index 0000000..a29b587 --- /dev/null +++ b/res/cuidomiciudad/android/drawable-hdpi/screen.9.png diff --git a/res/cuidomiciudad/android/drawable-ldpi/screen.9.png b/res/cuidomiciudad/android/drawable-ldpi/screen.9.png Binary files differnew file mode 100644 index 0000000..79624fc --- /dev/null +++ b/res/cuidomiciudad/android/drawable-ldpi/screen.9.png diff --git a/res/cuidomiciudad/android/drawable-mdpi/screen.9.png b/res/cuidomiciudad/android/drawable-mdpi/screen.9.png Binary files differnew file mode 100644 index 0000000..1835259 --- /dev/null +++ b/res/cuidomiciudad/android/drawable-mdpi/screen.9.png diff --git a/res/cuidomiciudad/android/drawable-xhdpi/screen.9.png b/res/cuidomiciudad/android/drawable-xhdpi/screen.9.png Binary files differnew file mode 100644 index 0000000..12a4b2a --- /dev/null +++ b/res/cuidomiciudad/android/drawable-xhdpi/screen.9.png diff --git a/res/cuidomiciudad/android/drawable-xxhdpi/screen.9.png b/res/cuidomiciudad/android/drawable-xxhdpi/screen.9.png Binary files differnew file mode 100644 index 0000000..5114bee --- /dev/null +++ b/res/cuidomiciudad/android/drawable-xxhdpi/screen.9.png diff --git a/res/cuidomiciudad/android/drawable-xxxhdpi/screen.9.png b/res/cuidomiciudad/android/drawable-xxxhdpi/screen.9.png Binary files differnew file mode 100644 index 0000000..72e0385 --- /dev/null +++ b/res/cuidomiciudad/android/drawable-xxxhdpi/screen.9.png diff --git a/res/cuidomiciudad/android/icons/ic_hdpi.png b/res/cuidomiciudad/android/icons/ic_hdpi.png Binary files differnew file mode 100644 index 0000000..f140bbb --- /dev/null +++ b/res/cuidomiciudad/android/icons/ic_hdpi.png diff --git a/res/cuidomiciudad/android/icons/ic_ldpi.png b/res/cuidomiciudad/android/icons/ic_ldpi.png Binary files differnew file mode 100644 index 0000000..8caeba4 --- /dev/null +++ b/res/cuidomiciudad/android/icons/ic_ldpi.png diff --git a/res/cuidomiciudad/android/icons/ic_mdpi.png b/res/cuidomiciudad/android/icons/ic_mdpi.png Binary files differnew file mode 100644 index 0000000..b40abbe --- /dev/null +++ b/res/cuidomiciudad/android/icons/ic_mdpi.png diff --git a/res/cuidomiciudad/android/icons/ic_xhdpi.png b/res/cuidomiciudad/android/icons/ic_xhdpi.png Binary files differnew file mode 100644 index 0000000..8b3dcde --- /dev/null +++ b/res/cuidomiciudad/android/icons/ic_xhdpi.png diff --git a/res/cuidomiciudad/android/icons/ic_xxhdpi.png b/res/cuidomiciudad/android/icons/ic_xxhdpi.png Binary files differnew file mode 100644 index 0000000..229c5dc --- /dev/null +++ b/res/cuidomiciudad/android/icons/ic_xxhdpi.png diff --git a/res/cuidomiciudad/android/icons/ic_xxxhdpi.png b/res/cuidomiciudad/android/icons/ic_xxxhdpi.png Binary files differnew file mode 100644 index 0000000..a14e4c8 --- /dev/null +++ b/res/cuidomiciudad/android/icons/ic_xxxhdpi.png diff --git a/res/cuidomiciudad/ios/icons/Icon-60@2x.png b/res/cuidomiciudad/ios/icons/Icon-60@2x.png Binary files differnew file mode 100644 index 0000000..2bffeb4 --- /dev/null +++ b/res/cuidomiciudad/ios/icons/Icon-60@2x.png diff --git a/res/cuidomiciudad/ios/icons/Icon-60@3x.png b/res/cuidomiciudad/ios/icons/Icon-60@3x.png Binary files differnew file mode 100644 index 0000000..75aa7b5 --- /dev/null +++ b/res/cuidomiciudad/ios/icons/Icon-60@3x.png diff --git a/res/cuidomiciudad/ios/icons/Icon-72.png b/res/cuidomiciudad/ios/icons/Icon-72.png Binary files differnew file mode 100644 index 0000000..4aff339 --- /dev/null +++ b/res/cuidomiciudad/ios/icons/Icon-72.png diff --git a/res/cuidomiciudad/ios/icons/Icon-72@2x.png b/res/cuidomiciudad/ios/icons/Icon-72@2x.png Binary files differnew file mode 100644 index 0000000..1afe83a --- /dev/null +++ b/res/cuidomiciudad/ios/icons/Icon-72@2x.png diff --git a/res/cuidomiciudad/ios/icons/Icon-76.png b/res/cuidomiciudad/ios/icons/Icon-76.png Binary files differnew file mode 100644 index 0000000..1535f2f --- /dev/null +++ b/res/cuidomiciudad/ios/icons/Icon-76.png diff --git a/res/cuidomiciudad/ios/icons/Icon-76@2x.png b/res/cuidomiciudad/ios/icons/Icon-76@2x.png Binary files differnew file mode 100644 index 0000000..f3370db --- /dev/null +++ b/res/cuidomiciudad/ios/icons/Icon-76@2x.png diff --git a/res/cuidomiciudad/ios/icons/Icon-Small-40.png b/res/cuidomiciudad/ios/icons/Icon-Small-40.png Binary files differnew file mode 100644 index 0000000..d583cd6 --- /dev/null +++ b/res/cuidomiciudad/ios/icons/Icon-Small-40.png diff --git a/res/cuidomiciudad/ios/icons/Icon-Small-40@2x.png b/res/cuidomiciudad/ios/icons/Icon-Small-40@2x.png Binary files differnew file mode 100644 index 0000000..b2b5bb8 --- /dev/null +++ b/res/cuidomiciudad/ios/icons/Icon-Small-40@2x.png diff --git a/res/cuidomiciudad/ios/icons/Icon-Small-40@3x.png b/res/cuidomiciudad/ios/icons/Icon-Small-40@3x.png Binary files differnew file mode 100644 index 0000000..602b735 --- /dev/null +++ b/res/cuidomiciudad/ios/icons/Icon-Small-40@3x.png diff --git a/res/cuidomiciudad/ios/icons/Icon-Small-50.png b/res/cuidomiciudad/ios/icons/Icon-Small-50.png Binary files differnew file mode 100644 index 0000000..9e532c4 --- /dev/null +++ b/res/cuidomiciudad/ios/icons/Icon-Small-50.png diff --git a/res/cuidomiciudad/ios/icons/Icon-Small-50@2x.png b/res/cuidomiciudad/ios/icons/Icon-Small-50@2x.png Binary files differnew file mode 100644 index 0000000..6704db7 --- /dev/null +++ b/res/cuidomiciudad/ios/icons/Icon-Small-50@2x.png diff --git a/res/cuidomiciudad/ios/icons/Icon-Small.png b/res/cuidomiciudad/ios/icons/Icon-Small.png Binary files differnew file mode 100644 index 0000000..d4ab317 --- /dev/null +++ b/res/cuidomiciudad/ios/icons/Icon-Small.png diff --git a/res/cuidomiciudad/ios/icons/Icon-Small@2x.png b/res/cuidomiciudad/ios/icons/Icon-Small@2x.png Binary files differnew file mode 100644 index 0000000..0354fbf --- /dev/null +++ b/res/cuidomiciudad/ios/icons/Icon-Small@2x.png diff --git a/res/cuidomiciudad/ios/icons/Icon-Small@3x.png b/res/cuidomiciudad/ios/icons/Icon-Small@3x.png Binary files differnew file mode 100644 index 0000000..afb46d2 --- /dev/null +++ b/res/cuidomiciudad/ios/icons/Icon-Small@3x.png diff --git a/res/cuidomiciudad/ios/icons/Icon.png b/res/cuidomiciudad/ios/icons/Icon.png Binary files differnew file mode 100644 index 0000000..c3a7dae --- /dev/null +++ b/res/cuidomiciudad/ios/icons/Icon.png diff --git a/res/cuidomiciudad/ios/icons/Icon@2x.png b/res/cuidomiciudad/ios/icons/Icon@2x.png Binary files differnew file mode 100644 index 0000000..2858908 --- /dev/null +++ b/res/cuidomiciudad/ios/icons/Icon@2x.png diff --git a/res/cuidomiciudad/ios/launch/launch-ipad.png b/res/cuidomiciudad/ios/launch/launch-ipad.png Binary files differnew file mode 100644 index 0000000..5b3b8fd --- /dev/null +++ b/res/cuidomiciudad/ios/launch/launch-ipad.png diff --git a/res/cuidomiciudad/ios/launch/launch-ipad@2x.png b/res/cuidomiciudad/ios/launch/launch-ipad@2x.png Binary files differnew file mode 100644 index 0000000..cddcb70 --- /dev/null +++ b/res/cuidomiciudad/ios/launch/launch-ipad@2x.png diff --git a/res/cuidomiciudad/ios/launch/launch-iphone1234.png b/res/cuidomiciudad/ios/launch/launch-iphone1234.png Binary files differnew file mode 100644 index 0000000..f1db791 --- /dev/null +++ b/res/cuidomiciudad/ios/launch/launch-iphone1234.png diff --git a/res/cuidomiciudad/ios/launch/launch-iphone1234@2x.png b/res/cuidomiciudad/ios/launch/launch-iphone1234@2x.png Binary files differnew file mode 100644 index 0000000..a8b0f67 --- /dev/null +++ b/res/cuidomiciudad/ios/launch/launch-iphone1234@2x.png diff --git a/res/cuidomiciudad/ios/launch/launch-iphone5.png b/res/cuidomiciudad/ios/launch/launch-iphone5.png Binary files differnew file mode 100644 index 0000000..2113887 --- /dev/null +++ b/res/cuidomiciudad/ios/launch/launch-iphone5.png diff --git a/res/cuidomiciudad/ios/launch/launch-iphone67.png b/res/cuidomiciudad/ios/launch/launch-iphone67.png Binary files differnew file mode 100644 index 0000000..d8e00f7 --- /dev/null +++ b/res/cuidomiciudad/ios/launch/launch-iphone67.png diff --git a/res/cuidomiciudad/ios/launch/launch-iphone67plus.png b/res/cuidomiciudad/ios/launch/launch-iphone67plus.png Binary files differnew file mode 100644 index 0000000..8e8f041 --- /dev/null +++ b/res/cuidomiciudad/ios/launch/launch-iphone67plus.png diff --git a/templates/address_search.html b/templates/address_search.html index b8bc71e..59ed708 100644 --- a/templates/address_search.html +++ b/templates/address_search.html @@ -1,16 +1,16 @@ <div id="search-header" data-role="header"> - <a href="#" id="locate" data-transition="slidedown" class="ui-btn-left">Cancel</a> - <h1>Search</h1> + <a href="#" id="locate" data-transition="slidedown" class="ui-btn-left">[% loc('Cancel') %]</a> + <h1>[% loc('Search') %]</h1> </div> <div data-role="content"> <div id="front-main"> - <h3 class="notopmargin">Enter a nearby GB postcode, or street name and area</h3> + <h3 class="notopmargin">[% loc('Enter a nearby GB postcode, or street name and area') %]</h3> <form class="inputcard" name="postcodeForm" id="postcodeForm"> <div> - <input data-role="none" type="text" name="pc" value="" id="pc" size="10" maxlength="200" placeholder="e.g. ‘B2 4QA’ or ‘Tib St, Manchester’"> + <input data-role="none" type="text" name="pc" value="" id="pc" size="10" maxlength="200" placeholder="[% loc('e.g. ‘B2 4QA’ or ‘Tib St, Manchester’') %]"> </div> </form> - <input type="button" value="Go" id="submit" data-theme="a"> + <input type="button" value="[% loc('Go') %]" id="submit" data-theme="a"> </div> <div id="front-howto"> diff --git a/templates/android_error.html b/templates/android_error.html new file mode 100644 index 0000000..ddcc33c --- /dev/null +++ b/templates/android_error.html @@ -0,0 +1,17 @@ +<!DOCTYPE html> +<html> + <head> + <title></title> + <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no;" /> + <meta charset="utf-8"> + + <link rel="stylesheet" href="css/fms.css" type="text/css" media="screen" title="no title" charset="utf-8"> + + </head> + <body> + <div id="load-screen"> + <div class="radar"></div> + <p>[% loc('There seems to have been a problem starting the app. Please quit and try again.') %]</p> + </div> + </body> +</html> diff --git a/templates/details.html b/templates/details.html index 1b68026..930c974 100644 --- a/templates/details.html +++ b/templates/details.html @@ -1,4 +1,5 @@ <div data-role="header"> + <a data-rel="back" data-icon="arrow-l" class="ui-btn-left">[% loc('Back') %]</a> <h1>[% loc('Details') %]</h1> <a id="next" data-icon="arrow-r" data-iconpos="right" class="ui-btn-right">[% loc('Next') %]</a> </div> diff --git a/templates/details_extra.html b/templates/details_extra.html index 8449447..6ef02b3 100644 --- a/templates/details_extra.html +++ b/templates/details_extra.html @@ -1,4 +1,5 @@ <div data-role="header" data-position="fixed"> + <a data-rel="back" data-icon="arrow-l" class="ui-btn-left">[% loc('Back') %]</a> <h1>[% loc('Further Details') %]</h1> <a id="next" data-icon="arrow-r" data-iconpos="right" class="ui-btn-right">[% loc('Next') %]</a> </div> diff --git a/templates/existing.html b/templates/existing.html index ac2739a..1c326b8 100644 --- a/templates/existing.html +++ b/templates/existing.html @@ -10,7 +10,7 @@ <div class="meta"> <p> <% if ( category && category != '[% loc('-- Pick a category --') %]' ) { %> - [% tprintf('Saved in the %s category', '<%= category %>') %] + [% tprintf(loc('Saved in the %s category'), '<%= category %>') %] <% } %> </p> diff --git a/templates/login.html b/templates/login.html index 46e3c10..43e93d9 100644 --- a/templates/login.html +++ b/templates/login.html @@ -6,7 +6,7 @@ <div data-role="content"> <% if ( FMS.isLoggedIn ) { %> <div id="signed_in_row"> - <p class="notopmargin">[% tprintf('You are signed in as %s', '<%= email %>') %]</p> + <p class="notopmargin">[% tprintf(loc('You are signed in as %s'), '<%= email %>') %]</p> <div id="err" class="nodisplay"></div> <div class="bottom-btn"> <input type="button" id="logout" name="logout" value="[% loc('Sign Out') %]" data-theme="a"> @@ -27,7 +27,7 @@ <input data-role="none" type="password" value="" name="password" id="form_password" placeholder="[% loc('Your password') %]" required> </div> <div class="noborder"> - <input type="submit" id="login" name="login" value="Login" data-theme="a"> + <input type="submit" id="login" name="login" value="[% loc('Login') %]" data-theme="a"> </div> </form> </div> diff --git a/templates/photo.html b/templates/photo.html index 100be7a..286dac3 100644 --- a/templates/photo.html +++ b/templates/photo.html @@ -1,4 +1,5 @@ <div data-role="header"> + <a data-rel="back" data-icon="arrow-l" class="ui-btn-left">[% loc('Back') %]</a> <h1>[% loc('Add Photo') %]</h1> <% if ( file == '' ) { %> <a id="photo-next-btn" data-icon="arrow-r" data-iconpos="right" class="ui-btn-right">[% loc('Skip') %]</a> diff --git a/templates/submit.html b/templates/submit.html index a3b1c73..3a9629f 100644 --- a/templates/submit.html +++ b/templates/submit.html @@ -1,5 +1,6 @@ <div id="submit-header" data-role="header" data-position="fixed" data-id="locate"> - <h1>Submit</h1> + <a data-rel="back" data-icon="arrow-l" class="ui-btn-left">[% loc('Back') %]</a> + <h1>[% loc('Submit') %]</h1> </div> <div class="container" data-role="content" data-enhance="false"> @@ -11,69 +12,69 @@ <% if ( user && user.password ) { %> <div id="signed_in"> <p> - You are signed in as <span id="username"><%= user.name %></span> + [% tprintf(loc('You are signed in as <span id="username">%s</span>'), '<%= user.name %>') %] </p> - <p id="confirm_details">Confirm details</p> + <p id="confirm_details">[% loc('Confirm details') %]</p> <div id="name_details"> - <label for="form_may_show_name">Name</label> - <input type="text" class="validName" value="<%= user.name %>" name="name" id="form_name" placeholder="Your name"> + <label for="form_may_show_name">[% loc('Name') %]</label> + <input type="text" class="validName" value="<%= user.name %>" name="name" id="form_name" placeholder="[% loc('Your name') %]"> <div class="checkbox-group"> <input type="checkbox" name="may_show_name" id="form_may_show_name" value="1" checked> - <label class="inline" for="form_may_show_name">Show my name publicly</label> + <label class="inline" for="form_may_show_name">[% loc('Show my name publicly') %]</label> </div> - <label for="form_phone">Phone number</label> - <input type="text" value="<%= user.phone %>" name="phone" id="form_phone" placeholder="Your phone number (optional)"> + <label for="form_phone">[% loc('Phone number') %]</label> + <input type="text" value="<%= user.phone %>" name="phone" id="form_phone" placeholder="[% loc('Your phone number (optional)') %]"> </div> <div class="form-txt-submit-box"> - <input class="green-btn" type="button" id="submit_signed_in" name="submit_signed_in" value="Report"> + <input class="green-btn" type="button" id="submit_signed_in" name="submit_signed_in" value="[% loc('Report') %]"> </div> </div> <% } else { %> <div id="signed_out"> - <label for="form_email" id="email_label">Your email</label> - <input type="email" value="<%= user.email %>" name="email" id="form_email" placeholder="Please enter your email address" required> + <label for="form_email" id="email_label">[% loc('Your email') %]</label> + <input type="email" value="<%= user.email %>" name="email" id="form_email" placeholder="[% loc('Please enter your email address') %]" required> <div id="form_sign_in"> - <h4 id="have_password">Do you have a <% print( CONFIG.APP_NAME ) %> password?</h4> + <h4 id="have_password">[% tprintf(loc('Do you have a %s password?'), '<%= CONFIG.APP_NAME %>') %]</h4> <div id="form_sign_in_yes" class="form-box"> - <h5><strong>Yes</strong> I have a password</h5> + <h5>[% loc('<strong>Yes</strong> I have a password') %]</h5> - <label class="hidden-js n" for="password_sign_in">Yes I have a password</label> + <label class="hidden-js n" for="password_sign_in">[% loc('Yes I have a password') %]</label> <div class="form-txt-submit-box"> - <input type="password" name="password_sign_in" id="password_sign_in" placeholder="Your password" value=""> - <input class="green-btn" type="button" id="submit_sign_in" name="submit_sign_in" value="Report"> + <input type="password" name="password_sign_in" id="password_sign_in" placeholder="[% loc('Your password') %]" value=""> + <input class="green-btn" type="button" id="submit_sign_in" name="submit_sign_in" value="[% loc('Report') %]"> </div> </div> <div id="form_sign_in_no" class="form-box"> - <h5 id="let_me_confirm"><strong>No</strong> Let me confirm my report by email</h5> + <h5 id="let_me_confirm">[% loc('<strong>No</strong> Let me confirm my report by email') %]</h5> <div id="name_details"> - <label for="form_may_show_name">Name</label> - <input type="text" class="validName" value="<%= user.name %>" name="name" id="form_name" placeholder="Your name"> + <label for="form_may_show_name">[% loc('Name') %]</label> + <input type="text" class="validName" value="<%= user.name %>" name="name" id="form_name" placeholder="[% loc('Your name') %]"> <div class="checkbox-group"> <input type="checkbox" name="may_show_name" id="form_may_show_name" value="1" checked> - <label class="inline" for="form_may_show_name">Show my name publicly</label> + <label class="inline" for="form_may_show_name">[% loc('Show my name publicly') %]</label> </div> - <label for="form_phone">Phone number</label> - <input type="text" value="<%= user.phone %>" name="phone" id="form_phone" placeholder="Your phone number (optional)"> + <label for="form_phone">[% loc('Phone number') %]</label> + <input type="text" value="<%= user.phone %>" name="phone" id="form_phone" placeholder="[% loc('Your phone number (optional)') %]"> </div> <div id="password_surround"> - <label class="form-focus-hidden" for="password_register" id="password_label">Password</label> + <label class="form-focus-hidden" for="password_register" id="password_label">[% loc('Password') %]</label> </div> <div class="form-txt-submit-box form-focus-hidden"> - <input type="password" name="password_register" id="password_register" value="" placeholder="Enter a password (optional)"> - <input class="green-btn" type="button" id="submit_register" name="submit_register" value="Report"> + <input type="password" name="password_register" id="password_register" value="" placeholder="[% loc('Enter a password (optional)') %]"> + <input class="green-btn" type="button" id="submit_register" name="submit_register" value="[% loc('Report') %]"> </div> </div> @@ -82,9 +83,9 @@ <% } %> <div id="report_save" class="form-box"> - <h5>Save this report for completion later</h5> + <h5>[% loc('Save this report for completion later') %]</h5> <div class="form-txt-submit-box"> - <input class="green-btn" type="button" id="save_report" name="save_report" value="Save"> + <input class="green-btn" type="button" id="save_report" name="save_report" value="[% loc('Save') %]"> </div> </div> </div> diff --git a/templates/submit_confirm.html b/templates/submit_confirm.html index be34c4d..bca55fc 100644 --- a/templates/submit_confirm.html +++ b/templates/submit_confirm.html @@ -1,10 +1,11 @@ <div id="submit-header" data-role="header"> + <a data-rel="back" data-icon="arrow-l" class="ui-btn-left">[% loc('Back') %]</a> <h1>[% loc('Your details') %]</h1> </div> <div data-role="content"> <p class="notopmargin"> - [% tprintf('You are logged in as %s', '<%= user.email %>') %]. + [% tprintf(loc('You are logged in as %s'), '<%= user.email %>') %]. </p> <p> diff --git a/templates/submit_email.html b/templates/submit_email.html index 17f1824..24fc539 100644 --- a/templates/submit_email.html +++ b/templates/submit_email.html @@ -1,4 +1,5 @@ <div id="submit-header" data-role="header"> + <a data-rel="back" data-icon="arrow-l" class="ui-btn-left">[% loc('Back') %]</a> <h1>[% loc('Your details') %]</h1> </div> diff --git a/templates/submit_name.html b/templates/submit_name.html index 23d9cf4..dbd1197 100644 --- a/templates/submit_name.html +++ b/templates/submit_name.html @@ -1,4 +1,5 @@ <div id="submit-header" data-role="header"> + <a data-rel="back" data-icon="arrow-l" class="ui-btn-left">[% loc('Back') %]</a> <h1>[% loc('Your details') %]</h1> </div> diff --git a/templates/submit_password.html b/templates/submit_password.html index baf2e52..ff37992 100644 --- a/templates/submit_password.html +++ b/templates/submit_password.html @@ -1,4 +1,5 @@ <div id="submit-header" data-role="header"> + <a data-rel="back" data-icon="arrow-l" class="ui-btn-left">[% loc('Back') %]</a> <h1>[% loc('Your details') %]</h1> </div> diff --git a/templates/submit_set_password.html b/templates/submit_set_password.html index a57cb86..ee681cc 100644 --- a/templates/submit_set_password.html +++ b/templates/submit_set_password.html @@ -1,4 +1,5 @@ <div id="submit-header" data-role="header"> + <a data-rel="back" data-icon="arrow-l" class="ui-btn-left">[% loc('Back') %]</a> <h1>[% loc('Your details') %]</h1> </div> diff --git a/www/cobrands/cuidomiciudad/css/config.rb b/www/cobrands/cuidomiciudad/css/config.rb new file mode 100644 index 0000000..bc3984a --- /dev/null +++ b/www/cobrands/cuidomiciudad/css/config.rb @@ -0,0 +1,2 @@ +css_dir = "." +sass_dir = "." diff --git a/www/cobrands/cuidomiciudad/css/style.css b/www/cobrands/cuidomiciudad/css/style.css new file mode 100644 index 0000000..b50f822 --- /dev/null +++ b/www/cobrands/cuidomiciudad/css/style.css @@ -0,0 +1,164 @@ +/* line 8, style.scss */ +.ios7 .ui-bar-a, +body.ios7 { + background-color: #005cb9; +} + +/* line 13, style.scss */ +.ios7 .ui-bar-a { + border-color: #005cb9; +} + +/* line 17, style.scss */ +#load-screen, +#locating { + background: #005cb9; + color: white; +} + +/* line 23, style.scss */ +#locating #progress-bar { + background-color: #FFFF99; +} + +/* line 27, style.scss */ +#view-my-reports .draft_count { + background-color: #ba151c; + color: #fff; + border-color: #ffea3d; +} + +/* line 33, style.scss */ +#display-help { + background-color: #eed11c; + color: grey; +} + +/* line 39, style.scss */ +.ui-bar-a, .ui-btn-up-a, .ui-btn-hover-a, .ui-btn-down-a { + color: #eee; + border-color: #00366d; + background: #0069d3; +} + +/* line 46, style.scss */ +.ui-corner-all, +.ui-btn-corner-all { + -webkit-border-radius: 3px; + border-radius: 3px; +} + +/* line 55, style.scss */ +#around-page .ui-header .ui-title { + text-indent: -99999px; + margin: 0; + padding-top: 0.6em; + padding-bottom: 0.6em; + background-image: url("../images/logo-footer.png"); + background-repeat: no-repeat; + background-size: 35% auto; +} +@media (max-width: 374px) { + /* line 71, style.scss */ + #around-page .ui-header .ui-title { + background-position: 55% 18%; + } + /* line 76, style.scss */ + #around-page .ui-header .ui-btn-inner { + padding-left: 0.35em; + padding-right: 0.35em; + } + /* line 80, style.scss */ + #around-page .ui-header .ui-btn-icon-left .ui-btn-inner { + padding-left: 30px; + } +} +@media (max-width: 414px) { + /* line 87, style.scss */ + #around-page .ui-header .ui-title { + background-position: 55% top; + } +} +@media (min-width: 415px) { + /* line 94, style.scss */ + #around-page .ui-header .ui-title { + background-position: center top; + background-size: auto 75%; + } +} + +/* line 101, style.scss */ +#load-screen .radar, +#locating .radar { + background-image: url("../images/radar-cuidomiciudad.png"); +} + +/* line 106, style.scss */ +.ui-icon { + background-image: url("../../../css/images/icons-18-white.png"); +} + +@media only screen and (-webkit-min-device-pixel-ratio: 1.3), only screen and (min--moz-device-pixel-ratio: 1.3), only screen and (min-resolution: 200dpi) { + /* line 112, style.scss */ + .ui-icon { + background-image: url("../../../css/images/icons-36-white.png"); + } +} +/* line 117, style.scss */ +div[data-role='header'] .ui-icon-fms-account { + background-image: url(../../../images/user-white@x2.png); + background-size: 18px 18px; +} + +@media only screen and (-webkit-min-device-pixel-ratio: 1.3), only screen and (min--moz-device-pixel-ratio: 1.3), only screen and (min-resolution: 200dpi) { + /* line 124, style.scss */ + div[data-role='header'] .ui-icon-fms-account { + background-image: url(../../../images/user-white@x2.png); + } +} +/* line 129, style.scss */ +#helpContent { + background-color: #005cb9; + text-shadow: none; + color: white; + padding: 1em; +} +/* line 135, style.scss */ +#helpContent h1 { + text-align: center; + background-image: url("../images/logo-footer.png"); + background-size: contain; + height: 2em; + background-repeat: no-repeat; + background-position: center top; + text-indent: -9999999px; +} +/* line 144, style.scss */ +#helpContent h2 { + text-align: center; +} +/* line 148, style.scss */ +#helpContent img { + width: 200px; + display: block; + margin: 0.5em auto; +} +/* line 153, style.scss */ +#helpContent img.last-image { + margin-bottom: 3em; +} +/* line 158, style.scss */ +#helpContent a, #helpContent a:visited { + color: #eed11c; +} + +/* line 163, style.scss */ +#dismiss { + color: white; + text-shadow: 0px 1px 0px silver; +} + +/* line 169, style.scss */ +#locating p { + text-shadow: none; +} diff --git a/www/cobrands/cuidomiciudad/css/style.scss b/www/cobrands/cuidomiciudad/css/style.scss new file mode 100644 index 0000000..3976a23 --- /dev/null +++ b/www/cobrands/cuidomiciudad/css/style.scss @@ -0,0 +1,171 @@ +@import "compass"; + +$color-cmc-blue: #005cb9; +$color-cmc-yellow: #eed11c; +$color-cmc-green: #00ad68; +$text-color: #eee; + +.ios7 .ui-bar-a, +body.ios7 { + background-color: $color-cmc-blue; +} + +.ios7 .ui-bar-a { + border-color: $color-cmc-blue; +} + +#load-screen, +#locating { + background: $color-cmc-blue; + color: white; +} + +#locating #progress-bar { + background-color: #FFFF99; +} + +#view-my-reports .draft_count { + background-color: rgb(186,21,28); + color: #fff; + border-color: #ffea3d; +} + +#display-help { + background-color: $color-cmc-yellow; + color: grey; +} + + +.ui-bar-a, .ui-btn-up-a, .ui-btn-hover-a, .ui-btn-down-a { + color: $text-color; + border-color: darken($color-cmc-blue, 15%); + @include background(lighten($color-cmc-blue, 5%)); +// @include background(linear-gradient(-90deg, darken($color-cmc-blue, 5%), lighten($color-cmc-blue, 5%) 98%)); +} + +.ui-corner-all, +.ui-btn-corner-all { + -webkit-border-radius: 3px; + border-radius: 3px; +} + + +#around-page .ui-header { + // We want the CMC logo in the header instead of plain text + .ui-title { + text-indent: -99999px; + margin: 0; + padding-top: 0.6em; + padding-bottom: 0.6em; + background-image: url('../images/logo-footer.png'); + background-repeat: no-repeat; + background-size: 35% auto; + } + + // background image is sized according to screen size, + // so it's centered on the screen and the baseline matches + // the buttons + + // up to iPhone 6 size + @media (max-width: 374px) { + .ui-title { + background-position: 55% 18%; + } + // On narrow screens (e.g. iPhone 5S), make the button padding a little + // tighter to make room for the logo + .ui-btn-inner { + padding-left: 0.35em; + padding-right: 0.35em; + } + .ui-btn-icon-left .ui-btn-inner { + padding-left: 30px; + } + } + + // up to & including iPhone 6+ size + @media (max-width: 414px) { + .ui-title { + background-position: 55% top; + } + } + + // bigger than iPhone 6, e.g. high res android or iPad + @media (min-width: 415px) { + .ui-title { + background-position: center top; + background-size: auto 75%; + } + } +} + +#load-screen .radar, +#locating .radar { + background-image: url('../images/radar-cuidomiciudad.png'); +} + +.ui-icon { + background-image: url("../../../css/images/icons-18-white.png"); +} +@media only screen and (-webkit-min-device-pixel-ratio: 1.3), + only screen and (min--moz-device-pixel-ratio: 1.3), + only screen and (min-resolution: 200dpi) { + .ui-icon { + background-image: url("../../../css/images/icons-36-white.png"); + } +} + +div[data-role='header'] .ui-icon-fms-account { + background-image: url(../../../images/user-white@x2.png); + background-size: 18px 18px; +} +@media only screen and (-webkit-min-device-pixel-ratio: 1.3), + only screen and (min--moz-device-pixel-ratio: 1.3), + only screen and (min-resolution: 200dpi) { + div[data-role='header'] .ui-icon-fms-account { + background-image: url(../../../images/user-white@x2.png); + } +} + +#helpContent { + background-color: $color-cmc-blue; + text-shadow: none; + color: white; + padding: 1em; + + h1 { + text-align: center; + background-image: url('../images/logo-footer.png'); + background-size: contain; + height: 2em; + background-repeat: no-repeat; + background-position: center top; + text-indent: -9999999px; + } + h2 { + text-align: center; + } + + img { + width: 200px; + display: block; + margin: 0.5em auto; + + &.last-image { + margin-bottom: 3em; + } + } + + a, a:visited { + color: $color-cmc-yellow; + } +} + +#dismiss { + color: white; + text-shadow: 0px 1px 0px silver; +} + + +#locating p { + text-shadow: none; +} diff --git a/www/cobrands/cuidomiciudad/images/fms-pin.png b/www/cobrands/cuidomiciudad/images/fms-pin.png Binary files differnew file mode 100644 index 0000000..999a341 --- /dev/null +++ b/www/cobrands/cuidomiciudad/images/fms-pin.png diff --git a/www/cobrands/cuidomiciudad/images/fms-pin.svg b/www/cobrands/cuidomiciudad/images/fms-pin.svg new file mode 100644 index 0000000..9c66e90 --- /dev/null +++ b/www/cobrands/cuidomiciudad/images/fms-pin.svg @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<svg width="35px" height="55px" viewBox="0 0 35 55" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> + <!-- Generator: Sketch 41.2 (35397) - http://www.bohemiancoding.com/sketch --> + <title>fms-pin</title> + <desc>Created with Sketch.</desc> + <defs></defs> + <g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"> + <g> + <g transform="translate(1.000000, 0.000000)"> + <path d="M20.9002058,42.797102 C20.1120881,42.2502892 19.8564824,41.2449421 20.3854443,40.46072 C25.127463,33.4250046 32.9900017,22.9798514 32.9900017,15.8567146 C32.9900017,7.09571049 25.5676729,0 16.4954446,0 C7.42232881,0 0,7.09571049 0,15.8567146 C0,22.9798514 8.14388247,33.9135365 12.8299875,40.8601162 C13.3261111,41.593771 13.143282,42.5451224 12.4456914,43.1047914 C10.4922601,44.6732356 9.43611143,47.2410275 10.1922784,49.9999467 C10.8144298,52.2703341 12.7394604,54.1301833 15.1011509,54.6855668 C19.6692157,55.7611939 23.7935206,52.5317414 23.7935206,48.2078062 C23.7935206,45.9794155 22.64862,44.0081467 20.9002058,42.797102" fill="#EED11C"></path> + <path d="M16.879503,50.2896612 C15.6098323,50.2896612 14.6124866,49.1265395 14.9581977,47.8415262 C15.1332637,47.1942983 15.6805661,46.6620951 16.3481157,46.4929918 C17.6708367,46.156502 18.8697736,47.1256269 18.8697736,48.35742 C18.8697736,49.4432863 17.9749918,50.2896612 16.879503,50.2896612 Z M17.837061,8.45642448 C14.717703,7.94310585 11.4047115,9.15687265 9.41355668,11.5449202 C5.47368735,16.2695118 7.38172999,22.9572466 12.6779188,25.279198 C13.6478552,25.7049606 14.6522743,25.9444521 15.6558092,26.0311497 L15.5532453,26.0749277 L15.5532453,32.7952815 L23.7654326,22.4808389 L23.7592434,22.4834141 C24.1350164,21.9864049 24.4656966,21.4447593 24.7397898,20.8567605 C27.1323586,15.7149903 24.0103481,9.47190265 17.837061,8.45642448 Z" fill="#FFFFFF"></path> + </g> + </g> + </g> +</svg>
\ No newline at end of file diff --git a/www/cobrands/cuidomiciudad/images/fms-pin@2x.png b/www/cobrands/cuidomiciudad/images/fms-pin@2x.png Binary files differnew file mode 100644 index 0000000..58d8501 --- /dev/null +++ b/www/cobrands/cuidomiciudad/images/fms-pin@2x.png diff --git a/www/cobrands/cuidomiciudad/images/logo-footer.png b/www/cobrands/cuidomiciudad/images/logo-footer.png Binary files differnew file mode 100644 index 0000000..ece1ff8 --- /dev/null +++ b/www/cobrands/cuidomiciudad/images/logo-footer.png diff --git a/www/cobrands/cuidomiciudad/images/radar-cuidomiciudad.png b/www/cobrands/cuidomiciudad/images/radar-cuidomiciudad.png Binary files differnew file mode 100644 index 0000000..2c8fb35 --- /dev/null +++ b/www/cobrands/cuidomiciudad/images/radar-cuidomiciudad.png diff --git a/www/cobrands/cuidomiciudad/images/step1.png b/www/cobrands/cuidomiciudad/images/step1.png Binary files differnew file mode 100644 index 0000000..abf2b7b --- /dev/null +++ b/www/cobrands/cuidomiciudad/images/step1.png diff --git a/www/cobrands/cuidomiciudad/images/step2.png b/www/cobrands/cuidomiciudad/images/step2.png Binary files differnew file mode 100644 index 0000000..f5cdd3b --- /dev/null +++ b/www/cobrands/cuidomiciudad/images/step2.png diff --git a/www/cobrands/cuidomiciudad/images/step3.png b/www/cobrands/cuidomiciudad/images/step3.png Binary files differnew file mode 100644 index 0000000..f5862e4 --- /dev/null +++ b/www/cobrands/cuidomiciudad/images/step3.png diff --git a/www/cobrands/cuidomiciudad/templates/es/help.html b/www/cobrands/cuidomiciudad/templates/es/help.html new file mode 100644 index 0000000..a288cbd --- /dev/null +++ b/www/cobrands/cuidomiciudad/templates/es/help.html @@ -0,0 +1,9 @@ +<h1><% print( CONFIG.APP_NAME ) %></h1> + +<h2>¿Cómo reportar un problema?</h2> + +<img src="cobrands/cuidomiciudad/images/step1.png" /> + +<img src="cobrands/cuidomiciudad/images/step2.png" /> + +<img class="last-image" src="cobrands/cuidomiciudad/images/step3.png" />
\ No newline at end of file diff --git a/www/cobrands/cuidomiciudad/templates/es/initial_help.html b/www/cobrands/cuidomiciudad/templates/es/initial_help.html new file mode 100644 index 0000000..c975f4b --- /dev/null +++ b/www/cobrands/cuidomiciudad/templates/es/initial_help.html @@ -0,0 +1,18 @@ +<h1><% print( CONFIG.APP_NAME ) %></h1> +<p> +CuidoMiCiudad es una plataforma colaborativa donde los ciudadanos cumplen un rol +central en el cuidado de la ciudad. Es el canal más efectivo para poner un +reporte en nuestra circunscripción para hacerlo llegar a las manos +correspondientes de su solución. Es un espacio para los vecinos y vecina +discutir y proponer soluciones a los problemas locales que nos afectan. +</p> + + +<h2>¿Qué tipo de problemas puedo reportar?</h2> +<ul> + <li>Construcciones <small>Ilegales</small></li> + <li>Basura</li> + <li>Ocupación <small>Espacios Públicos</small></li> + <li>Letreros y Vallas <small>Ilegales</small></li> + <li>Poda <small>de Áreas Verdes</small></li> +</ul>
\ No newline at end of file diff --git a/www/images/user-white@x2.png b/www/images/user-white@x2.png Binary files differnew file mode 100644 index 0000000..b6d596a --- /dev/null +++ b/www/images/user-white@x2.png diff --git a/www/js/config.js-example b/www/js/config.js-example index aa9296b..2fceda7 100644 --- a/www/js/config.js-example +++ b/www/js/config.js-example @@ -34,7 +34,16 @@ var CONFIG = { DEBUG: 0, // Bing Maps API key if needed - BING_MAPS_API_KEY: '' + BING_MAPS_API_KEY: '', + + PINS: { + location: { + image: 'images/pin@x2.png', + background: 'images/pin_shadow@x2.png', + image_svg: 'images/pin.svg', + background_svg: 'images/pin_shadow.svg' + } + } }; diff --git a/www/js/map-OpenLayers.js b/www/js/map-OpenLayers.js index 58bace6..d458641 100644 --- a/www/js/map-OpenLayers.js +++ b/www/js/map-OpenLayers.js @@ -65,13 +65,13 @@ function fixmystreet_onload() { backgroundGraphicZIndex: 10 }) }); - var location_img = 'images/pin@x2.png'; - var location_bg_img = 'images/pin_shadow@x2.png'; + var location_img = CONFIG.PINS.location.image; + var location_bg_img = CONFIG.PINS.location.background; if ( typeof device !== 'undefined' && ( (device.platform == 'Android' && parseInt(device.version, 10) > 2) || (device.platform !== 'Android') ) ) { - location_img = 'images/pin.svg'; - location_bg_img = 'images/pin_shadow.svg'; + location_img = CONFIG.PINS.location.image_svg; + location_bg_img = CONFIG.PINS.location.background_svg; } pin_layer_style_map.addUniqueValueRules('default', 'size', { diff --git a/www/templates/en/address_search.html b/www/templates/en/address_search.html index b8bc71e..95a162b 100644 --- a/www/templates/en/address_search.html +++ b/www/templates/en/address_search.html @@ -10,7 +10,7 @@ <input data-role="none" type="text" name="pc" value="" id="pc" size="10" maxlength="200" placeholder="e.g. ‘B2 4QA’ or ‘Tib St, Manchester’"> </div> </form> - <input type="button" value="Go" id="submit" data-theme="a"> + <input type="button" value="Go" id="submit" data-theme="a"> </div> <div id="front-howto"> diff --git a/www/templates/en/android_error.html b/www/templates/en/android_error.html index b39079f..80a6e9a 100644 --- a/www/templates/en/android_error.html +++ b/www/templates/en/android_error.html @@ -11,7 +11,7 @@ <body> <div id="load-screen"> <div class="radar"></div> - <p>There seems to have been a problem starting the app. Please quit and try again</p> + <p>There seems to have been a problem starting the app. Please quit and try again.</p> </div> </body> </html> diff --git a/www/templates/en/details.html b/www/templates/en/details.html index 08b2876..aace51c 100644 --- a/www/templates/en/details.html +++ b/www/templates/en/details.html @@ -1,4 +1,5 @@ <div data-role="header"> + <a data-rel="back" data-icon="arrow-l" class="ui-btn-left">Back</a> <h1>Details</h1> <a id="next" data-icon="arrow-r" data-iconpos="right" class="ui-btn-right">Next</a> </div> diff --git a/www/templates/en/details_extra.html b/www/templates/en/details_extra.html index 63535d6..339cc9d 100644 --- a/www/templates/en/details_extra.html +++ b/www/templates/en/details_extra.html @@ -1,4 +1,5 @@ <div data-role="header" data-position="fixed"> + <a data-rel="back" data-icon="arrow-l" class="ui-btn-left">Back</a> <h1>Further Details</h1> <a id="next" data-icon="arrow-r" data-iconpos="right" class="ui-btn-right">Next</a> </div> diff --git a/www/templates/en/photo.html b/www/templates/en/photo.html index aa44e9e..8dac456 100644 --- a/www/templates/en/photo.html +++ b/www/templates/en/photo.html @@ -1,4 +1,5 @@ <div data-role="header"> + <a data-rel="back" data-icon="arrow-l" class="ui-btn-left">Back</a> <h1>Add Photo</h1> <% if ( file == '' ) { %> <a id="photo-next-btn" data-icon="arrow-r" data-iconpos="right" class="ui-btn-right">Skip</a> diff --git a/www/templates/en/submit.html b/www/templates/en/submit.html index a3b1c73..be31ffb 100644 --- a/www/templates/en/submit.html +++ b/www/templates/en/submit.html @@ -1,4 +1,5 @@ <div id="submit-header" data-role="header" data-position="fixed" data-id="locate"> + <a data-rel="back" data-icon="arrow-l" class="ui-btn-left">Back</a> <h1>Submit</h1> </div> @@ -38,7 +39,7 @@ <input type="email" value="<%= user.email %>" name="email" id="form_email" placeholder="Please enter your email address" required> <div id="form_sign_in"> - <h4 id="have_password">Do you have a <% print( CONFIG.APP_NAME ) %> password?</h4> + <h4 id="have_password">Do you have a <%= CONFIG.APP_NAME %> password?</h4> <div id="form_sign_in_yes" class="form-box"> diff --git a/www/templates/en/submit_confirm.html b/www/templates/en/submit_confirm.html index 0bca06d..5d2e6a0 100644 --- a/www/templates/en/submit_confirm.html +++ b/www/templates/en/submit_confirm.html @@ -1,4 +1,5 @@ <div id="submit-header" data-role="header"> + <a data-rel="back" data-icon="arrow-l" class="ui-btn-left">Back</a> <h1>Your details</h1> </div> diff --git a/www/templates/en/submit_email.html b/www/templates/en/submit_email.html index 3eaf26a..eff7692 100644 --- a/www/templates/en/submit_email.html +++ b/www/templates/en/submit_email.html @@ -1,4 +1,5 @@ <div id="submit-header" data-role="header"> + <a data-rel="back" data-icon="arrow-l" class="ui-btn-left">Back</a> <h1>Your details</h1> </div> diff --git a/www/templates/en/submit_name.html b/www/templates/en/submit_name.html index 98a48f6..0b6c28d 100644 --- a/www/templates/en/submit_name.html +++ b/www/templates/en/submit_name.html @@ -1,4 +1,5 @@ <div id="submit-header" data-role="header"> + <a data-rel="back" data-icon="arrow-l" class="ui-btn-left">Back</a> <h1>Your details</h1> </div> diff --git a/www/templates/en/submit_password.html b/www/templates/en/submit_password.html index fb61d20..e0bd895 100644 --- a/www/templates/en/submit_password.html +++ b/www/templates/en/submit_password.html @@ -1,4 +1,5 @@ <div id="submit-header" data-role="header"> + <a data-rel="back" data-icon="arrow-l" class="ui-btn-left">Back</a> <h1>Your details</h1> </div> diff --git a/www/templates/en/submit_set_password.html b/www/templates/en/submit_set_password.html index ccecd35..1a24eae 100644 --- a/www/templates/en/submit_set_password.html +++ b/www/templates/en/submit_set_password.html @@ -1,4 +1,5 @@ <div id="submit-header" data-role="header"> + <a data-rel="back" data-icon="arrow-l" class="ui-btn-left">Back</a> <h1>Your details</h1> </div> diff --git a/www/templates/es/address_search.html b/www/templates/es/address_search.html new file mode 100644 index 0000000..8bd418b --- /dev/null +++ b/www/templates/es/address_search.html @@ -0,0 +1,21 @@ +<div id="search-header" data-role="header"> + <a href="#" id="locate" data-transition="slidedown" class="ui-btn-left">Cancelar</a> + <h1>Buscar</h1> +</div> +<div data-role="content"> + <div id="front-main"> + <h3 class="notopmargin">Introduzca un código postal cercano, o el nombre de una calle o área</h3> + <form class="inputcard" name="postcodeForm" id="postcodeForm"> + <div> + <input data-role="none" type="text" name="pc" value="" id="pc" size="10" maxlength="200" placeholder="ej. ‘10103’ o ‘Ave. Alma Mater, Santo Domingo’"> + </div> + </form> + <input type="button" value="Ir" id="submit" data-theme="a"> + </div> + + <div id="front-howto"> + <% if (typeof msg != 'undefined' && msg !== '') { %> + <h2><%= msg %></h2> + <% } %> + </div> +</div> diff --git a/www/templates/es/android_error.html b/www/templates/es/android_error.html new file mode 100644 index 0000000..80a6e9a --- /dev/null +++ b/www/templates/es/android_error.html @@ -0,0 +1,17 @@ +<!DOCTYPE html> +<html> + <head> + <title></title> + <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no;" /> + <meta charset="utf-8"> + + <link rel="stylesheet" href="css/fms.css" type="text/css" media="screen" title="no title" charset="utf-8"> + + </head> + <body> + <div id="load-screen"> + <div class="radar"></div> + <p>There seems to have been a problem starting the app. Please quit and try again.</p> + </div> + </body> +</html> diff --git a/www/templates/es/around.html b/www/templates/es/around.html new file mode 100644 index 0000000..8686933 --- /dev/null +++ b/www/templates/es/around.html @@ -0,0 +1,53 @@ +<div data-id="locate" id="around-header" data-role="header"> + <a id="view-my-reports" class="nodisplay ui-btn ui-btn-left ui-btn-up-a ui-shadow ui-btn-corner-all" data-role="none" href="#"> + <span class="ui-btn-inner"<span class="ui-btn-text">Borradores <span class="draft_count"><% print( FMS.allDrafts.length ) %></span></span></span> + </a> + <a id="cancel" class="nodisplay" data-role="button" data-icon="arrow-l">Cancelar</a> + <h1><% print( CONFIG.APP_NAME ) %></h1> + <a id="login-options" data-icon="fms-account" class="nodisplay ui-btn-right">Cuenta</a> +</div> + + <div id="locating" class="nodisplay"> + <div class="radar"></div> + <div id="progress"> + <div id="progress-bar"> + </div> + </div> + + <p> + Localizando su ubicación + </p> + + <p> + <input data-theme="c" type="button" id="locate_cancel" value="Cancelar"> + </p> + </div> +<div data-role="content"> + <div class="frontpage-menu"> + <form class="inputcard" name="postcodeForm" id="postcodeForm"> + <input type="search" id="pc" name="pc" placeholder="Buscar o desplazarse en el map"> + <% if ( FMS.testing ) { %> + <div class="testing"> + Versión de prueba. Los informes no serán enviados al ayuntamiento. + </div> + <% } %> + </form> + <a data-role="none" id="relocate" class="nodisplay"></a> + + <div class="nodisplay" id="front-howto"></div> + </div> + + <a id="mark-here" data-role="button" data-theme="a" class="map-bottom-btn"> + Nuevo informe aquí + </a> + <a id="locate-here" data-role="button" data-theme="a" class="map-bottom-btn"> + Configurar la ubicación del informe + </a> + <a id="reposition" data-role="button" data-theme="c" class="map-bottom-btn nodisplay"> + Reposicione el informe aquí + </a> + <a id="confirm-map" data-role="button" data-theme="a" class="map-bottom-btn"> + Confirmar ubicación + </a> + +</div> diff --git a/www/templates/es/details.html b/www/templates/es/details.html new file mode 100644 index 0000000..7629e05 --- /dev/null +++ b/www/templates/es/details.html @@ -0,0 +1,22 @@ +<div data-role="header"> + <a data-rel="back" data-icon="arrow-l" class="ui-btn-left">Atrás</a> + <h1>Detalles</h1> + <a id="next" data-icon="arrow-r" data-iconpos="right" class="ui-btn-right">Siguiente</a> +</div> +<div data-role="content"> + <div class="gmailstyletest"> + <div> + <label for="form_title">Título</label> + <input data-role="none" type="text" name="title" id="form_title" placeholder="Indique un título" value="<%= title %>" required> + </div> + + <div> + <%= categories %> + </div> + + <div class="noborder"> + <label for="form_detail">Detalles</label> + <textarea data-role="none" name="detail" id="form_detail" placeholder="Por favor, provea detalles del problema." required><%= details %></textarea> + </div> + </div> +</div> diff --git a/www/templates/es/details_extra.html b/www/templates/es/details_extra.html new file mode 100644 index 0000000..2d782c8 --- /dev/null +++ b/www/templates/es/details_extra.html @@ -0,0 +1,8 @@ +<div data-role="header" data-position="fixed"> + <a data-rel="back" data-icon="arrow-l" class="ui-btn-left">Atrás</a> + <h1>Detalles adicionales</h1> + <a id="next" data-icon="arrow-r" data-iconpos="right" class="ui-btn-right">Siguiente</a> +</div> +<div data-role="content" data-enhance="false"> + <%= category_extras %> +</div> diff --git a/www/templates/es/existing.html b/www/templates/es/existing.html new file mode 100644 index 0000000..b45b3d8 --- /dev/null +++ b/www/templates/es/existing.html @@ -0,0 +1,35 @@ +<div data-role="header"> + <h1>Informe no enviado</h1> +</div> +<div data-role="content" role="main"> + <div id="existing_report"> + <% if ( title ) { %> + <h3><%= title %></h3> + <% } %> + + <div class="meta"> + <p> + <% if ( category && category != '-- Seleccione una categoría --' ) { %> + Guardado en la categoría <%= category %> + <% } %> + </p> + + <p><% print( moment( created ).fromNow() ) %></p> + </div> + + <% if ( file ) { %> + <div class="photo" style="background-image: url(<%= file %>)"></div> + <% } %> + + <% if ( details ) { %> + <div class="details"><div><%= details %></div></div> + <% } %> + </div> + + + <div class="right"> + <input id="use_report" type="button" value="Completar el informe ahora" data-role="button" data-theme="a" /> + <input id="save_report" type="button" value="Guardar para más tarde" data-role="button" data-theme="a" /> + <input id="discard" type="button" value="Descartar" data-role="button" data-theme="a" /> + </div> +</div> diff --git a/www/templates/es/home.html b/www/templates/es/home.html new file mode 100644 index 0000000..e8e0e8c --- /dev/null +++ b/www/templates/es/home.html @@ -0,0 +1,5 @@ +<div data-role="content"> + <div id="locating"> + <div class="radar"></div> + </div> +</div> diff --git a/www/templates/es/login.html b/www/templates/es/login.html new file mode 100644 index 0000000..1c83548 --- /dev/null +++ b/www/templates/es/login.html @@ -0,0 +1,43 @@ +<div id="submit-header" data-role="header"> + <a id="reports-next-btn" data-icon="arrow-l" data-iconpos="left" class="ui-btn-left">Inicio</a> + <h1>Abrir sesión</h1> +</div> + +<div data-role="content"> + <% if ( FMS.isLoggedIn ) { %> + <div id="signed_in_row"> + <p class="notopmargin">You are signed in as <%= email %></p> + <div id="err" class="nodisplay"></div> + <div class="bottom-btn"> + <input type="button" id="logout" name="logout" value="Cerrar sesión" data-theme="a"> + </div> + </div> + <div id="password_row" class="nodisplay"> + <p class="notopmargin"> + ¡Sesión cerrada! + </p> + <% } else { %> + <div id="password_row"> + <% } %> + <form name="signinForm" class="inputcard" id="signinForm"> + <div> + <input data-role="none" type="email" value="" name="email" id="form_email" placeholder="Su email" required> + </div> + <div> + <input data-role="none" type="password" value="" name="password" id="form_password" placeholder="Su contraseña" required> + </div> + <div class="noborder"> + <input type="submit" id="login" name="login" value="Abrir sesión" data-theme="a"> + </div> + </form> + </div> + <div id="success_row" class="nodisplay"> + <p class="notopmargin"> + ¡Sesión abierta! + </p> + <div id="err" class="nodisplay"></div> + <div class="bottom-btn"> + <input type="button" id="logout" name="logout" value="Cerrar sesión" data-theme="a"> + </div> + </div> +</div> diff --git a/www/templates/es/offline.html b/www/templates/es/offline.html new file mode 100644 index 0000000..1051f57 --- /dev/null +++ b/www/templates/es/offline.html @@ -0,0 +1,71 @@ +<div data-role="header" data-position="fixed"> + <a id="offline-prev-btn" class="ui-btn-left">Inténtelo nuevamente</a> + <h1>Sin conexión</h1> + <a id="offline-next-btn" data-icon="arrow-r" data-iconpos="right" class="ui-btn-right">Saltar</a> +</div> + <div id="locating" class="nodisplay"> + <div class="radar"></div> + <div id="progress"> + <div id="progress-bar"> + </div> + </div> + + <p> + Localizando su ubicación + </p> + + <p> + <input data-theme="c" type="button" id="locate_cancel" value="Cancelar"> + </p> + </div> +<div data-role="content"> + <div> + <p class="notopmargin"> + <% if ( typeof id != 'undefined' ) { %> + ¡Qué horror! - no podemos detectar una conexión al internet. Sin embargo, aún puede editar el informe en este momento y enviarlo más tarde. + <% } else { %> + ¡Qué horror! - no podemos detectar una conexión al internet. Sin embargo, aún puede editar el informe en este momento y enviarlo más tarde, yendo a 'borradores' cuando vuelva a estar conectado. + <% } %> + </p> + + <p id="locate_result"> + <% if ( lat ) { %> + Este informe tiene una posición. + <% } else { %> + <input type="button" data-role="button" data-theme="a" id="locate" value="Localizar (opcional)" > + <% } %> + </p> + + <div class="inputcard"> + <div> + <input data-role="none" type="text" value="<%= title %>" name="title" id="form_title" placeholder="Indique un título" required> + </div> + + <div> + <textarea data-role="none" rows="7" cols="26" name="detail" id="form_detail" placeholder="Please fill in details of the problem." required><%= details %></textarea> + </div> + </div> + + <% if ( file != '' ) { %> + <div id="add_photo" style="display: none"> + <% } else { %> + <div id="add_photo"> + <% } %> + <label>Añadir una foto <em>(opcional)</em></label> + <input data-icon="fms-photo-new" value="Tomar una nueva foto" type="button" name="photo_button" id="id_photo_button" data-role="button" data-theme="a"> + <input data-icon="fms-photo-existing" value="Añadir una foto existente" type="button" name="existing" id="id_existing" data-role="button" data-theme="c"> + </div> + + <% if ( file == '' ) { %> + <div id="display_photo" style="display: none"> + <% } else { %> + <div id="display_photo"> + <% } %> + <label>Su foto</label> + <div class="photo"> + <img class="small" id="photo" src="<%= file %>" /> + </div> + <input value="Eliminar foto" type="button" name="del_photo_button" id="id_del_photo_button" data-role="button" data-theme="a"> + </div> + </div> +</div> diff --git a/www/templates/es/photo.html b/www/templates/es/photo.html new file mode 100644 index 0000000..62f36dc --- /dev/null +++ b/www/templates/es/photo.html @@ -0,0 +1,37 @@ +<div data-role="header"> + <a data-rel="back" data-icon="arrow-l" class="ui-btn-left">Atrás</a> + <h1>Añadir foto</h1> + <% if ( file == '' ) { %> + <a id="photo-next-btn" data-icon="arrow-r" data-iconpos="right" class="ui-btn-right">Saltar</a> + <% } else { %> + <a id="photo-next-btn" data-icon="arrow-r" data-iconpos="right" class="ui-btn-right">Siguiente</a> + <% } %> +</div> +<div data-role="content"> + <% var photoClass = 'nodisplay', nophotoClass = 'nodisplay'; + if ( file != '' ) { + photoClass = ''; + } else { + nophotoClass = ''; + } %> + <h2 id="nophoto_title" class="<% print( nophotoClass ); %>"> + Añadir una foto <em>(opcional)</em> + </h2> + <h2 id="photo_title" class="<% print( photoClass ); %>"> + Foto para el informe + </h2> + <div class="photo-wrapper"> + <div class="photo"> + <% if ( file == '' ) { %> + <img class="placeholder" src="images/placeholder-photo.png" alt="" id="photo"> + <% } else { %> + <img class="small" id="photo" src="<%= file %>" /> + <% } %> + <a data-role="none" id="id_del_photo_button" class="photo-corner-button">X</a> + </div> + </div> + <div class="bottom-btn"> + <input data-icon="fms-photo-existing" type="button" id="id_existing" data-theme="c" value="Añadir una foto existente" > + <input data-icon="fms-photo-new" id="id_photo_button" type="button" data-theme="a" value="Tomar una nueva foto"> + </div> +</div> diff --git a/www/templates/es/reports.html b/www/templates/es/reports.html new file mode 100644 index 0000000..cbd2acf --- /dev/null +++ b/www/templates/es/reports.html @@ -0,0 +1,30 @@ +<div data-role="header" data-position="fixed"> + <a id="reports-next-btn" data-icon="arrow-l" data-iconpos="left" class="ui-btn-left">Inicio</a> + <h1>Informes preliminares</h1> +</div> +<div id="drafts"> + <p id="noreports" class="nodisplay">Si comienza a compilar un informe, pero no lo termina ni lo envía, este aparecerá en este menú para que lo pueda completar más tarde</p> + <div id="report-list" class="nodisplay"> + <p class="notopmargin"> + Estos son sus borradores, informes no enviados. Para completarlos y enviarlos, abra un informe cuando esté conectado(a) al internet. + </p> + <ul data-role="listview" data-split-theme="c" data-inset="true" data-split-icon="delete" class="notopmargin reports"> + <% drafts.each(function(draft) { + if ( draft ) { + var classes = []; + if ( draft.get('lat') ) { + classes.push('with_location'); + } + if ( draft.get('file') ) { + classes.push('with_photo'); + } + var draftClass = ''; + if ( classes.length ) { + draftClass = 'class="' + classes.join(' ') + '"'; + } + print( '<li id="' + draft.id + '"' + draftClass + '><a href="#" class="use_report">' + draft.description() + '</a><a class="del_report" href="#" title="delete">Eliminar</a></li>' ); + } + } ); %> + </ul> + </div> +</div> diff --git a/www/templates/es/save_offline.html b/www/templates/es/save_offline.html new file mode 100644 index 0000000..7c6b7b3 --- /dev/null +++ b/www/templates/es/save_offline.html @@ -0,0 +1,15 @@ +<div data-role="header"> + <h1>Sin conexión</h1> +</div> +<div data-role="content"> + <h3 class="notopmargin">No hay conexión al internet</h3> + + <p> + No hay conexión al internet, ¿quiere guardar el presente informe para más tarde? + </p> + + <div class="bottom-btn"> + <input id="save_report" type="button" value="guardar"> + <input id="discard" type="button" value="eliminar"> + </div> +</div> diff --git a/www/templates/es/sent.html b/www/templates/es/sent.html new file mode 100644 index 0000000..df9a933 --- /dev/null +++ b/www/templates/es/sent.html @@ -0,0 +1,22 @@ +<div id="report-created-header" data-role="header"> + <a class="ui-btn-left">Inicio</a> + <h1>Informe creado</h1> +</div> +<div data-role="content"> + <% if ( typeof email_confirm != 'undefined' && email_confirm === 1 ) { %> + <h3>Email de confirmación enviado</h3> + + <p> + Le hemos enviado un email de confirmación que le llegará en unos minutos. Una vez que llegue haga click sobre el enlace dentro del email para confirmar su informe. + </p> + <% } else { %> + <h3>Gracias. Su informe será enviado inmediatamente a las autoridades.</h3> + + <p class="center"><input type="button" data-theme="a" id="open_report" value="Véalo en la pagina web"></p> + <% } %> + + + <div class="bottom-btn"> + <input type="button" id="id_report_another" data-theme="a" value="Comenzar un nuevo informe" > + </div> +</div> diff --git a/www/templates/es/submit.html b/www/templates/es/submit.html new file mode 100644 index 0000000..363755c --- /dev/null +++ b/www/templates/es/submit.html @@ -0,0 +1,99 @@ +<div id="submit-header" data-role="header" data-position="fixed" data-id="locate"> + <a data-rel="back" data-icon="arrow-l" class="ui-btn-left">Atrás</a> + <h1>Submit</h1> +</div> + +<div class="container" data-role="content" data-enhance="false"> + <div class="content" role="main"> + + + <fieldset> + <div id="problem_form"> + <% if ( user && user.password ) { %> + <div id="signed_in"> + <p> + You are signed in as <span id="username"><%= user.name %></span> + </p> + + <p id="confirm_details">Confirm details</p> + <div id="name_details"> + <label for="form_may_show_name">Name</label> + <input type="text" class="validName" value="<%= user.name %>" name="name" id="form_name" placeholder="Your name"> + + <div class="checkbox-group"> + <input type="checkbox" name="may_show_name" id="form_may_show_name" value="1" checked> + <label class="inline" for="form_may_show_name">Mostrar mi nombre públicamente</label> + </div> + + <label for="form_phone">Phone number</label> + <input type="text" value="<%= user.phone %>" name="phone" id="form_phone" placeholder="Your phone number (optional)"> + </div> + + <div class="form-txt-submit-box"> + <input class="green-btn" type="button" id="submit_signed_in" name="submit_signed_in" value="Informe"> + </div> + </div> + <% } else { %> + <div id="signed_out"> + <label for="form_email" id="email_label">Your email</label> + <input type="email" value="<%= user.email %>" name="email" id="form_email" placeholder="Por favor, introduzca su dirección de email" required> + + <div id="form_sign_in"> + <h4 id="have_password">Do you have a <%= CONFIG.APP_NAME %> password?</h4> + + <div id="form_sign_in_yes" class="form-box"> + + <h5><strong>Yes</strong> I have a password</h5> + + <label class="hidden-js n" for="password_sign_in">Yes I have a password</label> + <div class="form-txt-submit-box"> + <input type="password" name="password_sign_in" id="password_sign_in" placeholder="Su contraseña" value=""> + <input class="green-btn" type="button" id="submit_sign_in" name="submit_sign_in" value="Informe"> + </div> + </div> + + <div id="form_sign_in_no" class="form-box"> + <h5 id="let_me_confirm"><strong>No</strong> Let me confirm my report by email</h5> + + <div id="name_details"> + <label for="form_may_show_name">Name</label> + <input type="text" class="validName" value="<%= user.name %>" name="name" id="form_name" placeholder="Your name"> + + <div class="checkbox-group"> + <input type="checkbox" name="may_show_name" id="form_may_show_name" value="1" checked> + <label class="inline" for="form_may_show_name">Mostrar mi nombre públicamente</label> + </div> + + <label for="form_phone">Phone number</label> + <input type="text" value="<%= user.phone %>" name="phone" id="form_phone" placeholder="Your phone number (optional)"> + </div> + + <div id="password_surround"> + <label class="form-focus-hidden" for="password_register" id="password_label">Password</label> + </div> + + <div class="form-txt-submit-box form-focus-hidden"> + <input type="password" name="password_register" id="password_register" value="" placeholder="Enter a password (optional)"> + <input class="green-btn" type="button" id="submit_register" name="submit_register" value="Informe"> + </div> + + </div> + </div> + </div> + <% } %> + + <div id="report_save" class="form-box"> + <h5>Save this report for completion later</h5> + <div class="form-txt-submit-box"> + <input class="green-btn" type="button" id="save_report" name="save_report" value="Save"> + </div> + </div> + </div> + </fieldset> + + <input type="hidden" name="submit_problem" value="1"> + </div> + + </div> + </div> +</div> diff --git a/www/templates/es/submit_confirm.html b/www/templates/es/submit_confirm.html new file mode 100644 index 0000000..b01e70a --- /dev/null +++ b/www/templates/es/submit_confirm.html @@ -0,0 +1,40 @@ +<div id="submit-header" data-role="header"> + <a data-rel="back" data-icon="arrow-l" class="ui-btn-left">Atrás</a> + <h1>Sus detalles</h1> +</div> + +<div data-role="content"> + <p class="notopmargin"> + You are logged in as <%= user.email %>. + </p> + + <p> + Por favor, confirme su nombre, si quiere que se haga público y opcionalmente su número de teléfono. + </p> + + <div id="errors"></div> + + <div class="inputcard"> + <% if ( typeof model.titles_list !== 'undefined' ) { %> + <div> + <select data-role="none" placeholder="Título" id="form_title" name="title" required> + <option value="">Título</option> + <% for ( var i = 0; i < model.titles_list.length; i++ ) { var title = model.titles_list[i]; print( '<option value="' + title + '"' + ( user.title && user.title == title ? ' selected' : '' ) + '>' + title + '</option>' ); } %> + </select> + </div> + <% } %> + <div> + <input data-role="none" type="text" value="<%= user.name %>" name="name" id="form_name" placeholder="Por favor, introduzca su nombre" required> + </div> + <div> + <input data-role="none" type="tel" value="<%= user.phone %>" name="name" id="form_phone" placeholder="Opcionalmente introduzca su número de teléfono"> + </div> + <div class="checkbox-group noborder"> + <input type="checkbox" name="may_show_name" id="form_may_show_name" value="1" <% if ( typeof user.may_show_name == 'undefined' || user.may_show_name ) { %>checked<% } %>> + <label class="inline" for="form_may_show_name">Mostrar mi nombre públicamente</label> + </div> + </div> + <div class="bottom-btn"> + <input data-role="button" data-theme="a" type="button" id="report" name="report" value="Informe"> + </div> +</div> diff --git a/www/templates/es/submit_email.html b/www/templates/es/submit_email.html new file mode 100644 index 0000000..1954259 --- /dev/null +++ b/www/templates/es/submit_email.html @@ -0,0 +1,26 @@ +<div id="submit-header" data-role="header"> + <a data-rel="back" data-icon="arrow-l" class="ui-btn-left">Atrás</a> + <h1>Sus detalles</h1> +</div> + +<div data-role="content"> + <div class="inputcard"> + <div> + <input data-role="none" type="email" value="<%= user.email %>" name="email" id="form_email" placeholder="Por favor, introduzca su dirección de email" required> + </div> + </div> + + <p> + Esta aplicación necesita enviarle un email de confirmación antes de que podamos enviar su informe al ayuntamiento. + </p> + + <p> + Para saltar este paso en el futuro, puede configurar una contraseña ahora. + </p> + + <div class="bottom-btn"> + <input data-role="button" data-theme="a" type="button" id="email_confirm" name="email_confirm" value="No quiero configurar una contraseña"> + <input data-role="button" data-theme="a" type="button" id="set_password" name="set_password" value="Me gustaría configurar una contraseña"> + <input data-role="button" data-theme="a" type="button" id="have_password" name="have_password" value="Ya tengo una - abrir sesión"> + </div> +</div> diff --git a/www/templates/es/submit_name.html b/www/templates/es/submit_name.html new file mode 100644 index 0000000..07aeb87 --- /dev/null +++ b/www/templates/es/submit_name.html @@ -0,0 +1,39 @@ +<div id="submit-header" data-role="header"> + <a data-rel="back" data-icon="arrow-l" class="ui-btn-left">Atrás</a> + <h1>Sus detalles</h1> +</div> + +<div data-role="content"> + <div id="errors"></div> + <p class="top"> + <% if ( nopassword ) { %> + No hay problema - tampoco nos gusta tontear con contraseñas. + <% } %> + Por favor, proporciónenos con algunos detalles básicos, y pronto terminaremos. + </p> + <div class="inputcard"> + <% if ( typeof model.titles_list !== 'undefined' ) { %> + <div> + <select data-role="none" placeholder="Título" id="form_title" name="title" required> + <option value="">Título</option> + <% for ( var i = 0; i < model.titles_list.length; i++ ) { var title = model.titles_list[i]; print( '<option value="' + title + '"' + ( user.title && user.title == title ? ' selected' : '' ) + '>' + title + '</option>' ); } %> + </select> + </div> + <% } %> + <div> + <input data-role="none" type="text" value="<%= user.name %>" name="name" id="form_name" placeholder="Por favor, introduzca su nombre" required> + </div> + <div> + <input data-role="none" type="tel" value="<%= user.phone %>" name="name" id="form_phone" placeholder="Opcionalmente introduzca su número de teléfono"> + </div> + <div data-role="fieldcontain"> + <fieldset data-role="controlgroup"> + <input type="checkbox" name="may_show_name" id="form_may_show_name" value="1" <% if ( typeof user.may_show_name == 'undefined' || user.may_show_name ) { %>checked<% } %>> + <label for="form_may_show_name">Mostrar mi nombre públicamente</label> + </fieldset> + </div> + </div> + <div class="bottom-btn"> + <input data-role="button" data-theme="a" type="button" id="send_confirm" name="send_confirm" value="Enviar un email de confirmación"> + </div> +</div> diff --git a/www/templates/es/submit_password.html b/www/templates/es/submit_password.html new file mode 100644 index 0000000..71a3b2a --- /dev/null +++ b/www/templates/es/submit_password.html @@ -0,0 +1,51 @@ +<div id="submit-header" data-role="header"> + <a data-rel="back" data-icon="arrow-l" class="ui-btn-left">Atrás</a> + <h1>Sus detalles</h1> +</div> + +<div data-role="content"> + <div id="errors"></div> + <form id="passwordForm" name="passwordForm"> + <div id="password_row"> + <div class="inputcard"> + <div> + <input data-role="none" type="password" value="" name="password" id="form_password" placeholder="Su contraseña" required> + </div> + </div> + <div class="noborder"> + <input data-role="button" data-theme="a" type="submit" id="report" name="report" value="Informe"> + </div> + </div> + <div id="check_name" class="nodisplay"> + <div class="inputcard"> + <p> + Por favor, confirme su nombre, si quiere que se haga público y opcionalmente su número de teléfono. + </p> + + <% if ( typeof model.titles_list !== 'undefined' ) { %> + <div> + <select data-role="none" placeholder="Título" id="form_title" name="title" required> + <option value="">Título</option> + <% for ( var i = 0; i < model.titles_list.length; i++ ) { var title = model.titles_list[i]; print( '<option value="' + title + '"' + ( user.title && user.title == title ? ' selected' : '' ) + '>' + title + '</option>' ); } %> + </select> + </div> + <% } %> + <div> + <input data-role="none" type="text" value="" id="form_name" name="name"> + </div> + <div> + <input data-role="none"type="tel" value="<%= user.phone %>" name="name" id="form_phone" placeholder="Por favor, introduzca su número de teléfono (opcional)"> + </div> + <div data-role="fieldcontain"> + <fieldset data-role="controlgroup"> + <input type="checkbox" name="may_show_name" id="form_may_show_name" value="1" checked> + <label for="form_may_show_name">Mostrar mi nombre públicamente</label> + </fieldset> + </div> + </div> + <div class="bottom-btn"> + <input data-role="button" data-theme="a" type="submit" id="confirm_name" name="report" value="Confirmar nombre"> + </div> + </div> + </form> +</div> diff --git a/www/templates/es/submit_set_password.html b/www/templates/es/submit_set_password.html new file mode 100644 index 0000000..a9d9b46 --- /dev/null +++ b/www/templates/es/submit_set_password.html @@ -0,0 +1,23 @@ +<div id="submit-header" data-role="header"> + <a data-rel="back" data-icon="arrow-l" class="ui-btn-left">Atrás</a> + <h1>Sus detalles</h1> +</div> + +<div data-role="content"> + <div id="errors"></div> + <form id="passwordForm" name="passwordForm"> + <div id="password_row"> + <p class="notopmargin"> + Introduzca la contraseña de su cuenta. Esta no será activada hasta que haga click sobre el enlace en el email de confirmación + </p> + <div class="inputcard"> + <div> + <input data-role="none" type="password" value="" name="password" id="form_password" placeholder="Su contraseña" required> + </div> + </div> + <div class="noborder"> + <input data-role="button" data-theme="a" type="submit" id="continue" name="report" value="Continuar"> + </div> + </div> + </form> +</div> |