FIX: add FA Discourse icon, update setting instructions

FIX: add FA Discourse icon, update setting instructions

From 654b80e472d7105e890aa3991939fae9aaaa447f Mon Sep 17 00:00:00 2001
From: Penar Musaraj <pmusaraj@gmail.com>
Date: Wed, 28 Nov 2018 09:53:06 -0500
Subject: [PATCH] FIX: add FA Discourse icon, update setting instructions


diff --git a/config/locales/server.en.yml b/config/locales/server.en.yml
index 4c643d4..048273b 100644
--- a/config/locales/server.en.yml
+++ b/config/locales/server.en.yml
@@ -1744,7 +1744,7 @@ en:
     share_anonymized_statistics: "Share anonymized usage statistics."
 
     auto_handle_queued_age: "Automatically handle records that are waiting to be reviewed after this many days. Flags will be ignored. Queued posts and users will be rejected. Set to 0 to disable this feature."
-    svg_icon_subset: "Add additional FontAwesome 5 icons that you would like to include in your assets. Use prefix 'far-' for regular icons and 'fab-' for brand icons. "
+    svg_icon_subset: "Add additional FontAwesome 5 icons that you would like to include in your assets. Use prefix 'fa-' for solid icons, 'far-' for regular icons and 'fab-' for brand icons. "
     max_prints_per_hour_per_user: "Maximum number of /print page impressions (set to 0 to disable)"
 
     full_name_required: "Full name is a required field of a user's profile."
diff --git a/lib/svg_sprite/svg_sprite.rb b/lib/svg_sprite/svg_sprite.rb
index 5c75605..2854bd7 100644
--- a/lib/svg_sprite/svg_sprite.rb
+++ b/lib/svg_sprite/svg_sprite.rb
@@ -61,6 +61,7 @@ module SvgSprite
     "external-link-alt",
     "expand",
     "fab-apple",
+    "fab-discourse",
     "fab-facebook-f",
     "fab-facebook-square",
     "fab-github",

GitHub

1 Like