Add new translations

- Add new translations on SignatureSheet show page.
  Changes:
   -> "document number" to "sigantures"
   -> "documents" to "users"

- Remove unused translations from the others yml
This commit is contained in:
taitus
2019-05-14 12:08:35 +02:00
committed by Javi Martín
parent 5953e87c71
commit 1788df3cf7
23 changed files with 8 additions and 46 deletions

View File

@@ -8,13 +8,13 @@
<strong><%= @signature_sheet.author.name %></strong>
</div>
<h3 id="document_count" class="block">
<%= t("admin.signature_sheets.show.document_count") %>
<h3 id="signature_count" class="block">
<%= t("admin.signature_sheets.show.signature_count") %>
<%= @signature_sheet.signatures.count %>
</h3>
<div class="callout margin-top">
<p><strong><%= t("admin.signature_sheets.show.documents") %></strong></p>
<p><strong><%= t("admin.signature_sheets.show.users") %></strong></p>
<%= simple_format @signature_sheet.required_fields_to_verify %>
</div>

View File

@@ -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"

View File

@@ -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"

View File

@@ -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"

View File

@@ -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"

View File

@@ -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"

View File

@@ -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"

View File

@@ -1094,8 +1094,6 @@ fa:
show:
created_at: ایجاد شده
author: نویسنده
documents: اسناد
document_count: "تعداد اسناد:"
verified:
one: "%{count} امضا معتبر است"
other: "%{count} امضا معتبر است"

View File

@@ -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"

View File

@@ -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"

View File

@@ -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:

View File

@@ -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"

View File

@@ -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"

View File

@@ -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:

View File

@@ -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"

View File

@@ -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:

View File

@@ -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"

View File

@@ -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"

View File

@@ -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"

View File

@@ -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"

View File

@@ -1191,8 +1191,6 @@ zh-CN:
show:
created_at: 已创建
author: 作者
documents: 文档
document_count: "文档编号:"
verified:
other: "有%{count} 个有效签名"
unverified:

View File

@@ -1180,8 +1180,6 @@ zh-TW:
show:
created_at: 已創建
author: 作者
documents: 文檔
document_count: "文檔數目:"
verified:
other: "有 %{count} 個有效簽名"
unverified:

View File

@@ -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