diff options
-rw-r--r-- | locale/nb_NO.UTF-8/LC_MESSAGES/FixMyStreetMobileApp.po | 544 | ||||
-rw-r--r-- | www/templates/no/address_search.html | 21 | ||||
-rw-r--r-- | www/templates/no/android_error.html | 17 | ||||
-rw-r--r-- | www/templates/no/around.html | 53 | ||||
-rw-r--r-- | www/templates/no/details.html | 21 | ||||
-rw-r--r-- | www/templates/no/details_extra.html | 7 | ||||
-rw-r--r-- | www/templates/no/existing.html | 35 | ||||
-rw-r--r-- | www/templates/no/help.html | 60 | ||||
-rw-r--r-- | www/templates/no/home.html | 5 | ||||
-rw-r--r-- | www/templates/no/initial_help.html | 8 | ||||
-rw-r--r-- | www/templates/no/login.html | 43 | ||||
-rw-r--r-- | www/templates/no/offline.html | 71 | ||||
-rw-r--r-- | www/templates/no/photo.html | 36 | ||||
-rw-r--r-- | www/templates/no/reports.html | 30 | ||||
-rw-r--r-- | www/templates/no/save_offline.html | 15 | ||||
-rw-r--r-- | www/templates/no/sent.html | 22 | ||||
-rw-r--r-- | www/templates/no/submit.html | 98 | ||||
-rw-r--r-- | www/templates/no/submit_confirm.html | 39 | ||||
-rw-r--r-- | www/templates/no/submit_email.html | 25 | ||||
-rw-r--r-- | www/templates/no/submit_name.html | 38 | ||||
-rw-r--r-- | www/templates/no/submit_password.html | 50 | ||||
-rw-r--r-- | www/templates/no/submit_set_password.html | 22 |
22 files changed, 1260 insertions, 0 deletions
diff --git a/locale/nb_NO.UTF-8/LC_MESSAGES/FixMyStreetMobileApp.po b/locale/nb_NO.UTF-8/LC_MESSAGES/FixMyStreetMobileApp.po new file mode 100644 index 0000000..316a952 --- /dev/null +++ b/locale/nb_NO.UTF-8/LC_MESSAGES/FixMyStreetMobileApp.po @@ -0,0 +1,544 @@ +# 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: 1.0\n" +"Report-Msgid-Bugs-To: struan@mysociety.org\n" +"POT-Creation-Date: 2017-05-27 20:10+0200\n" +"PO-Revision-Date: 2017-05-27 18:11+0200\n" +"Last-Translator: Marius Halden <marius.h@lden.org>\n" +"Language-Team: NUUG fiksgatami <fiksgatami@rt.nuug.no>\n" +"Language: nb-no\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" + +#: templates/offline.html:54 templates/photo.html:17 +msgid "(optional)" +msgstr "(valgfritt)" + +#: templates/existing.html:12 templates/strings.js:42 +msgid "-- Pick a category --" +msgstr "-- Velg en kategori --" + +#: templates/around.html:7 +msgid "Account" +msgstr "Konto" + +#: templates/photo.html:2 +msgid "Add Photo" +msgstr "Legg til bilde" + +#: templates/photo.html:17 +msgid "Add a Photo" +msgstr "Legg til et bilde" + +#: templates/offline.html:54 +msgid "Add a Photo " +msgstr "Legg til et bilde " + +#: templates/offline.html:56 templates/photo.html:33 +msgid "Add an existing photo" +msgstr "Legg til et eksisterende bilde" + +#: templates/strings.js:33 +msgid "An error was encountered when submitting your report: " +msgstr "Det oppstod en feil ved innsending av rapporten: " + +#: templates/around.html:22 templates/around.html:5 templates/offline.html:18 +msgid "Cancel" +msgstr "Avbryt" + +#: templates/existing.html:31 +msgid "Complete report now" +msgstr "Fullfør rapporten nå" + +#: templates/around.html:50 +msgid "Confirm Location" +msgstr "Bekreft plassering" + +#: templates/submit_password.html:46 +msgid "Confirm name" +msgstr "Bekreft navn" + +#: templates/sent.html:7 +msgid "Confirmation email sent" +msgstr "Bekreftelses e-post sent" + +#: templates/submit_set_password.html:18 +msgid "Continue" +msgstr "Fortsett" + +#: templates/strings.js:41 +msgid "Could not access location services. Please check permissions." +msgstr "" +"Kunne ikke få tilgang til plasseringstjenester. Vennligst sjekk tillatelser." + +#: templates/strings.js:44 +msgid "Could not get location." +msgstr "Kunne ikke finne plassering." + +#: templates/reports.html:25 +msgid "Delete" +msgstr "Slett" + +#: templates/details.html:17 templates/details.html:2 +msgid "Details" +msgstr "Detaljer" + +#: templates/existing.html:33 +msgid "Discard" +msgstr "Forkast" + +#: templates/reports.html:3 +msgid "Draft Reports" +msgstr "Utkast" + +#: templates/around.html:3 +msgid "Drafts" +msgstr "Utkast" + +#: 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" +msgstr "" +"Skriv inn et passord for kontoen din. Dette vil ikke bli aktivert før du " +"klikker lenken i bekreftelsesmeldingen" + +#: templates/around.html:18 templates/offline.html:14 +msgid "Finding your location" +msgstr "Leter etter plasseringen din" + +#: templates/details_extra.html:2 +msgid "Further Details" +msgstr "Ytterligere detaljer" + +#: templates/strings.js:43 +msgid "Got location." +msgstr "Fant plasseringen." + +#: templates/login.html:2 templates/reports.html:2 templates/sent.html:2 +msgid "Home" +msgstr "Hjem" + +#: templates/submit_email.html:21 +msgid "I don't want to set a password" +msgstr "Jeg vil ikke sette et passord" + +#: templates/submit_email.html:22 +msgid "I'd like to set a password" +msgstr "Jeg vil sette et passord" + +#: templates/submit_email.html:23 +msgid "I've already got one - login" +msgstr "Jeg har en allerede - logg inn" + +#: 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 "" +"Hvis du begynner å lage en rapport, men ikke fullfører og sender den, vises " +"den i denne menyen, slik at du kan fullføre den senere" + +#: templates/strings.js:46 +msgid "Invalid email" +msgstr "Ugyldig e-post" + +#: templates/strings.js:47 +msgid "Invalid report" +msgstr "Ugyldig rapport" + +#: templates/offline.html:35 +msgid "Locate (optional)" +msgstr "Finn posisjon (valgfritt)" + +#: templates/strings.js:30 +msgid "Location error" +msgstr "" + +#: templates/login.html:3 templates/login.html:30 +msgid "Login" +msgstr "Logg inn" + +#: templates/strings.js:55 +msgid "More details" +msgstr "Flere detaljer" + +#: 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 "" +"Mer enn ett sted matchet det navnet. Velg et nedenfor, eller prøv å skrive " +"inn gatenavn og område, eller et postnummer." + +#: templates/around.html:41 +msgid "New Report Here" +msgstr "Ny rapport her" + +#: templates/details.html:3 templates/details_extra.html:3 +#: templates/photo.html:6 templates/strings.js:23 +msgid "Next" +msgstr "Neste" + +#: templates/strings.js:54 +msgid "" +"No network connection available for submitting your report. Please try again " +"later." +msgstr "" +"Ingen nettverkstilkobling tilgjengelig for innlevering av rapporten. Prøv " +"igjen senere." + +#: templates/submit_name.html:9 +msgid "No problem - we don't like faffing with passwords either." +msgstr "" + +#: templates/offline.html:3 templates/save_offline.html:2 +msgid "Offline" +msgstr "Frakoblet" + +#: 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 "" + +#: 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 "" + +#: templates/submit_confirm.html:29 templates/submit_name.html:26 +msgid "Optionally enter your phone number" +msgstr "Legg til telefonnummer (valgfritt)" + +#: templates/strings.js:49 +msgid "Photo added" +msgstr "Bilde lagt til" + +#: templates/photo.html:20 +msgid "Photo for report" +msgstr "Bilde for rapport" + +#: templates/strings.js:11 +msgid "Please choose a category" +msgstr "Vennligst velg en kategori" + +#: 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." +msgstr "" + +#: templates/strings.js:36 +msgid "Please enter a location" +msgstr "Vennlist legg inn en plassering" + +#: templates/strings.js:4 +msgid "Please enter a message" +msgstr "Vennligst legg inn en beskjed" + +#: templates/strings.js:20 +msgid "Please enter a password" +msgstr "Vennligst legg inn et passord" + +#: templates/strings.js:5 +msgid "Please enter a subject" +msgstr "Vennligst legg inn en tittel" + +#: templates/strings.js:14 templates/strings.js:18 +msgid "Please enter a valid email" +msgstr "Vennligst legg inn en gyldig e-post adresse" + +#: templates/strings.js:6 +msgid "Please enter some details" +msgstr "Vennligst legg in noen detaljer" + +#: templates/strings.js:13 templates/strings.js:17 +msgid "Please enter your email" +msgstr "Vennligst legg inn e-post adressen din" + +#: templates/submit_email.html:8 +msgid "Please enter your email address" +msgstr "Vennligst legg inn e-post adressen din" + +#: 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 "" + +#: templates/strings.js:8 templates/submit_confirm.html:26 +#: templates/submit_name.html:23 +msgid "Please enter your name" +msgstr "Vennligst legg inn navnet ditt" + +#: templates/submit_password.html:36 +msgid "Please enter your phone number (optional)" +msgstr "Vennligst legg inn telefonnummeret ditt (valgfritt)" + +#: templates/details.html:18 +msgid "Please fill in details of the problem." +msgstr "Vennligst legg inn detljer for problemet." + +#: templates/submit_name.html:11 +msgid "Please give us some basic details, and you're nearly done." +msgstr "" + +#: templates/strings.js:39 +msgid "Please search for a street name and area, or postcode." +msgstr "" + +#: templates/details.html:9 templates/offline.html:41 +msgid "Provide a title" +msgstr "Vennligst legg inn en tittel" + +#: templates/offline.html:68 +msgid "Remove Photo" +msgstr "Fjern bilde" + +#: templates/submit_confirm.html:37 templates/submit_password.html:15 +msgid "Report" +msgstr "Rapport" + +#: templates/sent.html:3 +msgid "Report Created" +msgstr "Rapport laget" + +#: templates/around.html:47 +msgid "Reposition Report Here" +msgstr "" + +#: templates/strings.js:53 +msgid "Save for Later" +msgstr "Lagre til senere" + +#: templates/existing.html:32 +msgid "Save for later" +msgstr "Lagre til senere" + +#: templates/strings.js:29 +msgid "Search for a place or postcode" +msgstr "Søk etter en plass eller et postnummer" + +#: templates/around.html:28 +msgid "Search or scroll the map" +msgstr "Søk eller bla på kartet" + +#: templates/submit_name.html:36 +msgid "Send confirmation email" +msgstr "Send bekreftelses e-post" + +#: templates/around.html:44 +msgid "Set Report Location" +msgstr "Sett rapport plassering" + +#: templates/submit_confirm.html:33 templates/submit_name.html:31 +#: templates/submit_password.html:41 +msgid "Show my name publicly" +msgstr "Vis navnet mitt offentlig" + +#: templates/login.html:12 templates/login.html:40 +msgid "Sign Out" +msgstr "Logg ut" + +#: templates/login.html:36 +msgid "Signed in!" +msgstr "Logget inn!" + +#: templates/login.html:17 +msgid "Signed out!" +msgstr "Logget ut!" + +#: templates/offline.html:4 templates/photo.html:4 +msgid "Skip" +msgstr "Hopp over" + +#: 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 "" + +#: templates/sent.html:20 +msgid "Start new report" +msgstr "Lag ny rapport" + +#: templates/details.html:8 +msgid "Subject" +msgstr "Tittel" + +#: templates/offline.html:55 templates/photo.html:34 +msgid "Take a new photo" +msgstr "Ta nytt bilde" + +#: templates/around.html:31 +msgid "Test version. Reports will not be sent to the council." +msgstr "" + +#: templates/sent.html:13 +msgid "Thanks. Your report will be sent to the authorities immediately." +msgstr "" + +#: templates/save_offline.html:5 +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?" +msgstr "" + +#: templates/strings.js:38 +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." +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." +msgstr "" + +#: templates/strings.js:25 +msgid "There was a problem logging you in. Please try again later." +msgstr "" +"Det oppstod et problem under innloggingen. Vennligst prøv igjen senere." + +#: templates/strings.js:26 +msgid "There was a problem logging you out. Please try again later." +msgstr "Det oppstod et problem under utloggingen. Vennligst prøv igjen senere." + +#: templates/strings.js:31 +msgid "There was a problem looking up your location." +msgstr "" + +#: templates/strings.js:34 +msgid "There was a problem submitting your report. Please try again later." +msgstr "" +"Det oppstod et problem under innsendingen av rapporten. Vennligst prøv igjen " +"senere." + +#: templates/strings.js:35 +msgid "There was a problem submitting your report. Please try again." +msgstr "" +"Det oppstod et problem under innsendingen av rapporten. Vennligst prøv igjen." + +#: templates/strings.js:48 +msgid "There was a problem taking your photo." +msgstr "" + +#: templates/strings.js:51 +msgid "There was a problem uploading your report." +msgstr "Det oppstod et problem under opplastingen av rapporten." + +#: 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 "" + +#: templates/reports.html:9 +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." +msgstr "" + +#: templates/offline.html:33 +msgid "This report has a position." +msgstr "Denne rapporten har en plassering" + +#: 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 +msgid "Title" +msgstr "Tittel" + +#: templates/submit_email.html:17 +msgid "To skip this step in future, you can set a password now." +msgstr "For å hoppe over dette steget i framtiden kan du sette et passord nå." + +#: templates/offline.html:2 templates/strings.js:52 +msgid "Try Again" +msgstr "Prøv igjen" + +#: templates/existing.html:2 +msgid "Unsent Report" +msgstr "Usendt rapport" + +#: templates/strings.js:24 +msgid "Untitled draft" +msgstr "Utkast uten tittel" + +#: templates/strings.js:50 +msgid "Uploading images may take some time, please be patient" +msgstr "Å laste opp bilder kan ta litt tid" + +#: templates/sent.html:15 +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." +msgstr "" + +#: templates/login.html:9 +msgid "You are signed in as %s" +msgstr "Du er logget in som %s" + +#: templates/login.html:24 +msgid "Your Email" +msgstr "Din e-post" + +#: templates/offline.html:64 +msgid "Your Photo" +msgstr "Ditt bilde" + +#: 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 "Your details" +msgstr "Dine detaljer" + +#: templates/login.html:27 templates/submit_password.html:11 +#: templates/submit_set_password.html:14 +msgid "Your password" +msgstr "Ditt passord" + +#: templates/save_offline.html:13 +msgid "discard" +msgstr "forkast" + +#: templates/strings.js:45 +msgid "required" +msgstr "påkrevd" + +#: templates/save_offline.html:12 +msgid "save" +msgstr "lagre" diff --git a/www/templates/no/address_search.html b/www/templates/no/address_search.html new file mode 100644 index 0000000..b8bc71e --- /dev/null +++ b/www/templates/no/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">Cancel</a> + <h1>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> + <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’"> + </div> + </form> + <input type="button" value="Go" 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/no/android_error.html b/www/templates/no/android_error.html new file mode 100644 index 0000000..b39079f --- /dev/null +++ b/www/templates/no/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/no/around.html b/www/templates/no/around.html new file mode 100644 index 0000000..2bc7af8 --- /dev/null +++ b/www/templates/no/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">Utkast <span class="draft_count"><% print( FMS.allDrafts.length ) %></span></span></span> + </a> + <a id="cancel" class="nodisplay" data-role="button" data-icon="arrow-l">Avbryt</a> + <h1><% print( CONFIG.APP_NAME ) %></h1> + <a id="login-options" data-icon="fms-account" class="nodisplay ui-btn-right">Konto</a> +</div> + + <div id="locating" class="nodisplay"> + <div class="radar"></div> + <div id="progress"> + <div id="progress-bar"> + </div> + </div> + + <p> + Leter etter plasseringen din + </p> + + <p> + <input data-theme="c" type="button" id="locate_cancel" value="Avbryt"> + </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="Søk eller bla på kartet"> + <% if ( FMS.testing ) { %> + <div class="testing"> + Test version. Reports will not be sent to the council. + </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"> + Ny rapport her + </a> + <a id="locate-here" data-role="button" data-theme="a" class="map-bottom-btn"> + Sett rapport plassering + </a> + <a id="reposition" data-role="button" data-theme="c" class="map-bottom-btn nodisplay"> + Reposition Report Here + </a> + <a id="confirm-map" data-role="button" data-theme="a" class="map-bottom-btn"> + Bekreft plassering + </a> + +</div> diff --git a/www/templates/no/details.html b/www/templates/no/details.html new file mode 100644 index 0000000..999585a --- /dev/null +++ b/www/templates/no/details.html @@ -0,0 +1,21 @@ +<div data-role="header"> + <h1>Detaljer</h1> + <a id="next" data-icon="arrow-r" data-iconpos="right" class="ui-btn-right">Neste</a> +</div> +<div data-role="content"> + <div class="gmailstyletest"> + <div> + <label for="form_title">Tittel</label> + <input data-role="none" type="text" name="title" id="form_title" placeholder="Vennligst legg inn en tittel" value="<%= title %>" required> + </div> + + <div> + <%= categories %> + </div> + + <div class="noborder"> + <label for="form_detail">Detaljer</label> + <textarea data-role="none" name="detail" id="form_detail" placeholder="Vennligst legg inn detljer for problemet." required><%= details %></textarea> + </div> + </div> +</div> diff --git a/www/templates/no/details_extra.html b/www/templates/no/details_extra.html new file mode 100644 index 0000000..0b84f44 --- /dev/null +++ b/www/templates/no/details_extra.html @@ -0,0 +1,7 @@ +<div data-role="header" data-position="fixed"> + <h1>Ytterligere detaljer</h1> + <a id="next" data-icon="arrow-r" data-iconpos="right" class="ui-btn-right">Neste</a> +</div> +<div data-role="content" data-enhance="false"> + <%= category_extras %> +</div> diff --git a/www/templates/no/existing.html b/www/templates/no/existing.html new file mode 100644 index 0000000..6785a16 --- /dev/null +++ b/www/templates/no/existing.html @@ -0,0 +1,35 @@ +<div data-role="header"> + <h1>Usendt rapport</h1> +</div> +<div data-role="content" role="main"> + <div id="existing_report"> + <% if ( title ) { %> + <h3><%= title %></h3> + <% } %> + + <div class="meta"> + <p> + <% if ( category && category != '-- Velg en kategori --' ) { %> + Saved in the <%= category %> 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="Fullfør rapporten nå" data-role="button" data-theme="a" /> + <input id="save_report" type="button" value="Lagre til senere" data-role="button" data-theme="a" /> + <input id="discard" type="button" value="Forkast" data-role="button" data-theme="a" /> + </div> +</div> diff --git a/www/templates/no/help.html b/www/templates/no/help.html new file mode 100644 index 0000000..3722544 --- /dev/null +++ b/www/templates/no/help.html @@ -0,0 +1,60 @@ +<h1>Frequently Asked Questions</h1> +<dl> + <dt>What is <% print( CONFIG.APP_NAME ) %>?</dt> + <dd><% print( CONFIG.APP_NAME ) %> is a website and app to help people report local problems they’ve found to their council.</dd> + + <dt>How do I use this app?</dt> + <dd>The app will attempt to locate you automatically but if it can't or you want to report + a problem elsewhere you can search by postcode or location. To start reporting a problem scroll + the map till the crosshair is over the location of the problem and press 'New Report here'. + </dd> + + <dt>What happens to the information I provide?</dt> + <dd><strong>All the information you provide will be sent to the council</strong>. + The title, category and details of your report will be displayed on the website. By default + your name will also be displayed on the website but you can choose to have this hidden. + We will <strong>never display your email or phone number on the site</strong>.</dd> + + <dt>What if I want to remain anonymous?</dt> + <dd>If you unselect 'Show my name publicly' when entering your details then your name will not be displayed on the website. + <strong>Your name, email and phone number, if you provided it, will always be sent to the council.</strong></dd> + + <dt>What if I've accidentally included personal information in a report</dt> + <dd>To have a report edited email <a href="mailto:support@fixmystreet.com">support@fixmystreet.com</a> with + details of the report.</dd> + + <dt>I've forgotten my password, how do I reset it?</dt> + <dd>If you've forgotten your password you can reset it by selecting the "set a password" option when + next submitting a report. Please note that you have to click the link in the confirmation email to + activate or change your password.</dd> + + <dt>What sort of problems should I report with <% print( CONFIG.APP_NAME ) %>?</dt> + <dd><% print( CONFIG.APP_NAME ) %> is primarily for reporting things which are + <strong>broken or dirty or damaged or dumped, and need fixing, cleaning + or clearing</strong>.</dd> + + <dt>What isn’t <% print( CONFIG.APP_NAME ) %> for?</dt> + <dd><% print( CONFIG.APP_NAME ) %> is not a way of getting in touch with your council for all + issues – please use <% print( CONFIG.APP_NAME ) %> only for problems such as the above.</dd> + + <dt>Is it free?</dt> + <dd>The site and app are free to use, yes. <% print( CONFIG.APP_NAME ) %> is run + by a registered charity, though, so if you want to make a contribution, <a + onclick="FMS.openExternal(event); return false;" href="https://secure.mysociety.org/donate/">please do</a>. + For more information see the <a onclick="FMS.openExternal(event); return false;" href="http://www.fixmystreet.com/faq/">website</a>. + </dd> + + <dt>Who built <% print( CONFIG.APP_NAME ) %>?</dt> + <dd>The site and this app was built by <a onclick="FMS.openExternal(event); return false;" href="http://www.mysociety.org/">mySociety</a>.</dd> + <dt>Thanks to...</dt> + <dd> + <a onclick="FMS.openExternal(event); return false;" href="http://www.ordnancesurvey.co.uk">Ordnance Survey</a> (for the maps, + UK postcodes, and UK addresses – data © Crown copyright, all + rights reserved, Ministry of Justice 100037819 2008), the entire free software + community (this particular project was brought to you by Phonegap, Backbone, jQuery mobile + and the number 161.290) and <a + onclick="FMS.openExternal(event); return false;" href="http://www.bytemark.co.uk/">Bytemark</a> (who kindly host all + our servers). + + Let us know if we’ve missed anyone.</dd> +</dl> diff --git a/www/templates/no/home.html b/www/templates/no/home.html new file mode 100644 index 0000000..e8e0e8c --- /dev/null +++ b/www/templates/no/home.html @@ -0,0 +1,5 @@ +<div data-role="content"> + <div id="locating"> + <div class="radar"></div> + </div> +</div> diff --git a/www/templates/no/initial_help.html b/www/templates/no/initial_help.html new file mode 100644 index 0000000..7f684e6 --- /dev/null +++ b/www/templates/no/initial_help.html @@ -0,0 +1,8 @@ +<h1>Welcome to <% print( CONFIG.APP_NAME ) %></h1> +<p> +Using this app you can report common street problems, like potholes or broken street lights, to councils throughout the UK. +</p> + +<p> +It works online and offline, because we know that there isn't always a signal when you need one. +</p> diff --git a/www/templates/no/login.html b/www/templates/no/login.html new file mode 100644 index 0000000..df328c9 --- /dev/null +++ b/www/templates/no/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">Hjem</a> + <h1>Logg inn</h1> +</div> + +<div data-role="content"> + <% if ( FMS.isLoggedIn ) { %> + <div id="signed_in_row"> + <p class="notopmargin">Du er logget in som <%= email %></p> + <div id="err" class="nodisplay"></div> + <div class="bottom-btn"> + <input type="button" id="logout" name="logout" value="Logg ut" data-theme="a"> + </div> + </div> + <div id="password_row" class="nodisplay"> + <p class="notopmargin"> + Logget ut! + </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="Din e-post" required> + </div> + <div> + <input data-role="none" type="password" value="" name="password" id="form_password" placeholder="Ditt passord" required> + </div> + <div class="noborder"> + <input type="submit" id="login" name="login" value="Logg inn" data-theme="a"> + </div> + </form> + </div> + <div id="success_row" class="nodisplay"> + <p class="notopmargin"> + Logget inn! + </p> + <div id="err" class="nodisplay"></div> + <div class="bottom-btn"> + <input type="button" id="logout" name="logout" value="Logg ut" data-theme="a"> + </div> + </div> +</div> diff --git a/www/templates/no/offline.html b/www/templates/no/offline.html new file mode 100644 index 0000000..5e14925 --- /dev/null +++ b/www/templates/no/offline.html @@ -0,0 +1,71 @@ +<div data-role="header" data-position="fixed"> + <a id="offline-prev-btn" class="ui-btn-left">Prøv igjen</a> + <h1>Frakoblet</h1> + <a id="offline-next-btn" data-icon="arrow-r" data-iconpos="right" class="ui-btn-right">Hopp over</a> +</div> + <div id="locating" class="nodisplay"> + <div class="radar"></div> + <div id="progress"> + <div id="progress-bar"> + </div> + </div> + + <p> + Leter etter plasseringen din + </p> + + <p> + <input data-theme="c" type="button" id="locate_cancel" value="Avbryt"> + </p> + </div> +<div data-role="content"> + <div> + <p class="notopmargin"> + <% if ( typeof id != 'undefined' ) { %> + Oh dear - we can't detect an internet connection. However you can still edit the report now and send it later. + <% } else { %> + 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. + <% } %> + </p> + + <p id="locate_result"> + <% if ( lat ) { %> + Denne rapporten har en plassering + <% } else { %> + <input type="button" data-role="button" data-theme="a" id="locate" value="Finn posisjon (valgfritt)" > + <% } %> + </p> + + <div class="inputcard"> + <div> + <input data-role="none" type="text" value="<%= title %>" name="title" id="form_title" placeholder="Vennligst legg inn en tittel" 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>Legg til et bilde <em>(valgfritt)</em></label> + <input data-icon="fms-photo-new" value="Ta nytt bilde" type="button" name="photo_button" id="id_photo_button" data-role="button" data-theme="a"> + <input data-icon="fms-photo-existing" value="Legg til et eksisterende bilde" 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>Ditt bilde</label> + <div class="photo"> + <img class="small" id="photo" src="<%= file %>" /> + </div> + <input value="Fjern bilde" 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/no/photo.html b/www/templates/no/photo.html new file mode 100644 index 0000000..43bf1ad --- /dev/null +++ b/www/templates/no/photo.html @@ -0,0 +1,36 @@ +<div data-role="header"> + <h1>Legg til bilde</h1> + <% if ( file == '' ) { %> + <a id="photo-next-btn" data-icon="arrow-r" data-iconpos="right" class="ui-btn-right">Hopp over</a> + <% } else { %> + <a id="photo-next-btn" data-icon="arrow-r" data-iconpos="right" class="ui-btn-right">Neste</a> + <% } %> +</div> +<div data-role="content"> + <% var photoClass = 'nodisplay', nophotoClass = 'nodisplay'; + if ( file != '' ) { + photoClass = ''; + } else { + nophotoClass = ''; + } %> + <h2 id="nophoto_title" class="<% print( nophotoClass ); %>"> + Legg til et bilde <em>(valgfritt)</em> + </h2> + <h2 id="photo_title" class="<% print( photoClass ); %>"> + Bilde for rapport + </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="Legg til et eksisterende bilde" > + <input data-icon="fms-photo-new" id="id_photo_button" type="button" data-theme="a" value="Ta nytt bilde"> + </div> +</div> diff --git a/www/templates/no/reports.html b/www/templates/no/reports.html new file mode 100644 index 0000000..34ffa84 --- /dev/null +++ b/www/templates/no/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">Hjem</a> + <h1>Utkast</h1> +</div> +<div id="drafts"> + <p id="noreports" class="nodisplay">Hvis du begynner å lage en rapport, men ikke fullfører og sender den, vises den i denne menyen, slik at du kan fullføre den senere</p> + <div id="report-list" class="nodisplay"> + <p class="notopmargin"> + These are your draft, unsent reports. To finish and send them, open a report when online. + </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">Slett</a></li>' ); + } + } ); %> + </ul> + </div> +</div> diff --git a/www/templates/no/save_offline.html b/www/templates/no/save_offline.html new file mode 100644 index 0000000..d919f9f --- /dev/null +++ b/www/templates/no/save_offline.html @@ -0,0 +1,15 @@ +<div data-role="header"> + <h1>Frakoblet</h1> +</div> +<div data-role="content"> + <h3 class="notopmargin">There is no internet connection</h3> + + <p> + There isn't an internet connection, do you want to save the current report for later? + </p> + + <div class="bottom-btn"> + <input id="save_report" type="button" value="lagre"> + <input id="discard" type="button" value="forkast"> + </div> +</div> diff --git a/www/templates/no/sent.html b/www/templates/no/sent.html new file mode 100644 index 0000000..4467031 --- /dev/null +++ b/www/templates/no/sent.html @@ -0,0 +1,22 @@ +<div id="report-created-header" data-role="header"> + <a class="ui-btn-left">Hjem</a> + <h1>Rapport laget</h1> +</div> +<div data-role="content"> + <% if ( typeof email_confirm != 'undefined' && email_confirm === 1 ) { %> + <h3>Bekreftelses e-post sent</h3> + + <p> + 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. + </p> + <% } else { %> + <h3>Thanks. Your report will be sent to the authorities immediately.</h3> + + <p class="center"><input type="button" data-theme="a" id="open_report" value="View it on the site"></p> + <% } %> + + + <div class="bottom-btn"> + <input type="button" id="id_report_another" data-theme="a" value="Lag ny rapport" > + </div> +</div> diff --git a/www/templates/no/submit.html b/www/templates/no/submit.html new file mode 100644 index 0000000..a3b1c73 --- /dev/null +++ b/www/templates/no/submit.html @@ -0,0 +1,98 @@ +<div id="submit-header" data-role="header" data-position="fixed" data-id="locate"> + <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">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)"> + </div> + + <div class="form-txt-submit-box"> + <input class="green-btn" type="button" id="submit_signed_in" name="submit_signed_in" value="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> + + <div id="form_sign_in"> + <h4 id="have_password">Do you have a <% print( 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="Your password" value=""> + <input class="green-btn" type="button" id="submit_sign_in" name="submit_sign_in" value="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> + + <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">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)"> + </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="Report"> + </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/no/submit_confirm.html b/www/templates/no/submit_confirm.html new file mode 100644 index 0000000..5fc4eec --- /dev/null +++ b/www/templates/no/submit_confirm.html @@ -0,0 +1,39 @@ +<div id="submit-header" data-role="header"> + <h1>Dine detaljer</h1> +</div> + +<div data-role="content"> + <p class="notopmargin"> + You are logged in as <%= user.email %>. + </p> + + <p> + Please confirm your name, if you want it to be public and optionally your phone number. + </p> + + <div id="errors"></div> + + <div class="inputcard"> + <% if ( typeof model.titles_list !== 'undefined' ) { %> + <div> + <select data-role="none" placeholder="Tittel" id="form_title" name="title" required> + <option value="">Tittel</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="Vennligst legg inn navnet ditt" required> + </div> + <div> + <input data-role="none" type="tel" value="<%= user.phone %>" name="name" id="form_phone" placeholder="Legg til telefonnummer (valgfritt)"> + </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">Vis navnet mitt offentlig</label> + </div> + </div> + <div class="bottom-btn"> + <input data-role="button" data-theme="a" type="button" id="report" name="report" value="Rapport"> + </div> +</div> diff --git a/www/templates/no/submit_email.html b/www/templates/no/submit_email.html new file mode 100644 index 0000000..6add2af --- /dev/null +++ b/www/templates/no/submit_email.html @@ -0,0 +1,25 @@ +<div id="submit-header" data-role="header"> + <h1>Dine detaljer</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="Vennligst legg inn e-post adressen din" required> + </div> + </div> + + <p> + This app needs to send you a confirmation email before we can send your report to the council. + </p> + + <p> + For å hoppe over dette steget i framtiden kan du sette et passord nå. + </p> + + <div class="bottom-btn"> + <input data-role="button" data-theme="a" type="button" id="email_confirm" name="email_confirm" value="Jeg vil ikke sette et passord"> + <input data-role="button" data-theme="a" type="button" id="set_password" name="set_password" value="Jeg vil sette et passord"> + <input data-role="button" data-theme="a" type="button" id="have_password" name="have_password" value="Jeg har en allerede - logg inn"> + </div> +</div> diff --git a/www/templates/no/submit_name.html b/www/templates/no/submit_name.html new file mode 100644 index 0000000..4ac064c --- /dev/null +++ b/www/templates/no/submit_name.html @@ -0,0 +1,38 @@ +<div id="submit-header" data-role="header"> + <h1>Dine detaljer</h1> +</div> + +<div data-role="content"> + <div id="errors"></div> + <p class="top"> + <% if ( nopassword ) { %> + No problem - we don't like faffing with passwords either. + <% } %> + Please give us some basic details, and you're nearly done. + </p> + <div class="inputcard"> + <% if ( typeof model.titles_list !== 'undefined' ) { %> + <div> + <select data-role="none" placeholder="Tittel" id="form_title" name="title" required> + <option value="">Tittel</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="Vennligst legg inn navnet ditt" required> + </div> + <div> + <input data-role="none" type="tel" value="<%= user.phone %>" name="name" id="form_phone" placeholder="Legg til telefonnummer (valgfritt)"> + </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">Vis navnet mitt offentlig</label> + </fieldset> + </div> + </div> + <div class="bottom-btn"> + <input data-role="button" data-theme="a" type="button" id="send_confirm" name="send_confirm" value="Send bekreftelses e-post"> + </div> +</div> diff --git a/www/templates/no/submit_password.html b/www/templates/no/submit_password.html new file mode 100644 index 0000000..d2bd0e3 --- /dev/null +++ b/www/templates/no/submit_password.html @@ -0,0 +1,50 @@ +<div id="submit-header" data-role="header"> + <h1>Dine detaljer</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="Ditt passord" required> + </div> + </div> + <div class="noborder"> + <input data-role="button" data-theme="a" type="submit" id="report" name="report" value="Rapport"> + </div> + </div> + <div id="check_name" class="nodisplay"> + <div class="inputcard"> + <p> + Please confirm your name, if you want it to be public and optionally your phone number. + </p> + + <% if ( typeof model.titles_list !== 'undefined' ) { %> + <div> + <select data-role="none" placeholder="Tittel" id="form_title" name="title" required> + <option value="">Tittel</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="Vennligst legg inn telefonnummeret ditt (valgfritt)"> + </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">Vis navnet mitt offentlig</label> + </fieldset> + </div> + </div> + <div class="bottom-btn"> + <input data-role="button" data-theme="a" type="submit" id="confirm_name" name="report" value="Bekreft navn"> + </div> + </div> + </form> +</div> diff --git a/www/templates/no/submit_set_password.html b/www/templates/no/submit_set_password.html new file mode 100644 index 0000000..1be786a --- /dev/null +++ b/www/templates/no/submit_set_password.html @@ -0,0 +1,22 @@ +<div id="submit-header" data-role="header"> + <h1>Dine detaljer</h1> +</div> + +<div data-role="content"> + <div id="errors"></div> + <form id="passwordForm" name="passwordForm"> + <div id="password_row"> + <p class="notopmargin"> + Skriv inn et passord for kontoen din. Dette vil ikke bli aktivert før du klikker lenken i bekreftelsesmeldingen + </p> + <div class="inputcard"> + <div> + <input data-role="none" type="password" value="" name="password" id="form_password" placeholder="Ditt passord" required> + </div> + </div> + <div class="noborder"> + <input data-role="button" data-theme="a" type="submit" id="continue" name="report" value="Fortsett"> + </div> + </div> + </form> +</div> |