aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Landauer <matthew@openaustralia.org>2013-01-21 12:53:36 +1100
committerLouise Crow <louise.crow@gmail.com>2013-04-09 19:23:14 +0100
commit14bc45c803422a0ba0702e7806f7bc2ffefb3ae7 (patch)
tree038e614b9dba423bb62475f5f304e895190d1ffe
parente39ca6eec6c06b9bf81b1ba622672284c4eb9d16 (diff)
In translation strings replace %d with {{}} formatting
-rw-r--r--app/views/user/show.rhtml2
-rw-r--r--locale/aln/app.po4
-rw-r--r--locale/app.pot4
-rw-r--r--locale/ar/app.po4
-rw-r--r--locale/bs/app.po4
-rw-r--r--locale/ca/app.po8
-rw-r--r--locale/cs/app.po10
-rw-r--r--locale/cy/app.po4
-rw-r--r--locale/de/app.po8
-rw-r--r--locale/en/app.po4
-rw-r--r--locale/en_IE/app.po4
-rw-r--r--locale/es/app.po8
-rw-r--r--locale/eu/app.po8
-rw-r--r--locale/fr/app.po4
-rw-r--r--locale/gl/app.po8
-rw-r--r--locale/hu_HU/app.po6
-rw-r--r--locale/id/app.po6
-rw-r--r--locale/nb_NO/app.po4
-rw-r--r--locale/pt_BR/app.po8
-rw-r--r--locale/ro_RO/app.po4
-rw-r--r--locale/sl/app.po4
-rw-r--r--locale/sq/app.po8
-rw-r--r--locale/sr@latin/app.po4
-rw-r--r--locale/tr/app.po4
-rw-r--r--locale/uk/app.po4
-rw-r--r--spec/fixtures/locale/en/app.po4
-rw-r--r--spec/fixtures/locale/en_GB/app.po4
-rw-r--r--spec/fixtures/locale/es/app.po8
28 files changed, 76 insertions, 76 deletions
diff --git a/app/views/user/show.rhtml b/app/views/user/show.rhtml
index 33e3d8f56..0bb12ac4a 100644
--- a/app/views/user/show.rhtml
+++ b/app/views/user/show.rhtml
@@ -128,7 +128,7 @@
<% end %>
<% else %>
<h2 class="foi_results" id="foi_requests">
- <%= @is_you ? n_('Your %d Freedom of Information request', 'Your %d Freedom of Information requests', @xapian_requests.matches_estimated) % @xapian_requests.matches_estimated.to_s : n_("This person's {{count}} Freedom of Information request", "This person's {{count}} Freedom of Information requests", @xapian_requests.matches_estimated, :count => @xapian_requests.matches_estimated) %>
+ <%= @is_you ? n_('Your {{count}} Freedom of Information request', 'Your {{count}} Freedom of Information requests', @xapian_requests.matches_estimated, :count => @xapian_requests.matches_estimated) : n_("This person's {{count}} Freedom of Information request", "This person's {{count}} Freedom of Information requests", @xapian_requests.matches_estimated, :count => @xapian_requests.matches_estimated) %>
<!-- matches_estimated <%=@xapian_requests.matches_estimated%> -->
<%= @match_phrase %>
<%= @page_desc %>
diff --git a/locale/aln/app.po b/locale/aln/app.po
index bc35ad818..ea08b8fa7 100644
--- a/locale/aln/app.po
+++ b/locale/aln/app.po
@@ -2805,8 +2805,8 @@ msgstr ""
msgid "You've now cleared your profile photo"
msgstr ""
-msgid "Your %d Freedom of Information request"
-msgid_plural "Your %d Freedom of Information requests"
+msgid "Your {{count}} Freedom of Information request"
+msgid_plural "Your {{count}} Freedom of Information requests"
msgstr[0] ""
msgstr[1] ""
diff --git a/locale/app.pot b/locale/app.pot
index c17e50e68..6e7100f51 100644
--- a/locale/app.pot
+++ b/locale/app.pot
@@ -2803,8 +2803,8 @@ msgstr ""
msgid "You've now cleared your profile photo"
msgstr ""
-msgid "Your %d Freedom of Information request"
-msgid_plural "Your %d Freedom of Information requests"
+msgid "Your {{count}} Freedom of Information request"
+msgid_plural "Your {{count}} Freedom of Information requests"
msgstr[0] ""
msgstr[1] ""
diff --git a/locale/ar/app.po b/locale/ar/app.po
index 02a8e8f5d..bb08c78c5 100644
--- a/locale/ar/app.po
+++ b/locale/ar/app.po
@@ -2841,8 +2841,8 @@ msgstr ""
msgid "You've now cleared your profile photo"
msgstr ""
-msgid "Your %d Freedom of Information request"
-msgid_plural "Your %d Freedom of Information requests"
+msgid "Your {{count}} Freedom of Information request"
+msgid_plural "Your {{count}} Freedom of Information requests"
msgstr[0] ""
msgstr[1] ""
msgstr[2] ""
diff --git a/locale/bs/app.po b/locale/bs/app.po
index 31678c7fa..a1e5c53bf 100644
--- a/locale/bs/app.po
+++ b/locale/bs/app.po
@@ -2991,8 +2991,8 @@ msgstr ""
msgid "You've now cleared your profile photo"
msgstr "Sada ste izbrisali sliku na Vašem profilu"
-msgid "Your %d Freedom of Information request"
-msgid_plural "Your %d Freedom of Information requests"
+msgid "Your {{count}} Freedom of Information request"
+msgid_plural "Your {{count}} Freedom of Information requests"
msgstr[0] ""
msgstr[1] ""
msgstr[2] ""
diff --git a/locale/ca/app.po b/locale/ca/app.po
index bdc87af6e..b0df4163c 100644
--- a/locale/ca/app.po
+++ b/locale/ca/app.po
@@ -3032,10 +3032,10 @@ msgstr ""
msgid "You've now cleared your profile photo"
msgstr "Has borrado la foto de tu perfil"
-msgid "Your %d Freedom of Information request"
-msgid_plural "Your %d Freedom of Information requests"
-msgstr[0] "Tu %d solicitud de información"
-msgstr[1] "Tus %d solicitudes de información"
+msgid "Your {{count}} Freedom of Information request"
+msgid_plural "Your {{count}} Freedom of Information requests"
+msgstr[0] "Tu {{count}} solicitud de información"
+msgstr[1] "Tus {{count}} solicitudes de información"
msgid "Your %d annotation"
msgid_plural "Your %d annotations"
diff --git a/locale/cs/app.po b/locale/cs/app.po
index 3ac9d3c68..2794fff4f 100644
--- a/locale/cs/app.po
+++ b/locale/cs/app.po
@@ -3000,11 +3000,11 @@ msgstr "Nesledujete žádný vznesený dotaz."
msgid "You've now cleared your profile photo"
msgstr "Vaše profilové foto bylo vymazáno. "
-msgid "Your %d Freedom of Information request"
-msgid_plural "Your %d Freedom of Information requests"
-msgstr[0] "Váš %d dotaz"
-msgstr[1] "Vaše %d dotazy"
-msgstr[2] "Vašich %d dotazů"
+msgid "Your {{count}} Freedom of Information request"
+msgid_plural "Your {{count}} Freedom of Information requests"
+msgstr[0] "Váš {{count}} dotaz"
+msgstr[1] "Vaše {{count}} dotazy"
+msgstr[2] "Vašich {{count}} dotazů"
msgid "Your %d annotation"
msgid_plural "Your %d annotations"
diff --git a/locale/cy/app.po b/locale/cy/app.po
index f01d982e3..ab005ebd0 100644
--- a/locale/cy/app.po
+++ b/locale/cy/app.po
@@ -2824,8 +2824,8 @@ msgstr ""
msgid "You've now cleared your profile photo"
msgstr ""
-msgid "Your %d Freedom of Information request"
-msgid_plural "Your %d Freedom of Information requests"
+msgid "Your {{count}} Freedom of Information request"
+msgid_plural "Your {{count}} Freedom of Information requests"
msgstr[0] ""
msgstr[1] ""
msgstr[2] ""
diff --git a/locale/de/app.po b/locale/de/app.po
index 90ad25fe3..b98a332ec 100644
--- a/locale/de/app.po
+++ b/locale/de/app.po
@@ -2884,10 +2884,10 @@ msgstr ""
msgid "You've now cleared your profile photo"
msgstr "Sie haben Ihr Profilbild nun gelöscht"
-msgid "Your %d Freedom of Information request"
-msgid_plural "Your %d Freedom of Information requests"
-msgstr[0] "Ihre %d Informationsfreiheitsanfrage"
-msgstr[1] "Ihre %d Informationsfreiheitsanfragen"
+msgid "Your {{count}} Freedom of Information request"
+msgid_plural "Your {{count}} Freedom of Information requests"
+msgstr[0] "Ihre {{count}} Informationsfreiheitsanfrage"
+msgstr[1] "Ihre {{count}} Informationsfreiheitsanfragen"
msgid "Your %d annotation"
msgid_plural "Your %d annotations"
diff --git a/locale/en/app.po b/locale/en/app.po
index 914351639..196d105f1 100644
--- a/locale/en/app.po
+++ b/locale/en/app.po
@@ -2804,8 +2804,8 @@ msgstr ""
msgid "You've now cleared your profile photo"
msgstr ""
-msgid "Your %d Freedom of Information request"
-msgid_plural "Your %d Freedom of Information requests"
+msgid "Your {{count}} Freedom of Information request"
+msgid_plural "Your {{count}} Freedom of Information requests"
msgstr[0] ""
msgstr[1] ""
diff --git a/locale/en_IE/app.po b/locale/en_IE/app.po
index 9dd3fd4c1..6250fa354 100644
--- a/locale/en_IE/app.po
+++ b/locale/en_IE/app.po
@@ -2806,8 +2806,8 @@ msgstr ""
msgid "You've now cleared your profile photo"
msgstr ""
-msgid "Your %d Freedom of Information request"
-msgid_plural "Your %d Freedom of Information requests"
+msgid "Your {{count}} Freedom of Information request"
+msgid_plural "Your {{count}} Freedom of Information requests"
msgstr[0] ""
msgstr[1] ""
diff --git a/locale/es/app.po b/locale/es/app.po
index 2dddf1c73..38b2f3ad2 100644
--- a/locale/es/app.po
+++ b/locale/es/app.po
@@ -3062,10 +3062,10 @@ msgstr "No estás recibiendo actualizaciones por correo."
msgid "You've now cleared your profile photo"
msgstr "Has borrado la foto de tu perfil"
-msgid "Your %d Freedom of Information request"
-msgid_plural "Your %d Freedom of Information requests"
-msgstr[0] "Tu %d solicitud de información"
-msgstr[1] "Tus %d solicitudes de información"
+msgid "Your {{count}} Freedom of Information request"
+msgid_plural "Your {{count}} Freedom of Information requests"
+msgstr[0] "Tu {{count}} solicitud de información"
+msgstr[1] "Tus {{count}} solicitudes de información"
msgid "Your %d annotation"
msgid_plural "Your %d annotations"
diff --git a/locale/eu/app.po b/locale/eu/app.po
index 832f7e65e..0f7e24ce5 100644
--- a/locale/eu/app.po
+++ b/locale/eu/app.po
@@ -2880,10 +2880,10 @@ msgstr ""
msgid "You've now cleared your profile photo"
msgstr "Zure profilaren argazkia ezabatu duzu"
-msgid "Your %d Freedom of Information request"
-msgid_plural "Your %d Freedom of Information requests"
-msgstr[0] "Zure informazio eskabide %d "
-msgstr[1] "Zure %d informazio eskabideak"
+msgid "Your {{count}} Freedom of Information request"
+msgid_plural "Your {{count}} Freedom of Information requests"
+msgstr[0] "Zure informazio eskabide {{count}} "
+msgstr[1] "Zure {{count}} informazio eskabideak"
msgid "Your %d annotation"
msgid_plural "Your %d annotations"
diff --git a/locale/fr/app.po b/locale/fr/app.po
index ea2150d45..6a4dc90a7 100644
--- a/locale/fr/app.po
+++ b/locale/fr/app.po
@@ -2816,8 +2816,8 @@ msgstr ""
msgid "You've now cleared your profile photo"
msgstr ""
-msgid "Your %d Freedom of Information request"
-msgid_plural "Your %d Freedom of Information requests"
+msgid "Your {{count}} Freedom of Information request"
+msgid_plural "Your {{count}} Freedom of Information requests"
msgstr[0] ""
msgstr[1] ""
diff --git a/locale/gl/app.po b/locale/gl/app.po
index 712db876a..9a5ea95d1 100644
--- a/locale/gl/app.po
+++ b/locale/gl/app.po
@@ -3033,10 +3033,10 @@ msgstr ""
msgid "You've now cleared your profile photo"
msgstr "Has borrado la foto de tu perfil"
-msgid "Your %d Freedom of Information request"
-msgid_plural "Your %d Freedom of Information requests"
-msgstr[0] "Tu %d solicitud de información"
-msgstr[1] "Tus %d solicitudes de información"
+msgid "Your {{count}} Freedom of Information request"
+msgid_plural "Your {{count}} Freedom of Information requests"
+msgstr[0] "Tu {{count}} solicitud de información"
+msgstr[1] "Tus {{count}} solicitudes de información"
msgid "Your %d annotation"
msgid_plural "Your %d annotations"
diff --git a/locale/hu_HU/app.po b/locale/hu_HU/app.po
index f2f0e5b3c..a2a3e272a 100644
--- a/locale/hu_HU/app.po
+++ b/locale/hu_HU/app.po
@@ -3032,10 +3032,10 @@ msgstr ""
msgid "You've now cleared your profile photo"
msgstr "Eltávolította profilképét "
-msgid "Your %d Freedom of Information request"
-msgid_plural "Your %d Freedom of Information requests"
+msgid "Your {{count}} Freedom of Information request"
+msgid_plural "Your {{count}} Freedom of Information requests"
msgstr[0] "Ön még nem készített adatigénylést"
-msgstr[1] "Az ön %d adatigénylése"
+msgstr[1] "Az ön {{count}} adatigénylése"
msgid "Your %d annotation"
msgid_plural "Your %d annotations"
diff --git a/locale/id/app.po b/locale/id/app.po
index 8a456a68f..653e8b3ef 100644
--- a/locale/id/app.po
+++ b/locale/id/app.po
@@ -3049,9 +3049,9 @@ msgstr "Anda tidak mengikuti apapun."
msgid "You've now cleared your profile photo"
msgstr "Anda sekarang telah menghapus foto profil Anda"
-msgid "Your %d Freedom of Information request"
-msgid_plural "Your %d Freedom of Information requests"
-msgstr[0] "Permintaan Freedom of Information %d Anda"
+msgid "Your {{count}} Freedom of Information request"
+msgid_plural "Your {{count}} Freedom of Information requests"
+msgstr[0] "Permintaan Freedom of Information {{count}} Anda"
msgid "Your %d annotation"
msgid_plural "Your %d annotations"
diff --git a/locale/nb_NO/app.po b/locale/nb_NO/app.po
index 1fc6c8ff5..4cd8d58a2 100644
--- a/locale/nb_NO/app.po
+++ b/locale/nb_NO/app.po
@@ -2804,8 +2804,8 @@ msgstr ""
msgid "You've now cleared your profile photo"
msgstr ""
-msgid "Your %d Freedom of Information request"
-msgid_plural "Your %d Freedom of Information requests"
+msgid "Your {{count}} Freedom of Information request"
+msgid_plural "Your {{count}} Freedom of Information requests"
msgstr[0] ""
msgstr[1] ""
diff --git a/locale/pt_BR/app.po b/locale/pt_BR/app.po
index ae6045a29..7983ea846 100644
--- a/locale/pt_BR/app.po
+++ b/locale/pt_BR/app.po
@@ -2867,10 +2867,10 @@ msgstr "Você não está acompanhando nada."
msgid "You've now cleared your profile photo"
msgstr "Você apagou sua foto do perfil"
-msgid "Your %d Freedom of Information request"
-msgid_plural "Your %d Freedom of Information requests"
-msgstr[0] "Seu %d pedido"
-msgstr[1] "Seus %d pedidos"
+msgid "Your {{count}} Freedom of Information request"
+msgid_plural "Your {{count}} Freedom of Information requests"
+msgstr[0] "Seu {{count}} pedido"
+msgstr[1] "Seus {{count}} pedidos"
msgid "Your %d annotation"
msgid_plural "Your %d annotations"
diff --git a/locale/ro_RO/app.po b/locale/ro_RO/app.po
index 45fd3aaeb..0091e37e9 100644
--- a/locale/ro_RO/app.po
+++ b/locale/ro_RO/app.po
@@ -2815,8 +2815,8 @@ msgstr ""
msgid "You've now cleared your profile photo"
msgstr ""
-msgid "Your %d Freedom of Information request"
-msgid_plural "Your %d Freedom of Information requests"
+msgid "Your {{count}} Freedom of Information request"
+msgid_plural "Your {{count}} Freedom of Information requests"
msgstr[0] ""
msgstr[1] ""
msgstr[2] ""
diff --git a/locale/sl/app.po b/locale/sl/app.po
index 777a4fa8a..f8242c073 100644
--- a/locale/sl/app.po
+++ b/locale/sl/app.po
@@ -2822,8 +2822,8 @@ msgstr ""
msgid "You've now cleared your profile photo"
msgstr ""
-msgid "Your %d Freedom of Information request"
-msgid_plural "Your %d Freedom of Information requests"
+msgid "Your {{count}} Freedom of Information request"
+msgid_plural "Your {{count}} Freedom of Information requests"
msgstr[0] ""
msgstr[1] ""
msgstr[2] ""
diff --git a/locale/sq/app.po b/locale/sq/app.po
index d5ce6d2b9..f54c958cb 100644
--- a/locale/sq/app.po
+++ b/locale/sq/app.po
@@ -2957,10 +2957,10 @@ msgstr "Nuk po ndiqni ndonjë gjë."
msgid "You've now cleared your profile photo"
msgstr "Ke pastruar fotografinë e profilit tënd"
-msgid "Your %d Freedom of Information request"
-msgid_plural "Your %d Freedom of Information requests"
-msgstr[0] "%d kërkesë e yte për informatë zyrtare"
-msgstr[1] "%d kërkesa tua për informata zyrtare"
+msgid "Your {{count}} Freedom of Information request"
+msgid_plural "Your {{count}} Freedom of Information requests"
+msgstr[0] "{{count}} kërkesë e yte për informatë zyrtare"
+msgstr[1] "{{count}} kërkesa tua për informata zyrtare"
msgid "Your %d annotation"
msgid_plural "Your %d annotations"
diff --git a/locale/sr@latin/app.po b/locale/sr@latin/app.po
index c05c0d53d..b4aa5c352 100644
--- a/locale/sr@latin/app.po
+++ b/locale/sr@latin/app.po
@@ -2990,8 +2990,8 @@ msgstr ""
msgid "You've now cleared your profile photo"
msgstr "Sada ste izbrisali sliku na Vašem profilu"
-msgid "Your %d Freedom of Information request"
-msgid_plural "Your %d Freedom of Information requests"
+msgid "Your {{count}} Freedom of Information request"
+msgid_plural "Your {{count}} Freedom of Information requests"
msgstr[0] ""
msgstr[1] ""
msgstr[2] ""
diff --git a/locale/tr/app.po b/locale/tr/app.po
index f4901162b..a4aa5fa5b 100644
--- a/locale/tr/app.po
+++ b/locale/tr/app.po
@@ -2802,8 +2802,8 @@ msgstr ""
msgid "You've now cleared your profile photo"
msgstr ""
-msgid "Your %d Freedom of Information request"
-msgid_plural "Your %d Freedom of Information requests"
+msgid "Your {{count}} Freedom of Information request"
+msgid_plural "Your {{count}} Freedom of Information requests"
msgstr[0] ""
msgid "Your %d annotation"
diff --git a/locale/uk/app.po b/locale/uk/app.po
index 585e3cc06..1156db035 100644
--- a/locale/uk/app.po
+++ b/locale/uk/app.po
@@ -2957,8 +2957,8 @@ msgstr "Ви нічого не відслідковуєте"
msgid "You've now cleared your profile photo"
msgstr ""
-msgid "Your %d Freedom of Information request"
-msgid_plural "Your %d Freedom of Information requests"
+msgid "Your {{count}} Freedom of Information request"
+msgid_plural "Your {{count}} Freedom of Information requests"
msgstr[0] ""
msgstr[1] ""
msgstr[2] ""
diff --git a/spec/fixtures/locale/en/app.po b/spec/fixtures/locale/en/app.po
index 185e0c5aa..11dd5751f 100644
--- a/spec/fixtures/locale/en/app.po
+++ b/spec/fixtures/locale/en/app.po
@@ -3637,8 +3637,8 @@ msgid "You've now cleared your profile photo"
msgstr ""
#: app/views/user/show.rhtml:149
-msgid "Your %d Freedom of Information request"
-msgid_plural "Your %d Freedom of Information requests"
+msgid "Your {{count}} Freedom of Information request"
+msgid_plural "Your {{count}} Freedom of Information requests"
msgstr[0] ""
msgstr[1] ""
diff --git a/spec/fixtures/locale/en_GB/app.po b/spec/fixtures/locale/en_GB/app.po
index 050ce861b..b7a00d3e6 100644
--- a/spec/fixtures/locale/en_GB/app.po
+++ b/spec/fixtures/locale/en_GB/app.po
@@ -3636,8 +3636,8 @@ msgid "You've now cleared your profile photo"
msgstr ""
#: app/views/user/show.rhtml:149
-msgid "Your %d Freedom of Information request"
-msgid_plural "Your %d Freedom of Information requests"
+msgid "Your {{count}} Freedom of Information request"
+msgid_plural "Your {{count}} Freedom of Information requests"
msgstr[0] ""
msgstr[1] ""
diff --git a/spec/fixtures/locale/es/app.po b/spec/fixtures/locale/es/app.po
index 0731edff2..309c383c9 100644
--- a/spec/fixtures/locale/es/app.po
+++ b/spec/fixtures/locale/es/app.po
@@ -3906,10 +3906,10 @@ msgid "You've now cleared your profile photo"
msgstr "Has borrado la foto de tu perfil"
#: app/views/user/show.rhtml:149
-msgid "Your %d Freedom of Information request"
-msgid_plural "Your %d Freedom of Information requests"
-msgstr[0] "Tu %d solicitud de información"
-msgstr[1] "Tus %d solicitudes de información"
+msgid "Your {{count}} Freedom of Information request"
+msgid_plural "Your {{count}} Freedom of Information requests"
+msgstr[0] "Tu {{count}} solicitud de información"
+msgstr[1] "Tus {{count}} solicitudes de información"
#: app/views/user/show.rhtml:179
msgid "Your %d annotation"