diff options
author | Matthew Somerville <matthew@fury.ukcod.org.uk> | 2011-02-22 13:55:09 +0000 |
---|---|---|
committer | Matthew Somerville <matthew@fury.ukcod.org.uk> | 2011-02-22 13:55:09 +0000 |
commit | 0c4e6283da20e3074ae21d6028347e0e26a4e103 (patch) | |
tree | e5ce65d697bc3ee2c2899555a7b29d2e51e97b72 | |
parent | 59443736f1b7fb42a60c89211ed035de1d1c624a (diff) |
Admin start translating.
-rwxr-xr-x | bin/gettext-extract | 2 | ||||
-rw-r--r-- | locale/FixMyStreet.po | 381 | ||||
-rw-r--r-- | locale/cy_GB.UTF-8/LC_MESSAGES/EmptyHomes.po | 407 | ||||
-rw-r--r-- | locale/nb_NO.UTF-8/LC_MESSAGES/FixMyStreet.po | 409 | ||||
-rwxr-xr-x | web-admin/index.cgi | 127 |
5 files changed, 1049 insertions, 277 deletions
diff --git a/bin/gettext-extract b/bin/gettext-extract index e6817aee5..24defd014 100755 --- a/bin/gettext-extract +++ b/bin/gettext-extract @@ -40,7 +40,7 @@ PO=locale/FixMyStreet.po rm -f $PO # Extract from Perl -xgettext --add-comments=TRANS --language=Perl --keyword=_ --keyword=nget:1,2 --from-code=utf-8 -o $PO `find perllib -name "*.pm"` web/*.cgi bin/send-* db/*.pl +xgettext --add-comments=TRANS --language=Perl --keyword=_ --keyword=nget:1,2 --from-code=utf-8 -o $PO `find perllib -name "*.pm"` web/*.cgi bin/send-* db/*.pl web-admin/*.cgi # Fix headers TEMP=`tempfile` diff --git a/locale/FixMyStreet.po b/locale/FixMyStreet.po index 8c116bdb3..cf5d40b7f 100644 --- a/locale/FixMyStreet.po +++ b/locale/FixMyStreet.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: 1.0\n" "Report-Msgid-Bugs-To: matthew@mysociety.org\n" -"POT-Creation-Date: 2011-02-22 00:27+0000\n" +"POT-Creation-Date: 2011-02-22 13:53+0000\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" @@ -84,9 +84,9 @@ msgstr "" #: perllib/Page.pm:312 msgid "" "Built by <a href=\"http://www.mysociety.org/\">mySociety</a> and maintained " -"by NUUG, using some <a href=\"http://github.com/mysociety/fixmystreet" -"\">clever</a> <a href=\"https://secure.mysociety.org/cvstrac/dir?" -"d=mysociety/services/TilMa\">code</a>." +"by <a href=\"http://www.nuug.no/\">NUUG</a>, using some <a href=\"http://" +"github.com/mysociety/fixmystreet\">clever</a> <a href=\"https://secure." +"mysociety.org/cvstrac/dir?d=mysociety/services/TilMa\">code</a>." msgstr "" #: perllib/Page.pm:316 @@ -257,7 +257,7 @@ msgstr "" msgid "Not reported to council" msgstr "" -#: perllib/Page.pm:622 +#: perllib/Page.pm:622 web-admin/index.cgi:521 web-admin/index.cgi:645 msgid "Updates" msgstr "" @@ -279,7 +279,7 @@ msgstr "" msgid "reopened" msgstr "" -#: perllib/Page.pm:640 web/index.cgi:1067 +#: perllib/Page.pm:640 web/index.cgi:1071 msgid "Offensive? Unsuitable? Tell us" msgstr "" @@ -448,7 +448,7 @@ msgid "" "empty homes</a>.\n" msgstr "" -#: web/ajax.cgi:55 web/ajax.cgi:76 web/index.cgi:899 web/index.cgi:914 +#: web/ajax.cgi:55 web/ajax.cgi:76 web/index.cgi:902 web/index.cgi:917 msgid "(fixed)" msgstr "" @@ -545,7 +545,7 @@ msgstr "" msgid "RSS feed of nearby problems" msgstr "" -#: web/alert.cgi:308 web/alert.cgi:367 web/index.cgi:967 web/index.cgi:1078 +#: web/alert.cgi:308 web/alert.cgi:367 web/index.cgi:970 web/index.cgi:1082 #: web/reports.cgi:254 msgid "RSS feed" msgstr "" @@ -616,11 +616,11 @@ msgstr "" msgid "Receive email when updates are left on this problem." msgstr "" -#: web/alert.cgi:461 web/alert.cgi:488 web/index.cgi:736 web/index.cgi:1072 +#: web/alert.cgi:461 web/alert.cgi:488 web/index.cgi:736 web/index.cgi:1076 msgid "Email:" msgstr "" -#: web/alert.cgi:462 web/alert.cgi:489 web/index.cgi:1073 +#: web/alert.cgi:462 web/alert.cgi:489 web/index.cgi:1077 msgid "Subscribe" msgstr "" @@ -736,11 +736,13 @@ msgid "" "reported a problem to a council before?" msgstr "" -#: web/confirm.cgi:190 web/questionnaire.cgi:231 +#: web/confirm.cgi:190 web/questionnaire.cgi:234 web-admin/index.cgi:339 +#: web-admin/index.cgi:340 web-admin/index.cgi:589 msgid "Yes" msgstr "" -#: web/confirm.cgi:191 web/questionnaire.cgi:232 +#: web/confirm.cgi:191 web/questionnaire.cgi:235 web-admin/index.cgi:339 +#: web-admin/index.cgi:340 web-admin/index.cgi:589 msgid "No" msgstr "" @@ -842,7 +844,7 @@ msgstr "" msgid "Message:" msgstr "" -#: web/contact.cgi:238 web/index.cgi:1088 +#: web/contact.cgi:238 web/index.cgi:1092 msgid "Post" msgstr "" @@ -1073,7 +1075,7 @@ msgid "" "name if you give us permission." msgstr "" -#: web/index.cgi:660 web/index.cgi:662 +#: web/index.cgi:660 web/index.cgi:662 web/index.cgi:675 msgid " or " msgstr "" @@ -1165,11 +1167,11 @@ msgstr "" msgid "Details:" msgstr "" -#: web/index.cgi:734 web/index.cgi:1104 +#: web/index.cgi:734 web/index.cgi:1108 msgid "Photo:" msgstr "" -#: web/index.cgi:735 web/index.cgi:1085 +#: web/index.cgi:735 web/index.cgi:1089 msgid "Name:" msgstr "" @@ -1177,7 +1179,7 @@ msgstr "" msgid "Phone:" msgstr "" -#: web/index.cgi:738 web/index.cgi:1092 +#: web/index.cgi:738 web/index.cgi:1096 msgid "(optional)" msgstr "" @@ -1240,175 +1242,175 @@ msgstr "" msgid "Submit" msgstr "" -#: web/index.cgi:880 +#: web/index.cgi:883 msgid "Hide stale reports" msgstr "" -#: web/index.cgi:883 +#: web/index.cgi:886 msgid "Include stale reports" msgstr "" -#: web/index.cgi:902 +#: web/index.cgi:905 msgid "No problems have been reported yet." msgstr "" -#: web/index.cgi:918 +#: web/index.cgi:921 msgid "No problems found." msgstr "" -#: web/index.cgi:923 +#: web/index.cgi:926 msgid "Show pins" msgstr "" -#: web/index.cgi:927 +#: web/index.cgi:930 msgid "Hide pins" msgstr "" -#: web/index.cgi:966 +#: web/index.cgi:969 msgid "Email me new local problems" msgstr "" -#: web/index.cgi:968 +#: web/index.cgi:971 msgid "RSS feed of recent local problems" msgstr "" -#: web/index.cgi:971 +#: web/index.cgi:974 msgid "Problems in this area" msgstr "" -#: web/index.cgi:972 +#: web/index.cgi:975 msgid "Reports on and around the map" msgstr "" -#: web/index.cgi:973 +#: web/index.cgi:976 #, perl-format msgid "Closest nearby problems <small>(within %skm)</small>" msgstr "" -#: web/index.cgi:977 +#: web/index.cgi:980 msgid "" "To report a problem, simply\n" " <strong>click on the map</strong> at the correct location." msgstr "" -#: web/index.cgi:979 +#: web/index.cgi:982 #, perl-format msgid "" "<small>If you cannot see the map, <a href='%s' rel='nofollow'>skip this\n" " step</a>.</small>" msgstr "" -#: web/index.cgi:984 +#: web/index.cgi:987 msgid "Recent local problems, FixMyStreet" msgstr "" -#: web/index.cgi:996 +#: web/index.cgi:1000 msgid "There were problems with your update. Please see below." msgstr "" -#: web/index.cgi:1017 web/index.cgi:1019 +#: web/index.cgi:1021 web/index.cgi:1023 msgid "Unknown problem ID" msgstr "" -#: web/index.cgi:1020 +#: web/index.cgi:1024 msgid "That report has been removed from FixMyStreet." msgstr "" -#: web/index.cgi:1040 +#: web/index.cgi:1044 msgid "This problem is old and of unknown status." msgstr "" -#: web/index.cgi:1043 web/index.cgi:1084 +#: web/index.cgi:1047 web/index.cgi:1088 msgid "This problem has been fixed" msgstr "" -#: web/index.cgi:1068 +#: web/index.cgi:1072 msgid "More problems nearby" msgstr "" -#: web/index.cgi:1071 +#: web/index.cgi:1075 msgid "Email me updates" msgstr "" -#: web/index.cgi:1074 +#: web/index.cgi:1078 msgid "Receive email when updates are left on this problem" msgstr "" -#: web/index.cgi:1079 +#: web/index.cgi:1083 msgid "RSS feed of updates to this problem" msgstr "" -#: web/index.cgi:1080 +#: web/index.cgi:1084 msgid "Provide an update" msgstr "" -#: web/index.cgi:1086 +#: web/index.cgi:1090 msgid "Update:" msgstr "" -#: web/index.cgi:1087 +#: web/index.cgi:1091 msgid "Alert me to future updates" msgstr "" -#: web/index.cgi:1095 +#: web/index.cgi:1099 msgid "" "Please note that updates are not sent to the council. If you leave your name " "it will be public. Your information will only be used in accordance with our " "<a href=\"/faq#privacy\">privacy policy</a>" msgstr "" -#: web/index.cgi:1115 +#: web/index.cgi:1119 msgid "Updates to this problem, FixMyStreet" msgstr "" -#: web/questionnaire.cgi:28 web/questionnaire.cgi:77 web/questionnaire.cgi:210 -#: web/questionnaire.cgi:230 +#: web/questionnaire.cgi:29 web/questionnaire.cgi:80 web/questionnaire.cgi:213 +#: web/questionnaire.cgi:233 msgid "Questionnaire" msgstr "" -#: web/questionnaire.cgi:38 +#: web/questionnaire.cgi:41 msgid "" "I'm afraid we couldn't validate that token. If you've copied the URL from an " "email, please check that you copied it exactly.\n" msgstr "" -#: web/questionnaire.cgi:45 +#: web/questionnaire.cgi:48 #, perl-format msgid "" "You have already answered this questionnaire. If you have a question, please " "<a href='%s'>get in touch</a>, or <a href='%s'>view your problem</a>.\n" msgstr "" -#: web/questionnaire.cgi:50 +#: web/questionnaire.cgi:53 msgid "I'm afraid we couldn't locate your problem in the database.\n" msgstr "" -#: web/questionnaire.cgi:89 +#: web/questionnaire.cgi:92 msgid "Please state whether or not the problem has been fixed" msgstr "" -#: web/questionnaire.cgi:92 +#: web/questionnaire.cgi:95 msgid "" "Please say whether you've ever reported a problem to your council before" msgstr "" -#: web/questionnaire.cgi:94 +#: web/questionnaire.cgi:97 msgid "Please indicate whether you'd like to receive another questionnaire" msgstr "" -#: web/questionnaire.cgi:96 +#: web/questionnaire.cgi:99 msgid "Please provide some explanation as to why you're reopening this report" msgstr "" -#: web/questionnaire.cgi:112 +#: web/questionnaire.cgi:115 msgid "Please provide some text as well as a photo" msgstr "" -#: web/questionnaire.cgi:143 +#: web/questionnaire.cgi:146 msgid "Questionnaire filled in by problem reporter" msgstr "" -#: web/questionnaire.cgi:163 +#: web/questionnaire.cgi:166 msgid "" "<p>Thank you very much for filling in our questionnaire; if you\n" "get some more information about the status of your problem, please come back " @@ -1416,7 +1418,7 @@ msgid "" "site and leave an update.</p>\n" msgstr "" -#: web/questionnaire.cgi:171 +#: web/questionnaire.cgi:174 #, perl-format msgid "" "<p style=\"font-size:150%%\">We're sorry to hear that. We have two " @@ -1428,21 +1430,21 @@ msgid "" "</p>\n" msgstr "" -#: web/questionnaire.cgi:180 +#: web/questionnaire.cgi:183 msgid "" "<p style=\"font-size:150%\">Thank you very much for filling in our " "questionnaire; glad to hear it's been fixed.</p>\n" msgstr "" -#: web/questionnaire.cgi:233 +#: web/questionnaire.cgi:236 msgid "Don’t know" msgstr "" -#: web/questionnaire.cgi:234 +#: web/questionnaire.cgi:237 msgid "Submit questionnaire" msgstr "" -#: web/questionnaire.cgi:251 +#: web/questionnaire.cgi:254 msgid "" "<p>Getting empty homes back into use can be difficult. You shouldn't expect\n" "the property to be back into use yet. But a good council will have started " @@ -1457,7 +1459,7 @@ msgid "" "www.emptyhomes.com/getinvolved/campaign.html</a>.</p>\n" msgstr "" -#: web/questionnaire.cgi:261 +#: web/questionnaire.cgi:264 msgid "" "<p>Getting empty homes back into use can be difficult, but by now a good " "council\n" @@ -1475,39 +1477,39 @@ msgid "" "emptyhomes.com/getinvolved/campaign.html</a>.</p>\n" msgstr "" -#: web/questionnaire.cgi:274 +#: web/questionnaire.cgi:277 msgid "" "The details of your problem are available on the right hand side of this " "page." msgstr "" -#: web/questionnaire.cgi:275 +#: web/questionnaire.cgi:278 msgid "Please take a look at the updates that have been left." msgstr "" -#: web/questionnaire.cgi:281 +#: web/questionnaire.cgi:284 msgid "An update marked this problem as fixed." msgstr "" -#: web/questionnaire.cgi:282 +#: web/questionnaire.cgi:285 msgid "Has this problem been fixed?" msgstr "" -#: web/questionnaire.cgi:289 +#: web/questionnaire.cgi:292 msgid "Reported before" msgstr "" -#: web/questionnaire.cgi:290 +#: web/questionnaire.cgi:293 msgid "First time" msgstr "" -#: web/questionnaire.cgi:291 +#: web/questionnaire.cgi:294 msgid "" "Have you ever reported a problem to a council before, or is this your first " "time?" msgstr "" -#: web/questionnaire.cgi:301 +#: web/questionnaire.cgi:304 msgid "" "If you wish to leave a public update on the problem, please enter it here\n" "(please note it will not be sent to the council). For example, what was\n" @@ -1794,6 +1796,243 @@ msgstr "" msgid "The latest problems within {{NAME}}" msgstr "" +#: web-admin/index.cgi:68 web-admin/index.cgi:123 web-admin/index.cgi:124 +msgid "Summary" +msgstr "" + +#: web-admin/index.cgi:69 web-admin/index.cgi:182 web-admin/index.cgi:183 +msgid "Council contacts" +msgstr "" + +#: web-admin/index.cgi:71 web-admin/index.cgi:782 web-admin/index.cgi:783 +msgid "Timeline" +msgstr "" + +#: web-admin/index.cgi:84 +msgid "FixMyStreet administration" +msgstr "" + +#: web-admin/index.cgi:100 +msgid "FixMyStreet admin:" +msgstr "" + +#: web-admin/index.cgi:162 +msgid "Graph of problem creation by status over time" +msgstr "" + +#: web-admin/index.cgi:165 +msgid "Problem breakdown by state" +msgstr "" + +#: web-admin/index.cgi:170 +msgid "Update breakdown by state" +msgstr "" + +#: web-admin/index.cgi:186 +msgid "Diligency prize league table" +msgstr "" + +#: web-admin/index.cgi:193 +msgid "No edits have yet been made." +msgstr "" + +#: web-admin/index.cgi:197 +msgid "Councils" +msgstr "" + +#: web-admin/index.cgi:210 web-admin/index.cgi:585 +msgid "None" +msgstr "" + +#: web-admin/index.cgi:228 +msgid "No info at all" +msgstr "" + +#: web-admin/index.cgi:230 +msgid "Currently has 1+ deleted" +msgstr "" + +#: web-admin/index.cgi:232 +msgid "Some unconfirmeds" +msgstr "" + +#: web-admin/index.cgi:234 +msgid "All confirmed" +msgstr "" + +#: web-admin/index.cgi:264 web-admin/index.cgi:274 web-admin/index.cgi:291 +msgid "*unknown*" +msgstr "" + +#: web-admin/index.cgi:267 web-admin/index.cgi:295 +msgid "Values updated" +msgstr "" + +#: web-admin/index.cgi:277 +msgid "New category contact added" +msgstr "" + +#: web-admin/index.cgi:314 web-admin/index.cgi:397 +#, perl-format +msgid "Council contacts for %s" +msgstr "" + +#: web-admin/index.cgi:327 +msgid " List all reported problems" +msgstr "" + +#: web-admin/index.cgi:329 +msgid "Text only version" +msgstr "" + +#: web-admin/index.cgi:335 +msgid "Category" +msgstr "" + +#: web-admin/index.cgi:335 web-admin/index.cgi:437 +msgid "Email" +msgstr "" + +#: web-admin/index.cgi:335 web-admin/index.cgi:367 web-admin/index.cgi:420 +#: web-admin/index.cgi:437 web-admin/index.cgi:736 +msgid "Confirmed" +msgstr "" + +#: web-admin/index.cgi:335 web-admin/index.cgi:369 web-admin/index.cgi:422 +#: web-admin/index.cgi:437 +msgid "Deleted" +msgstr "" + +#: web-admin/index.cgi:335 +msgid "Last editor" +msgstr "" + +#: web-admin/index.cgi:335 web-admin/index.cgi:437 +msgid "Note" +msgstr "" + +#: web-admin/index.cgi:335 web-admin/index.cgi:437 +msgid "When edited" +msgstr "" + +#: web-admin/index.cgi:335 +msgid "Confirm" +msgstr "" + +#: web-admin/index.cgi:352 +msgid "Update statuses" +msgstr "" + +#: web-admin/index.cgi:357 +msgid "Add new category" +msgstr "" + +#: web-admin/index.cgi:360 web-admin/index.cgi:414 +msgid "Category: " +msgstr "" + +#: web-admin/index.cgi:363 web-admin/index.cgi:417 +msgid "Email: " +msgstr "" + +#: web-admin/index.cgi:372 web-admin/index.cgi:425 +msgid "Note: " +msgstr "" + +#: web-admin/index.cgi:379 +msgid "Create category" +msgstr "" + +#: web-admin/index.cgi:431 +msgid "Save changes" +msgstr "" + +#: web-admin/index.cgi:435 +msgid "History" +msgstr "" + +#: web-admin/index.cgi:437 +msgid "Editor" +msgstr "" + +#: web-admin/index.cgi:441 web-admin/index.cgi:442 +msgid "yes" +msgstr "" + +#: web-admin/index.cgi:441 web-admin/index.cgi:442 +msgid "no" +msgstr "" + +#: web-admin/index.cgi:469 +msgid "Search:" +msgstr "" + +#: web-admin/index.cgi:541 +msgid "That problem will now be resent." +msgstr "" + +#: web-admin/index.cgi:547 +msgid "I am afraid you cannot confirm unconfirmed reports." +msgstr "" + +#: web-admin/index.cgi:576 web-admin/index.cgi:696 +msgid "Updated!" +msgstr "" + +#: web-admin/index.cgi:580 +#, perl-format +msgid "Editing problem %d" +msgstr "" + +#: web-admin/index.cgi:608 web-admin/index.cgi:736 +msgid "State:" +msgstr "" + +#: web-admin/index.cgi:608 +msgid "Open" +msgstr "" + +#: web-admin/index.cgi:608 +msgid "Fixed" +msgstr "" + +#: web-admin/index.cgi:608 web-admin/index.cgi:736 +msgid "Hidden" +msgstr "" + +#: web-admin/index.cgi:608 web-admin/index.cgi:736 +msgid "Unconfirmed" +msgstr "" + +#: web-admin/index.cgi:608 +msgid "Partial" +msgstr "" + +#: web-admin/index.cgi:611 +msgid "You really want to resend?" +msgstr "" + +#: web-admin/index.cgi:611 +msgid "Resend report" +msgstr "" + +#: web-admin/index.cgi:642 web-admin/index.cgi:756 +msgid "Submit changes" +msgstr "" + +#: web-admin/index.cgi:674 +msgid "Edit" +msgstr "" + +#: web-admin/index.cgi:701 +msgid "Problem marked as open." +msgstr "" + +#: web-admin/index.cgi:717 +#, perl-format +msgid "Editing update %d" +msgstr "" + #. Please leave the first word "Subject:" untranslated #: templates/emails/alert-confirm diff --git a/locale/cy_GB.UTF-8/LC_MESSAGES/EmptyHomes.po b/locale/cy_GB.UTF-8/LC_MESSAGES/EmptyHomes.po index 30e822c88..1bd47967f 100644 --- a/locale/cy_GB.UTF-8/LC_MESSAGES/EmptyHomes.po +++ b/locale/cy_GB.UTF-8/LC_MESSAGES/EmptyHomes.po @@ -10,7 +10,7 @@ msgid "" msgstr "" "Project-Id-Version: 1.0\n" "Report-Msgid-Bugs-To: matthew@mysociety.org\n" -"POT-Creation-Date: 2011-02-22 00:27+0000\n" +"POT-Creation-Date: 2011-02-22 13:53+0000\n" "PO-Revision-Date: 2009-07-10 14:20-0000\n" "Last-Translator: Mark Smith <Mark.Smith@trosol.co.uk>\n" "Language-Team: mySociety\n" @@ -95,9 +95,9 @@ msgstr "" #, fuzzy msgid "" "Built by <a href=\"http://www.mysociety.org/\">mySociety</a> and maintained " -"by NUUG, using some <a href=\"http://github.com/mysociety/fixmystreet" -"\">clever</a> <a href=\"https://secure.mysociety.org/cvstrac/dir?" -"d=mysociety/services/TilMa\">code</a>." +"by <a href=\"http://www.nuug.no/\">NUUG</a>, using some <a href=\"http://" +"github.com/mysociety/fixmystreet\">clever</a> <a href=\"https://secure." +"mysociety.org/cvstrac/dir?d=mysociety/services/TilMa\">code</a>." msgstr "" "Adeiladwyd gan <a href=\"http://www.mysociety.org/\">mySociety</a>, gan " "ddefnyddio tipyn o <a href=\"https://secure.mysociety.org/cvstrac/dir?" @@ -289,7 +289,7 @@ msgstr "Anfonwyd at %s %s yn ddiweddarach" msgid "Not reported to council" msgstr "Ni roddwyd gwybod i'r cyngor am hyn" -#: perllib/Page.pm:622 +#: perllib/Page.pm:622 web-admin/index.cgi:521 web-admin/index.cgi:645 msgid "Updates" msgstr "Diweddariadau" @@ -311,7 +311,7 @@ msgstr "cofnodwyd bod hyn wedi'i adfer i'w ddefnyddio" msgid "reopened" msgstr "wedi'i ailagor" -#: perllib/Page.pm:640 web/index.cgi:1067 +#: perllib/Page.pm:640 web/index.cgi:1071 msgid "Offensive? Unsuitable? Tell us" msgstr "Sarhaus? Anaddas? Rhowch wybod i ni" @@ -523,7 +523,7 @@ msgstr "" "cat=20'>Gwybodaeth\n" "bellach am ein gwaith ar gartrefi gwag</a>.\n" -#: web/ajax.cgi:55 web/ajax.cgi:76 web/index.cgi:899 web/index.cgi:914 +#: web/ajax.cgi:55 web/ajax.cgi:76 web/index.cgi:902 web/index.cgi:917 msgid "(returned to use)" msgstr "(wedi'i adfer i'w ddefnyddio)" @@ -639,7 +639,7 @@ msgstr "(pellter rhagosodedig sy'n cynnwys tua 200,000 o bobl)" msgid "RSS feed of nearby empty properties" msgstr "Porthiant RSS o eiddo gwag sydd gerllaw" -#: web/alert.cgi:308 web/alert.cgi:367 web/index.cgi:967 web/index.cgi:1078 +#: web/alert.cgi:308 web/alert.cgi:367 web/index.cgi:970 web/index.cgi:1082 #: web/reports.cgi:254 msgid "RSS feed" msgstr "Porthiant RSS" @@ -723,11 +723,11 @@ msgstr "" "Derbyn neges e-bost pan fydd diweddariadau'n cael eu rhoi am yr eiddo gwag " "hwn." -#: web/alert.cgi:461 web/alert.cgi:488 web/index.cgi:736 web/index.cgi:1072 +#: web/alert.cgi:461 web/alert.cgi:488 web/index.cgi:736 web/index.cgi:1076 msgid "Email:" msgstr "E-bost:" -#: web/alert.cgi:462 web/alert.cgi:489 web/index.cgi:1073 +#: web/alert.cgi:462 web/alert.cgi:489 web/index.cgi:1077 msgid "Subscribe" msgstr "Tanysgrifio" @@ -876,11 +876,13 @@ msgstr "" "i ni'ch holi chi, a ydych erioed wedi rhoi gwybod i'r cyngor am eiddo gwag " "cyn hyn?" -#: web/confirm.cgi:190 web/questionnaire.cgi:231 +#: web/confirm.cgi:190 web/questionnaire.cgi:234 web-admin/index.cgi:339 +#: web-admin/index.cgi:340 web-admin/index.cgi:589 msgid "Yes" msgstr "Ydw" -#: web/confirm.cgi:191 web/questionnaire.cgi:232 +#: web/confirm.cgi:191 web/questionnaire.cgi:235 web-admin/index.cgi:339 +#: web-admin/index.cgi:340 web-admin/index.cgi:589 msgid "No" msgstr "Nac ydw" @@ -999,7 +1001,7 @@ msgstr "Pwnc:" msgid "Message:" msgstr "Neges:" -#: web/contact.cgi:238 web/index.cgi:1088 +#: web/contact.cgi:238 web/index.cgi:1092 msgid "Post" msgstr "Postio" @@ -1263,7 +1265,7 @@ msgid "" "name if you give us permission." msgstr "" -#: web/index.cgi:660 web/index.cgi:662 +#: web/index.cgi:660 web/index.cgi:662 web/index.cgi:675 #, fuzzy msgid " or " msgstr "neu" @@ -1373,11 +1375,11 @@ msgstr "Ffurflen manylion eiddo gwag" msgid "Details:" msgstr "Manylion:" -#: web/index.cgi:734 web/index.cgi:1104 +#: web/index.cgi:734 web/index.cgi:1108 msgid "Photo:" msgstr "Ffotograff:" -#: web/index.cgi:735 web/index.cgi:1085 +#: web/index.cgi:735 web/index.cgi:1089 msgid "Name:" msgstr "Enw:" @@ -1385,7 +1387,7 @@ msgstr "Enw:" msgid "Phone:" msgstr "Rhif ffôn:" -#: web/index.cgi:738 web/index.cgi:1092 +#: web/index.cgi:738 web/index.cgi:1096 msgid "(optional)" msgstr "(dewisol)" @@ -1448,52 +1450,52 @@ msgstr "" msgid "Submit" msgstr "Anfon" -#: web/index.cgi:880 +#: web/index.cgi:883 msgid "Hide stale reports" msgstr "Cuddio hen adroddiadau " -#: web/index.cgi:883 +#: web/index.cgi:886 msgid "Include stale reports" msgstr "Cynnwys hen adroddiadau" -#: web/index.cgi:902 +#: web/index.cgi:905 msgid "No empty properties have been reported yet." msgstr "Ni roddwyd gwybod eto am unrhyw eiddo gwag." -#: web/index.cgi:918 +#: web/index.cgi:921 msgid "No empty properties found." msgstr "Ni ddaethpwyd o hyd i unrhyw eiddo gwag." -#: web/index.cgi:923 +#: web/index.cgi:926 msgid "Show pins" msgstr "Dangos pinnau" -#: web/index.cgi:927 +#: web/index.cgi:930 msgid "Hide pins" msgstr "Cuddio pinnau" -#: web/index.cgi:966 +#: web/index.cgi:969 msgid "Email me new local empty properties" msgstr "Anfonwch fanylion eiddo gwag lleol newydd ataf i drwy'r e-bost" -#: web/index.cgi:968 +#: web/index.cgi:971 msgid "RSS feed of recent local empty properties" msgstr "Porthiant RSS o eiddo gwag lleol diweddar" -#: web/index.cgi:971 +#: web/index.cgi:974 msgid "Empty properties in this area" msgstr "Eiddo gwag yn yr ardal hon" -#: web/index.cgi:972 +#: web/index.cgi:975 msgid "Reports on and around the map" msgstr "Adroddiadau ar ac yng nghyffiniau'r map" -#: web/index.cgi:973 +#: web/index.cgi:976 #, perl-format msgid "Closest nearby empty properties <small>(within %skm)</small>" msgstr "Yr eiddo gwag cyfagos agosaf <small>(within %skm)</small>" -#: web/index.cgi:977 +#: web/index.cgi:980 msgid "" "To report an empty property, simply\n" " <strong>click on the map</strong> at the correct location." @@ -1501,7 +1503,7 @@ msgstr "" "Er mwyn rhoi gwybod am eiddo gwag\n" " <strong>cliciwch ar y map</strong> wrth y lleoliad cywir." -#: web/index.cgi:979 +#: web/index.cgi:982 #, perl-format msgid "" "<small>If you cannot see the map, <a href='%s' rel='nofollow'>skip this\n" @@ -1510,77 +1512,77 @@ msgstr "" "<small>Os na allwch weld y map, <a href='%s' rel='nofollow'>ewch heibio\n" " i'r cam hwn</a>.</small>" -#: web/index.cgi:984 +#: web/index.cgi:987 msgid "Recent local empty properties, reportemptyhomes.com" msgstr "Eiddo gwag lleol diweddar, reportemptyhomes.com" -#: web/index.cgi:996 +#: web/index.cgi:1000 msgid "There were problems with your update. Please see below." msgstr "Cafwyd anhawsterau gyda'ch diweddariad. Gweler isod" -#: web/index.cgi:1017 web/index.cgi:1019 +#: web/index.cgi:1021 web/index.cgi:1023 msgid "Unknown empty property ID" msgstr "ID eiddo gwag anhysbys" -#: web/index.cgi:1020 +#: web/index.cgi:1024 msgid "That report has been removed from reportemptyhomes.com." msgstr "Mae'r adroddiad hwnnw wedi cael ei dynnu oddi ar reportemptyhomes.com" -#: web/index.cgi:1040 +#: web/index.cgi:1044 msgid "This empty property is old and of unknown status." msgstr "Mae'r eiddo gwag hwn yn hen ac nid yw ei statws yn hysbys." -#: web/index.cgi:1043 web/index.cgi:1084 +#: web/index.cgi:1047 web/index.cgi:1088 msgid "This empty property has been returned to use" msgstr "Mae'r eiddo gwag hwn wedi cael ei adfer i'w ddefnyddio" -#: web/index.cgi:1068 +#: web/index.cgi:1072 msgid "More empty properties nearby" msgstr "Mwy o eiddo gwag cyfagos" -#: web/index.cgi:1071 +#: web/index.cgi:1075 msgid "Email me updates" msgstr "Anfonwch ddiweddariadau ataf i drwy'r e-bost" -#: web/index.cgi:1074 +#: web/index.cgi:1078 msgid "Receive email when updates are left on this empty property" msgstr "" "Hoffwn dderbyn neges e-bost pan gaiff diweddariadau eu rhoi am yr eiddo gwag " "hwn" -#: web/index.cgi:1079 +#: web/index.cgi:1083 msgid "RSS feed of updates to this empty property" msgstr "Porthiant RSS o ddiweddariadau i'r eiddo gwag hwn" -#: web/index.cgi:1080 +#: web/index.cgi:1084 msgid "Provide an update" msgstr "Rhowch ddiweddariad" -#: web/index.cgi:1086 +#: web/index.cgi:1090 msgid "Update:" msgstr "Diweddariad:" -#: web/index.cgi:1087 +#: web/index.cgi:1091 msgid "Alert me to future updates" msgstr "Rhowch wybod i mi am ddiweddariadau yn y dyfodol" -#: web/index.cgi:1095 +#: web/index.cgi:1099 msgid "" "Please note that updates are not sent to the council. If you leave your name " "it will be public. Your information will only be used in accordance with our " "<a href=\"/faq#privacy\">privacy policy</a>" msgstr "" -#: web/index.cgi:1115 +#: web/index.cgi:1119 msgid "Updates to this empty property, reportemptyhomes.com" msgstr "Diweddariadau i'r eiddo gwag hwn, reportemptyhomes.com" -#: web/questionnaire.cgi:28 web/questionnaire.cgi:77 web/questionnaire.cgi:210 -#: web/questionnaire.cgi:230 +#: web/questionnaire.cgi:29 web/questionnaire.cgi:80 web/questionnaire.cgi:213 +#: web/questionnaire.cgi:233 msgid "Questionnaire" msgstr "Holiadur" -#: web/questionnaire.cgi:38 +#: web/questionnaire.cgi:41 msgid "" "I'm afraid we couldn't validate that token. If you've copied the URL from an " "email, please check that you copied it exactly.\n" @@ -1588,7 +1590,7 @@ msgstr "" "Yn anffodus, ni fu modd i ni ddilysu'r dynodiad hwnnw. Os ydych wedi copïo'r " "URL o neges e-bost, gwnewch yn siwr eich bod wedi'i gopïo'n union.\n" -#: web/questionnaire.cgi:45 +#: web/questionnaire.cgi:48 #, perl-format msgid "" "You have already answered this questionnaire. If you have a question, please " @@ -1598,17 +1600,17 @@ msgstr "" "Rydych eisoes wedi ateb yr holiadur hwn. Os oes gennych gwestiwn, <a href='%" "s'>cysylltwch â ni</a>, neu ewch i <a href='%s'>weld eich eiddo gwag</a>.\n" -#: web/questionnaire.cgi:50 +#: web/questionnaire.cgi:53 msgid "I'm afraid we couldn't locate your empty property in the database.\n" msgstr "" "Yn anffodus ni fu modd i ni ddod o hyd i'ch eiddo gwag yn y gronfa ddata.\n" -#: web/questionnaire.cgi:89 +#: web/questionnaire.cgi:92 msgid "Please state whether or not the empty property has been returned to use" msgstr "" "Cofnodwch a yw'r eiddo gwag wedi cael ei adfer i'w ddefnyddio, ai peidio" -#: web/questionnaire.cgi:92 +#: web/questionnaire.cgi:95 msgid "" "Please say whether you've ever reported an empty property to your council " "before" @@ -1616,23 +1618,23 @@ msgstr "" "Rhowch wybod a ydych chi wedi rhoi gwybod i'ch cyngor am eiddo gwag erioed " "o'r blaen" -#: web/questionnaire.cgi:94 +#: web/questionnaire.cgi:97 msgid "Please indicate whether you'd like to receive another questionnaire" msgstr "Nodwch a fyddech chi'n hoffi derbyn holiadur arall" -#: web/questionnaire.cgi:96 +#: web/questionnaire.cgi:99 msgid "Please provide some explanation as to why you're reopening this report" msgstr "Rhowch ychydig o esboniad pam rydych yn ailagor yr adroddiad hwn" -#: web/questionnaire.cgi:112 +#: web/questionnaire.cgi:115 msgid "Please provide some text as well as a photo" msgstr "Rhowch rywfaint o destun yn ogystal â ffotograff" -#: web/questionnaire.cgi:143 +#: web/questionnaire.cgi:146 msgid "Questionnaire filled in by empty property reporter" msgstr "Llenwyd yr holiadur gan yr unigolyn a roddodd wybod am yr eiddo gwag" -#: web/questionnaire.cgi:163 +#: web/questionnaire.cgi:166 msgid "" "<p>Thank you very much for filling in our questionnaire; if you\n" "get some more information about the status of your empty property, please " @@ -1643,7 +1645,7 @@ msgstr "" "mwy o wybodaeth am statws eich eiddo gwag, dewch yn ôl i'r safle\n" "a rhowch ddiweddariad yno.</p>\n" -#: web/questionnaire.cgi:171 +#: web/questionnaire.cgi:174 #, fuzzy, perl-format msgid "" "<p style=\"font-size:150%%\">We're sorry to hear that. We have two " @@ -1665,7 +1667,7 @@ msgstr "" "chyhoeddi</a>?\n" "</p>\n" -#: web/questionnaire.cgi:180 +#: web/questionnaire.cgi:183 msgid "" "<p style=\"font-size:150%\">Thank you very much for filling in our " "questionnaire; glad to hear it's been returned to use.</p>\n" @@ -1673,15 +1675,15 @@ msgstr "" "<p style=\"font-size:150%\">Diolch yn fawr am lenwi'n holiadur; rydym yn " "falch o glywed ei fod wedi'i adfer i'w ddefnyddio.</p>\n" -#: web/questionnaire.cgi:233 +#: web/questionnaire.cgi:236 msgid "Don’t know" msgstr "Ddim yn gwybod" -#: web/questionnaire.cgi:234 +#: web/questionnaire.cgi:237 msgid "Submit questionnaire" msgstr "Anfon yr holiadur" -#: web/questionnaire.cgi:251 +#: web/questionnaire.cgi:254 msgid "" "<p>Getting empty homes back into use can be difficult. You shouldn't expect\n" "the property to be back into use yet. But a good council will have started " @@ -1709,7 +1711,7 @@ msgstr "" "<a href=\"http://www.emptyhomes.com/getinvolved/campaign.html\">http://www." "emptyhomes.com/getinvolved/campaign.html</a>.</p>\n" -#: web/questionnaire.cgi:261 +#: web/questionnaire.cgi:264 msgid "" "<p>Getting empty homes back into use can be difficult, but by now a good " "council\n" @@ -1743,35 +1745,35 @@ msgstr "" "href=\"http://www.emptyhomes.com/getinvolved/campaign.html\">http://www." "emptyhomes.com/getinvolved/campaign.html</a>.</p>\n" -#: web/questionnaire.cgi:274 +#: web/questionnaire.cgi:277 msgid "" "The details of your empty property are available on the right hand side of " "this page." msgstr "Mae manylion eich eiddo gwag ar gael ar ochr dde'r dudalen hon." -#: web/questionnaire.cgi:275 +#: web/questionnaire.cgi:278 msgid "Please take a look at the updates that have been left." msgstr "Ewch i fwrw golwg ar y diweddariadau sydd wedi cael eu gadael." -#: web/questionnaire.cgi:281 +#: web/questionnaire.cgi:284 msgid "An update marked this empty property as returned to use." msgstr "" "Fe wnaeth diweddariad gofnodi bod yr eiddo hwn wedi cael ei adfer i'w " "ddefnyddio." -#: web/questionnaire.cgi:282 +#: web/questionnaire.cgi:285 msgid "Has this empty property been returned to use?" msgstr "A yw'r eiddo gwag hwn wedi cael ei adfer i'w ddefnyddio?" -#: web/questionnaire.cgi:289 +#: web/questionnaire.cgi:292 msgid "Reported before" msgstr "Wedi adrodd o'r blaen" -#: web/questionnaire.cgi:290 +#: web/questionnaire.cgi:293 msgid "First time" msgstr "Y tro cyntaf" -#: web/questionnaire.cgi:291 +#: web/questionnaire.cgi:294 msgid "" "Have you ever reported an empty property to a council before, or is this " "your first time?" @@ -1779,7 +1781,7 @@ msgstr "" "Ydych chi wedi rhoi gwybod i gyngor am eiddo gwag erioed o'r blaen, neu ai " "dyma'ch tro cyntaf?" -#: web/questionnaire.cgi:301 +#: web/questionnaire.cgi:304 msgid "" "If you wish to leave a public update on the empty property, please enter it " "here\n" @@ -2115,6 +2117,269 @@ msgstr "Adroddiadau newydd am eiddo gwag" msgid "The latest empty properties within {{NAME}}" msgstr "Yr eiddo gwag diweddaraf y mae defnyddwyr wedi rhoi gwybod amdanynt" +#: web-admin/index.cgi:68 web-admin/index.cgi:123 web-admin/index.cgi:124 +#, fuzzy +msgid "Summary" +msgstr "Adroddiadau cryno" + +#: web-admin/index.cgi:69 web-admin/index.cgi:182 web-admin/index.cgi:183 +#, fuzzy +msgid "Council contacts" +msgstr "Cysylltwch â Ni" + +#: web-admin/index.cgi:71 web-admin/index.cgi:782 web-admin/index.cgi:783 +msgid "Timeline" +msgstr "" + +#: web-admin/index.cgi:84 +#, fuzzy +msgid "reportemptyhomes.com administration" +msgstr "Diweddariadau i reportemptyhomes.com" + +#: web-admin/index.cgi:100 +#, fuzzy +msgid "reportemptyhomes.com admin:" +msgstr "reportemptyhomes.com" + +#: web-admin/index.cgi:162 +msgid "Graph of empty property creation by status over time" +msgstr "" + +#: web-admin/index.cgi:165 +#, fuzzy +msgid "Empty property breakdown by state" +msgstr "ni fydd eich eiddo gwag yn cael ei bostio" + +#: web-admin/index.cgi:170 +msgid "Update breakdown by state" +msgstr "" + +#: web-admin/index.cgi:186 +msgid "Diligency prize league table" +msgstr "" + +#: web-admin/index.cgi:193 +msgid "No edits have yet been made." +msgstr "" + +#: web-admin/index.cgi:197 +#, fuzzy +msgid "Councils" +msgstr "cyngor" + +#: web-admin/index.cgi:210 web-admin/index.cgi:585 +#, fuzzy +msgid "None" +msgstr "Nac ydw" + +#: web-admin/index.cgi:228 +msgid "No info at all" +msgstr "" + +#: web-admin/index.cgi:230 +msgid "Currently has 1+ deleted" +msgstr "" + +#: web-admin/index.cgi:232 +msgid "Some unconfirmeds" +msgstr "" + +#: web-admin/index.cgi:234 +msgid "All confirmed" +msgstr "" + +#: web-admin/index.cgi:264 web-admin/index.cgi:274 web-admin/index.cgi:291 +msgid "*unknown*" +msgstr "" + +#: web-admin/index.cgi:267 web-admin/index.cgi:295 +#, fuzzy +msgid "Values updated" +msgstr "Anfonwch ddiweddariadau ataf i drwy'r e-bost" + +#: web-admin/index.cgi:277 +msgid "New category contact added" +msgstr "" + +#: web-admin/index.cgi:314 web-admin/index.cgi:397 +#, perl-format +msgid "Council contacts for %s" +msgstr "" + +#: web-admin/index.cgi:327 +#, fuzzy +msgid " List all reported empty properties" +msgstr "Eiddo gwag yr adroddwyd amdanynt yn ddiweddar" + +#: web-admin/index.cgi:329 +msgid "Text only version" +msgstr "" + +#: web-admin/index.cgi:335 +#, fuzzy +msgid "Category" +msgstr "Categori:" + +#: web-admin/index.cgi:335 web-admin/index.cgi:437 +#, fuzzy +msgid "Email" +msgstr "E-bost:" + +#: web-admin/index.cgi:335 web-admin/index.cgi:367 web-admin/index.cgi:420 +#: web-admin/index.cgi:437 web-admin/index.cgi:736 +#, fuzzy +msgid "Confirmed" +msgstr "Cadarnhau" + +#: web-admin/index.cgi:335 web-admin/index.cgi:369 web-admin/index.cgi:422 +#: web-admin/index.cgi:437 +msgid "Deleted" +msgstr "" + +#: web-admin/index.cgi:335 +msgid "Last editor" +msgstr "" + +#: web-admin/index.cgi:335 web-admin/index.cgi:437 +#, fuzzy +msgid "Note" +msgstr "Nac ydw" + +#: web-admin/index.cgi:335 web-admin/index.cgi:437 +msgid "When edited" +msgstr "" + +#: web-admin/index.cgi:335 +#, fuzzy +msgid "Confirm" +msgstr "Cadarnhau" + +#: web-admin/index.cgi:352 +#, fuzzy +msgid "Update statuses" +msgstr "Diweddariadau" + +#: web-admin/index.cgi:357 +msgid "Add new category" +msgstr "" + +#: web-admin/index.cgi:360 web-admin/index.cgi:414 +#, fuzzy +msgid "Category: " +msgstr "Categori:" + +#: web-admin/index.cgi:363 web-admin/index.cgi:417 +#, fuzzy +msgid "Email: " +msgstr "E-bost:" + +#: web-admin/index.cgi:372 web-admin/index.cgi:425 +msgid "Note: " +msgstr "" + +#: web-admin/index.cgi:379 +#, fuzzy +msgid "Create category" +msgstr "Categori:" + +#: web-admin/index.cgi:431 +msgid "Save changes" +msgstr "" + +#: web-admin/index.cgi:435 +msgid "History" +msgstr "" + +#: web-admin/index.cgi:437 +msgid "Editor" +msgstr "" + +#: web-admin/index.cgi:441 web-admin/index.cgi:442 +#, fuzzy +msgid "yes" +msgstr "Ydw" + +#: web-admin/index.cgi:441 web-admin/index.cgi:442 +msgid "no" +msgstr "" + +#: web-admin/index.cgi:469 +msgid "Search:" +msgstr "" + +#: web-admin/index.cgi:541 +#, fuzzy +msgid "That empty property will now be resent." +msgstr "ni fydd eich eiddo gwag yn cael ei bostio" + +#: web-admin/index.cgi:547 +msgid "I am afraid you cannot confirm unconfirmed reports." +msgstr "" + +#: web-admin/index.cgi:576 web-admin/index.cgi:696 +#, fuzzy +msgid "Updated!" +msgstr "Diweddariadau" + +#: web-admin/index.cgi:580 +#, fuzzy, perl-format +msgid "Editing empty property %d" +msgstr "Gweld eiddo gwag" + +#: web-admin/index.cgi:608 web-admin/index.cgi:736 +#, fuzzy +msgid "State:" +msgstr "Diweddariad:" + +#: web-admin/index.cgi:608 +msgid "Open" +msgstr "" + +#: web-admin/index.cgi:608 +msgid "Fixed" +msgstr "" + +#: web-admin/index.cgi:608 web-admin/index.cgi:736 +#, fuzzy +msgid "Hidden" +msgstr "Cuddio pinnau" + +#: web-admin/index.cgi:608 web-admin/index.cgi:736 +msgid "Unconfirmed" +msgstr "" + +#: web-admin/index.cgi:608 +msgid "Partial" +msgstr "" + +#: web-admin/index.cgi:611 +msgid "You really want to resend?" +msgstr "" + +#: web-admin/index.cgi:611 +#, fuzzy +msgid "Resend report" +msgstr "Cuddio hen adroddiadau " + +#: web-admin/index.cgi:642 web-admin/index.cgi:756 +#, fuzzy +msgid "Submit changes" +msgstr "Anfon" + +#: web-admin/index.cgi:674 +msgid "Edit" +msgstr "" + +#: web-admin/index.cgi:701 +#, fuzzy +msgid "Empty property marked as open." +msgstr "Ffurflen manylion eiddo gwag" + +#: web-admin/index.cgi:717 +#, fuzzy, perl-format +msgid "Editing update %d" +msgstr "Cyflwyno'ch diweddariad" + #. Please leave the first word "Subject:" untranslated #: templates/emails/alert-confirm msgid "" diff --git a/locale/nb_NO.UTF-8/LC_MESSAGES/FixMyStreet.po b/locale/nb_NO.UTF-8/LC_MESSAGES/FixMyStreet.po index 5fe344769..52e695500 100644 --- a/locale/nb_NO.UTF-8/LC_MESSAGES/FixMyStreet.po +++ b/locale/nb_NO.UTF-8/LC_MESSAGES/FixMyStreet.po @@ -9,7 +9,7 @@ msgid "" msgstr "" "Project-Id-Version: FixMyStreet\n" "Report-Msgid-Bugs-To: matthew@mysociety.org\n" -"POT-Creation-Date: 2011-02-22 00:27+0000\n" +"POT-Creation-Date: 2011-02-22 13:53+0000\n" "PO-Revision-Date: 2011-02-22 07:59MET\n" "Last-Translator: Petter Reinholdtsen <pere@hungry.com>\n" "Language-Team: Norwegian Bokmål <i18n-nb@lister.ping.uio.no>\n" @@ -92,11 +92,12 @@ msgstr "" "\">kode</a>." #: perllib/Page.pm:312 +#, fuzzy msgid "" "Built by <a href=\"http://www.mysociety.org/\">mySociety</a> and maintained " -"by NUUG, using some <a href=\"http://github.com/mysociety/fixmystreet" -"\">clever</a> <a href=\"https://secure.mysociety.org/cvstrac/dir?" -"d=mysociety/services/TilMa\">code</a>." +"by <a href=\"http://www.nuug.no/\">NUUG</a>, using some <a href=\"http://" +"github.com/mysociety/fixmystreet\">clever</a> <a href=\"https://secure." +"mysociety.org/cvstrac/dir?d=mysociety/services/TilMa\">code</a>." msgstr "" "Bygget av <a href=\"http://www.mysociety.org/\">mySociety</a> og " "vedlikeholdt av <a href=\"http://www.nuug.no/\">NUUG</a>, ved hjelp av <a " @@ -283,7 +284,7 @@ msgstr "Sendt til %s %s senere" msgid "Not reported to council" msgstr "Ikke rapportert til kommunen" -#: perllib/Page.pm:622 +#: perllib/Page.pm:622 web-admin/index.cgi:521 web-admin/index.cgi:645 msgid "Updates" msgstr "Oppdateringer" @@ -305,7 +306,7 @@ msgstr "markert som fikset" msgid "reopened" msgstr "åpnet på nytt" -#: perllib/Page.pm:640 web/index.cgi:1067 +#: perllib/Page.pm:640 web/index.cgi:1071 msgid "Offensive? Unsuitable? Tell us" msgstr "Støtende? Upassende? Gi oss beskjed" @@ -491,7 +492,7 @@ msgid "" "empty homes</a>.\n" msgstr "" -#: web/ajax.cgi:55 web/ajax.cgi:76 web/index.cgi:899 web/index.cgi:914 +#: web/ajax.cgi:55 web/ajax.cgi:76 web/index.cgi:902 web/index.cgi:917 msgid "(fixed)" msgstr "(løst)" @@ -599,7 +600,7 @@ msgstr "??" msgid "RSS feed of nearby problems" msgstr "RSS-strøm med problemer i nærheten" -#: web/alert.cgi:308 web/alert.cgi:367 web/index.cgi:967 web/index.cgi:1078 +#: web/alert.cgi:308 web/alert.cgi:367 web/index.cgi:970 web/index.cgi:1082 #: web/reports.cgi:254 msgid "RSS feed" msgstr "RSS-strøm" @@ -677,11 +678,11 @@ msgstr "Ugyldig valg av feed" msgid "Receive email when updates are left on this problem." msgstr "Motta epost når det er uppdateringer på denne saken" -#: web/alert.cgi:461 web/alert.cgi:488 web/index.cgi:736 web/index.cgi:1072 +#: web/alert.cgi:461 web/alert.cgi:488 web/index.cgi:736 web/index.cgi:1076 msgid "Email:" msgstr "Epost:" -#: web/alert.cgi:462 web/alert.cgi:489 web/index.cgi:1073 +#: web/alert.cgi:462 web/alert.cgi:489 web/index.cgi:1077 msgid "Subscribe" msgstr "Abonner" @@ -806,11 +807,13 @@ msgstr "" "Takk, glad for å høre at det er fikset! Can vi få spørre deg om du har " "rapportert et problem til kommunen tidligere?" -#: web/confirm.cgi:190 web/questionnaire.cgi:231 +#: web/confirm.cgi:190 web/questionnaire.cgi:234 web-admin/index.cgi:339 +#: web-admin/index.cgi:340 web-admin/index.cgi:589 msgid "Yes" msgstr "Ja" -#: web/confirm.cgi:191 web/questionnaire.cgi:232 +#: web/confirm.cgi:191 web/questionnaire.cgi:235 web-admin/index.cgi:339 +#: web-admin/index.cgi:340 web-admin/index.cgi:589 msgid "No" msgstr "Nei" @@ -926,7 +929,7 @@ msgstr "Tema:" msgid "Message:" msgstr "Melding:" -#: web/contact.cgi:238 web/index.cgi:1088 +#: web/contact.cgi:238 web/index.cgi:1092 msgid "Post" msgstr "Send inn" @@ -1181,7 +1184,7 @@ msgstr "" "Tittelen og detaljene for problemet vil bli offentlig, pluss ditt navn\n" "hvis du gir oss tillatelse." -#: web/index.cgi:660 web/index.cgi:662 +#: web/index.cgi:660 web/index.cgi:662 web/index.cgi:675 msgid " or " msgstr " eller " @@ -1298,11 +1301,11 @@ msgstr "Tom eiendom detaljskjema" msgid "Details:" msgstr "Detaljer:" -#: web/index.cgi:734 web/index.cgi:1104 +#: web/index.cgi:734 web/index.cgi:1108 msgid "Photo:" msgstr "Bilde:" -#: web/index.cgi:735 web/index.cgi:1085 +#: web/index.cgi:735 web/index.cgi:1089 msgid "Name:" msgstr "Navn:" @@ -1310,7 +1313,7 @@ msgstr "Navn:" msgid "Phone:" msgstr "Telefon:" -#: web/index.cgi:738 web/index.cgi:1092 +#: web/index.cgi:738 web/index.cgi:1096 msgid "(optional)" msgstr "(valgfritt)" @@ -1383,52 +1386,52 @@ msgstr "" msgid "Submit" msgstr "Send inn" -#: web/index.cgi:880 +#: web/index.cgi:883 msgid "Hide stale reports" msgstr "Gjem utdaterte rapporter" -#: web/index.cgi:883 +#: web/index.cgi:886 msgid "Include stale reports" msgstr "Inkludert utdaterte rapporter" -#: web/index.cgi:902 +#: web/index.cgi:905 msgid "No problems have been reported yet." msgstr "Ingen saker er rapporter" -#: web/index.cgi:918 +#: web/index.cgi:921 msgid "No problems found." msgstr "Ingen saker er funnet." -#: web/index.cgi:923 +#: web/index.cgi:926 msgid "Show pins" msgstr "Vis nåler" -#: web/index.cgi:927 +#: web/index.cgi:930 msgid "Hide pins" msgstr "Gjem nåler" -#: web/index.cgi:966 +#: web/index.cgi:969 msgid "Email me new local problems" msgstr "Send meg epost om lokale problemer" -#: web/index.cgi:968 +#: web/index.cgi:971 msgid "RSS feed of recent local problems" msgstr "RSS-strøm med nylige lokale problemer" -#: web/index.cgi:971 +#: web/index.cgi:974 msgid "Problems in this area" msgstr "Saker i dette område" -#: web/index.cgi:972 +#: web/index.cgi:975 msgid "Reports on and around the map" msgstr "Saker i og rundt kartet" -#: web/index.cgi:973 +#: web/index.cgi:976 #, perl-format msgid "Closest nearby problems <small>(within %skm)</small>" msgstr "De nærmeste sakene <small>(innenfor %skm)</small>" -#: web/index.cgi:977 +#: web/index.cgi:980 msgid "" "To report a problem, simply\n" " <strong>click on the map</strong> at the correct location." @@ -1436,7 +1439,7 @@ msgstr "" "For å lage en sak, \n" " <strong>klikk på kartet</strong> på riktig sted." -#: web/index.cgi:979 +#: web/index.cgi:982 #, perl-format msgid "" "<small>If you cannot see the map, <a href='%s' rel='nofollow'>skip this\n" @@ -1446,59 +1449,59 @@ msgstr "" "dette\n" " steget</a>.</small>" -#: web/index.cgi:984 +#: web/index.cgi:987 msgid "Recent local problems, FixMyStreet" msgstr "Nylig lokalt problem, FiksGataMi." -#: web/index.cgi:996 +#: web/index.cgi:1000 msgid "There were problems with your update. Please see below." msgstr "Det var problemer med din oppdatering. Vennligst se under." -#: web/index.cgi:1017 web/index.cgi:1019 +#: web/index.cgi:1021 web/index.cgi:1023 msgid "Unknown problem ID" msgstr "Ukjent problem-Id" -#: web/index.cgi:1020 +#: web/index.cgi:1024 msgid "That report has been removed from FixMyStreet." msgstr "Den rapporten har blitt fjernet fra FiksGataMi." -#: web/index.cgi:1040 +#: web/index.cgi:1044 msgid "This problem is old and of unknown status." msgstr "Denne saken er gammel og med ukjent status." -#: web/index.cgi:1043 web/index.cgi:1084 +#: web/index.cgi:1047 web/index.cgi:1088 msgid "This problem has been fixed" msgstr "Denne saken er løst." -#: web/index.cgi:1068 +#: web/index.cgi:1072 msgid "More problems nearby" msgstr "Flere saker i nærheten" -#: web/index.cgi:1071 +#: web/index.cgi:1075 msgid "Email me updates" msgstr "Send meg oppdateringer" -#: web/index.cgi:1074 +#: web/index.cgi:1078 msgid "Receive email when updates are left on this problem" msgstr "Motta epost når oppdateringer legges inn om dette problemet" -#: web/index.cgi:1079 +#: web/index.cgi:1083 msgid "RSS feed of updates to this problem" msgstr "RSS-strøm med oppdateringer for dette problemet" -#: web/index.cgi:1080 +#: web/index.cgi:1084 msgid "Provide an update" msgstr "Bidra med oppdatering" -#: web/index.cgi:1086 +#: web/index.cgi:1090 msgid "Update:" msgstr "Oppdatering:" -#: web/index.cgi:1087 +#: web/index.cgi:1091 msgid "Alert me to future updates" msgstr "Send meg varsel ved fremtidige oppdateringer" -#: web/index.cgi:1095 +#: web/index.cgi:1099 msgid "" "Please note that updates are not sent to the council. If you leave your name " "it will be public. Your information will only be used in accordance with our " @@ -1509,16 +1512,16 @@ msgstr "" "informasjon vil kun bli brukt i henhold til våre <a href=\"/faq#privacy" "\">personvernpolicy</a>" -#: web/index.cgi:1115 +#: web/index.cgi:1119 msgid "Updates to this problem, FixMyStreet" msgstr "Oppdateringer til dette problemet, FiksGataMi" -#: web/questionnaire.cgi:28 web/questionnaire.cgi:77 web/questionnaire.cgi:210 -#: web/questionnaire.cgi:230 +#: web/questionnaire.cgi:29 web/questionnaire.cgi:80 web/questionnaire.cgi:213 +#: web/questionnaire.cgi:233 msgid "Questionnaire" msgstr "Spørreskjema" -#: web/questionnaire.cgi:38 +#: web/questionnaire.cgi:41 msgid "" "I'm afraid we couldn't validate that token. If you've copied the URL from an " "email, please check that you copied it exactly.\n" @@ -1526,7 +1529,7 @@ msgstr "" "Jeg er redd vi ikke kunne verifisere den referansen. Hvis du kopierte den " "URLen fra en annen epost, sjekk at du har kopiert den korrekt.\n" -#: web/questionnaire.cgi:45 +#: web/questionnaire.cgi:48 #, perl-format msgid "" "You have already answered this questionnaire. If you have a question, please " @@ -1536,38 +1539,38 @@ msgstr "" "vennligst <a href='%s'>ta kontakt</a>, eller <a href='%s'>se på ditt " "problem</a>.\n" -#: web/questionnaire.cgi:50 +#: web/questionnaire.cgi:53 msgid "I'm afraid we couldn't locate your problem in the database.\n" msgstr "Jeg er redd vi ikke klarte å finne ditt problem i databasen.\n" -#: web/questionnaire.cgi:89 +#: web/questionnaire.cgi:92 msgid "Please state whether or not the problem has been fixed" msgstr "Vennligs oppgi om dette problemet er blitt fikset eller ikke" -#: web/questionnaire.cgi:92 +#: web/questionnaire.cgi:95 msgid "" "Please say whether you've ever reported a problem to your council before" msgstr "Gi oss informasjon om du har rapportert en sak til kommunen tidligere" -#: web/questionnaire.cgi:94 +#: web/questionnaire.cgi:97 msgid "Please indicate whether you'd like to receive another questionnaire" msgstr "Vennligst indiker om du ønsker å motta et annet spørreskjema" -#: web/questionnaire.cgi:96 +#: web/questionnaire.cgi:99 msgid "Please provide some explanation as to why you're reopening this report" msgstr "" "Vennligst bidra med en forklaring for hvorfor du åpner denne rapporten på " "nytt" -#: web/questionnaire.cgi:112 +#: web/questionnaire.cgi:115 msgid "Please provide some text as well as a photo" msgstr "Vennligst bidra med litt tekst i tilegg til et bilde" -#: web/questionnaire.cgi:143 +#: web/questionnaire.cgi:146 msgid "Questionnaire filled in by problem reporter" msgstr "Spørreskjema fylt inn av feilrapportøren" -#: web/questionnaire.cgi:163 +#: web/questionnaire.cgi:166 msgid "" "<p>Thank you very much for filling in our questionnaire; if you\n" "get some more information about the status of your problem, please come back " @@ -1579,7 +1582,7 @@ msgstr "" "hit til\n" "nettstedet og legg igjen en oppdatering.</p>\n" -#: web/questionnaire.cgi:171 +#: web/questionnaire.cgi:174 #, perl-format msgid "" "<p style=\"font-size:150%%\">We're sorry to hear that. We have two " @@ -1598,7 +1601,7 @@ msgstr "" "com/new\">lage\n" "en \"pledge\" og publiser den</a>?</p>\n" -#: web/questionnaire.cgi:180 +#: web/questionnaire.cgi:183 msgid "" "<p style=\"font-size:150%\">Thank you very much for filling in our " "questionnaire; glad to hear it's been fixed.</p>\n" @@ -1607,15 +1610,15 @@ msgstr "" "spørreskjema.\n" "Veldig glad for å høre at det er blitt fikset.</p>\n" -#: web/questionnaire.cgi:233 +#: web/questionnaire.cgi:236 msgid "Don’t know" msgstr "Vet ikke" -#: web/questionnaire.cgi:234 +#: web/questionnaire.cgi:237 msgid "Submit questionnaire" msgstr "Lever spørreskjema" -#: web/questionnaire.cgi:251 +#: web/questionnaire.cgi:254 msgid "" "<p>Getting empty homes back into use can be difficult. You shouldn't expect\n" "the property to be back into use yet. But a good council will have started " @@ -1630,7 +1633,7 @@ msgid "" "www.emptyhomes.com/getinvolved/campaign.html</a>.</p>\n" msgstr "" -#: web/questionnaire.cgi:261 +#: web/questionnaire.cgi:264 msgid "" "<p>Getting empty homes back into use can be difficult, but by now a good " "council\n" @@ -1648,40 +1651,40 @@ msgid "" "emptyhomes.com/getinvolved/campaign.html</a>.</p>\n" msgstr "" -#: web/questionnaire.cgi:274 +#: web/questionnaire.cgi:277 msgid "" "The details of your problem are available on the right hand side of this " "page." msgstr "" "Detaljene om ditt problem er tilgjengelig på høyre side av denne siden." -#: web/questionnaire.cgi:275 +#: web/questionnaire.cgi:278 msgid "Please take a look at the updates that have been left." msgstr "Vær sa snill å ta en titt på oppdateringene som har blitt igjen." -#: web/questionnaire.cgi:281 +#: web/questionnaire.cgi:284 msgid "An update marked this problem as fixed." msgstr "En oppdatering markerte dette problemet som fikset." -#: web/questionnaire.cgi:282 +#: web/questionnaire.cgi:285 msgid "Has this problem been fixed?" msgstr "Har denne saken blitt løst?" -#: web/questionnaire.cgi:289 +#: web/questionnaire.cgi:292 msgid "Reported before" msgstr "Rapportert tidligere" -#: web/questionnaire.cgi:290 +#: web/questionnaire.cgi:293 msgid "First time" msgstr "Første gang" -#: web/questionnaire.cgi:291 +#: web/questionnaire.cgi:294 msgid "" "Have you ever reported a problem to a council before, or is this your first " "time?" msgstr "Har du sendt en sak til kommunen før, eller er dette første gangen?" -#: web/questionnaire.cgi:301 +#: web/questionnaire.cgi:304 msgid "" "If you wish to leave a public update on the problem, please enter it here\n" "(please note it will not be sent to the council). For example, what was\n" @@ -1989,6 +1992,270 @@ msgstr "Nye problemer innenfor {{NAME}}" msgid "The latest problems within {{NAME}}" msgstr "De siste problemer innenfor {{NAME}}" +#: web-admin/index.cgi:68 web-admin/index.cgi:123 web-admin/index.cgi:124 +#, fuzzy +msgid "Summary" +msgstr "Oppsummeringsrapporter" + +#: web-admin/index.cgi:69 web-admin/index.cgi:182 web-admin/index.cgi:183 +#, fuzzy +msgid "Council contacts" +msgstr "Kontakt oss" + +#: web-admin/index.cgi:71 web-admin/index.cgi:782 web-admin/index.cgi:783 +msgid "Timeline" +msgstr "" + +#: web-admin/index.cgi:84 +#, fuzzy +msgid "FixMyStreet administration" +msgstr "Fiksgatami-oppdateringer" + +#: web-admin/index.cgi:100 +#, fuzzy +msgid "FixMyStreet admin:" +msgstr "FiksGataMi" + +#: web-admin/index.cgi:162 +msgid "Graph of problem creation by status over time" +msgstr "" + +#: web-admin/index.cgi:165 +msgid "Problem breakdown by state" +msgstr "" + +#: web-admin/index.cgi:170 +msgid "Update breakdown by state" +msgstr "" + +#: web-admin/index.cgi:186 +msgid "Diligency prize league table" +msgstr "" + +#: web-admin/index.cgi:193 +#, fuzzy +msgid "No edits have yet been made." +msgstr "Ingen saker er rapporter" + +#: web-admin/index.cgi:197 +#, fuzzy +msgid "Councils" +msgstr "kommune" + +#: web-admin/index.cgi:210 web-admin/index.cgi:585 +#, fuzzy +msgid "None" +msgstr "Nei" + +#: web-admin/index.cgi:228 +msgid "No info at all" +msgstr "" + +#: web-admin/index.cgi:230 +msgid "Currently has 1+ deleted" +msgstr "" + +#: web-admin/index.cgi:232 +msgid "Some unconfirmeds" +msgstr "" + +#: web-admin/index.cgi:234 +msgid "All confirmed" +msgstr "" + +#: web-admin/index.cgi:264 web-admin/index.cgi:274 web-admin/index.cgi:291 +msgid "*unknown*" +msgstr "" + +#: web-admin/index.cgi:267 web-admin/index.cgi:295 +#, fuzzy +msgid "Values updated" +msgstr "Send meg oppdateringer" + +#: web-admin/index.cgi:277 +msgid "New category contact added" +msgstr "" + +#: web-admin/index.cgi:314 web-admin/index.cgi:397 +#, perl-format +msgid "Council contacts for %s" +msgstr "" + +#: web-admin/index.cgi:327 +#, fuzzy +msgid " List all reported problems" +msgstr "Nylig meldte problemer" + +#: web-admin/index.cgi:329 +msgid "Text only version" +msgstr "" + +#: web-admin/index.cgi:335 +#, fuzzy +msgid "Category" +msgstr "Kategori" + +#: web-admin/index.cgi:335 web-admin/index.cgi:437 +#, fuzzy +msgid "Email" +msgstr "Epost:" + +#: web-admin/index.cgi:335 web-admin/index.cgi:367 web-admin/index.cgi:420 +#: web-admin/index.cgi:437 web-admin/index.cgi:736 +#, fuzzy +msgid "Confirmed" +msgstr "Bekreftelse" + +#: web-admin/index.cgi:335 web-admin/index.cgi:369 web-admin/index.cgi:422 +#: web-admin/index.cgi:437 +msgid "Deleted" +msgstr "" + +#: web-admin/index.cgi:335 +msgid "Last editor" +msgstr "" + +#: web-admin/index.cgi:335 web-admin/index.cgi:437 +#, fuzzy +msgid "Note" +msgstr "Nei" + +#: web-admin/index.cgi:335 web-admin/index.cgi:437 +msgid "When edited" +msgstr "" + +#: web-admin/index.cgi:335 +#, fuzzy +msgid "Confirm" +msgstr "Bekreftelse" + +#: web-admin/index.cgi:352 +#, fuzzy +msgid "Update statuses" +msgstr "Oppdateringer" + +#: web-admin/index.cgi:357 +msgid "Add new category" +msgstr "" + +#: web-admin/index.cgi:360 web-admin/index.cgi:414 +#, fuzzy +msgid "Category: " +msgstr "Kategori" + +#: web-admin/index.cgi:363 web-admin/index.cgi:417 +#, fuzzy +msgid "Email: " +msgstr "Epost:" + +#: web-admin/index.cgi:372 web-admin/index.cgi:425 +msgid "Note: " +msgstr "" + +#: web-admin/index.cgi:379 +#, fuzzy +msgid "Create category" +msgstr "Kategori" + +#: web-admin/index.cgi:431 +msgid "Save changes" +msgstr "" + +#: web-admin/index.cgi:435 +msgid "History" +msgstr "" + +#: web-admin/index.cgi:437 +msgid "Editor" +msgstr "" + +#: web-admin/index.cgi:441 web-admin/index.cgi:442 +#, fuzzy +msgid "yes" +msgstr "Ja" + +#: web-admin/index.cgi:441 web-admin/index.cgi:442 +msgid "no" +msgstr "" + +#: web-admin/index.cgi:469 +msgid "Search:" +msgstr "" + +#: web-admin/index.cgi:541 +#, fuzzy +msgid "That problem will now be resent." +msgstr "ditt problem vil ikke bli publisert" + +#: web-admin/index.cgi:547 +msgid "I am afraid you cannot confirm unconfirmed reports." +msgstr "" + +#: web-admin/index.cgi:576 web-admin/index.cgi:696 +#, fuzzy +msgid "Updated!" +msgstr "Oppdateringer" + +#: web-admin/index.cgi:580 +#, fuzzy, perl-format +msgid "Editing problem %d" +msgstr "Ser på en sak" + +#: web-admin/index.cgi:608 web-admin/index.cgi:736 +#, fuzzy +msgid "State:" +msgstr "Oppdatering:" + +#: web-admin/index.cgi:608 +msgid "Open" +msgstr "" + +#: web-admin/index.cgi:608 +#, fuzzy +msgid "Fixed" +msgstr "(løst)" + +#: web-admin/index.cgi:608 web-admin/index.cgi:736 +#, fuzzy +msgid "Hidden" +msgstr "Gjem nåler" + +#: web-admin/index.cgi:608 web-admin/index.cgi:736 +msgid "Unconfirmed" +msgstr "" + +#: web-admin/index.cgi:608 +msgid "Partial" +msgstr "" + +#: web-admin/index.cgi:611 +msgid "You really want to resend?" +msgstr "" + +#: web-admin/index.cgi:611 +#, fuzzy +msgid "Resend report" +msgstr "Gjem utdaterte rapporter" + +#: web-admin/index.cgi:642 web-admin/index.cgi:756 +#, fuzzy +msgid "Submit changes" +msgstr "Send inn" + +#: web-admin/index.cgi:674 +msgid "Edit" +msgstr "" + +#: web-admin/index.cgi:701 +#, fuzzy +msgid "Problem marked as open." +msgstr "Denne rapporten er for tiden markert som åpen." + +#: web-admin/index.cgi:717 +#, fuzzy, perl-format +msgid "Editing update %d" +msgstr "Legg til din oppdatering" + #. Please leave the first word "Subject:" untranslated #: templates/emails/alert-confirm msgid "" diff --git a/web-admin/index.cgi b/web-admin/index.cgi index 8bb489605..02ba5d710 100755 --- a/web-admin/index.cgi +++ b/web-admin/index.cgi @@ -65,10 +65,10 @@ sub allowed_pages($) { my $pages = Cobrand::admin_pages($cobrand); if (!$pages) { $pages = { - 'summary' => ['Summary', 0], - 'councilslist' => ['Council contacts', 1], + 'summary' => [_('Summary'), 0], + 'councilslist' => [_('Council contacts'), 1], 'reports' => ['Reports', 2], - 'timeline' => ['Timeline', 3], + 'timeline' => [_('Timeline'), 3], 'councilcontacts' => [undef, undef], 'counciledit' => [undef, undef], 'report_edit' => [undef, undef], @@ -81,10 +81,11 @@ sub allowed_pages($) { sub html_head($$) { my ($q, $title) = @_; my $ret = $q->header(-type => 'text/html', -charset => 'utf-8'); + my $site_title = _('FixMyStreet administration'); $ret .= <<END; <html> <head> -<title>$title - FixMyStreet administration</title> +<title>$title - $site_title</title> <style type="text/css"> dt { clear: left; float: left; font-weight: bold; } dd { margin-left: 8em; } @@ -96,7 +97,7 @@ END my $pages = allowed_pages($q); my @links = sort {$pages->{$a}[1] <=> $pages->{$b}[1]} grep {$pages->{$_}->[0] } keys %$pages; $ret .= $q->p( - $q->strong("FixMyStreet admin:"), + $q->strong(_("FixMyStreet admin:")), map { $q->a( { href => NewURL($q, page => $_) }, $pages->{$_}->[0]) } @links ); @@ -158,15 +159,15 @@ sub admin_summary ($) { if (Cobrand::admin_show_creation_graph($cobrand)) { print $q->p( $q->a({ href => mySociety::Config::get('BASE_URL') . "/bci-live-creation.png" }, - "Graph of problem creation by status over time" )); + _("Graph of problem creation by status over time") )); } - print $q->h2("Problem breakdown by state"); + print $q->h2(_("Problem breakdown by state")); print $q->ul( map { $q->li("$problems{$_} $_") } sort keys %problems ); - print $q->h2("Update breakdown by state"); + print $q->h2(_("Update breakdown by state")); print $q->ul( map { $q->li("$comments{$_} $_") } sort keys %comments ); @@ -206,7 +207,7 @@ sub admin_councils_list ($) { my $list_part = sub { my @ids = @_; if (!scalar(@ids)) { - print "None"; + print _("None"); return; } my @li; @@ -224,13 +225,13 @@ sub admin_councils_list ($) { print $q->ul(@li); }; - print $q->h3('No info at all'); + print $q->h3(_('No info at all')); &$list_part(grep { !$bci_info->{$_} } @councils_ids); - print $q->h3('Currently has 1+ deleted'); + print $q->h3(_('Currently has 1+ deleted')); &$list_part(grep { $bci_info->{$_} && $bci_info->{$_}->{deleted} } @councils_ids); - print $q->h3('Some unconfirmeds'); + print $q->h3(_('Some unconfirmeds')); &$list_part(grep { $bci_info->{$_} && !$bci_info->{$_}->{deleted} && $bci_info->{$_}->{confirmed} != $bci_info->{$_}->{c} } @councils_ids); - print $q->h3('All confirmed'); + print $q->h3(_('All confirmed')); &$list_part(grep { $bci_info->{$_} && !$bci_info->{$_}->{deleted} && $bci_info->{$_}->{confirmed} == $bci_info->{$_}->{c} } @councils_ids); print html_tail($q); } @@ -260,20 +261,20 @@ sub admin_council_contacts ($$) { ", {}, $email, ($q->param('confirmed') ? 1 : 0), ($q->param('deleted') ? 1 : 0), - ($q->remote_user() || "*unknown*"), $q->param('note'), + ($q->remote_user() || _("*unknown*")), $q->param('note'), $area_id, $category ); - $updated = $q->p($q->em("Values updated")); + $updated = $q->p($q->em(_("Values updated"))); unless ($update > 0) { dbh()->do('insert into contacts (area_id, category, email, editor, whenedited, note, confirmed, deleted) values (?, ?, ?, ?, ms_current_timestamp(), ?, ?, ?)', {}, $area_id, $category, $email, - ($q->remote_user() || '*unknown*'), $q->param('note'), + ($q->remote_user() || _('*unknown*')), $q->param('note'), ($q->param('confirmed') ? 1 : 0), ($q->param('deleted') ? 1 : 0) ); - $updated = $q->p($q->em("New category contact added")); + $updated = $q->p($q->em(_("New category contact added"))); } dbh()->commit(); } elsif ($posted eq 'update') { @@ -287,11 +288,11 @@ sub admin_council_contacts ($$) { where area_id = ? and category = ? ", {}, - ($q->remote_user() || "*unknown*"), + ($q->remote_user() || _("*unknown*")), $area_id, $cat ); } - $updated = $q->p($q->em("Values updated")); + $updated = $q->p($q->em(_("Values updated"))); dbh()->commit(); } @@ -323,20 +324,20 @@ sub admin_council_contacts ($$) { "Example postcode " . $example_postcode) . " | "; } $links_html .= ' ' . - $q->a({ href => mySociety::Config::get('BASE_URL') . "/reports?council=" . $area_id }, " List all reported problems"); + $q->a({ href => mySociety::Config::get('BASE_URL') . "/reports?council=" . $area_id }, _(" List all reported problems")); $links_html .= ' ' . - $q->a({ href => NewURL($q, area_id => $area_id, page => 'councilcontacts', text => 1) }, 'Text only version'); + $q->a({ href => NewURL($q, area_id => $area_id, page => 'councilcontacts', text => 1) }, _('Text only version')); print $q->p($links_html); # Display of addresses / update statuses form print $q->start_form(-method => 'POST', -action => './'); print $q->start_table({border=>1, cellpadding=>2, cellspacing=>0}); - print $q->Tr({}, $q->th({}, ["Category", "Email", "Confirmed", "Deleted", "Last editor", "Note", "When edited", 'Confirm'])); + print $q->Tr({}, $q->th({}, [_("Category"), _("Email"), _("Confirmed"), _("Deleted"), _("Last editor"), _("Note"), _("When edited"), _('Confirm')])); foreach my $l (@$bci_data) { print $q->Tr($q->td([ $q->a({ href => NewURL($q, area_id => $area_id, category => $l->{category}, page => 'counciledit') }, - $l->{category}), $l->{email}, $l->{confirmed} ? 'Yes' : 'No', - $l->{deleted} ? 'Yes' : 'No', $l->{editor}, ent($l->{note}), + $l->{category}), $l->{email}, $l->{confirmed} ? _('Yes') : _('No'), + $l->{deleted} ? _('Yes') : _('No'), $l->{editor}, ent($l->{note}), $l->{whenedited} =~ m/^(.+)\.\d+$/, $q->checkbox(-name => 'confirmed', -value => $l->{category}, -label => '') ])); @@ -348,34 +349,34 @@ sub admin_council_contacts ($$) { $q->hidden('posted', 'update'), $q->hidden('token', get_token($q)), $q->hidden('page', 'councilcontacts'), - $q->submit('Update statuses') + $q->submit(_('Update statuses')) ); print $q->end_form(); # Display form for adding new category - print $q->h2('Add new category'); + print $q->h2(_('Add new category')); print $q->start_form(-method => 'POST', -action => './'); if ($q->{site} ne 'emptyhomes') { - print $q->p($q->strong("Category: "), + print $q->p($q->strong(_("Category: ")), $q->textfield(-name => "category", -size => 30)); } - print $q->p($q->strong("Email: "), + print $q->p($q->strong(_("Email: ")), $q->textfield(-name => "email", -size => 30)); $q->autoEscape(0); print $q->p( - $q->checkbox(-id => 'confirmed', -name => "confirmed", -value => 1, -label => ' ' . $q->label({-for => 'confirmed'}, 'Confirmed')), + $q->checkbox(-id => 'confirmed', -name => "confirmed", -value => 1, -label => ' ' . $q->label({-for => 'confirmed'}, _('Confirmed'))), ' ', - $q->checkbox(-id => 'deleted', -name => "deleted", -value => 1, -label => ' ' . $q->label({-for => 'deleted'}, 'Deleted')) + $q->checkbox(-id => 'deleted', -name => "deleted", -value => 1, -label => ' ' . $q->label({-for => 'deleted'}, _('Deleted'))) ); $q->autoEscape(1); - print $q->p($q->strong("Note: "), + print $q->p($q->strong(_("Note: ")), $q->textarea(-name => "note", -rows => 3, -columns=>40)); print $q->p( $q->hidden('area_id', $area_id), $q->hidden('posted', 'new'), $q->hidden('token', get_token($q)), $q->hidden('page', 'councilcontacts'), - $q->submit('Create category') + $q->submit(_('Create category')) ); print $q->end_form(); @@ -410,35 +411,35 @@ sub admin_council_edit ($$$) { map { $q->param($_, $bci_data->{$_}) } qw/category email confirmed deleted/; $q->param('page', 'councilcontacts'); $q->param('posted', 'new'); - print $q->strong("Category: ") . $bci_data->{category}; + print $q->strong(_("Category: ")) . $bci_data->{category}; print $q->hidden('token', get_token($q)), print $q->hidden("category"); - print $q->strong(" Email: "); + print $q->strong(' ' . _("Email: ")); print $q->textfield(-name => "email", -size => 30) . " "; $q->autoEscape(0); - print $q->checkbox(-id => 'confirmed', -name => "confirmed", -value => 1, -label => ' ' . $q->label({-for => 'confirmed'}, 'Confirmed')); + print $q->checkbox(-id => 'confirmed', -name => "confirmed", -value => 1, -label => ' ' . $q->label({-for => 'confirmed'}, _('Confirmed'))); print ' '; - print $q->checkbox(-id => 'deleted', -name => "deleted", -value => 1, -label => ' ' . $q->label({-for => 'deleted'}, 'Deleted')); + print $q->checkbox(-id => 'deleted', -name => "deleted", -value => 1, -label => ' ' . $q->label({-for => 'deleted'}, _('Deleted'))); $q->autoEscape(1); print $q->br(); - print $q->strong("Note: "); + print $q->strong(_("Note: ")); print $q->textarea(-name => "note", -rows => 3, -columns=>40) . " "; print $q->br(); print $q->hidden('area_id'); print $q->hidden('posted'); print $q->hidden('page'); - print $q->submit('Save changes'); + print $q->submit(_('Save changes')); print $q->end_form(); # Display history of changes - print $q->h2('History'); + print $q->h2(_('History')); print $q->start_table({border=>1}); - print $q->Tr({}, $q->th({}, ["When edited", "Email", "Confirmed", "Deleted", "Editor", "Note"])); + print $q->Tr({}, $q->th({}, [_("When edited"), _("Email"), _("Confirmed"), _("Deleted"), _("Editor"), _("Note")])); my $html = ''; my $prev = undef; foreach my $h (@$bci_history) { - $h->{confirmed} = $h->{confirmed} ? "yes" : "no", - $h->{deleted} = $h->{deleted} ? "yes" : "no", + $h->{confirmed} = $h->{confirmed} ? _("yes") : _("no"), + $h->{deleted} = $h->{deleted} ? _("yes") : _("no"), my $emailchanged = ($prev && $h->{email} ne $prev->{email}) ? 1 : 0; my $confirmedchanged = ($prev && $h->{confirmed} ne $prev->{confirmed}) ? 1 : 0; my $deletedchanged = ($prev && $h->{deleted} ne $prev->{deleted}) ? 1 : 0; @@ -465,7 +466,7 @@ sub admin_reports { print html_head($q, $title); print $q->h1($title); print $q->start_form(-method => 'GET', -action => './'); - print $q->label({-for => 'search'}, 'Search:'), ' ', $q->textfield(-id => 'search', -name => "search", -size => 30); + print $q->label({-for => 'search'}, _('Search:')), ' ', $q->textfield(-id => 'search', -name => "search", -size => 30); print $q->hidden('page'); print $q->end_form; @@ -517,7 +518,7 @@ sub admin_reports { } print $q->end_table; - print $q->h2('Updates'); + print $q->h2(_('Updates')); my $updates = Problems::update_search($search); admin_show_updates($q, $updates); } @@ -537,13 +538,13 @@ sub admin_edit_report { dbh()->do('update problem set whensent=null where id=?', {}, $id); admin_log_edit($q, $id, 'problem', 'resend'); dbh()->commit(); - $status_message = '<p><em>That problem will now be resent.</em></p>'; + $status_message = '<p><em>' . _('That problem will now be resent.') . '</em></p>'; } elsif ($q->param('submit')) { return not_found($q) if $q->param('token') ne get_token($q); my $new_state = $q->param('state'); my $done = 0; if ($new_state eq 'confirmed' && $row{state} eq 'unconfirmed' && $q->{site} eq 'emptyhomes') { - $status_message = '<p><em>I am afraid you cannot confirm unconfirmed reports.</em></p>'; + $status_message = '<p><em>' . _('I am afraid you cannot confirm unconfirmed reports.') . '</em></p>'; $done = 1; } my $query = 'update problem set anonymous=?, state=?, name=?, email=?, title=?, detail=?'; @@ -572,20 +573,20 @@ sub admin_edit_report { } dbh()->commit(); map { $row{$_} = $q->param($_) } qw(anonymous state name email title detail); - $status_message = '<p><em>Updated!</em></p>'; + $status_message = '<p><em>' . _('Updated!') . '</em></p>'; } } my %row_h = map { $_ => $row{$_} ? ent($row{$_}) : '' } keys %row; - my $title = "Editing problem $id"; + my $title = sprintf(_("Editing problem %d"), $id); print html_head($q, $title); print $q->h1($title); print $status_message; - my $council = $row{council} || '<em>None</em>'; + my $council = $row{council} || '<em>' . _('None') . '</em>'; (my $areas = $row{areas}) =~ s/^,(.*),$/$1/; my $latitude = $row{latitude}; my $longitude = $row{longitude}; - my $questionnaire = $row{send_questionnaire} ? 'Yes' : 'No'; + my $questionnaire = $row{send_questionnaire} ? _('Yes') : _('No'); my $used_map = $row{used_map} ? 'used map' : "didn't use map"; (my $whensent = $row{whensent} || ' ') =~ s/\..*//; (my $confirmed = $row{confirmed} || '-') =~ s/ (.*?)\..*/ $1/; @@ -604,10 +605,10 @@ sub admin_edit_report { my $url = $url_base . '/report/' . $row{id}; my $anon = $q->label({-for=>'anonymous'}, 'Anonymous:') . ' ' . $q->popup_menu(-id => 'anonymous', -name => 'anonymous', -values => { 1=>'Yes', 0=>'No' }, -default => $row{anonymous}); - my $state = $q->label({-for=>'state'}, 'State:') . ' ' . $q->popup_menu(-id => 'state', -name => 'state', -values => { confirmed => 'Open', fixed => 'Fixed', hidden => 'Hidden', unconfirmed => 'Unconfirmed', partial => 'Partial' }, -default => $row{state}); + my $state = $q->label({-for=>'state'}, _('State:')) . ' ' . $q->popup_menu(-id => 'state', -name => 'state', -values => { confirmed => _('Open'), fixed => _('Fixed'), hidden => _('Hidden'), unconfirmed => _('Unconfirmed'), partial => _('Partial') }, -default => $row{state}); my $resend = ''; - $resend = ' <input onclick="return confirm(\'You really want to resend?\')" type="submit" name="resend" value="Resend report">' if $row{state} eq 'confirmed'; + $resend = ' <input onclick="return confirm(\'' . _('You really want to resend?') . '\')" type="submit" name="resend" value="' . _('Resend report') . '">' if $row{state} eq 'confirmed'; print $q->start_form(-method => 'POST', -action => './'); print $q->hidden('page'); @@ -638,10 +639,10 @@ sub admin_edit_report { $photo </ul> EOF - print $q->submit('Submit changes'); + print $q->submit(_('Submit changes')); print $q->end_form; - print $q->h2('Updates'); + print $q->h2(_('Updates')); my $updates = select_all('select * from comment where problem_id=? order by created', $id); admin_show_updates($q, $updates); print html_tail($q); @@ -670,7 +671,7 @@ sub admin_show_updates { $attr->{-class} = 'hidden' if $_->{state} eq 'hidden' || ($_->{problem_state} && $_->{problem_state} eq 'hidden'); print $q->Tr($attr, $q->td([ $url, $_->{state}, ent($_->{name} || ''), ent($_->{email}), $_->{created}, $cobrand, ent($_->{text}), - $q->a({ -href => NewURL($q, page=>'update_edit', id=>$_->{id}) }, 'Edit') + $q->a({ -href => NewURL($q, page=>'update_edit', id=>$_->{id}) }, _('Edit')) ])); } print $q->end_table; @@ -692,12 +693,12 @@ sub admin_edit_update { } $query .= ' where id=?'; dbh()->do($query, {}, $q->param('state'), $q->param('name'), $q->param('email'), $q->param('text'), $id); - $status_message = '<p><em>Updated!</em></p>'; + $status_message = '<p><em>' . _('Updated!') . '</em></p>'; # If we're hiding an update, see if it marked as fixed and unfix if so if ($q->param('state') eq 'hidden' && $row{mark_fixed}) { dbh()->do("update problem set state='confirmed' where state='fixed' and id=?", {}, $row{problem_id}); - $status_message .= '<p><em>Problem marked as open.</em></p>'; + $status_message .= '<p><em>' . _('Problem marked as open.') . '</em></p>'; } if ($q->param('state') ne $row{state}) { @@ -712,8 +713,8 @@ sub admin_edit_update { dbh()->commit(); map { $row{$_} = $q->param($_) } qw(state name email text); } - my %row_h = map { $_ => $row{$_} ? ent($row{$_}) : '' } keys %row; - my $title = "Editing update $id"; + my %row_h = map { $_ => $row{$_} ? ent($row{$_}) : '' } keys %row; + my $title = sprintf(_("Editing update %d"), $id); print html_head($q, $title); print $q->h1($title); print $status_message; @@ -732,7 +733,7 @@ sub admin_edit_update { my $url = Cobrand::base_url_for_emails($cobrand, $cobrand_data) . '/report/' . $row{problem_id} . '#update_' . $row{id}; - my $state = $q->label({-for=>'state'}, 'State:') . ' ' . $q->popup_menu(-id => 'state', -name => 'state', -values => { confirmed => 'Confirmed', hidden => 'Hidden', unconfirmed => 'Unconfirmed' }, -default => $row{state}); + my $state = $q->label({-for=>'state'}, _('State:')) . ' ' . $q->popup_menu(-id => 'state', -name => 'state', -values => { confirmed => _('Confirmed'), hidden => _('Hidden'), unconfirmed => _('Unconfirmed') }, -default => $row{state}); print $q->start_form(-method => 'POST', -action => './'); print $q->hidden('page'); @@ -752,7 +753,7 @@ sub admin_edit_update { $photo </ul> EOF - print $q->submit('Submit changes'); + print $q->submit(_('Submit changes')); print $q->end_form; print html_tail($q); } @@ -778,8 +779,8 @@ sub admin_log_edit { sub admin_timeline { my $q = shift; my $cobrand = Page::get_cobrand($q); - print html_head($q, 'Timeline'); - print $q->h1('Timeline'); + print html_head($q, _('Timeline')); + print $q->h1(_('Timeline')); my %time; #my $backto_unix = time() - 60*60*24*7; |