From 429566388cd30816fd126a7960298fcad8dec7de Mon Sep 17 00:00:00 2001 From: RafiyaZafar Date: Thu, 23 Jun 2022 20:18:10 +0530 Subject: [PATCH 1/4] Changes Made in Files --- app/views/notes/drafts.html.erb | 2 +- config/locales/en.yml | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/app/views/notes/drafts.html.erb b/app/views/notes/drafts.html.erb index 893b3d18dc..433cb9c474 100644 --- a/app/views/notes/drafts.html.erb +++ b/app/views/notes/drafts.html.erb @@ -1,5 +1,5 @@
-

Your Drafts (<%= @drafts.count %>)

+

<%= translation('notes.drafts.your_drafts') %> (<%= @drafts.count %>)

<% @drafts.each_with_index do |node,i| %> diff --git a/config/locales/en.yml b/config/locales/en.yml index d8c8c29beb..77999c222d 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -302,6 +302,8 @@ en: members_and_contributors: | %{member_count} member registrations and %{people_count} contributors posted notes, wikis, questions, comments, or revisions in this period. + drafts: + your_drafts: "Your Drafts" images: upload_an_image: "Upload an image" image_title: "Image title" From 383b87a34038d1d8f668d03e341a2ca721e24755 Mon Sep 17 00:00:00 2001 From: RafiyaZafar <90679542+RafiyaZafar@users.noreply.github.com> Date: Thu, 23 Jun 2022 23:11:55 +0530 Subject: [PATCH 2/4] Update config/locales/en.yml Co-authored-by: Tilda Udufo --- config/locales/en.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/locales/en.yml b/config/locales/en.yml index 77999c222d..7371f286f5 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -302,7 +302,7 @@ en: members_and_contributors: | %{member_count} member registrations and %{people_count} contributors posted notes, wikis, questions, comments, or revisions in this period. - drafts: + drafts: your_drafts: "Your Drafts" images: upload_an_image: "Upload an image" From 40b7b0f63713421ac84a8ca0ab72155a79ef46be Mon Sep 17 00:00:00 2001 From: RafiyaZafar <90679542+RafiyaZafar@users.noreply.github.com> Date: Thu, 23 Jun 2022 23:29:23 +0530 Subject: [PATCH 3/4] Update config/locales/en.yml Co-authored-by: Tilda Udufo --- config/locales/en.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/locales/en.yml b/config/locales/en.yml index 7371f286f5..612633c829 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -303,7 +303,7 @@ en: %{member_count} member registrations and %{people_count} contributors posted notes, wikis, questions, comments, or revisions in this period. drafts: - your_drafts: "Your Drafts" + your_drafts: "Your Drafts" images: upload_an_image: "Upload an image" image_title: "Image title" From aa48637e29c00202da7dde6cec6795fd2e706241 Mon Sep 17 00:00:00 2001 From: RafiyaZafar <90679542+RafiyaZafar@users.noreply.github.com> Date: Thu, 23 Jun 2022 23:29:32 +0530 Subject: [PATCH 4/4] Update app/views/notes/drafts.html.erb Co-authored-by: Tilda Udufo --- app/views/notes/drafts.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/notes/drafts.html.erb b/app/views/notes/drafts.html.erb index 433cb9c474..fef491ada1 100644 --- a/app/views/notes/drafts.html.erb +++ b/app/views/notes/drafts.html.erb @@ -1,5 +1,5 @@
-

<%= translation('notes.drafts.your_drafts') %> (<%= @drafts.count %>)

+

<%= translation('notes.drafts.your_drafts') %> (<%= @drafts.count %>)

<% @drafts.each_with_index do |node,i| %>