aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@dracos.co.uk>2011-04-01 13:37:37 +0100
committerMatthew Somerville <matthew@dracos.co.uk>2011-04-01 13:37:37 +0100
commit85856508a2920c518a67015fa0c95506d88299ee (patch)
tree94ed56f7b7d3a999ab170c687cc44884e37f5aa5
parent862835b362268f468f919f13ff3453a560e3d2a6 (diff)
Missing translated string, .po update.
-rwxr-xr-xbin/send-reports2
-rw-r--r--locale/nb_NO.UTF-8/LC_MESSAGES/FixMyStreet.po10
-rwxr-xr-xweb/index.cgi6
3 files changed, 7 insertions, 11 deletions
diff --git a/bin/send-reports b/bin/send-reports
index 5bfee00ac..8e6d2d178 100755
--- a/bin/send-reports
+++ b/bin/send-reports
@@ -142,7 +142,7 @@ foreach my $row (@$unsent) {
# XXX Needs locks!
my @all_councils = split /,|\|/, $row->{council};
my ($councils, $missing) = $row->{council} =~ /^([\d,]+)(?:\|([\d,]+))?/;
- my @councils = split /,/, $councils;
+ my @councils = split(/,/, $councils);
$areas_info = mySociety::MaPit::call('areas', \@all_councils);
my (@dear, %recips);
my $all_confirmed = 1;
diff --git a/locale/nb_NO.UTF-8/LC_MESSAGES/FixMyStreet.po b/locale/nb_NO.UTF-8/LC_MESSAGES/FixMyStreet.po
index f5f3e5675..5bc5d06ea 100644
--- a/locale/nb_NO.UTF-8/LC_MESSAGES/FixMyStreet.po
+++ b/locale/nb_NO.UTF-8/LC_MESSAGES/FixMyStreet.po
@@ -10,7 +10,7 @@ msgstr ""
"Project-Id-Version: FixMyStreet\n"
"Report-Msgid-Bugs-To: matthew@mysociety.org\n"
"POT-Creation-Date: 2011-03-29 15:40+0100\n"
-"PO-Revision-Date: 2011-02-27 13:36MET\n"
+"PO-Revision-Date: 2011-03-31 09:12MET\n"
"Last-Translator: Petter Reinholdtsen <pere@hungry.com>\n"
"Language-Team: Norwegian Bokmål <i18n-nb@lister.ping.uio.no>\n"
"MIME-Version: 1.0\n"
@@ -1488,7 +1488,7 @@ msgstr "Denne saken er gammel og med ukjent status."
#: web/index.cgi:1051 web/index.cgi:1092
msgid "This problem has been fixed"
-msgstr "Denne saken er løst."
+msgstr "Denne saken er løst"
#: web/index.cgi:1076
msgid "More problems nearby"
@@ -1830,9 +1830,8 @@ msgid "Problems within %s, FixMyStreet"
msgstr "Problemer innenfor %s, Fiksgatami"
#: web/reports.cgi:333
-#, fuzzy
msgid "(sent to both)"
-msgstr "(ikke rapportert til administrasjonen)"
+msgstr "(sent til begge)"
#: web/reports.cgi:334
msgid "(not sent to council)"
@@ -3414,6 +3413,3 @@ msgid ""
"To stop receiving emails when there are new updates on this property,\n"
"please follow this link: <?=$values['unsubscribe_url']?>\n"
msgstr ""
-
-#~ msgid "Thank you for reporting an empty property on ReportEmptyHomes.com."
-#~ msgstr "Takk for at du rapporterer en tom eiendom på ReportEmptyHomes.com."
diff --git a/web/index.cgi b/web/index.cgi
index 50a097ea8..186393f96 100755
--- a/web/index.cgi
+++ b/web/index.cgi
@@ -633,9 +633,9 @@ EOF
if (my $token = $input{partial}) {
$partial_id = mySociety::AuthToken::retrieve('partial', $token);
if ($partial_id) {
- $vars{form_start} .= $q->p({id=>'unknown'}, 'Please note your report has
- <strong>not yet been sent</strong>. Choose a category
- and add further information below, then submit.');
+ $vars{form_start} .=
+ $q->p({ id => 'unknown' },
+ _('Please note your report has <strong>not yet been sent</strong>. Choose a category and add further information below, then submit.'));
}
}
$vars{text_located} = $q->p(_('You have located the problem at the point marked with a purple pin on the map.