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:
@@ -8,13 +8,13 @@
|
|||||||
<strong><%= @signature_sheet.author.name %></strong>
|
<strong><%= @signature_sheet.author.name %></strong>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<h3 id="document_count" class="block">
|
<h3 id="signature_count" class="block">
|
||||||
<%= t("admin.signature_sheets.show.document_count") %>
|
<%= t("admin.signature_sheets.show.signature_count") %>
|
||||||
<%= @signature_sheet.signatures.count %>
|
<%= @signature_sheet.signatures.count %>
|
||||||
</h3>
|
</h3>
|
||||||
|
|
||||||
<div class="callout margin-top">
|
<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 %>
|
<%= simple_format @signature_sheet.required_fields_to_verify %>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
@@ -891,8 +891,6 @@ ast:
|
|||||||
show:
|
show:
|
||||||
created_at: Creado
|
created_at: Creado
|
||||||
author: Autor
|
author: Autor
|
||||||
documents: Documentos
|
|
||||||
document_count: "Número de documentos:"
|
|
||||||
verified:
|
verified:
|
||||||
one: "Hay %{count} firma válida"
|
one: "Hay %{count} firma válida"
|
||||||
other: "Hay %{count} firmas válidas"
|
other: "Hay %{count} firmas válidas"
|
||||||
|
|||||||
@@ -866,8 +866,6 @@ ca:
|
|||||||
submit: Crear full de signatures
|
submit: Crear full de signatures
|
||||||
show:
|
show:
|
||||||
created_at: Creat
|
created_at: Creat
|
||||||
author: Autor
|
|
||||||
document_count: "Nombre de documents:"
|
|
||||||
verified:
|
verified:
|
||||||
one: "Hi ha %{count} signatura vàlida"
|
one: "Hi ha %{count} signatura vàlida"
|
||||||
other: "Hi ha %{count} signatures vàlides"
|
other: "Hi ha %{count} signatures vàlides"
|
||||||
|
|||||||
@@ -1270,8 +1270,6 @@ de:
|
|||||||
show:
|
show:
|
||||||
created_at: Erstellt
|
created_at: Erstellt
|
||||||
author: Autor
|
author: Autor
|
||||||
documents: Unterlagen
|
|
||||||
document_count: "Anzahl der Dokumente:"
|
|
||||||
verified:
|
verified:
|
||||||
one: "Es gibt %{count} gültige Unterschrift"
|
one: "Es gibt %{count} gültige Unterschrift"
|
||||||
other: "Es gibt %{count} gültige Unterschriften"
|
other: "Es gibt %{count} gültige Unterschriften"
|
||||||
|
|||||||
@@ -1411,8 +1411,8 @@ en:
|
|||||||
show:
|
show:
|
||||||
created_at: Created
|
created_at: Created
|
||||||
author: Author
|
author: Author
|
||||||
documents: Documents
|
users: Users
|
||||||
document_count: "Number of documents:"
|
signature_count: "Number of signatures:"
|
||||||
verified:
|
verified:
|
||||||
one: "There is %{count} valid signature"
|
one: "There is %{count} valid signature"
|
||||||
other: "There are %{count} valid signatures"
|
other: "There are %{count} valid signatures"
|
||||||
|
|||||||
@@ -997,8 +997,6 @@ es-PE:
|
|||||||
show:
|
show:
|
||||||
created_at: Creado
|
created_at: Creado
|
||||||
author: Autor
|
author: Autor
|
||||||
documents: Documentos
|
|
||||||
document_count: "Número de documentos:"
|
|
||||||
verified:
|
verified:
|
||||||
one: "Hay %{count} firma válida"
|
one: "Hay %{count} firma válida"
|
||||||
other: "Hay %{count} firmas válidas"
|
other: "Hay %{count} firmas válidas"
|
||||||
|
|||||||
@@ -1409,8 +1409,8 @@ es:
|
|||||||
show:
|
show:
|
||||||
created_at: Creado
|
created_at: Creado
|
||||||
author: Autor
|
author: Autor
|
||||||
documents: Documentos
|
users: Usuarios
|
||||||
document_count: "Número de documentos:"
|
signature_count: "Número de firmas:"
|
||||||
verified:
|
verified:
|
||||||
one: "Hay %{count} firma válida"
|
one: "Hay %{count} firma válida"
|
||||||
other: "Hay %{count} firmas válidas"
|
other: "Hay %{count} firmas válidas"
|
||||||
|
|||||||
@@ -1094,8 +1094,6 @@ fa:
|
|||||||
show:
|
show:
|
||||||
created_at: ایجاد شده
|
created_at: ایجاد شده
|
||||||
author: نویسنده
|
author: نویسنده
|
||||||
documents: اسناد
|
|
||||||
document_count: "تعداد اسناد:"
|
|
||||||
verified:
|
verified:
|
||||||
one: "%{count} امضا معتبر است"
|
one: "%{count} امضا معتبر است"
|
||||||
other: "%{count} امضا معتبر است"
|
other: "%{count} امضا معتبر است"
|
||||||
|
|||||||
@@ -1342,8 +1342,6 @@ fr:
|
|||||||
show:
|
show:
|
||||||
created_at: Créé le
|
created_at: Créé le
|
||||||
author: Auteur
|
author: Auteur
|
||||||
documents: Documents
|
|
||||||
document_count: "Nombre de documents :"
|
|
||||||
verified:
|
verified:
|
||||||
one: "Il y a %{count} signature valide"
|
one: "Il y a %{count} signature valide"
|
||||||
other: "Il y a %{count} signatures valides"
|
other: "Il y a %{count} signatures valides"
|
||||||
|
|||||||
@@ -1282,8 +1282,6 @@ gl:
|
|||||||
show:
|
show:
|
||||||
created_at: Creado
|
created_at: Creado
|
||||||
author: Autoría
|
author: Autoría
|
||||||
documents: Docuemntos
|
|
||||||
document_count: "Número de documentos:"
|
|
||||||
verified:
|
verified:
|
||||||
one: "Hai %{count} sinatura válida"
|
one: "Hai %{count} sinatura válida"
|
||||||
other: "Hai %{count} sinaturas válidas"
|
other: "Hai %{count} sinaturas válidas"
|
||||||
|
|||||||
@@ -1071,8 +1071,6 @@ id:
|
|||||||
show:
|
show:
|
||||||
created_at: Dibuat
|
created_at: Dibuat
|
||||||
author: Penulis
|
author: Penulis
|
||||||
documents: Dokumen
|
|
||||||
document_count: "Jumlah dokumen:"
|
|
||||||
verified:
|
verified:
|
||||||
other: "Ada %{count} berlaku tanda tangan"
|
other: "Ada %{count} berlaku tanda tangan"
|
||||||
unverified:
|
unverified:
|
||||||
|
|||||||
@@ -1184,8 +1184,6 @@ it:
|
|||||||
show:
|
show:
|
||||||
created_at: Creato
|
created_at: Creato
|
||||||
author: Autore
|
author: Autore
|
||||||
documents: Documenti
|
|
||||||
document_count: "Numero di documenti:"
|
|
||||||
verified:
|
verified:
|
||||||
one: "C'è %{count} firme valide"
|
one: "C'è %{count} firme valide"
|
||||||
other: "Ci sono %{count} firme valide"
|
other: "Ci sono %{count} firme valide"
|
||||||
|
|||||||
@@ -1325,8 +1325,6 @@ nl:
|
|||||||
show:
|
show:
|
||||||
created_at: Aangemaakt
|
created_at: Aangemaakt
|
||||||
author: Author
|
author: Author
|
||||||
documents: Documents
|
|
||||||
document_count: "Number of documents:"
|
|
||||||
verified:
|
verified:
|
||||||
one: "There is %{count} valid signature"
|
one: "There is %{count} valid signature"
|
||||||
other: "There are %{count} valid signatures"
|
other: "There are %{count} valid signatures"
|
||||||
|
|||||||
@@ -1320,8 +1320,6 @@ pl:
|
|||||||
show:
|
show:
|
||||||
created_at: Stworzony
|
created_at: Stworzony
|
||||||
author: Autor
|
author: Autor
|
||||||
documents: Dokumenty
|
|
||||||
document_count: "Liczba dokumentów:"
|
|
||||||
unverified_error: (Nie zweryfikowany przez Census)
|
unverified_error: (Nie zweryfikowany przez Census)
|
||||||
loading: "Nadal istnieją podpisy, które są weryfikowane przez Census, proszę odświeżyć stronę za kilka chwil"
|
loading: "Nadal istnieją podpisy, które są weryfikowane przez Census, proszę odświeżyć stronę za kilka chwil"
|
||||||
stats:
|
stats:
|
||||||
|
|||||||
@@ -1185,8 +1185,6 @@ pt-BR:
|
|||||||
show:
|
show:
|
||||||
created_at: Criado em
|
created_at: Criado em
|
||||||
author: Autor
|
author: Autor
|
||||||
documents: Documentos
|
|
||||||
document_count: "Número de documentos:"
|
|
||||||
verified:
|
verified:
|
||||||
one: "Há %{count} assinatura válida"
|
one: "Há %{count} assinatura válida"
|
||||||
other: "Há %{count} assinaturas válidas"
|
other: "Há %{count} assinaturas válidas"
|
||||||
|
|||||||
@@ -952,8 +952,6 @@ sl:
|
|||||||
show:
|
show:
|
||||||
created_at: Ustvarjen
|
created_at: Ustvarjen
|
||||||
author: Avtor
|
author: Avtor
|
||||||
documents: Dokumenti
|
|
||||||
document_count: "Število dokumentov:"
|
|
||||||
unverified_error: (Ni verificirano s strani popisa)
|
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"
|
loading: "Obstajajo še podpisi, ki so v postopku verifikacije s strani popisa, prosimo osveži stran čez nekaj trenutkov"
|
||||||
stats:
|
stats:
|
||||||
|
|||||||
@@ -1189,8 +1189,6 @@ so:
|
|||||||
show:
|
show:
|
||||||
created_at: Abuuray
|
created_at: Abuuray
|
||||||
author: Qoraa
|
author: Qoraa
|
||||||
documents: Dukumentiyo
|
|
||||||
document_count: "Lamabarka Dukumeentiyada:"
|
|
||||||
verified:
|
verified:
|
||||||
one: "Waxa jira %{count} saxiixya ah oo saxa"
|
one: "Waxa jira %{count} saxiixya ah oo saxa"
|
||||||
other: "Waxa jira %{count} tiro saxiixya ah oo saxa"
|
other: "Waxa jira %{count} tiro saxiixya ah oo saxa"
|
||||||
|
|||||||
@@ -1191,8 +1191,6 @@ sq:
|
|||||||
show:
|
show:
|
||||||
created_at: Krijuar
|
created_at: Krijuar
|
||||||
author: Autor
|
author: Autor
|
||||||
documents: Dokumentet
|
|
||||||
document_count: "Numri i dokumenteve:"
|
|
||||||
verified:
|
verified:
|
||||||
one: "Ky është %{count} nënshkrim i vlefshëm"
|
one: "Ky është %{count} nënshkrim i vlefshëm"
|
||||||
other: "Këto janë %{count} nënshkrime të vlefshme"
|
other: "Këto janë %{count} nënshkrime të vlefshme"
|
||||||
|
|||||||
@@ -1235,8 +1235,6 @@ sv:
|
|||||||
show:
|
show:
|
||||||
created_at: Skapad
|
created_at: Skapad
|
||||||
author: Skribent
|
author: Skribent
|
||||||
documents: Dokument
|
|
||||||
document_count: "Antal dokument:"
|
|
||||||
verified:
|
verified:
|
||||||
one: "Det finns %{count} giltig underskrift"
|
one: "Det finns %{count} giltig underskrift"
|
||||||
other: "Det finns %{count} giltiga underskrifter"
|
other: "Det finns %{count} giltiga underskrifter"
|
||||||
|
|||||||
@@ -1240,8 +1240,6 @@ val:
|
|||||||
show:
|
show:
|
||||||
created_at: Creat
|
created_at: Creat
|
||||||
author: Autor
|
author: Autor
|
||||||
documents: Documents
|
|
||||||
document_count: "Nombre de documents:"
|
|
||||||
verified:
|
verified:
|
||||||
one: "Hi ha %{count} signatura vàlida"
|
one: "Hi ha %{count} signatura vàlida"
|
||||||
other: "Hi ha %{count} signatures vàlides"
|
other: "Hi ha %{count} signatures vàlides"
|
||||||
|
|||||||
@@ -1191,8 +1191,6 @@ zh-CN:
|
|||||||
show:
|
show:
|
||||||
created_at: 已创建
|
created_at: 已创建
|
||||||
author: 作者
|
author: 作者
|
||||||
documents: 文档
|
|
||||||
document_count: "文档编号:"
|
|
||||||
verified:
|
verified:
|
||||||
other: "有%{count} 个有效签名"
|
other: "有%{count} 个有效签名"
|
||||||
unverified:
|
unverified:
|
||||||
|
|||||||
@@ -1180,8 +1180,6 @@ zh-TW:
|
|||||||
show:
|
show:
|
||||||
created_at: 已創建
|
created_at: 已創建
|
||||||
author: 作者
|
author: 作者
|
||||||
documents: 文檔
|
|
||||||
document_count: "文檔數目:"
|
|
||||||
verified:
|
verified:
|
||||||
other: "有 %{count} 個有效簽名"
|
other: "有 %{count} 個有效簽名"
|
||||||
unverified:
|
unverified:
|
||||||
|
|||||||
@@ -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 signature_sheet.created_at.strftime("%B %d, %Y %H:%M")
|
||||||
expect(page).to have_content user.name
|
expect(page).to have_content user.name
|
||||||
|
|
||||||
within("#document_count") do
|
within("#signature_count") do
|
||||||
expect(page).to have_content 3
|
expect(page).to have_content 3
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user