Update copy and remove unused strings

This commit is contained in:
Gerhard Schlager 2020-08-26 17:13:19 +02:00 committed by Gerhard Schlager
parent 4351fa435e
commit 354014099d
3 changed files with 8 additions and 32 deletions
app/assets/javascripts/discourse/app
templates/modal
widgets
config/locales

@ -26,7 +26,7 @@
{{#if showExistingReminderAt }} {{#if showExistingReminderAt }}
<div class="alert alert-info existing-reminder-at-alert"> <div class="alert alert-info existing-reminder-at-alert">
{{d-icon "far-clock"}} {{d-icon "far-clock"}}
<span>{{i18n "bookmarks.reminders.existing_reminder"}} {{existingReminderAtFormatted}}</span> <span>{{i18n "bookmarks.reminders.existing_reminder" at_date_time=existingReminderAtFormatted}}</span>
</div> </div>
{{/if}} {{/if}}

@ -313,7 +313,7 @@ registerButton(
} }
if (attrs.bookmarkName) { if (attrs.bookmarkName) {
titleOptions.name = `. ${attrs.bookmarkName}`; titleOptions.name = attrs.bookmarkName;
} }
} }
@ -323,10 +323,7 @@ registerButton(
title, title,
titleOptions, titleOptions,
className: classNames.join(" "), className: classNames.join(" "),
icon: icon: attrs.bookmarkReminderAt ? "discourse-bookmark-clock" : "bookmark"
attrs.bookmarkReminderAt || attrs.bookmarkReminderType === "at_desktop"
? "discourse-bookmark-clock"
: "bookmark"
}; };
} }
); );

@ -291,10 +291,9 @@ en:
unbookmark_with_reminder: "Click to remove all bookmarks and reminders in this topic. You have a reminder set %{reminder_at} for this topic." unbookmark_with_reminder: "Click to remove all bookmarks and reminders in this topic. You have a reminder set %{reminder_at} for this topic."
bookmarks: bookmarks:
created: "you've bookmarked this post%{name}" created: "You've bookmarked this post. %{name}"
not_bookmarked: "bookmark this post" not_bookmarked: "bookmark this post"
created_with_reminder: "you've bookmarked this post with a reminder %{date}%{name}" created_with_reminder: "You've bookmarked this post with a reminder %{date}. %{name}"
created_with_at_desktop_reminder: "you've bookmarked this post and will be reminded next time you are at your desktop%{name}"
remove: "Remove Bookmark" remove: "Remove Bookmark"
delete: "Delete Bookmark" delete: "Delete Bookmark"
confirm_delete: "Are you sure you want to delete this bookmark? The reminder will also be deleted." confirm_delete: "Are you sure you want to delete this bookmark? The reminder will also be deleted."
@ -312,7 +311,6 @@ en:
search_placeholder: "Search bookmarks by name, topic title, or post content" search_placeholder: "Search bookmarks by name, topic title, or post content"
search: "Search" search: "Search"
reminders: reminders:
at_desktop: "Next time I'm at my desktop"
later_today: "Later today" later_today: "Later today"
next_business_day: "Next business day" next_business_day: "Next business day"
tomorrow: "Tomorrow" tomorrow: "Tomorrow"
@ -327,7 +325,7 @@ en:
today_with_time: "today at %{time}" today_with_time: "today at %{time}"
tomorrow_with_time: "tomorrow at %{time}" tomorrow_with_time: "tomorrow at %{time}"
at_time: "at %{date_time}" at_time: "at %{date_time}"
existing_reminder: "You have a reminder set for this bookmark which will be sent" existing_reminder: "You have a reminder set for this bookmark which will be sent %{at_date_time}"
copy_codeblock: copy_codeblock:
copied: "copied!" copied: "copied!"
@ -987,7 +985,7 @@ en:
muted_categories_instructions: "You will not be notified of anything about new topics in these categories, and they will not appear on the categories or latest pages." muted_categories_instructions: "You will not be notified of anything about new topics in these categories, and they will not appear on the categories or latest pages."
muted_categories_instructions_dont_hide: "You will not be notified of anything about new topics in these categories." muted_categories_instructions_dont_hide: "You will not be notified of anything about new topics in these categories."
regular_categories: "Regular" regular_categories: "Regular"
regular_categories_instructions: "You will see these topics in the “Latest” and “Top” topic lists." regular_categories_instructions: "You will see these categories in the “Latest” and “Top” topic lists."
no_category_access: "As a moderator you have limited category access, save is disabled." no_category_access: "As a moderator you have limited category access, save is disabled."
delete_account: "Delete My Account" delete_account: "Delete My Account"
delete_account_confirm: "Are you sure you want to permanently delete your account? This action cannot be undone!" delete_account_confirm: "Are you sure you want to permanently delete your account? This action cannot be undone!"
@ -1752,7 +1750,7 @@ en:
invalid_selection_length: "Selection must be at least %{count} characters." invalid_selection_length: "Selection must be at least %{count} characters."
components: components:
categories_admin_dropdown: categories_admin_dropdown:
title: "Categories admin dropdown" title: "Manage categories"
date_time_picker: date_time_picker:
from: From from: From
@ -2574,7 +2572,6 @@ en:
preview_url: "Your page will be published at:" preview_url: "Your page will be published at:"
invalid_slug: "Sorry, you can't publish this page." invalid_slug: "Sorry, you can't publish this page."
unpublish: "Unpublish" unpublish: "Unpublish"
update: "Update"
unpublished: "Your page has been unpublished and is no longer accessible." unpublished: "Your page has been unpublished and is no longer accessible."
publishing_settings: "Publishing Settings" publishing_settings: "Publishing Settings"
@ -2748,23 +2745,7 @@ en:
remove_timer: "remove timer" remove_timer: "remove timer"
actions: actions:
flag: "Flag"
defer_flags:
one: "Ignore flag"
other: "Ignore flags"
undo:
off_topic: "Undo flag"
spam: "Undo flag"
inappropriate: "Undo flag"
bookmark: "Undo bookmark"
like: "Undo like"
people: people:
off_topic: "flagged this as off-topic"
spam: "flagged this as spam"
inappropriate: "flagged this as inappropriate"
notify_moderators: "notified moderators"
notify_user: "sent a message"
bookmark: "bookmarked this"
like: like:
one: "liked this" one: "liked this"
other: "liked this" other: "liked this"
@ -2783,8 +2764,6 @@ en:
inappropriate: "You flagged this as inappropriate" inappropriate: "You flagged this as inappropriate"
notify_moderators: "You flagged this for moderation" notify_moderators: "You flagged this for moderation"
notify_user: "You sent a message to this user" notify_user: "You sent a message to this user"
bookmark: "You bookmarked this post"
like: "You liked this"
delete: delete:
confirm: confirm: