diff --git a/app/views/admin/signature_sheets/show.html.erb b/app/views/admin/signature_sheets/show.html.erb index eadb0eac8..622842099 100644 --- a/app/views/admin/signature_sheets/show.html.erb +++ b/app/views/admin/signature_sheets/show.html.erb @@ -8,13 +8,13 @@ <%= @signature_sheet.author.name %> -

- <%= t("admin.signature_sheets.show.document_count") %> +

+ <%= t("admin.signature_sheets.show.signature_count") %> <%= @signature_sheet.signatures.count %>

-

<%= t("admin.signature_sheets.show.documents") %>

+

<%= t("admin.signature_sheets.show.users") %>

<%= simple_format @signature_sheet.required_fields_to_verify %>
diff --git a/config/locales/ast/admin.yml b/config/locales/ast/admin.yml index 0a954256e..2133ec561 100644 --- a/config/locales/ast/admin.yml +++ b/config/locales/ast/admin.yml @@ -891,8 +891,6 @@ ast: show: created_at: Creado author: Autor - documents: Documentos - document_count: "Número de documentos:" verified: one: "Hay %{count} firma válida" other: "Hay %{count} firmas válidas" diff --git a/config/locales/ca/admin.yml b/config/locales/ca/admin.yml index 5f435a19d..e23c97cec 100644 --- a/config/locales/ca/admin.yml +++ b/config/locales/ca/admin.yml @@ -866,8 +866,6 @@ ca: submit: Crear full de signatures show: created_at: Creat - author: Autor - document_count: "Nombre de documents:" verified: one: "Hi ha %{count} signatura vàlida" other: "Hi ha %{count} signatures vàlides" diff --git a/config/locales/de-DE/admin.yml b/config/locales/de-DE/admin.yml index 48388098e..f518bd402 100644 --- a/config/locales/de-DE/admin.yml +++ b/config/locales/de-DE/admin.yml @@ -1270,8 +1270,6 @@ de: show: created_at: Erstellt author: Autor - documents: Unterlagen - document_count: "Anzahl der Dokumente:" verified: one: "Es gibt %{count} gültige Unterschrift" other: "Es gibt %{count} gültige Unterschriften" diff --git a/config/locales/en/admin.yml b/config/locales/en/admin.yml index 14964755c..967186cf1 100644 --- a/config/locales/en/admin.yml +++ b/config/locales/en/admin.yml @@ -1411,8 +1411,8 @@ en: show: created_at: Created author: Author - documents: Documents - document_count: "Number of documents:" + users: Users + signature_count: "Number of signatures:" verified: one: "There is %{count} valid signature" other: "There are %{count} valid signatures" diff --git a/config/locales/es-PE/admin.yml b/config/locales/es-PE/admin.yml index ee007e1cc..331e65811 100644 --- a/config/locales/es-PE/admin.yml +++ b/config/locales/es-PE/admin.yml @@ -997,8 +997,6 @@ es-PE: show: created_at: Creado author: Autor - documents: Documentos - document_count: "Número de documentos:" verified: one: "Hay %{count} firma válida" other: "Hay %{count} firmas válidas" diff --git a/config/locales/es/admin.yml b/config/locales/es/admin.yml index 40c49c389..bdf7eaffb 100644 --- a/config/locales/es/admin.yml +++ b/config/locales/es/admin.yml @@ -1409,8 +1409,8 @@ es: show: created_at: Creado author: Autor - documents: Documentos - document_count: "Número de documentos:" + users: Usuarios + signature_count: "Número de firmas:" verified: one: "Hay %{count} firma válida" other: "Hay %{count} firmas válidas" diff --git a/config/locales/fa-IR/admin.yml b/config/locales/fa-IR/admin.yml index 3d15f93b3..f5d6673b6 100644 --- a/config/locales/fa-IR/admin.yml +++ b/config/locales/fa-IR/admin.yml @@ -1094,8 +1094,6 @@ fa: show: created_at: ایجاد شده author: نویسنده - documents: اسناد - document_count: "تعداد اسناد:" verified: one: "%{count} امضا معتبر است" other: "%{count} امضا معتبر است" diff --git a/config/locales/fr/admin.yml b/config/locales/fr/admin.yml index f2e7f74c4..2f938877e 100644 --- a/config/locales/fr/admin.yml +++ b/config/locales/fr/admin.yml @@ -1342,8 +1342,6 @@ fr: show: created_at: Créé le author: Auteur - documents: Documents - document_count: "Nombre de documents :" verified: one: "Il y a %{count} signature valide" other: "Il y a %{count} signatures valides" diff --git a/config/locales/gl/admin.yml b/config/locales/gl/admin.yml index c72d04345..dbcf438f3 100644 --- a/config/locales/gl/admin.yml +++ b/config/locales/gl/admin.yml @@ -1282,8 +1282,6 @@ gl: show: created_at: Creado author: Autoría - documents: Docuemntos - document_count: "Número de documentos:" verified: one: "Hai %{count} sinatura válida" other: "Hai %{count} sinaturas válidas" diff --git a/config/locales/id-ID/admin.yml b/config/locales/id-ID/admin.yml index 2aa2a28a0..b5da22a9b 100644 --- a/config/locales/id-ID/admin.yml +++ b/config/locales/id-ID/admin.yml @@ -1071,8 +1071,6 @@ id: show: created_at: Dibuat author: Penulis - documents: Dokumen - document_count: "Jumlah dokumen:" verified: other: "Ada %{count} berlaku tanda tangan" unverified: diff --git a/config/locales/it/admin.yml b/config/locales/it/admin.yml index 979155101..429d32ff9 100644 --- a/config/locales/it/admin.yml +++ b/config/locales/it/admin.yml @@ -1184,8 +1184,6 @@ it: show: created_at: Creato author: Autore - documents: Documenti - document_count: "Numero di documenti:" verified: one: "C'è %{count} firme valide" other: "Ci sono %{count} firme valide" diff --git a/config/locales/nl/admin.yml b/config/locales/nl/admin.yml index 9711c8d3b..89e510475 100644 --- a/config/locales/nl/admin.yml +++ b/config/locales/nl/admin.yml @@ -1325,8 +1325,6 @@ nl: show: created_at: Aangemaakt author: Author - documents: Documents - document_count: "Number of documents:" verified: one: "There is %{count} valid signature" other: "There are %{count} valid signatures" diff --git a/config/locales/pl-PL/admin.yml b/config/locales/pl-PL/admin.yml index e1779213e..c12200432 100644 --- a/config/locales/pl-PL/admin.yml +++ b/config/locales/pl-PL/admin.yml @@ -1320,8 +1320,6 @@ pl: show: created_at: Stworzony author: Autor - documents: Dokumenty - document_count: "Liczba dokumentów:" unverified_error: (Nie zweryfikowany przez Census) loading: "Nadal istnieją podpisy, które są weryfikowane przez Census, proszę odświeżyć stronę za kilka chwil" stats: diff --git a/config/locales/pt-BR/admin.yml b/config/locales/pt-BR/admin.yml index 0a1e71089..2e9746e38 100644 --- a/config/locales/pt-BR/admin.yml +++ b/config/locales/pt-BR/admin.yml @@ -1185,8 +1185,6 @@ pt-BR: show: created_at: Criado em author: Autor - documents: Documentos - document_count: "Número de documentos:" verified: one: "Há %{count} assinatura válida" other: "Há %{count} assinaturas válidas" diff --git a/config/locales/sl-SI/admin.yml b/config/locales/sl-SI/admin.yml index 1866aa80c..56e1392a9 100644 --- a/config/locales/sl-SI/admin.yml +++ b/config/locales/sl-SI/admin.yml @@ -952,8 +952,6 @@ sl: show: created_at: Ustvarjen author: Avtor - documents: Dokumenti - document_count: "Število dokumentov:" unverified_error: (Ni verificirano s strani popisa) loading: "Obstajajo še podpisi, ki so v postopku verifikacije s strani popisa, prosimo osveži stran čez nekaj trenutkov" stats: diff --git a/config/locales/so-SO/admin.yml b/config/locales/so-SO/admin.yml index 3f3ef34f1..981f90dfe 100644 --- a/config/locales/so-SO/admin.yml +++ b/config/locales/so-SO/admin.yml @@ -1189,8 +1189,6 @@ so: show: created_at: Abuuray author: Qoraa - documents: Dukumentiyo - document_count: "Lamabarka Dukumeentiyada:" verified: one: "Waxa jira %{count} saxiixya ah oo saxa" other: "Waxa jira %{count} tiro saxiixya ah oo saxa" diff --git a/config/locales/sq-AL/admin.yml b/config/locales/sq-AL/admin.yml index 42bee56fc..c096ddca4 100644 --- a/config/locales/sq-AL/admin.yml +++ b/config/locales/sq-AL/admin.yml @@ -1191,8 +1191,6 @@ sq: show: created_at: Krijuar author: Autor - documents: Dokumentet - document_count: "Numri i dokumenteve:" verified: one: "Ky është %{count} nënshkrim i vlefshëm" other: "Këto janë %{count} nënshkrime të vlefshme" diff --git a/config/locales/sv-SE/admin.yml b/config/locales/sv-SE/admin.yml index 5de9282fe..d5696fce5 100644 --- a/config/locales/sv-SE/admin.yml +++ b/config/locales/sv-SE/admin.yml @@ -1235,8 +1235,6 @@ sv: show: created_at: Skapad author: Skribent - documents: Dokument - document_count: "Antal dokument:" verified: one: "Det finns %{count} giltig underskrift" other: "Det finns %{count} giltiga underskrifter" diff --git a/config/locales/val/admin.yml b/config/locales/val/admin.yml index 6292a908a..da5a9526b 100644 --- a/config/locales/val/admin.yml +++ b/config/locales/val/admin.yml @@ -1240,8 +1240,6 @@ val: show: created_at: Creat author: Autor - documents: Documents - document_count: "Nombre de documents:" verified: one: "Hi ha %{count} signatura vàlida" other: "Hi ha %{count} signatures vàlides" diff --git a/config/locales/zh-CN/admin.yml b/config/locales/zh-CN/admin.yml index 62bcc3a3a..95f9222b3 100644 --- a/config/locales/zh-CN/admin.yml +++ b/config/locales/zh-CN/admin.yml @@ -1191,8 +1191,6 @@ zh-CN: show: created_at: 已创建 author: 作者 - documents: 文档 - document_count: "文档编号:" verified: other: "有%{count} 个有效签名" unverified: diff --git a/config/locales/zh-TW/admin.yml b/config/locales/zh-TW/admin.yml index a63e5502b..d99d750a1 100644 --- a/config/locales/zh-TW/admin.yml +++ b/config/locales/zh-TW/admin.yml @@ -1180,8 +1180,6 @@ zh-TW: show: created_at: 已創建 author: 作者 - documents: 文檔 - document_count: "文檔數目:" verified: other: "有 %{count} 個有效簽名" unverified: diff --git a/spec/features/admin/signature_sheets_spec.rb b/spec/features/admin/signature_sheets_spec.rb index 92514c24a..f37b47b57 100644 --- a/spec/features/admin/signature_sheets_spec.rb +++ b/spec/features/admin/signature_sheets_spec.rb @@ -156,7 +156,7 @@ describe "Signature sheets" do expect(page).to have_content signature_sheet.created_at.strftime("%B %d, %Y %H:%M") expect(page).to have_content user.name - within("#document_count") do + within("#signature_count") do expect(page).to have_content 3 end